# Delivery SOP — phase-gate diagram

*The loop only, as Mermaid source. The SOP it summarises is a working document and is not
published; the model builds, the human specifies, reviews and signs.*

```mermaid
flowchart LR
  A[Master spec, pinned per MVP] --> B[Phase spec<br/>NFRs and eval floor declared]
  B --> C{Spec review<br/>fitment · testability}
  C -->|revise| B
  C -->|approved| D[Build, AI-assisted]
  D --> E{Code review<br/>findings only, no edits}
  E -->|defects| D
  E -->|clean| F{Eval gate<br/>runs in CI, binary}
  F -->|below floor| D
  F -->|at or above floor| G[Sign-off: live test · real-data demo · approval]
  G --> H[Retrospective]
  D -. drift found .-> R[RCA] --> B
```

**Gate outcomes are binary:** *approved* or *revise*. **Three gates precede the first action of any
session:** budget, scope shape, model. **Status before the sign-off row is complete:** *built, awaiting
sign-off*.
