Skip to main content
Software Factory

Demand-to-decommission delivery flow

Ten connected stages that turn an approved outcome into an operated service and preserve the evidence needed to improve or retire it.

By Murali SidLinkedInPublished

The delivery flow uses one set of stages for software, data products, AI components and agents. The artefacts differ, but the questions remain: what outcome is approved, what behaviour is expected, what may act, what evidence proves it and who operates it.

Visual map

Demand to decommission

One delivery flow covers conventional software, AI components and agents. The evidence grows with the product instead of being assembled at the end.

  1. 1Intake

    Triage the outcome, risk and delivery profile.

  2. 2Discover

    Frame the problem and the simplest credible approach.

  3. 3Specify

    Write behaviour, acceptance criteria and evidence needs.

  4. 4Architect

    Set boundaries, decisions and threat controls.

  5. 5Plan

    Break work into traceable, testable increments.

  6. 6Build

    Implement through governed tools and environments.

  7. 7Assure

    Test software, agent behaviour, security and outcomes.

  8. 8Release

    Promote signed, reproducible artefacts through gates.

  9. 9Operate

    Observe, supervise, support and contain failures.

  10. 10Improve or retire

    Use evidence to change, reduce autonomy or decommission.

Design rule: The Factory starts after an outcome and delivery envelope are approved. It does not replace portfolio or architecture governance.

1. Intake and triage

Concept explained

Admit only bounded demand

Triage confirms that the Factory has an approved outcome and enough authority, risk and evidence information to choose a delivery path.

  1. 1Verify mandate

    Confirm sponsor, outcome, scope, users and accountable product owner.

  2. 2Classify

    Identify affected systems, data, actions, zones, risk tier and likely autonomy ceiling.

  3. 3Route

    Select a delivery profile, return architecture gaps or reject demand that cannot be evaluated.

Confirm the approved outcome, owner, systems, data, authority, risk and delivery profile. Return incomplete demand to the ADM or use-case admission path.

The intake record includes the delivery envelope, known dependencies, evidence owner and the person who can clarify the outcome. Triage does not estimate a solution whose purpose or authority is still undecided. Its result is accepted demand, a preparation action with an owner, or a reasoned rejection.

2. Discovery

Concept explained

Understand the problem before specifying behaviour

Discovery combines process observation, repository and system analysis, user research and comparison with the simplest credible alternative.

  1. 1Observe work

    Follow normal, exceptional and degraded cases with the people who perform them.

  2. 2Inspect the estate

    Read existing code, interfaces, records, controls, incidents and operational measures.

  3. 3Test alternatives

    Compare removal, simplification, rules, workflow, configuration, purchase and agentic designs.

Study the current process, existing code and systems. Test simpler alternatives. Identify users, exceptions, failure cost and baseline performance.

Discovery ends with a problem frame, baseline, representative cases, constraints, unknowns and a recommendation to proceed, prepare or stop. Use real work samples rather than ideal process diagrams. Record unresolved questions as evidence work, not hidden assumptions in the plan.

3. Specification

Concept explained

Specify outcomes as observable cases

A specification links business behaviour, architecture boundaries, controls and operation to examples that can pass or fail.

  1. 1Describe behaviour

    State actors, preconditions, inputs, expected outcome and prohibited result.

  2. 2Add boundaries

    Attach authority, data, performance, security, evidence and recovery constraints.

  3. 3Create cases

    Include normal, edge, adversarial, contested and degraded examples with an oracle.

Write observable behaviour and pass-or-fail acceptance cases. Separate business requirements, architecture constraints, control requirements and operational outcomes. Assign each to an owner.

The specification owns intended behaviour; code, prompts and tests implement or verify it. Examples include the evidence available to the system and the expected citation or action receipt. Ambiguous requirements are resolved before implementation or marked as questions with a named decision owner.

4. Architecture and threat modelling

Concept explained

Turn the specification into enforceable boundaries

Architecture locates trust, state, authority and evidence. Threat modelling tests how those boundaries could fail or be bypassed.

  1. 1Map the system

    Show identities, data flows, tools, stores, models, people and trust boundaries.

  2. 2Assign controls

    Place authentication, policy, validation, approvals, isolation and audit outside model discretion.

  3. 3Test abuse and failure

    Model prompt, tool, identity, data, supply-chain, availability and human failure paths.

Record interfaces, trust boundaries, identity, data movement, deterministic rules, human decisions, evidence and recovery. Reopen the architecture authority when the implementation needs an exception.

The output is an architecture contract with decisions, control locations, open risks and acceptance cases. It points to enterprise patterns but records the workload-specific consequence. A threat without an owner and test remains a note, not treated risk.

5. Planning

Concept explained

Create a deterministic execution graph

Planning decomposes approved behaviour into small increments while preserving dependencies, evidence and review points outside conversation history.

  1. 1Slice vertically

    Create increments that exercise behaviour, integration, controls and evidence end to end.

  2. 2Order dependencies

    Represent prerequisites, ready state, owners and blocking decisions in the task system.

  3. 3Attach proof

    Link each task to its specification, acceptance cases and completion evidence.

