Stopping rules: Astra round 1 fixes (budget follows the change, census still checks P2 fixes, fault family defined, clock rule, findings carried forward)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+33
−13
AGENTS.md+19 −9docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md+14 −4
CI passed — run details
diff --git a/AGENTS.md b/AGENTS.md| index c829c035a..8e93859bf 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -40,14 +40,22 @@ Astra brief and findings files. Each time Paul found out by asking |
| "still going?". These rules bind every agent here, Claude and Codex, |
| sessions and subagents, and the reviewers they brief. |
| -1. **A plan or spec review stops at the first round with no P1.** Apply |
| - that round's P2 fixes without another round. P3s go on a follow-up |
| - list on the branch and never start a round. A fourth round on the |
| - same document needs Paul's go: ask with what rounds 1-3 found and what |
| - a fourth would buy. |
| -2. **Two rounds in the same fault family: stop fixing.** When each fix |
| - in one area produces a new finding in that area two rounds running, |
| - do not write a third fix. Offer Paul the choice: |
| +1. **A review stops at the first round with no P1.** This holds for |
| + specs, plans, tasks and branches. Apply that round's P2 fixes without |
| + reopening the review. P3s go on a follow-up list on the branch and |
| + never start a round. A fourth round needs Paul's go: ask with what |
| + rounds 1-3 found and what a fourth would buy. The count follows the |
| + design or change, not the file: a revision, a rename, a split into |
| + two documents, a new reviewer or a session handoff does not restart |
| + it, so every brief and handoff carries the round history. Two checks |
| + still apply to the diff the P2 fixes produce, inside the same budget: |
| + the census, and review of any newly changed security, root, |
| + termination or production-storage behaviour. |
| +2. **Two rounds in the same fault family: stop fixing.** A fault family |
| + is the set of findings against one invariant or trust boundary, |
| + whatever file or symptom they show up in; name that invariant beside |
| + each finding. When fixes produce another finding in the same family |
| + two rounds running, do not write a third fix. Offer Paul the choice: |
| - refuse the case up front, with a gate before the work starts and a |
| report for an operator (hostfiles, `RestorableWithinCap`); |
| - cut the feature that produces it (instance policy, live memory |
| @@ -80,7 +88,9 @@ sessions and subagents, and the reviewers they brief. |
| 8. **Say so before Paul has to ask.** When 24 hours pass with no merge, |
| or rule 1 or 2 triggers, post on the branch's discussion and tell Paul |
| in the session: what is blocking, what the last two rounds found, and |
| - the cut you recommend. |
| + the cut you recommend. The clock starts when the plan or slice starts, |
| + or at its latest merge; a session handoff does not reset it. Report |
| + again every further 24 hours. |
| Review briefs follow `docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md`, |
| which carries the round budget and the three-way verdict to the reviewer. |
diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md b/docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md| index 1db932cee..93847a76e 100644 |
| --- a/docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md |
| +++ b/docs/superpowers/reviews/REVIEW-BRIEF-TEMPLATE.md |
| @@ -32,14 +32,23 @@ names, and check every claim against that code. |
| ## Round <n> (delete in round 1) |
| +Earlier rounds: <list each round's findings file>. The round number |
| +counts every earlier review of this design or change, under any file |
| +name or reviewer. |
| + |
| First give one line per P1 and P2 from round <n-1> (`<findings file>`): |
| -resolved, partly, or not. Then report only new findings. |
| +resolved, partly, or not. Carry every unresolved or partly resolved |
| +finding forward at its current severity, then add new findings. The |
| +verdict covers everything outstanding, earlier rounds included. |
| ## Severity |
| - **P1**: unsafe, would not compile, a test fails, or it would not work. |
| Blocks merge. |
| -- **P2**: wrong or missing. Fixed without another review round. |
| +- **P2**: wrong or missing. Fixed without reopening this review. (The |
| + census, and review of any newly changed security, root, termination |
| + or production-storage behaviour, still check the fix; see AGENTS.md, |
| + "Stopping rules".) |
| - **P3**: clarity or polish. Goes on a follow-up list; never a reason for |
| another round. |
| @@ -49,8 +58,9 @@ raise a P2 to P1 to keep the review open. |
| ## Output |
| Findings ranked P1, P2, P3. Each gives the section or task, the problem, |
| -the evidence (file:line, verified), the failure scenario and a concrete |
| -fix. End with exactly one verdict: |
| +the evidence (file:line, verified), the failure scenario, a concrete |
| +fix and the invariant or trust boundary it breaks (that is its fault |
| +family). End with exactly one verdict: |
| - **READY**: no P1 and no P2. |
| - **READY AFTER FIXES**: no P1. The listed P2s are fixed without another |