Context
Measured while taking #18757's first decision (comment). That ticket's AC-3 names one stale claim; reading the neighbourhood found two more of the same kind, in the guard that sits beside them.
check-commit-authorship.mjs lives in neo-agent-brain and this repository does not depend on it — the only agent dependency is neo-agent-skills. Three durable comments here describe it as a caller in this tree anyway.
Live latest-open sweep 2026-09-16T14:20Z — latest 20 open issues plus a search on the guard's name: only #18757 (parent) and #17171. A2A sweep of the latest 30 messages: no competing claim.
The Problem
| site |
claim |
measured |
.github/workflows/spec-retirement-lint.yml:22 |
"The two existing pre-push guards (check-branch-discipline, check-commit-authorship) are hook-only" |
.husky/pre-push runs check-branch-discipline and check-spec-retirement. The named guard is not on this hook; the one that is, is missing from the sentence |
buildScripts/util/check-spec-retirement.mjs:23 |
"check-commit-authorship.mjs reads commit messages from the same hook for the same reason" |
there is no such file in this repository and it is on no hook here |
buildScripts/util/check-spec-retirement.mjs:72 |
"Same contract as check-commit-authorship.mjs, whose comment records why…" |
the provenance is true — this guard's range handling was lifted from it — but the pointer reads as a sibling in this tree |
buildScripts/util/check-spec-retirement.mjs:321 |
RA-3: prefixing the survivor-matching rule |
review archaeology: CI's published guard flags it, the engine's mirrored copy carries none of those patterns, so the hook passes it (#18809) |
This is the defect class the archaeology guard exists to prevent, one level up: a comment asserting a relationship rather than a ticket number, which no guard checks and which decays silently. The first one is the most costly, because it is load-bearing in an argument — it justifies the workflow's coverage claim by counting a guard that is not there.
The Architectural Reality
The provenance at :72 is worth keeping and the two coverage claims are not. A comment may say where a contract came from; it may not say what runs here unless it does. The repair is to make each sentence describe this tree, and to name the out-of-repo guard as out-of-repo where it is genuinely being credited.
The Fix
Three comments. No behaviour, no code.
spec-retirement-lint.yml:22 — name the guards .husky/pre-push actually runs.
check-spec-retirement.mjs:23 — state the pre-push reason on its own terms; the sibling is not on this hook.
check-spec-retirement.mjs:72 — keep the provenance, mark the source as living in neo-agent-brain, so a reader does not go looking for it here.
Acceptance Criteria
Out of Scope
- Wiring the guard — #18757's AC-1 and AC-2, and its placement decision. This ticket must not read as having settled it: the comments describe today's tree, and land correctly whichever way that decision goes.
- The
--no-verify / required-context argument the workflow header makes (#17171).
Avoided Traps
- ⛔ Do not delete the
:72 provenance. It records why the range handling looks the way it does, and that reason outlives the guard's location. Only its address is wrong.
- ⛔ Do not "fix" it by wiring the guard instead. That is the parent's substance and is blocked on a custody decision; repairing prose must not become a reason to presume it.
- ⛔ Do not explain these as somebody describing the hook from memory. They were accurate when written and DECAYED:
efba884dcb ran ./buildScripts/util/check-commit-authorship.mjs on the hook — the guard was neo-local then — and c623b2f63c deleted that line after it had moved to ai/. A comment naming a caller is a claim with an expiry date, and nothing watches it; that is the defect, not carelessness.
- ⛔ Do not verify the hook from recall. AC-2 says read
.husky/pre-push at HEAD — a decayed claim reads exactly like a correct one, which is the whole reason this class survives.
Related
Parent: #18757 (this is its AC-3, widened by measurement) · #17783 · #17171 · #17195
Origin Session ID: 5bf0b816-b919-40fc-9c18-fee751fd1635
Retrieval Hint: "spec retirement workflow header names a pre-push guard that is not on the hook check-commit-authorship out of repo"
Context
Measured while taking #18757's first decision (comment). That ticket's AC-3 names one stale claim; reading the neighbourhood found two more of the same kind, in the guard that sits beside them.
check-commit-authorship.mjslives inneo-agent-brainand this repository does not depend on it — the only agent dependency isneo-agent-skills. Three durable comments here describe it as a caller in this tree anyway.Live latest-open sweep 2026-09-16T14:20Z — latest 20 open issues plus a search on the guard's name: only #18757 (parent) and #17171. A2A sweep of the latest 30 messages: no competing claim.
The Problem
.github/workflows/spec-retirement-lint.yml:22.husky/pre-pushrunscheck-branch-disciplineandcheck-spec-retirement. The named guard is not on this hook; the one that is, is missing from the sentencebuildScripts/util/check-spec-retirement.mjs:23check-commit-authorship.mjsreads commit messages from the same hook for the same reason"buildScripts/util/check-spec-retirement.mjs:72check-commit-authorship.mjs, whose comment records why…"buildScripts/util/check-spec-retirement.mjs:321RA-3:prefixing the survivor-matching ruleThis is the defect class the archaeology guard exists to prevent, one level up: a comment asserting a relationship rather than a ticket number, which no guard checks and which decays silently. The first one is the most costly, because it is load-bearing in an argument — it justifies the workflow's coverage claim by counting a guard that is not there.
The Architectural Reality
The provenance at
:72is worth keeping and the two coverage claims are not. A comment may say where a contract came from; it may not say what runs here unless it does. The repair is to make each sentence describe this tree, and to name the out-of-repo guard as out-of-repo where it is genuinely being credited.The Fix
Three comments. No behaviour, no code.
spec-retirement-lint.yml:22— name the guards.husky/pre-pushactually runs.check-spec-retirement.mjs:23— state the pre-push reason on its own terms; the sibling is not on this hook.check-spec-retirement.mjs:72— keep the provenance, mark the source as living inneo-agent-brain, so a reader does not go looking for it here.Acceptance Criteria
check-commit-authorshipas running here.spec-retirement-lint.yml's coverage sentence names the guards on.husky/pre-pushat HEAD, verified against the hook rather than from memory.:72provenance survives, with its source located out-of-repo.git diff -U0carries no changed line outside a comment.Out of Scope
--no-verify/ required-context argument the workflow header makes (#17171).Avoided Traps
:72provenance. It records why the range handling looks the way it does, and that reason outlives the guard's location. Only its address is wrong.efba884dcbran./buildScripts/util/check-commit-authorship.mjson the hook — the guard was neo-local then — andc623b2f63cdeleted that line after it had moved toai/. A comment naming a caller is a claim with an expiry date, and nothing watches it; that is the defect, not carelessness..husky/pre-pushat HEAD — a decayed claim reads exactly like a correct one, which is the whole reason this class survives.Related
Parent: #18757 (this is its AC-3, widened by measurement) · #17783 · #17171 · #17195
Origin Session ID: 5bf0b816-b919-40fc-9c18-fee751fd1635
Retrieval Hint: "spec retirement workflow header names a pre-push guard that is not on the hook check-commit-authorship out of repo"