Milestone model¶
Status: the SDLC baseline, accepted by the owner on 2026-11-23. Every point is the owner's decision unless marked proposed; a proposed point is settled in its own issue. The skills implement this step by step along the build order; until a step lands, they work as before.
Superseded for new milestones by milestone 24, a simple workflow (approved 2026-11-28): one
page per milestone, its rules and reviews, and issues in the intake template, in the private
docs/specs/m24-simple-workflow/. This page stays until the skills follow milestone 24.
Issue numbers without a repository are <owner>/claude; aise#n is <owner>/aise-feecheck-poc.
Numbers in examples (milestone 24, #655, #656) are aise's and only illustrate. "Release" means the
start of work on a milestone, not a production deploy.
Reviewed by: six per-diagram reviews, a full Fable review and an Autonomous-milestones review (2026-11-23); their findings are worked in.
Earlier decisions this reverses or changes¶
| Where | Earlier decision | Now |
|---|---|---|
| #677, decision 1 | one anchor [Epic] per milestone |
one [Spec] issue per milestone, the standing anchor |
| #677, decision 3 | a goal epic sits above the anchor epic | an [Epic] sits only over several milestones |
| #677, decision 7 | a goal epic is required in every repository | optional |
| #677, decision 10 | a single-issue milestone links a short spec | a single-feature milestone uses milestone.md as its spec |
| #942 (2026-11-21) | a preflight finding has no override | findings on the milestone spec may be accepted at release (decision 6); elsewhere #942 holds |
| #941 | started = first closed_at or claim |
the goal is fixed from release (Ready) |
| #678 | Anchor epic: key; Status: without Closed |
Spec issue: key; Closed added |
Decisions¶
- Milestone and its
[Spec]issue. One goal and one[Spec]issue (a new type beside[Epic],[Feature],[Task],[Bug],[Question]). The[Spec]issue is the milestone's standing anchor: open fromPlanninguntilClosed, home of the milestone spec, its amendments, the preflight findings, the close review and the Verification PR. Its PRs sayRefs #n; the Verification PR closes it.milestone.mdhas:- spec part: what, why, the features at a high level, the milestone acceptance criteria
MAC-n(the owner's own first, each markedOfor owner orMfor drafted, decided on #678), each with aVerify:line (decision 13); the redesigned data model and the test concept where the milestone needs them (decided on #678); - plan part: one line per item, proposed grammar
P-3 feature "Change history" blocked_by: P-2 spec: own | in-milestone mode: subagents.spec: ownmeans the feature gets its own mini-spec PR;spec: in-milestonemeans itsAC-nare written inmilestone.mdand approved with it. The plan marksownfor a new interface, a data-model change or a new screen.
- spec part: what, why, the features at a high level, the milestone acceptance criteria
- Epics. No epic inside a milestone.
[Epic]is optional, over several milestones. - Feature specs. Every
[Feature]has its acceptance criteria committed before it is built: in its own mini-spec (spec: own) or inmilestone.md(spec: in-milestone). A mini-spec is written as a spec PR on the feature issue, sayingRefs #n, neverCloses. A[Task]has a spec only when the plan says so.[Bug]and[Question]never (the fast lane). A single-feature milestone has no separate mini-spec. - Files.
docs/specs/m<milestone number>-<slug>/milestone.mdanddocs/specs/m<n>-<slug>/<issue>-<slug>.md. Existing flatdocs/specs/<n>-*.mdstay. A gate finds a mini-spec by its issue number acrossdocs/specs/m*/and by the issue body's link, so a moved feature is still found. Worker plans go todocs/plans/..vale.inialready exemptsdocs/specs/**;docs/authoring/writing-docs.md(line 58) needs the new form. - Approval. Every spec PR (milestone spec, own mini-spec, amendment) needs the owner's
Approve. The coordinator's merge rules enforce it (#1004): a PR that touches the spec
directory (the
Spec templateskey, elsedocs/specs/) isowner_approval, andowner:approved(#619) never covers it. A build PR that editsmilestone.mdor a mini-spec isowner_approvaltoo. CODEOWNERS does not list the directory, so GitHub does not enforce the review. - Release and preflight. The release is the owner's Approve on the milestone spec PR. Before
it, the coordinator runs the preflight on the PR branch (proposed: preflight v2, a new issue;
#617 reads only the default branch and the milestone's issues) and posts the findings. The worker
lists the findings it cannot fix in an "Accepted at release" section of the PR; approving the PR
accepts them. After
Readythe preflight runs again over the created issues. -
Status line (#678's format,
Closedadded). Proposed: one writer, the repository's recorded coordinator, through one command (coordinator milestone-status) that re-reads the description and changes only that line; intake and owner-feedback hand their lines to it.Status Set when Workers may take Planningintake files the [Spec]issuethe [Spec]issue's work, planning items it lists (data model, test concept, ADR, mockup, spike), bugs, questionsReadyevery plan item has its issue (decision 8) spec PRs, tasks, bugs, questions; builds of features whose spec is approved Runningthe first claim after Ready(informational)as ReadyRe-plan pendinga fit review says re-plan(#941)as Ready, except the issues judgedre-planClosingevery issue is closed except the [Spec]issue and thehuman:doafter-merge task (#620)the milestone checks, the close review, bugs, questions Closedthe owner closes the GitHub milestone nothing The goal is fixed from
Ready. Proposed migration: a milestone is gated only when its description has aSpec:line pointing at anm<n>-folder; others (milestone 24 among them) are not, and their free-text status stays as it is until the owner moves one over. -
From plan to issues. On the merge of the milestone spec, the coordinator starts intake in plan mode. Proposed: the owner's Approve counts as intake's yes; intake creates one issue per
P-n(idempotent, so a crash resumes), writes the mapP-n → #ninto the milestone description, and handsReadyto the status writer once every item has its number. An issue that joins atReadyor later and is not in the map gets the fit review (#941). - When a feature is built. Its spec is approved (own mini-spec merged, or
in-milestone) and itsblocked_byitems are done. Proposed phase marker: a labelspec:pending,spec:approvedorspec:amending; the build is offered only atspec:approved. The build PR names the spec commit it built against, and the merge check refuses when the spec changed since. Tasks start when they exist, unless blocked. Bugs and questions run in every status butClosed. Proposed: a blocker is stuck when its branch, PR and issue show no activity for 14 days; the coordinator reports it and the owner chooses: wait, drop the dependency, or re-plan. - The feature worker follows superpowers 7.0.2: re-check → plan (
writing-plans) → build test first, inline (executing-plans) or with subagents (subagent-driven-development) → quality gate → change checks → push → PR →babysit-pr. The mode is the worker's choice unless the plan sets it. The worker approves its own plan.- The re-check always runs as the plan's first step; its one-line result goes into the build
PR. Material change (an
AC-n, itsMAC-n, or an interface the spec names) → spec PR, phasespec:amending. Minor drift (wording, paths, names) → noted in the build PR. Obsolete → closed after the owner's yes. - A finding goes back to the stage that broke: build, plan, or a spec PR.
- No claim is held while a feature waits; a worker claims at the start of each phase.
- The re-check always runs as the plan's first step; its one-line result goes into the build
PR. Material change (an
- Questions. First settled from the repository; then by a subagent one model tier above the
asker (haiku → sonnet → opus → fable); then the owner. A worker reports with
coordinator report … --owner-decision; intake and the coordinator put the question on the decision page directly. An asker already on the top tier goes to the owner. The answer is recorded in the spec PR, or on the issue for a fast-lane item. The advisor tool is a separate job: it reviews the asker's own decisions. Proposed: "Fable is never a worker model" (plugins/workflow/reference/worker-model.md) does not cover four roles: the advisor, the question subagent, the final reviewer, and the implementer of fix rounds 4–5. - Advisor default.
advisorModelin the dev-env baseline;baseline.jsonandBaseline.ps1need a section for a scalar setting. Proposed valuefable(the laptop's today). - Milestone close. At
Closing, on the[Spec]issue:- Deploy the milestone's state to the system the checks run against; hand over the after-merge owner steps (#620).
- Milestone checks run against it. A failure does not stop the flow; the close review records it.
- Close review: a fresh subagent marks each
MAC-ndelivered, partial, dropped, unverified orpending UAT, with evidence, and re-checks the findings accepted at release. It writes## Verificationintomilestone.mdthrough a PR. AMAC-nwithout evidence is never delivered. An issue closed after itsReviewed:line makes it run again. - UAT: the review generates the owner's checklist from the
MAC-nand publishes it as a decision page; it is skipped when noMAC-nneeds the owner. The read-back commits the results to the same PR. - The owner approves that PR and closes the milestone. Gaps become follow-ups through intake
after the owner's yes: into this milestone if the fit review says
fits(the coordinator setsRunningagain), else into a new one.
-
Tests by rule, not memory (proposed):
Tier When Where Read by TDD unit tests each plan task worker implementer or worker Machine gate every push pre-push hook, CI worker, babysit-prChange checks a PR whose diff matches a check's globs worker if it has the prerequisites, else CI or a host that has them babysit-pr, coordinatorNightly daily a scheduled runner job (claude has one: validate, 03:23 UTC,docs/ci/checks.md); aise moves from a session croncoordinator, via [Bug] Nightly …issuesMilestone checks Closingthe deployed system close review UAT after the close review the owner owner - New key
Change checks: theResearch checksgrammar pluswhen <globs>,tool <name>,cost paid. New subcommandworkflow_checks.py changed(today:keys,run).work-onandreadyrun the matched free checks the machine can and write one line per check into the PR body;babysit-prnever reports green while a matched check has no result. - New keys
Paid test budgetandMilestone checks; paid checks run in CI underrun:paid, which the coordinator sets inside the budget (extends #651). - aise's e2e suite exists (
frontend/app/tests/e2e/, five Playwright specs, run before each deploy) but is wired to a local app; the deployed run needs a base-URL override and a test account (the owner's decision; target environment in aise#596). MAC-ncarryVerify: e2e <spec>::<title> | eval <cmd> ≥ <n> | query <cmd> | screenshot <state> | uat; the preflight flags aMAC-nwithout one.
- New key
-
Additions from the research pages (2026-11-23; the "adopt now" points of possible changes):
- PR verification block. Every build PR carries one line per matched check with its
result, and says "none" when no check matched; one result line per
AC-n; and one line saying where a reviewer should look closely and why.babysit-prnever reports green while a matched check has no result. - What a review was made against. The build PR names the spec commit, or for an item without a spec the hash of the issue body; a later edit of either makes the review stale.
- The re-check cites evidence. Its result names files and PR state, never a handoff note or a summary.
- Shared-gap check. When two or more workers block or guess wrong in one round, the coordinator first looks for one gap in the setup, the spec or the issue template that explains them, before asking the owner each question.
- Negative case for evaluations. A
Verify: evalline names at least one case that must find or do nothing.
- PR verification block. Every build PR carries one line per matched check with its
result, and says "none" when no check matched; one result line per
-
Migrating a running milestone (decided 2026-11-26 from the pilot in aise milestone 24; the points are collected on #616, the decisions are recorded on the task, #1011). When a milestone that is already running moves to the model (decision 7):
- Old holds, reviewed once. The coordinator checks each
agent:holdandagent:parkedof the milestone once against the model. A hold or park whose recorded reason is an earlier rule the model replaces is released by the coordinator, with one comment naming the model decision. Any other stays as it is. - The
P-nmap first. Migration starts with the mapP-n → #nin the milestone description. Every open issue of the milestone that is not in the map gets the fit review (#941) then (decision 8). - A spec written after its build PR goes through a spec PR like any other (decision 5). The build PR stays open and is not merged before the spec is. Its worker then runs the re-check of decision 10 against the merged spec and writes the result line into the build PR.
- A flat spec's
MAC-nas acceptance criteria. In a migrated flat spec, aMAC-nthat names exactly one issue and can be tested is that issue's acceptance criterion; noAC-nis written after the fact. AMAC-nthat names several issues or cannot be tested needs a spec PR.
Two rules hold for every milestone, migrated or not:
- A hold or park never discards work. Before stopping, the worker commits everything and pushes its branch, with the hooks running. If a hook refuses the commit, the worktree is kept and the park comment says so.
- Holding needs only the label.
agent:hold, set from any host, holds an issue; removing the label ends the hold. A comment with the reason is recommended, not required. The coordinator refuses to start a labelled issue.
- Old holds, reviewed once. The coordinator checks each
Owner touchpoints per milestone¶
| Action | 1 feature | 5 features, 2 with own mini-specs |
|---|---|---|
| Intake input and answers | 1 | 1 |
| Approve the milestone spec (accepts findings, releases, starts issue creation) | 1 | 1 |
| Approve own mini-specs | 0 | 2 |
| Approve the Verification PR and close, after the UAT | 1 | 1 |
| Total before owner-path build PRs, questions, re-plans | 3 | 5 |
Research additions in the diagrams¶
The Mermaid diagrams 4, 5, 6, 7, 9 and 10 carry the points the research pages add (possible changes):
| Colour | Meaning |
|---|---|
| amber, solid | adopt now: part of the baseline, decision 15 |
| violet, dashed | later: a good addition that needs a decision or other work first |
Diagram 1: hierarchy¶
flowchart TB
epic["[Epic], optional<br/>over several milestones"]
subgraph ms["Milestone: one goal, due date, Status:"]
spec["[Spec] issue, standing anchor<br/>milestone.md: spec + plan"]
f1["[Feature], own mini-spec"]
f2["[Feature], ACs in milestone.md"]
t1["[Task]"]
subgraph fast["Fast lane: no spec"]
bug["[Bug]"]
q["[Question]"]
end
end
ms2["Another milestone"]
epic -.-> ms
epic -.-> ms2
spec -- "plan creates" --> f1
spec -- "plan creates" --> f2
spec -- "plan creates" --> t1
f1 -. "blocked_by" .-> t1
Diagram 2: spec files¶
flowchart LR
subgraph dir["docs/specs/m24-case-persistence/"]
m["milestone.md<br/>MAC-n, plan, in-milestone ACs"]
s655["655-optimistic-locking.md<br/>AC-n"]
end
specissue["[Spec] issue, its PRs (Refs)"] --> m
pr655["[Feature] #655, spec PR (Refs)"] --> s655
s655 -. "AC-n traces to MAC-n" .-> m
m24 = milestone 24; 655 = issue 655. A feature marked spec: in-milestone has no file of its own.
No approved spec means no build. Plans: docs/plans/.
Diagram 3: milestone life cycle¶
stateDiagram-v2
state "Re-plan pending" as RePlan
[*] --> Planning: intake files the [Spec] issue
Planning --> Ready: spec PR approved and merged, then every plan item has its issue
Ready --> Running: first claim
Running --> RePlan: fit review says re-plan
Ready --> RePlan: fit review says re-plan
RePlan --> Running: owner picks a new milestone, another milestone, or a full re-plan
Running --> Closing: all issues closed but the [Spec] issue and the after-merge task
Closing --> Running: a follow-up fits this milestone
Closing --> Closed: owner approves the Verification PR and closes
Closed --> [*]
Who may work in each status: decision 7. Fit review: #941. Preflight: decision 6.
Diagram 4: from milestone spec to issues¶
flowchart LR
intake["Intake<br/>owner + Claude"] --> specissue["[Spec] issue<br/>brainstorm, write"]
specissue --> pr["Milestone spec PR<br/>spec + plan, Refs"]
pr --> pre["Preflight v2 on the PR;<br/>Accepted at release section"]
pre --> approve["Owner Approve<br/>= release + acceptance"]
approve --> merge["Merge milestone.md"]
merge --> plan["Coordinator starts intake,<br/>plan mode"]
plan --> issues["One issue per P-n,<br/>map P-n to #n"]
issues --> ready["Status: Ready;<br/>preflight over the issues"]
rag["Retrieval checklist, when<br/>a milestone builds retrieval"]:::later
pr -.- rag
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
Diagram 5: one feature, end to end¶
flowchart LR
start["[Feature] issue<br/>intent"] --> kind{"spec: own?"}
kind -- "in-milestone" --> wait
kind -- "own" --> b
subgraph specphase["Spec phase: spec:pending"]
b["Brainstorm"] --> ms["Mini-spec PR, Refs"] --> ap{"Owner"}
end
ap -- "changes requested" --> ms
ap -- "dropped" --> drop["Issue closed, not built"]
ap -- "Approve, merge" --> wait["spec:approved,<br/>wait for blockers, no claim"]
wait -. "blocker stuck 14 days" .-> esc["Coordinator reports,<br/>owner decides"]
esc -. "wait" .-> wait
subgraph build["Build phase"]
rc["Re-check"] --> pl["Plan"] --> bd["Build, TDD<br/>inline or subagents"] --> gt["Gate, change checks,<br/>push, PR, babysit-pr"] --> mg["Merge, Closes #n"]
end
wait --> rc
gt -. "code defect" .-> bd
gt -. "plan wrong" .-> pl
gt -. "spec wrong" .-> ms
rc -. "material change: spec:amending" .-> ms
gap["Shared-gap check before<br/>asking the owner"]:::adoptNow
esc -.- gap
hand["Phase handoff line<br/>on the issue"]:::later
wait -.- hand
failed["Failed-run comment,<br/>owner restarts"]:::later
wait -.- failed
eff["Effort level<br/>beside the mode"]:::later
pl -.- eff
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
Diagram 6: re-check before building¶
flowchart LR
t1["Milestone spec amended"] --> q{"Material change?"}
t2["A blocker's PR changed<br/>what the spec relies on"] --> q
t3["Spec merged over 14 days ago"] --> q
t4["New ADR or decision"] --> q
q -- "no, or minor drift" --> plan["Plan; one-line result<br/>in the build PR"]
q -- "yes" --> spec["Spec PR, spec:amending,<br/>owner Approve"]
q -- "feature obsolete" --> close["Closed, after the owner's yes"]
spec -- "merged" --> q
cite["Result cites files and PR state,<br/>never notes or summaries"]:::adoptNow
q -.- cite
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
The re-check always runs as the plan's first step; the triggers only say when to look harder.
Diagram 7: questions and model + 1¶
flowchart LR
q["Question<br/>worker, intake or coordinator"] --> repo["Repository<br/>code, issues, docs"]
repo -- "not answered" --> up["Subagent one tier up<br/>e.g. opus asks fable"]
up -- "not answered, or asker on top tier" --> owner["Owner: decision page,<br/>needs:human, readback"]
repo -- "answered" --> rec["Recorded: spec PR,<br/>or the issue (fast lane)"]
up -- "answered" --> rec
owner --> rec
adv["Advisor tool: reviews the asker's<br/>own decisions at decision points"]
log["Log questions the repository<br/>could not answer"]:::later
repo -.- log
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
Diagram 8: who does what¶
| Plan | Feature specs | Build | Close | |
|---|---|---|---|---|
| Owner | brings the input; approves the milestone spec (release, accepted findings) | approves own mini-specs | approves needs:owner-approval PRs, merges needs:owner-merge PRs, answers questions, decides re-plans and stuck blockers |
UAT; approves the Verification PR; closes the milestone |
| Intake | files the [Spec] issue; creates the issues from the plan |
— | files late issues (with fit review) | files follow-ups after the owner's yes |
| Coordinator | preflight on the PR; starts intake on merge; writes Status: |
offers spec work | offers builds at spec:approved; merges merge:agent and approved PRs; reports stuck blockers |
starts the milestone checks and the close review on the [Spec] issue |
| Workers | write the milestone spec, planning items | write own mini-specs | re-check, plan, build, gate, PR, babysit-pr, merge label; never merge |
run the milestone checks |
| CI, AI review | docs checks | docs checks | CI, change checks, Copilot, claude-review | — |
The operator refreshes the Question Board and tells a coordinator when answers wait.
Diagram 9: build phase¶
flowchart TB
rc["Re-check (diagram 6)"] --> pl["Plan: writing-plans,<br/>picks the mode"]
pl --> mode
subgraph mode["Build per plan task"]
direction LR
subgraph sad["Subagent-driven"]
impl["Implementer subagent<br/>TDD"] --> rev["Task reviewer subagent<br/>spec, quality"]
rev -. "rounds 1-3 resume, 4-5 fresh,<br/>one tier up, cap 5" .-> impl
end
subgraph inl["Inline (executing-plans)"]
w["Worker builds every task<br/>TDD"]
end
end
mode -- "after the last task" --> fin["Final whole-branch review,<br/>strongest model, one fix pass"]
fin --> gate
subgraph gate["Quality gate: workflow:ready"]
direction LR
s["/simplify"] --> cr["/code-review --fix"] --> sr["/security-review"] --> ak["aikido:scan"] --> mgate["machine gate"]
end
gate --> chg["Change checks<br/>matched by the diff"]
chg --> push["Push: pre-push hook"]
push --> pr["PR, babysit-pr: CI, Copilot,<br/>claude-review in parallel;<br/>5 fix rounds, 3 AI review rounds"]
pr --> merge["Coordinator merges on merge:agent;<br/>owner on needs:owner-approval<br/>or needs:owner-merge"]
hooks["Hooks on every edit, commit and push: table 9b"]
mode -.- hooks
vblock["PR verification block: a line per check,<br/>none too; AC-n results; where to look"]:::adoptNow
pr -.- vblock
hash["Spec commit or issue-body hash;<br/>a later edit makes the review stale"]:::adoptNow
pr -.- hash
cost["Usage and run metrics<br/>recorded at merge"]:::later
merge -.- cost
rules["Review rules read<br/>from the base branch"]:::later
pr -.- rules
flaky["Flaky check:<br/>no silent retry"]:::later
chg -.- flaky
prop["Property and<br/>differential tests"]:::later
mode -.- prop
second["Second-model<br/>plan review"]:::later
pl -.- second
pkg["Package registry<br/>check"]:::later
gate -.- pkg
ctxw["Context headroom<br/>warning hook"]:::later
hooks -.- ctxw
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
Diagram 9b: which check runs when¶
| When | <owner>/claude | aise-feecheck-poc |
|---|---|---|
| Every Bash or PowerShell command | dcg blocks destructive commands (user-level hook from dev-doctor) | same |
| Every edit | — | formatter hook: spotlessApply on .java |
Every git commit |
guard-commit.sh (no git add -A or commit -a, secret scan of the staged lines); git pre-commit: ruff, shfmt, shellcheck, PSScriptAnalyzer, docs lint |
guard-commit.sh; a hook blocks the commit when spotlessCheck fails; git commit-msg: type(#issue): summary |
| A worker tries to merge | guard-merge.sh blocks it |
same |
| Each plan task | targeted unit tests (TDD) | same |
| Quality gate | /simplify, /code-review, /security-review, aikido:scan, the machine gate |
same |
| Every push | pre-push: the pre-commit hooks again, plugin checks and tests, Vale, Semgrep, gitleaks | pre-push: ./gradlew build (offline; PIT on changed classes) |
The diff matches (proposed Change checks) |
— | postgresIntegrationTest (Docker), e2e, integrationTest and vertexAiIntegrationTest (paid) |
| PR | CI, Copilot, claude-review | required: build, secret-scan, pr-title, Aikido; Copilot, claude-review |
| Nightly | validate on the self-hosted runner |
full PIT, postgresIntegrationTest (the owner's Linux host) |
| Before each deploy | — | e2e (build.yml deploy job) |
Milestone close (proposed Milestone checks) |
— | e2e against the deployed app, paid checks once, evaluation runs |
aise's rows were taken from its CLAUDE.md and .githooks/; its CI settings were not checked
line by line.
Diagram 10: milestone close¶
flowchart LR
closing["Status: Closing<br/>on the [Spec] issue"] --> deploy["Deploy; hand over<br/>after-merge owner steps"]
deploy --> checks["Milestone checks:<br/>e2e, paid, evaluation, docs"]
checks --> review["Close review subagent:<br/>each MAC-n with evidence,<br/>Verification PR"]
review --> uat{"Any MAC-n<br/>Verify: uat?"}
uat -- "yes" --> page["Owner UAT on a<br/>decision page; readback<br/>into the PR"]
uat -- "no" --> decide
page --> decide{"All delivered?"}
decide -- "yes" --> close["Owner approves the PR,<br/>closes the milestone"]
decide -- "gap" --> follow["Follow-ups by intake,<br/>after the owner's yes"]
follow -- "fits" --> running["Back to Running"]
follow -- "else" --> newms["New milestone;<br/>this one closes"]
neg["Eval Verify needs<br/>a negative case"]:::adoptNow
checks -.- neg
hidden["Hidden acceptance<br/>scenarios for MAC-n"]:::later
checks -.- hidden
inv["Invariant checks<br/>per repository"]:::later
checks -.- inv
audit["Prompt audit of<br/>CLAUDE.md and skills"]:::later
checks -.- audit
prev["Per-PR preview<br/>before the UAT"]:::later
deploy -.- prev
lessons["Lessons: misses and run data<br/>feed checklists, owner's yes"]:::later
review -.- lessons
sample["Owner samples<br/>close-review verdicts"]:::later
review -.- sample
retire["Archive specs<br/>after the close"]:::later
close -.- retire
classDef adoptNow fill:#fde7c2,stroke:#b7791f,color:#000
classDef later fill:#efe9f7,stroke:#7a5ea8,stroke-dasharray:4 3,color:#000
Diagram 11: spec levels and Anthropic's playbook¶
| Level | Here | Approved by | Playbook | Differs |
|---|---|---|---|---|
| Intent | the issue body; the milestone description | intake's reviewer, the owner's yes | intent.md |
not a file here |
| Milestone spec + plan | milestone.md |
owner, spec PR | spec.md + plan.md at milestone scope |
the playbook has no milestone level |
| Feature spec | own mini-spec, or criteria in milestone.md |
owner, spec PR | spec.md |
— |
| Plan | writing-plans output in docs/plans/ |
the worker | plan.md |
an engineer approves plan.md there |
| Tests and code | TDD, one PR | gate, reviews, merge label | PR gates | — |
| Milestone close | checks, close review, UAT | owner | verifier subagent; release gate before production | the UAT is this model's own |
More illustrated diagrams¶
The illustrated diagrams are standalone SVG files in diagrams/, generated with light and dark
colours; the Mermaid blocks are the detail versions. Proposed for the SDLC chapter (#985): the
illustrated ones on the overview page, Mermaid on the detail pages.
Open¶
- Proposed points above, for the owner: plan grammar, preflight v2, phase labels and spec commit check, status writer, migration rule, stuck-blocker rule, Fable exemptions, the test keys.
- aise: a test account for the deployed e2e run; the target environment (aise#596); whether milestone 24 moves to the new model.
- Issues: rewrite #616, #620 (exclusion at Closing), #678, #679, #681, #941, #942; close #676 and
#677 as superseded once the work-items task is filed; keep #680, #682 (add
[Spec]); new:[Spec]type and work-items reference, spec gate and merge kind, status writer, preflight v2,work-onphases, change and milestone checks,advisorModelbaseline. Shipped code and docs to update: the anchor lookup of the preflight incoordinator.py,docs/sdlc/milestones.md,docs/sdlc/work-items.md,docs/sdlc/decisions.md. - Skills that still put
[Epic]inside a milestone:workflow:intake,workflow:workstream,git-flow:github-issuesexamples. - SDLC v2: the decision record first, then the outline #985, the restructure #986 after the work-items reference.
Build order (proposed)¶
- Spec gate (
classifyandstartskip the build of a[Feature]without an approved spec in a gated milestone;work-onchecks it too) with the spec merge kind andRefsfor spec PRs. - Status parser and writer.
[Spec]type and the work-items reference, then #682.- The template, #678 → preflight v2 with #942 → intake plan mode, #679 → #941 → #681 with #620.
- Change checks, then milestone checks.
advisorModelbaseline, independent.