Skip to content

One-screen specs: why the mini-specs of milestone 15 failed, and what replaces them

Type: idea. Status: evaluating (2026-11-28): milestone 15 is paused while the owner decides; proposed in #1053.

Milestone 15 ("autonomous milestones") was meant to ask the owner less. It asked more, and the specs it put to the owner read as engineering design documents. This page proposes one page of about 300 words per milestone instead. How these pages are built: index.

Example: milestone 15 on one screen

An illustration of the template, not for approval: the decisions are on the simple workflow milestone (docs/specs/m24-simple-workflow/milestone.md).

# Milestone 15: Agents run a milestone without starting too early

## Questions for the owner
1. Build only the spec gate and the stale check (#1003), and close the rest of the open plan items?
   **Recommended:** yes; the two guards cover the one real incident.

**Goal:** agents build a milestone on their own, and never start a feature before the owner has
approved the plan.
**Why now:** a build in another repository started before its spec was approved, because the rule
was only written down, not enforced.
**Appetite:** one week (a guess: the code audit puts the work at about 100 lines plus tests).

## What will exist
- No build merges until the owner approves the milestone page.
- A build that was made against an older milestone page cannot be merged.

## Acceptance
- [ ] When a build for an unapproved milestone is ready, then it cannot merge and says why.
- [ ] When the milestone page changes after a build started, then that build cannot merge.
- [ ] If an agent sets the approval label itself, then nothing is released; only the owner's
      Approve releases a milestone.
- [ ] (owner test) The owner runs one small milestone end to end.

**We will know it worked when:** the owner approves one page per milestone, however many features it
has, and no build merges early.

## Not doing
- Separate specs per feature.
- New labels, status values or issue types.
- Change checks and milestone checks; they get their own milestone if a real failure needs them.

About 270 words. Its picture, as the agent would put it under Picture:

flowchart TB
  subgraph today["Today"]
    direction LR
    t1["The plan is written"] --> t2["A build can merge before the owner approves"]
  end
  subgraph after["After milestone 15"]
    direction LR
    n1["The owner approves the one page"] --> n2["Agents build"] --> n3["Merge"]
    n4["The page changes after a build started"] -.-> n5["That merge is refused"]
  end
  today ~~~ after
  style t2 fill:#fde2e1,stroke:#c0392b
  style n1 fill:#e3f1e3,stroke:#2e7d32
  style n5 fill:#e3f1e3,stroke:#2e7d32

The template

# Milestone <n>: <name>

## Questions for the owner
1. <a question only the owner can answer>? **Recommended:** <answer, and why in one line>.
   (at most three)

**Decided:** <earlier decisions this page builds on, with links> (optional)
**Goal:** <one sentence: what is true when this is done>.
**Why now:** <two or three lines: the problem, and for whom>.
**Appetite:** <how much time this is worth>.

## What will exist
- <3 to 6 plain bullets: what someone can do afterwards>

## Acceptance
- [ ] When <situation>, then <what happens>.  (3 to 6 checks in user terms)
- [ ] If <something goes wrong>, then <what happens>.  (at least one failure case)
- [ ] (owner test) <the check the owner runs>

**We will know it worked when:** <one observable result, a number where one matters>.

## Not doing
- <what is out, so it does not creep in>

## Picture (optional, at most one)
<one rough picture of what changes: a sketch for a screen, a before/after
diagram otherwise; not counted in the 300 words>

The 300 words count every word with a letter or digit outside the picture, headings included; link targets and diagram code do not count.

Where the pages live: in docs/specs/, which is private and not on this site, one folder per milestone, m<n>-<slug>/, numbered like its GitHub milestone:

  • milestone.md: the page the owner approves, in this template.
  • plan.md: the order of work, one row per step with its issue, and the review checklist of milestone reviews (docs/specs/m24-simple-workflow/milestone-review.md).
  • Milestone 24's folder also holds rules.md, the rules every milestone follows, milestone-planning.md, the steps to plan one, and milestone-review.md, the review kinds; a later milestone links to them instead of copying them.
  • <issue>-<slug>.md: a feature page in the same template, only when one task needs an owner decision that the milestone page does not settle.

The GitHub milestone's description holds the goal, the appetite and the links to the two pages. Each task is an issue in that milestone, written in the intake intent template (plugins/workflow/skills/intake/intent-template.md, checked by its intake_check.py). Its top is the owner's part: Problem, Goal, Open questions and, for an owner task, Manual tasks; then Acceptance. The agent's part comes last: Approach and Context. For a milestone task:

  • Goal links the milestone page and names the plan step.
  • Open questions are answered before an agent builds. The page check fails the milestone page while one of its issues has an open question, and work-on asks them before it starts.
  • Acceptance quotes the milestone page's own line first, word for word, then adds its own. A task with no line on the page names its plan step in Goal; a plan step is not a pass/fail line, so it is not quoted.
  • Buy first: Approach names the bought option checked, as CLAUDE.md requires.

The rules behind both pages: rules (docs/specs/m24-simple-workflow/rules.md); the reviews run on them: milestone reviews (docs/specs/m24-simple-workflow/milestone-review.md).

Which picture, by the kind of work (why):

Work Picture
a new screen a rough sketch: grey boxes, labelled "sketch"
a change to a screen a screenshot of today beside a sketch of the change
steps or branches a flowchart of at most eight boxes, the changed ones highlighted
a command-line tool example output, marked "expected"
no user interface a before/after diagram of the owner's part
Moved to the agent side Where it goes
Verify: commands, test paths, build steps (P-n) agent build notes in docs/plans/
Numbered acceptance criteria (AC-n) the build pull request, derived from the page's Acceptance
Terms and glossaries once, in the work-items reference
Engineering choices (launchers, file formats, flags) the build pull request, reviewed like code
Dropped Why
Feature mini-specs for every feature the content was build design; a task gets its own one-screen page only when it needs an owner decision
The spec kinds, the (O) and (M) marks, numbered decision records (D-n) with one page there is nothing to choose, and records copied the decision page
The labels spec:pending, spec:approved, spec:amending merging the one page is the approval
A spec pull request for every amendment only a change to the goal or the acceptance goes back to the owner, as one question
Milestone checks, the fit review, preflight v2, the model question ladder each comes back only after an incident it would have prevented

What went wrong

File Words Code spans Paths --flags Links and #n
milestone.md (milestone spec) 1,564 77 12 0 21
1003 spec gate 2,577 244 31 15 26
1006 work items 2,594 231 39 13 52
1009 change checks 2,954 303 50 48 25
milestone-model.md (the rules) 4,487 237 36 30 85

Every mini-spec is longer than the milestone spec it belongs to, and about one word in ten is code. One review agent, reading as the owner, judged that 10 to 15 percent of each mini-spec is for the owner.

  1. The builder writes the spec, for nobody in particular. The bot account wrote all three mini-specs, and the worker that writes one builds it next (milestone model, decision 4). No rule names the reader, a length or a template, so the agent invented a shape and every spec copied it.
  2. Acceptance criteria became a test plan. The model asks for a Verify: command on every criterion, so the owner's checklist reads as pytest selectors.
  3. The owner's questions are buried among engineering choices. Under "Decisions with the owner", the same review agent counted about one decision in four as the owner's; the others choose a directory, a state file or a line grammar.
  4. Nothing pushed back. Vale skips docs/specs/, and writing-docs.md lists specs as exempt drafts.
  5. One incident was answered with a system: a 553-line model with 16 decisions, six status values, a new issue type, four labels, 14 milestone criteria and 16 plan items.
  6. The milestone builds the process that governs it, and has to close under rules it has not finished.

What the machinery got right

Three guards carry real weight. Only one is built, checked against the code on 2026-11-28:

  • Only the owner's Approve releases a spec (#1004), built, with the test_spec_merge_kind_* tests. All agents share one bot account, so a label an agent sets proves nothing (lessons learned).
  • The spec gate: no feature is built before its spec is approved. Not built (#1003). Its absence caused the premature build.
  • The stale-spec check: a build cannot merge when its spec changed after the build started. Not built (#1003).

The premature build happened because the rule lived in prose, and it still does. Prose can be cut only where code holds the rule.

Where it came from

Seven reviews on 2026-11-27, a code audit and three independent reviews on 2026-11-28. Outside formats and their critics: spec formats. Pictures: visual specs. What to cut in the rest of the repository: simplification audit.