# 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.

Author: Murali Sid (https://linkedin.com/in/muralisid)
Source: https://www.agenticarchitectureskills.com/factory/delivery-flow
Published: 2026-11-02
Updated: 2026-11-02
Licence: CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/
Cite as: Murali Sid. Demand-to-decommission delivery flow. Agentic Architecture Skills. https://www.agenticarchitectureskills.com/factory/delivery-flow

---


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.

<ConceptVisual variant="factory" />

## 1. Intake and triage [#1-intake-and-triage]

<SectionVisual
  title="Admit only bounded demand"
  caption="Triage confirms that the Factory has an approved outcome and enough authority, risk and evidence information to choose a delivery path."
  layout="flow"
  items="[
{ label: &#x22;Verify mandate&#x22;, detail: &#x22;Confirm sponsor, outcome, scope, users and accountable product owner.&#x22; },
{ label: &#x22;Classify&#x22;, detail: &#x22;Identify affected systems, data, actions, zones, risk tier and likely autonomy ceiling.&#x22; },
{ label: &#x22;Route&#x22;, detail: &#x22;Select a delivery profile, return architecture gaps or reject demand that cannot be evaluated.&#x22; },
]"
/>

Confirm the approved outcome, owner, systems, data, authority, risk and delivery profile. Return incomplete demand to the [ADM](/transform) or [use-case admission](/use-cases/choose-where-to-start) 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 [#2-discovery]

<SectionVisual
  title="Understand the problem before specifying behaviour"
  caption="Discovery combines process observation, repository and system analysis, user research and comparison with the simplest credible alternative."
  layout="flow"
  items="[
{ label: &#x22;Observe work&#x22;, detail: &#x22;Follow normal, exceptional and degraded cases with the people who perform them.&#x22; },
{ label: &#x22;Inspect the estate&#x22;, detail: &#x22;Read existing code, interfaces, records, controls, incidents and operational measures.&#x22; },
{ label: &#x22;Test alternatives&#x22;, detail: &#x22;Compare removal, simplification, rules, workflow, configuration, purchase and agentic designs.&#x22; },
]"
/>

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 [#3-specification]

<SectionVisual
  title="Specify outcomes as observable cases"
  caption="A specification links business behaviour, architecture boundaries, controls and operation to examples that can pass or fail."
  layout="flow"
  items="[
{ label: &#x22;Describe behaviour&#x22;, detail: &#x22;State actors, preconditions, inputs, expected outcome and prohibited result.&#x22; },
{ label: &#x22;Add boundaries&#x22;, detail: &#x22;Attach authority, data, performance, security, evidence and recovery constraints.&#x22; },
{ label: &#x22;Create cases&#x22;, detail: &#x22;Include normal, edge, adversarial, contested and degraded examples with an oracle.&#x22; },
]"
/>

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 [#4-architecture-and-threat-modelling]

<SectionVisual
  title="Turn the specification into enforceable boundaries"
  caption="Architecture locates trust, state, authority and evidence. Threat modelling tests how those boundaries could fail or be bypassed."
  layout="flow"
  items="[
{ label: &#x22;Map the system&#x22;, detail: &#x22;Show identities, data flows, tools, stores, models, people and trust boundaries.&#x22; },
{ label: &#x22;Assign controls&#x22;, detail: &#x22;Place authentication, policy, validation, approvals, isolation and audit outside model discretion.&#x22; },
{ label: &#x22;Test abuse and failure&#x22;, detail: &#x22;Model prompt, tool, identity, data, supply-chain, availability and human failure paths.&#x22; },
]"
/>

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 [#5-planning]

<SectionVisual
  title="Create a deterministic execution graph"
  caption="Planning decomposes approved behaviour into small increments while preserving dependencies, evidence and review points outside conversation history."
  layout="flow"
  items="[
{ label: &#x22;Slice vertically&#x22;, detail: &#x22;Create increments that exercise behaviour, integration, controls and evidence end to end.&#x22; },
{ label: &#x22;Order dependencies&#x22;, detail: &#x22;Represent prerequisites, ready state, owners and blocking decisions in the task system.&#x22; },
{ label: &#x22;Attach proof&#x22;, detail: &#x22;Link each task to its specification, acceptance cases and completion evidence.&#x22; },
]"
/>

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 [#6-build-and-integrate]

<SectionVisual
  title="Build through governed workspaces"
  caption="People and coding agents change versioned artefacts using bounded tools, approved dependencies and short-lived credentials."
  layout="flow"
  items="[
{ label: &#x22;Prepare workspace&#x22;, detail: &#x22;Create isolated branch, environment, task context, tool permissions and secrets boundary.&#x22; },
{ label: &#x22;Implement&#x22;, detail: &#x22;Change code, prompts, policies, schemas, data transformations and deployment definitions together.&#x22; },
{ label: &#x22;Prove locally&#x22;, detail: &#x22;Run focused tests, static checks and traceability checks before independent review.&#x22; },
]"
/>

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 [#7-evaluate-test-and-assure]

<SectionVisual
  title="Use several oracles, not one model judge"
  caption="Assurance combines deterministic tests, curated behavioural evaluations, security testing, operational exercises and human review."
  layout="grid"
  items="[
{ label: &#x22;Software&#x22;, detail: &#x22;Unit, integration, contract, migration, performance and resilience tests.&#x22; },
{ label: &#x22;Agent behaviour&#x22;, detail: &#x22;Task success, grounding, action correctness, refusal, escalation and regression evaluations.&#x22; },
{ label: &#x22;Security and authority&#x22;, detail: &#x22;Permission, delegation, injection, exfiltration, tool abuse and supply-chain cases.&#x22; },
{ label: &#x22;Operations&#x22;, detail: &#x22;Rollback, kill, recovery, supervision load, evidence reconstruction and support exercises.&#x22; },
]"
/>

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 [#8-release-and-deploy]

<SectionVisual
  title="Promote one attributable release"
  caption="The release path binds approved evidence to immutable artefacts and introduces them into production with bounded exposure."
  layout="flow"
  items="[
{ label: &#x22;Package&#x22;, detail: &#x22;Create reproducible code, configuration, prompt, policy, model and data-manifest artefacts.&#x22; },
{ label: &#x22;Authorize&#x22;, detail: &#x22;Verify evidence, exceptions, ownership, rollback and the exact build identity.&#x22; },
{ label: &#x22;Expose gradually&#x22;, detail: &#x22;Use shadow, canary, cohort, rate, action and autonomy limits with stop conditions.&#x22; },
]"
/>

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 [#9-operate-and-support]

<SectionVisual
  title="Operate the business outcome and the technical service"
  caption="Operations joins traces, actions, human exceptions, reliability, cost and business results so failure can be contained and diagnosed."
  layout="loop"
  items="[
{ label: &#x22;Observe&#x22;, detail: &#x22;Trace request, context, model, tools, policy, system result, cost and business outcome.&#x22; },
{ label: &#x22;Supervise&#x22;, detail: &#x22;Route exceptions, manage queues and compare designed, permitted and exercised autonomy.&#x22; },
{ label: &#x22;Respond&#x22;, detail: &#x22;Pause, reduce authority, fail safely, recover, communicate and preserve incident evidence.&#x22; },
{ label: &#x22;Review&#x22;, detail: &#x22;Assess service, agent behaviour, people load, value and emerging risk together.&#x22; },
]"
/>

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 [#10-improve-replace-or-retire]

<SectionVisual
  title="Close the learning and retirement loop"
  caption="Observed evidence proposes a change. The change returns through specification, evaluation and authorization rather than bypassing the Factory."
  layout="loop"
  items="[
{ label: &#x22;Select evidence&#x22;, detail: &#x22;Curate incidents, overrides, failure clusters, user feedback, cost and value signals.&#x22; },
{ label: &#x22;Choose response&#x22;, detail: &#x22;Change process, source, context, model, tool, control, autonomy or ownership.&#x22; },
{ label: &#x22;Re-evaluate&#x22;, detail: &#x22;Run new and regression cases, update risks and authorize the changed release.&#x22; },
{ label: &#x22;Reduce or retire&#x22;, detail: &#x22;Remove access and runtime paths when purpose, control, reliability or economics no longer hold.&#x22; },
]"
/>

Use runtime evidence through the [learning flywheel](/architecture/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](/factory/platform).
