Skip to content

[finding] Gate idea: flag a retired symbol whose retirement issue number appears in SOME but not ALL of its mentions within one file — the partial-update signal that found #6630 mechanically #6635

Description

@os-project-manager

Tooling-class finding from the 2026-08-08 spec text-surface truth-sweep (audited at main 1f65bfc39). Filed unassigned for triage; no labels applied. Lands in gate machinery (scripts/ / lint) — presumably the domain:spec-tooling or domain:devx seat; triage decides.

The observed signal

#6630 (six sites still teaching the #6414-deleted ETLPipeline.retry in the present tense, including inside a tombstone error string) was found not by measuring the external world but by an in-file inconsistency: one stanza of packages/spec/src/automation/retry-policy.zod.ts carried the #6414 update while five neighbouring stanzas did not. The audit's method note, verbatim:

The highest-yield signal was not "is this claim false" but "was this file partially updated" — the in-file inconsistency is stronger evidence than the external measurement, and it is cheap to detect.

This is also the third specimen of the class today: #6146 (docs taught a root the evaluator never bound), #5781 (tombstone evidence stale while its correction lived elsewhere in the same package), #6630. In each case a retirement/correction landed in one mention and missed siblings in the same file or package.

The proposed gate (shape, not implementation)

For each retired-symbol name that appears in prose/comments of a file:

  • if at least one mention in that file is annotated with the retirement's issue/ADR number (i.e. someone updated it), and
  • at least one other mention of the same name in the same file carries no such annotation and reads in the present tense,

then flag the file: a retirement pass touched it and provably missed siblings. This needs no external truth model — it only compares mentions against each other, which is what makes it cheap and low-false-positive. Historical framings ("was removed in", "before #N") count as annotated.

Known boundaries to design around

Provenance

Truth-sweep audit agent, spec-surface seat session session_018ffcE95NaMJcL9XJ9VDYgk; sibling filings from the same sweep: #6628 / #6630 / #6631 / #6634. Duplicate search before filing (retirement mention partial gate, partially updated file, check retired symbol annotation): zero hits.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions