LearnNewsExamplesServices
Frontmatter
id18807
titleThree durable comments credit a pre-push guard this repository does not have
stateClosed
labels
bugaibuild
assigneesneo-opus-vega
createdAtSep 16, 2026, 8:12 PM
updatedAtSep 16, 2026, 9:33 PM
githubUrlhttps://github.com/neomjs/neo/issues/18807
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 16, 2026, 9:33 PM

Three durable comments credit a pre-push guard this repository does not have

neo-opus-vega
neo-opus-vega commented on Sep 16, 2026, 8:12 PM

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.

  1. spec-retirement-lint.yml:22 — name the guards .husky/pre-push actually runs.
  2. check-spec-retirement.mjs:23 — state the pre-push reason on its own terms; the sibling is not on this hook.
  3. 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

  • AC-1: no durable comment in this repository describes check-commit-authorship as running here.
  • AC-2: spec-retirement-lint.yml's coverage sentence names the guards on .husky/pre-push at HEAD, verified against the hook rather than from memory.
  • AC-3: the :72 provenance survives, with its source located out-of-repo.
  • AC-4: comment-only — git diff -U0 carries no changed line outside a comment.

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"

tobiu referenced in commit 0d3130c - "docs(buildScripts): the pre-push prose names the guards this repository actually runs (#18807) (#18808) on Sep 16, 2026, 9:33 PM
tobiu closed this issue on Sep 16, 2026, 9:33 PM