What are the twelve stages?
The stages link requirement intake to production learning in one unbroken chain. Planning produces both architecture decisions and a dependency-ordered task set, and analysis is an explicit gate before any code is written.
01Intake
- Work item and product requirement
- Read intent and clarify gaps
- Acceptance and scope
Output: Aligned requirements
02Specify
- Functional and nonfunctional specification
- Acceptance tests and contracts
- Human sign-off on scope
Output: Approved specification
03Discover
- Code index and knowledge graph
- Find impacted code and owners
- Architecture and dependency map
Output: Cited impact analysis
04Plan and tasks
- Technical plan and risks
- Sequence implementable tasks
- Human approval of the plan
Output: Approved plan and tasks
05Analyze
- Check ambiguities and gaps
- Assess tests, risk and data
- Short-lived branch from the trunk
Output: Ready-to-build task
06Implement
- Agent, skills and tools
- Small changes and unit tests
- Commit and open a draft pull request
Output: Code and linked commits
07Run and test
- Run the app and CI validation
- API and contract tests
- Browser end-to-end and security tests
Output: Executed test evidence
08Review
- Independent agent review
- Code owner and human review
- Failures return to Implement
Output: Approved pull request and checks
09Merge
- Specification, work item, commits and pull request linked
- Protected branch rules enforced
- Merge into the trunk
Output: Merged change commit
10Release
- Build and deploy from the trunk
- Flags, canary and rollback plan
- Deployment authorization
Output: Release record
11Observe
- Monitoring: reliability and latency
- Product analytics: adoption and friction
- Compare baseline with outcome
Output: Health and usage evidence
12Learn
- Confirm acceptance in production
- Close the work item and record findings
- Feed the backlog, skills and docs
Output: Outcome and new context
What evidence is needed at each gate?
- Requirements gate: the approved specification defines expected behavior, nonfunctional constraints and objective acceptance tests.
- Planning gate: the design and dependency-ordered tasks reflect the retrieved architecture and pass an explicit consistency analysis.
- Quality gate: checks run against the correct commit, and browser and API test artifacts are attached to the pull request where they apply.
- Delivery gate: independent reviewers, protected trunk rules and release authorization apply before a change reaches shared environments.
- Outcome gate: monitoring and product-analytics observations decide whether customer value and technical health meet the accepted targets.
What is the contract for each stage?
Each stage below uses the six-field stage contract. Requirement and design cover stages 1 to 3, preparation and delivery stages 4 to 6, validation and deployment stages 7 to 9, and release and learning stages 10 to 12.
01Intake and read the requirement
- Event
- A product item or requirement is marked ready for engineering.
- Input
- The work item, the requirement's revision, its owner and the stated business outcome.
- Execution
- Read the intent; identify actors, acceptance, exclusions and unresolved decisions.
- Output
- Clarification notes on the work item; agreed scope and measurable acceptance.
- Validation
- The product owner confirms there is enough information to specify.
- Transition
- Complete goes to Specify; unclear goes back to product for clarification.
02Specify
- Event
- Scope and requirement are clarified and approved for specification.
- Input
- The latest requirement, business rules, interfaces, risks and existing behavior.
- Execution
- Define functional behavior, nonfunctional requirements, data contracts, edge cases and testable criteria.
- Output
- A versioned specification linked to the requirement and work item.
- Validation
- Product and engineering approve it; completeness and contradictions are checked.
- Transition
- Approved goes to Discover; changes revise the specification and the artifacts it affects.
03Discover and analyze impact
- Event
- The approved specification is ready for technical grounding.
- Input
- The specification revision, the code index and knowledge graph, architecture decisions and repository references.
- Execution
- Find impacted services, owners, tests, dependencies and alternatives, citing each source.
- Output
- An impact map, the affected repositories and architecture evidence.
- Validation
- The evidence is current and credible, and unknowns are named explicitly.
- Transition
- Enough grounding goes to Plan; gaps go to investigation or are blocked.
04Plan and decompose tasks
- Event
- The impact analysis and approved specification are available.
- Input
- The specification, dependency map, conventions, risk tier and rollout needs.
- Execution
- Decide the design, migrations, tests, feature flag and rollback; create ordered tasks.
- Output
- An architecture plan, design notes, a task list and child work items.
- Validation
- Architecture and engineering approve the plan; it covers every acceptance criterion.
- Transition
- Approved goes to Analyze; rejected revises the plan or the specification.
05Analyze and prepare
- Event
- The approved plan and tasks are ready to execute.
- Input
- Specification, plan and tasks, the current trunk commit, test data and environment.
- Execution
- Check cross-artifact consistency, ambiguities, test coverage and permissions; open a short-lived branch from the trunk.
- Output
- A gap analysis, resolved tasks, the branch and pinned work context.
- Validation
- No blocking contradictions; branch policy and required resources are verified.
- Transition
- Ready goes to Implement; gaps revise the specification, plan or tasks.
06Implement
- Event
- One task passes analysis with authorized write tools.
- Input
- The pinned specification, plan and task; repository rules; the branch and known tests.
- Execution
- Write small code increments, tests and commits; update the work item; open a draft pull request.
- Output
- Commit hashes, changed tests, a draft pull request and its work-item link.
- Validation
- Local build and unit checks were actually run, and the scope matches the task.
- Transition
- Pass goes to Run and verify; failure is fixed and retried; deviation goes to review.
07Run and verify
- Event
- The implementation is ready for objective verification.
- Input
- The commit, test environment, acceptance cases, and API and UI test suites.
- Execution
- Run CI, unit, integration and security checks, API collections and browser end-to-end tests; record traces and screenshots where useful.
- Output
- Linked test runs, logs, failures, coverage and environment details.
- Validation
- Required checks pass, with evidence tied to the same commit and test environment.
- Transition
- Pass goes to Review; fail returns to Implement; an unstable environment is blocked.
08Independent pull-request review
- Event
- The pull request has completed required validation.
- Input
- The pull request and diff, the specification, security and test evidence, and code owners.
- Execution
- An independent agent review and a designated human peer or code-owner review.
- Output
- Actionable comments, revisions, review approvals and resolved threads.
- Validation
- The right reviewers approved and required checks pass; nobody approves their own work.
- Transition
- Approved goes to Merge; changes required return to Implement and retest.
09Merge to the protected trunk
- Event
- The pull request meets branch protection, approval and test gates.
- Input
- The approved pull request, required checks and the current trunk commit.
- Execution
- Enforce the merge policy, reconcile with the latest trunk and merge.
- Output
- The merged pull request, the trunk commit and the work-item transition.
- Validation
- Source control confirms the merge into the trunk and the merge commit is available.
- Transition
- Merged goes to Release; a gate failure goes back to fix or review.
10Release
- Event
- A merged trunk change and release authorization are present.
- Input
- The trunk commit, environment policy, deployment pipeline and rollout plan.
- Execution
- Build and deploy only from the trunk; use flags, smoke checks, canary and rollback where relevant.
- Output
- A deployment record, build provenance, feature-flag state and a rollback link.
- Validation
- The deployment succeeded, and release health and authorization are validated.
- Transition
- Healthy goes to Observe; failure is rolled back or remediated.
11Observe the system and product
- Event
- The release is live, with a defined observation window.
- Input
- Deployment markers, the service-level baseline, monitoring telemetry and product-analytics goals.
- Execution
- Check availability, latency, errors, adoption, task completion and journey friction.
- Output
- A health report and product outcome observations linked to the change.
- Validation
- Telemetry coverage is adequate; agreed targets are compared with the baseline.
- Transition
- Outcome assessed goes to Learn; unhealthy goes to incident and remediation.
12Close and learn
- Event
- The observation window and acceptance evidence are available.
- Input
- Specification acceptance, the deployed commit, monitoring results, product usage and open issues.
- Execution
- Confirm value, close the work item, update the knowledge graph, decisions and skills, and open follow-on work.
- Output
- An outcome decision, work-item changes, documented lessons and backlog candidates.
- Validation
- Product and engineering owners accept the closure or record an explicit exception.
- Transition
- Done is closed; gaps or opportunities become new intake.
From AI-Enabled Software Delivery, version 9.3, October 31, 2026. Brandon Zweifel, Zweifel Tech LLC.