Break the change into independently testable increments. Represent dependencies and ready work in deterministic state. Do not make a chat transcript the backlog.

Plan review checks that work can stop at a coherent state, that high-risk boundaries are proven early and that no task is “done” without its evidence. Agents may propose decomposition, but the canonical graph remains inspectable and editable without recreating a conversation.

6. Build and integrate

Concept explained

Build through governed workspaces

People and coding agents change versioned artefacts using bounded tools, approved dependencies and short-lived credentials.

  1. 1Prepare workspace

    Create isolated branch, environment, task context, tool permissions and secrets boundary.

  2. 2Implement

    Change code, prompts, policies, schemas, data transformations and deployment definitions together.

  3. 3Prove locally

    Run focused tests, static checks and traceability checks before independent review.

Use approved repositories, environments, tools, dependencies and credentials. Keep generated code, prompts, policies, data transformations and agent definitions under version control.

Generated output receives the same ownership, review and supply-chain controls as human-written output. Build logs record the tools, models and skills that materially contributed. Production credentials never enter the coding session, and untrusted repository content cannot grant broader tool permission.

7. Evaluate, test and assure

Concept explained

Use several oracles, not one model judge

Assurance combines deterministic tests, curated behavioural evaluations, security testing, operational exercises and human review.

  1. 1Software

    Unit, integration, contract, migration, performance and resilience tests.

  2. 2Agent behaviour

    Task success, grounding, action correctness, refusal, escalation and regression evaluations.

  3. 3Security and authority

    Permission, delegation, injection, exfiltration, tool abuse and supply-chain cases.

  4. 4Operations

    Rollback, kill, recovery, supervision load, evidence reconstruction and support exercises.

Run software tests, agent evaluations, security tests, permission tests, failure injection and operational-readiness checks. Keep the evaluator separate from the component it grades.

Report distributions and failure clusters, not only aggregate pass rates. A model-based evaluator is calibrated against human-labelled cases and cannot be the only oracle for consequential actions. Failed cases become regression assets after the underlying requirement and expected result are confirmed.

8. Release and deploy

Concept explained

Promote one attributable release

The release path binds approved evidence to immutable artefacts and introduces them into production with bounded exposure.

  1. 1Package

    Create reproducible code, configuration, prompt, policy, model and data-manifest artefacts.

  2. 2Authorize

    Verify evidence, exceptions, ownership, rollback and the exact build identity.

  3. 3Expose gradually

    Use shadow, canary, cohort, rate, action and autonomy limits with stop conditions.

Promote reproducible, signed artefacts through environments. Use shadow, canary and staged rollout where behaviour or scale remains uncertain. Store the production authorization with the release evidence.

The deployment record updates service and agent registries automatically. Promotion does not rebuild from mutable inputs. A failed rollout pauses or rolls back through the same controlled path, and the incident links to the release configuration and affected work.

9. Operate and support

Concept explained

Operate the business outcome and the technical service

Operations joins traces, actions, human exceptions, reliability, cost and business results so failure can be contained and diagnosed.

  1. 1Observe

    Trace request, context, model, tools, policy, system result, cost and business outcome.

  2. 2Supervise

    Route exceptions, manage queues and compare designed, permitted and exercised autonomy.

  3. 3Respond

    Pause, reduce authority, fail safely, recover, communicate and preserve incident evidence.

  4. 4Review

    Assess service, agent behaviour, people load, value and emerging risk together.

Operational evidence returns to the first decision.

Trace end-to-end work, enforce budgets, supervise exceptions, respond to incidents and verify business outcomes. Compare designed, permitted and exercised autonomy.

Runbooks identify which team owns model, context, tool, source, policy, platform and business failures. Support staff can find the applicable release and evidence without consulting the producing agent. Operational reviews distinguish defects that need a release from data, process or training problems that need another owner.

10. Improve, replace or retire

Concept explained

Close the learning and retirement loop

Observed evidence proposes a change. The change returns through specification, evaluation and authorization rather than bypassing the Factory.

  1. 1Select evidence

    Curate incidents, overrides, failure clusters, user feedback, cost and value signals.

  2. 2Choose response

    Change process, source, context, model, tool, control, autonomy or ownership.

  3. 3Re-evaluate

    Run new and regression cases, update risks and authorize the changed release.

  4. 4Reduce or retire

    Remove access and runtime paths when purpose, control, reliability or economics no longer hold.

Operational evidence returns to the first decision.

Use runtime evidence through the learning flywheel. Re-evaluate every material change. Reduce autonomy or retire when purpose, controls or economics no longer hold.

Retirement handles in-flight work, downstream dependencies, retained records, user communication, support handover and access revocation. A post-retirement check confirms that schedules, event subscriptions, secrets and duplicate agents cannot continue the behaviour.

Next step: provide these stages through the Factory platform and paved roads.

Cite this page

Written by Murali Sid, Founder and AI Systems Architect, last updated 2 November 2026. Licensed CC BY-SA 4.0, so quote it freely with attribution.

Murali Sid (2026). Demand-to-decommission delivery flow. Agentic Architecture Skills. https://www.agenticarchitectureskills.com/factory/delivery-flow

Machine-readable version of this page: /factory/delivery-flow.md

On this page