Skip to content

Milestones

A milestone is a dated goal across the issues of one repository. This page says how a milestone runs today, and how epics #616 and #676 change it. The aim: agents work a milestone end to end once its preconditions are met, and ask the owner only what the owner's earlier decisions do not cover. Kinds and nesting: work-items.md. Points the owner has not decided are marked proposed; those of #677 are listed in work-items.md.

Superseded for new milestones by milestone 24, a simple workflow (approved 2026-11-28), in the private docs/specs/m24-simple-workflow/.

Superseded in part. The milestone model of 2026-11-23 is the baseline. Where this page describes an anchor epic, an outcome spec named after it, or a close state reached when only the anchor is open, the model's [Spec] issue, milestone.md and Status: line replace it. This page describes the skills as they run until the model's build order lands, and the restructure (#986) rewrites it.

Today

  • Planning. workflow:intake files issues into a milestone after the owner's yes, and asks for a due date when it proposes a new one. A milestone has a title, a description and a set of issues, but no written outcome.
  • Before the first start. The preflight predicts what each issue will need from the owner (below).
  • Running. coordinator candidates --milestone <title> takes the milestone's issues and the sub-issues of its epics and ranks them. The coordinator starts a worker per eligible issue (parallel-work.md). The owner's own part still comes up issue by issue: an Approve on a needs:owner-approval pull request, a host step, a question.
  • Closing. candidates reports a milestone past its due date with no open issue as ready_to_close, and the owner closes it. The coordinator never closes a milestone. Nothing compares what was merged with what the milestone was meant to deliver.

The gap this leaves: aise-feecheck-poc's milestone "Contract gate" closed every issue. Yet its UI states were never specified or mocked up, and a deploy fix it needed was not planned up front.

The changes

Change Issue Status
Preflight: a verdict per milestone before the first start, including the spec check #617 exists
Owner paths by folder: tests, tools and sandbox scripts in folders without owner #618 exists
One anchor epic per milestone, linking the outcome spec; Spec: line in the milestone description #676 superseded by the milestone model: one [Spec] issue per milestone
Outcome-spec template with a parts checklist, MAC-n criteria and a close review #678 planned
Intake gives a new milestone its spec, anchor epic and part issues, and checks an item against an existing milestone's scope #679 superseded by the milestone model: intake creates the issues from the plan part of milestone.md (milestone 15, P-8)
Approved mockups committed to the Mockups folder as spec input #680 planned
Close review against the outcome spec before the milestone goes to the owner #681 planned
Title prefix and type label checked; commit type suggested from the issue #682 planned
owner:approved pre-approves an issue's pull request #619 planned
Owner steps filed up front as blockers, one after-merge task per milestone #620 planned

A milestone from plan to close

Who acts in each step. The coordinator, its workers and intake are Claude Code sessions. CI and the AI reviewers run on GitHub.

flowchart TB
    subgraph owner["Owner"]
        o_in(["New input"])
        o_yes["Says yes to the proposal"]
        o_pre["Labels owner:approved<br/>does host steps up front"]
        o_ans["Answers the decision page"]
        o_appr["Approves or merges<br/>non-routine PRs"]
        o_close["Closes the milestone"]
    end
    subgraph intake["workflow:intake"]
        i_prop["Proposes issues"]
        i_spec["Drafts the outcome spec,<br/>anchor epic, part issues"]
    end
    subgraph coord["Coordinator"]
        c_pre["Preflight verdict"]
        c_start["Claims, starts workers"]
        c_merge["Merges merge:agent<br/>and approved PRs"]
        c_review["Close review subagent"]
    end
    subgraph worker["Worker"]
        w_build["Checks the issue,<br/>builds test first, gate"]
        w_pr["Opens the PR,<br/>babysits it"]
    end
    subgraph gh["CI and AI review"]
        g_ci["check.yml"]
        g_ai["Copilot, claude-review"]
    end

    o_in --> i_prop
    i_prop --> i_spec
    i_spec --> o_yes
    i_prop --> o_yes
    o_yes --> c_pre
    c_pre --> o_pre
    o_pre --> c_start
    o_yes --> c_start
    c_start --> w_build
    w_build --> w_pr
    w_build -. "owner question" .-> o_ans
    o_ans -.-> w_build
    w_pr --> g_ci
    w_pr --> g_ai
    g_ci --> c_merge
    g_ai --> c_merge
    g_ci -. "needs:owner-*" .-> o_appr
    c_merge --> c_review
    o_appr -. "approved" .-> c_merge
    o_appr -. "owner-merge" .-> c_review
    o_appr -. "owner-merge" .-> o_close
    c_merge --> o_close
    c_review -- "owner approves the close" --> o_close

    classDef built fill:#b7e4c7,stroke:#2d6a4f,color:#000
    classDef planned fill:#c6dcff,stroke:#1168bd,stroke-dasharray:4 3,color:#000
    class o_in,o_yes,o_ans,o_appr,o_close,i_prop,c_pre,c_start,c_merge,w_build,w_pr,g_ci,g_ai built
    class i_spec,o_pre,c_review planned
    style owner fill:none,stroke:#666
    style intake fill:none,stroke:#666
    style coord fill:none,stroke:#666
    style worker fill:none,stroke:#666
    style gh fill:none,stroke:#666
Colour Meaning
green exists
blue, dashed planned (#619, #620, #679, #681)
dotted arrow only when the worker has a question for the owner, or for a needs:owner-* pull request
grey frame who acts

Today a milestone takes the green path: proposal, yes, preflight, workers, merges. The owner closes it once it is past due with nothing open. The blue steps move the owner's part to the start: the spec, the pre-approvals, the host steps. They also add a review at the end. The owner is then asked mostly at the start and at the close, instead of once per pull request. What stays the owner's is still asked when it comes up (below).

The outcome spec

Planned (#678). One document per milestone, <spec dir>/<anchor epic>-<slug>.md. The spec dir is the directory of the Spec templates key of the workflow table, or docs/specs/ when that key is none. Its sections:

  1. Outcome—the announcement as if the milestone had shipped, and the questions a reader would ask (Amazon's PR/FAQ).
  2. Why now—the hypothesis and the measure that would show it holds (SAFe's epic hypothesis).
  3. Appetite and date—the time the owner gives it (Shape Up's appetite) and the due date.
  4. Scope—in scope, no-gos, rabbit holes.
  5. Parts checklist—one row per part, each answered as needed → #n, not needed: <reason> or, at the close, needed → none, deviation in §8. A blank row is not "not needed". The nine rows:
    • business spec;
    • UI screens and states with committed mockups;
    • architecture / ADR;
    • data / schema;
    • infrastructure and deploy;
    • security and privacy;
    • ops and monitoring;
    • docs and guides;
    • evaluation and test evidence.
  6. Milestone acceptance—criteria MAC-n, each mapped to the issues that deliver it.
  7. Open questions—a link to the decision page only.
  8. Close review—filled in at the close: Reviewed: <date>, PRs up to #n, each MAC-n delivered, partial or dropped with its evidence, the deviations from §4 and §5, and the follow-ups.

Proposed (w1-scope-due): the due date lives on the milestone, the scope in the outcome spec, and the anchor epic only links them. A separate ADR of #678 decides where the template file lives in the plugin and how a repository picks it up.

Before the first start: the preflight

coordinator candidates --milestone <title> --preflight predicts, per issue, what the owner will have to do (#617): the expected merge kind, blockers, host steps, needs:* and human:* labels, open questions, owner:approved. Each issue gets a verdict: ready, ready with owner items, in progress or not ready.

  • The milestone's verdict is the strictest of its counted issues. Epics, the anchor epic among them, and issues in progress are listed, not counted.
  • It also checks the milestone itself: an anchor epic, a linked spec that exists, and every row of the parts checklist answered. Each failing check is a reason, such as §5 UI screens and states: unresolved.
  • The preflight writes nothing to GitHub. The exact rules: plugins/workflow/skills/coordinator/candidates.md.

The owner then clears the owner items up front: answers the open questions on the milestone's decision page, and, once #619 and #620 land, labels the issues owner:approved and runs the host steps that #620 files as blockers.

While it runs

The coordinator starts workers as on any other day. What changes is how often the owner is asked:

  • the coordinator merges a green needs:owner-approval pull request of an owner:approved issue (#619, planned);
  • changes to the tests, tools and sandbox scripts need no Approve from the owner: #618 moved them out of scripts/ci and scripts/linux into folders without owner (ci/codeowners.md);
  • an item filed into the running milestone is checked against its scope. One that adds a part brings a proposed update of §5 with it (#679, planned).

What stays the owner's does not move: architecture decisions, CI, secrets, money, breaking changes, and every path CODEOWNERS still lists (decisions.md).

The close

Planned (#681). A milestone with no open issue except its anchor epic is ready_for_review.

  1. The coordinator starts a fresh subagent. It reads the spec, the merged pull requests and their evidence, fills in §8 in a pull request, and lists the follow-ups.
  2. Intake files the follow-ups after the owner's yes.
  3. The coordinator hands the milestone to the owner in one hand-off: the review, the follow-ups and the after-merge owner steps (#620).
  4. The owner approves the close.

A milestone without a spec is reported as spec missing.