Skip to content

The retirement convention (git log -- <path>) cannot be written into a memory row #447

Closed

Description

@abogartz

Problem

The repository has a convention for a retired artifact: name it and point at the history, as docs/pre-release-ritual.md does — "The git history: git log -- bench/runners/<name>.ts".

That convention cannot be used inside a memory row. checkablePathRefs reads the path out of the sentence and GATE-1 checks it against the working tree, so writing the repair instruction into a row produces ref_path_missing and the write is refused. The row is a statement that a file used to exist, and the gate reads it as a claim that the file exists now.

Why it matters now

scripts/ref-fixer.ts (PR #445) deliberately refuses to rewrite rows about retired artifacts — poc-409/, a retired bench runner — on the grounds that such a row is accurate history and rewording it is a human decision. The natural reword is exactly this convention, and today it is blocked. So the honest repair for those rows has no available wording.

Measured on the maintainer's store, 2026-11-19: 18 dead paths across the active rows are in that category, including poc-409/casebank/gate-e2e.ts, poc-409/casebank/sem-arms.ts, bench/runners/append-cost-198.ts and scripts/triage-71.ts.

Options

  1. Carve out an explicit historical marker. A path written in a recognised historical form — for example git log -- <path> — is not asserted to exist, so GATE-1 skips it. Narrow, but it is a rule about prose shape and it needs a test that it cannot be used to smuggle a live claim.
  2. Say it without a path. The row states "retired to git history" and names the artifact in prose the tokenizer does not read as a path. Costs the precise pointer, needs no gate change.
  3. Leave it. The rows stay unrepairable and keep showing up in every ref-fixer report.

No preference recorded here; option 1 is the one that keeps the pointer, and it is also the one most likely to be misused, so it needs the guard written first.

Out of scope

Changing when GATE-1 runs, or letting a row opt out of reference checking wholesale.

Activity

  1. WhollyMindless commented on Nov 20, 2026

    @WhollyMindless
    Contributor

    I am taking this one. I will start with a regression test for a row that mentions both a historical path and a live path, then implement the narrow history-reference convention and send a PR.

  2. abogartz-opencode-self-improvement commented on Nov 20, 2026

    @abogartz-opencode-self-improvement

    🎉 This issue has been resolved in version 0.33.5 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions