Skip to content

R1: one manifest surface is named only by a forbid row — nothing pins that the path IS the surface #250

Closed

Description

@aitrawog

Problem

scripts/governance-claims.tsv names 15 distinct surfaces, and 14 of them are pinned by at least one require row. One is not:

layer-charly-internals/.agents/skills/cutover-policy/SKILL.md

It is named by a forbid row only:

fix_or_file	cutover-policy skill source	layer-charly-internals/.agents/skills/cutover-policy/SKILL.md	forbid	NEXT THEMATIC BATCH CUTOVER

A forbid row asserts "the retired phrase is ABSENT". That assertion is vacuously true against any file at that path — including a file that holds no rule at all. So nothing pins that the path is the cutover-policy source: the day the skill moves again, the row keeps passing against whatever sits at that path, and it can never go red.

This is the mild form of the defect #246 fixed at its worst. #246's 19 rows pointed at a file that existed and held none of the prose; the residual here is a file that exists and holds the rule today (so the row asserts correctly right now) but is unanchored — nothing asserts that this path IS the surface.

Measured

$ awk -F'\t' '!/^#/ && NF>=4 {print $3}' scripts/governance-claims.tsv | sort -u | wc -l
15
$ for p in <those 15>; do … ; done
  UNANCHORED: layer-charly-internals/.agents/skills/cutover-policy/SKILL.md

The surface is real and states the rule — its own heading is
## Blocking vs non-blocking surfaced issues — fix it or file it (the project rulebook R1)
(layer-charly-internals/.agents/skills/cutover-policy/SKILL.md:24), and the prose repeats the wording. So the row is not vacuous today; it is unguarded.

Why #246's new control does not catch it

The stale-pointer control added by #246 fires on a surface whose owner repo is materialized but whose file is absent. A path that is still there — but is no longer the source — is a different shape, and the control does not see it. A require row on the same path is what would see it: the phrase would be absent and the row would go red.

Root fix

  1. Anchor the surface — add the require row that pins it:
    fix_or_file	cutover-policy skill source	layer-charly-internals/.agents/skills/cutover-policy/SKILL.md	require	fix it or file it
    
    (the wording its own heading carries).
  2. Make the class structural — a control that every path the manifest names must be anchored by at least one require row, so a forbid row can never be added on an unanchored surface again. It needs its own coverage: a manifest whose forbid row has no require sibling on the same path must FAIL, and the real manifest must pass.

Why it is filed rather than folded into #246

It is non-blocking for #246: the row asserts correctly today, #246's gate is green with or without the fix, and the fix — a new row plus a new control with its own coverage — is a separable change in a file #246 already opens. Per R1, a non-blocking finding is filed, not silently carried.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)

Activity

  1. aitrawog commented on Oct 27, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    The manifest named a surface by a forbid row only, and a forbid row asserts that a phrase is absent — which is vacuously true of any file at that path, including a file that holds no rule at all. So the table could not say "this path IS the surface", and the row could never go red. The class is now structural.

    Landed. #258 — squash commit b7e2a2c278f7d16ec03788ccfe5bd4cb42ae590d on main; the merge-time tag v2026.300.0451 points at the head 64a77de9441004e95538eb731071b543c941652a, and the tag-on-merge action wrote CHANGELOG/2026.300.0451.md from the PR body (follow-up commit d256175).

    The fix, in detail. Two halves, and the second is the load-bearing one:

    • the affected surface (the cutover-policy skill source) is now pinned by a require row, so a phrase that must be PRESENT is asserted there; and
    • the checker now FAILS a manifest that names a path no require row pins — the "UNANCHORED surface" control. The verdict is about the table, not about the checkout, so an unanchored path fails in every root, including one that does not carry the surface at all. The class of "a surface listed but not really asserted" can no longer survive a table edit.

    The coverage can fail, and it was measured both ways — the OLD checker accepts an unanchored manifest (exit 0) where the NEW one rejects it (exit 1):

    $ bash <origin/main's governance-reconcile.sh> --root $F --manifest $F/unanchored.tsv
    governance-reconcile: root=/tmp/pt299/anchor-fixture manifest=/tmp/pt299/anchor-fixture/unanchored.tsv
    ok    canon/a — required phrase present in dotgithub/one.txt
    ok    legacy/b — forbidden phrase absent from sibling/two.txt
    governance-reconcile: checked=2 skipped=0 fail=0
    OLD rc=0
    
    $ bash scripts/governance-reconcile.sh --root $F --manifest $F/unanchored.tsv
    governance-reconcile: root=/tmp/pt299/anchor-fixture manifest=/tmp/pt299/anchor-fixture/unanchored.tsv
    FAIL  legacy/b — UNANCHORED surface: sibling/two.txt is named by a 'forbid' row only, so nothing pins that the path IS the surface (opencharly/.github#250)
    ok    canon/a — required phrase present in dotgithub/one.txt
    ok    legacy/b — forbidden phrase absent from sibling/two.txt
    governance-reconcile: checked=2 skipped=0 fail=1
    NEW rc=1
    

    and the NEW checker against the OLD manifest names the one unanchored path the shipped table actually had:

    $ bash scripts/governance-reconcile.sh --root <the umbrella checkout> --manifest <origin/main's governance-claims.tsv>
    FAIL  fix_or_file/cutover-policy skill source — UNANCHORED surface: layer-charly-internals/.agents/skills/cutover-policy/SKILL.md is named by a 'forbid' row only, so nothing would pin that the path IS the surface (opencharly/.github#250)
    governance-reconcile: checked=62 skipped=19 fail=1
    rc=1
    

    The control's own three assertions (out10–out12) are in the checker's --self-test, so a future table edit that unanchors a path turns this repo's gate red.

    The RCA. A forbid row's assertion is an absence, and an absence is satisfied by an empty file, a stale file, or no file at all. The table therefore had no way to assert that a listed path is the surface holding the rule — the property "this path is the surface" was only ever implied by a human reading the row, and nothing in the gate checked it. The root fix is not a second phrase on that one row: it is a rule about the TABLE (every named path must be anchored by a require row), enforced by the checker, so the property is structural rather than remembered.

    Validator. The fresh charly/pr-validator run on head 64a77de returned PASS; the full report was read in full and it raised no blocking finding.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

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