Skip to content

    The Method · Part 3 of 7

    The stage contract

    Every stage of delivery is a stateful unit of work with the same six parts. The contract lets the same process move from people to agents to orchestration without changing what it means.

    What is a stage contract?

    Each stage has a triggering event, revisioned inputs, bounded execution, an output a person can see, objective validation and a controlled transition to the next state.

    Because every stage declares the same six parts, a stage can be run by a person today and by an agent next quarter without its meaning changing.

    1. 01

      Event

      Trigger and accountable owner

      Example: Requirement ready, approval, failure, alert

    2. 02

      Input

      Revisioned sources and access

      Example: Specification, repository, constraints, prior evidence

    3. 03

      Execution

      Bounded objective and tools

      Example: What the agent does, and explicit stop rules

    4. 04

      Output

      A human-visible artifact or action

      Example: Work item, specification, commit, pull request, test run, report

    5. 05

      Validation

      Evidence and acceptance criteria

      Example: Automated checks plus a designated reviewer

    6. 06

      Transition

      Next state and branch conditions

      Example: Advance, revise, rerun, block, escalate

    No transition without recorded criteria, current artifact revisions and a responsible actor.
    Figure 3. The six-part execution contract. Each step is a stateful unit of work that moves on only when its evidence checks out.

    What must each field contain?

    FieldMandatory properties
    EventThe trigger, stage and work-item ID, responsible actor, source and prior state.
    InputReferences and revisions of the requirement, specification, code, plan and tasks; permission scope, constraints and prerequisites.
    ExecutionA specific goal, allowed tools, stop conditions, timeout, retry policy and forbidden operations.
    OutputArtifact type, link or identifier, content revision, author, status and timestamp.
    ValidationAcceptance criteria, machine evidence, reviewer, approved version and failure details.
    TransitionNext state and actor; the permitted advance, revise, rerun, block, escalate, archive or remediate paths.

    What states can a stage be in?

    A stage moves through a small set of standard states. Each transition stores the artifact revisions and approvals that justified it.

    1. CREATED
    2. READY
    3. RUNNING
    4. VALIDATING
    5. REVIEW_REQUIRED
    6. APPROVED
    7. COMPLETED

    Exception states

    • FAILED
    • BLOCKED
    • NEEDS_REVISION
    • RETRY_PENDING
    • CANCELED
    • REMEDIATION_REQUIRED
    Standard transition states. The main path runs left to right; exception states can be entered from any running stage.

    What does a filled-in contract look like?

    Here is the contract for one implementation task:

    FieldImplementation-stage example
    EventAn approved implementation task becomes READY.
    InputSpecification v3, plan v2, task TASK-412, the target trunk commit, repository rules and scoped source-control access.
    ExecutionMake bounded code changes and add unit tests. Direct merges and production deploys are prohibited.
    OutputTask branch, commits, a draft pull request, a linked work-item comment and the test command results.
    ValidationChanged behavior matches the specification, local checks were run, the secret scan is clean and nothing is out of scope.
    TransitionPASS goes to Run and verify; FAIL returns to implementation; BLOCKED goes to a named owner and the review queue.

    The output is an artifact or action someone can verify. A chat reply from the agent does not count.

    From AI-Enabled Software Delivery, version 9.3, October 31, 2026. Brandon Zweifel, Zweifel Tech LLC.