Repository navigation
v2.99.0 — A retired story keeps its id; no green gate without git; one rule for review passes
Why.
- Kenni could not dissolve duplicate stories. An empty story was refused, and a deleted one broke every plan that named it and freed its id for reuse (#428).
- On a fresh branch whose tip equals
origin/main, a lagging localmainbecame the base, so changes already on main read as new (#429). - With
gitmissing or timing out, the base search read "no fork point" and the base-scoped gates passed with a note (#430). attest.pywrote Tier-2 passes the review gate then rejected, and the append-only journal had to be edited by hand (#418).- attest read registry shorthand as plan criteria and missed loop-generated test titles (#423). A pre-existing refute finding always had to become an issue (#421). The steward's start example lacked
--track(#420).
What changes.
-
[required] No gate is green when git cannot run. One probe (
process_git.repo_probe,git rev-parse --git-dirunderLC_ALL=C) runs at the gate runner's entry and before every base search. A directory without.gitthat git searched upward stays today's "no range" note. Anything else fails hard withgit cannot run (…): no git onPATH, a timeout, dubious ownership, a stale worktree.gitfile, aGIT_DIRthat names nothing. The base search reads strictly. The registry gate,--assign-ids,check_issues,dispatch, the plan and UI gates and the review gate's history fail closed.GitReadErrornow lives inprocess_git;check_reviewre-exports it. -
[required] A story can retire as a tombstone. A story with the field
retired_into(the stories its content moved to, or[]) andacceptance: [], with every id it ever had underretired, is green. It counts as no missing coverage and its id stays known to the plan gate. It needs no tests, no status and no issue. Hard:- an item left in
acceptance, or noacceptancekey; - an empty
retired, orsplit_intoon a retired entry; - tests on the tombstone;
- a
retired_intonaming an unknown story or itself, or closing a cycle. Chains are allowed.
With
stable_ids, a tombstone of the base that disappears is hard (paired by id). A ref to a tombstone's item is a note naming its successors, and hard when there are none. - an item left in
-
[required] attest refuses a pass the gate would reject.
check_review.independence_problemsis the one owner of the pass arithmetic: Tier 2+ needsnon-implementingandbundle, Tier 3cross-modelorsingle-family.attest.pychecks it before writing anything. -
[recommended] A lagging local main no longer decides the base. When a remote ref contains the tip, a local ref of the same name (or another remote) that is only behind it is skipped. A tip on the integration branch then has no base, as it should. A merge push keeps today's rule word for word. The merge push judging its range from the server's
mainis #431. -
[recommended] attest reads registry shorthand and loop titles.
, #AC5and/AC73after a qualifiedSID#ACnare registry refs.- A bare
AC<n>that the registry resolves to an item of a story the plan names makes attest refuse with "qualifyAC<n>as<SID>#AC<n>(line N)" instead of demanding a report line. A plan's own declaredAC<n>stays its criterion. - Template-literal test titles with
${…}match like.eachtitles, andpath::`Title`names a test.
-
[optional] A pre-existing finding below the threshold stays a residual.
refute.mdowns the rule. A pre-existing finding becomes an issue when it breaks an AC or DoD of merged work, is a correctness or security defect on main, or the owner decides so. Otherwise it is named asresidual <label>: <reason>in the REFUTE line's summary (with github-issues:FINDING … action=accept). -
[recommended]
process_git.git_ignoredis the public owner of "does git ignore it" (None: git cannot tell).check_issues._git_ignoredstays as a wrapper with its old signature. -
[optional] The steward's start example shows
[--track <name>], required on a first start oncesteering.tracksis set. A docs test pins every start example.
Effect.
- A project can merge and dissolve stories without breaking plans or freeing ids.
- A broken git can no longer turn the gates green.
- attest writes only what the gate accepts, and its refusals say what to qualify.
Changed sections.
refute.md(What happens with the findings)tower.md(Dispatch and the model policy)verification-independence.md(The review bundle — the portable interface to any reviewer)modules/feature-registry.md(Stable ids; Hard vs. best-effort (no false-green); new: Retiring a story).claude/commands/steward.md(Loop)
Update.
- Pure update. One new story field,
retired_into; no new configuration key. - A clone with dubious ownership, a stale worktree
.gitfile or a danglingGIT_DIRnow fails the gates instead of passing them: fix the clone (git config --global --add safe.directory <path>). - A script that imports
check_issues._git_ignoredkeeps working; switch it toprocess_git.git_ignored.
Details: Plan #418 #420 #421 #423 #428 #429 #430; follow-up #431