Skip to content

Fix the Defects a First Whole-Unit Read of AUDIT.md Section 0 Found, Including Three Checks That Cannot Fire #1613

Open

Description

@ptr727

A whole-unit carried-content pass over AUDIT.md section 0, "When to Run and What "Done" Means", raised nine findings. The unit had never been covered by a recorded pass, and it was read here because #1599's branch quoted one placeholder inside it. That one-character fix is verified and is not among the findings below, all of which predate it.

Three of them share a root cause worth stating once: the unit describes mechanical checks that cannot fire, because the constructs they name are not declared anywhere in spec/files.json. A reader believes a seam is guarded when nothing guards it.

The checks that cannot fire

  1. "A carried verbatim unit, whether a whole file (.markdownlint-cli2.jsonc) or a canonical workflow job region (the github-release job), is content-hashed against the hub's canonical after line-ending normalization." The github-release job region is carried by no repository. It exists only in the hub's own .github/workflows/build-release-task.yml, which spec/files.json does not declare, and a downstream publish-release.yml holds plan, validate, publish and publish-docker-readme instead. No entry declares verbatimJobs at all, so the job-region branch in spec/audit.py is dead code. The same stale claim is restated in spec/fidelity-model.md, so the fix reaches both files. The root cause is the hub-hosted reusable-workflow migration.

  2. "A carried interface workflow (spec/fidelity-model.md) is checked by name and wiring (required jobs, the ruleset-bound check name, the artifact-name handoff, and the forbidden artifact-ids: fork), all at drift". Two of those four never run. No entry declares artifactNameToken, so the artifact-handoff branch never fires, and nothing anywhere forbids artifact-ids:, the only forbidTokensInJob in the spec being on deploy-site.yml's deploy job. The four live interface contracts are test-pull-request.yml, publish-release.yml, merge-bot-pull-request.yml and deploy-site.yml, and none names a github-release job. Also restated in spec/fidelity-model.md.

  3. The same sentence as finding 1 reads as an exhaustive two-way enumeration and omits the verbatim class that actually runs in every carrier, the Markdown section region. spec/files.json declares AGENTS.md sections and a long list of GOVERNANCE.md sections at fidelity: verbatim, and spec/audit.py content-hashes each one. A repository reading this concludes its carried governance prose is never hashed, which is backwards, and that is the check most likely to fire against it.

The rest

  1. "is content-hashed against the hub's canonical after line-ending normalization" states one of three normalizations. normalize() strips line endings, then masks the Dependabot-owned action pin, then masks a job's needs: list, the last two existing so a routine action bump or a per-repo needs-prune does not read as modified. Stating only the line-ending half tells a reader to treat a bumped pin as a real fork.

  2. "a hint rather than proof, since a copy touched without reconciling reads current and content is never judged". Content is judged in one case: the staleness advisory returns no finding when the downstream and canonical hashes match, so a byte-identical copy is never marked trailing however old its last commit. The advisory is also skipped for the hub itself.

  3. "Pass --repo, since the gate reads the target's own host-tools.json relative to it ... and the run reports nothing about the omission." True, and it omits the symmetric hazard: host_gate.py computes its skipped-overlay warning only when no --repo was passed, so an explicit --repo at a typo'd path is silently unlayered too. A run against a path that is not a checkout reports the same clean result with no word about the missing declaration, and the only signal is the layered N local entry(s) note the unit never tells the reader to check.

  4. "Run this as gh auth login for the owner's own account" is not a command a reader can follow as written, and the followable half is already enforced, since the runner raises on an authenticated login that is not the registry owner. The part the reader must act on unaided is the fine-grained-PAT scope hazard, and the sentence buries it behind advice the tool enforces.

  5. "A carried interface workflow (spec/fidelity-model.md)" is a bare path where every other hub-only path in the unit carries an absolute reference-style link. AUDIT.md is carried at appliesTo: "*" and no carrier holds spec/, so in every downstream copy this is an unresolvable pointer to the one authority the sentence rests on.

  6. "carries a committed reports/<repo>/audit.md plus a tracking issue" leaves the casing unstated. All ten existing report directories are lowercase while the registry names they correspond to are mixed case, nothing enforces it, and no tool reads the path, so a reader following the placeholder literally creates a second directory beside the first. The same phrasing appears in GOVERNANCE.md, STANDUP.md, elsewhere in AUDIT.md, and three skill files, so the fix is a fleet-wide convention statement rather than an edit in one place.

Activity

  1. added
    pre-existing
    prose
    on Sep 14, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision triage split the undecided item out of this issue into #3755, which carries the decision label. Everything else here stays as ordinary work an agent can do without the maintainer.

  3. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer to the split decision #3755 (decision triage, 2026-11-01): Item 9, option 1: the placeholder is the lowercased registry name, defined once in AUDIT.md section 8, with the other surfaces pointing there.

  4. ptr727 commented on Nov 24, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-24): PR #4413 merged to develop at fb44364; branch and worktree cleaned up, so this claim holds no files. #1613 stays open for item 9's other surfaces.

    Backlog burndown claim (away run 2026-11-24, round 3, refill): branch burndown/audit-section-0-defects, issue #1613 items 1 to 8, and item 9's surface in AUDIT.md section 0 only.

    Predicted file set:

    Scope: items 1 to 8 are ordinary work per the 2026-11-01 decision-triage comment on this issue. Items 1 to 3 are fixed in the prose, by saying what the audit actually hashes and checks. The dead job-region branch in spec/audit.py is not edited here, since burndown/csharp-test-project-detection holds that file. Item 8's premise, that the hub's AUDIT.md is carried at appliesTo: "*", is re-checked against spec/files.json first, which now carries catalog/snippets/configs/AUDIT.md at that path.

    Not in this claim: item 9's other surfaces, which are GOVERNANCE.md (held by burndown/docker-lint-digest-pins), STANDUP.md, and the audit-a-repo and standup-a-repo skills. They are left for a later group.

  5. ptr727 commented on Nov 24, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-24): PR #4418 merged to develop at 137e1ac; branch and worktree cleaned up, so this claim holds no files. #1613 stays open for the GOVERNANCE.md surface.

    Backlog burndown claim (away run 2026-11-24, round 4, group C1): branch burndown/report-path-placeholder, issue #1613 item 9's remaining surfaces only.

    Per the maintainer's answer on #3755 (item 9, option 1): the placeholder is the lowercased registry name, defined once in AUDIT.md section 8, with the other surfaces pointing there.

    Predicted files:

    • STANDUP.md, the reports/<repo>/audit.md sentence in the audit step.
    • .agents/skills/standup-a-repo/SKILL.md, the reports/<repo>/audit.md line.
    • .agents/skills/audit-a-repo/SKILL.md, the "Write reports/<repo>/audit.md" bullet, pointing at AUDIT.md section 8 rather than restating the rule.
    • The generated copies scripts/build_dist.py writes from the two skills follow.

    Not in this claim: item 9's GOVERNANCE.md surface ("Definition of done is the audit"), since GOVERNANCE.md is held by the parked #1727 group. The item-class siblings in RESYNC.md, resync-a-repo, README.md, and spec/section-model.md are claimed by this issue's round 4 group C2.

    Any other group needing one of these files waits for this branch to merge.

  6. ptr727 commented on Nov 24, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-24): PR #4419 merged to develop at 1dbe3c2; branch and worktree cleaned up, so this claim holds no files.

    Backlog burndown claim (away run 2026-11-24, round 4, group C2): branch burndown/audit-section-0-siblings, issue #1613, the siblings PR #4413 left for items 2, 4 and 5 only.

    Predicted files:

    • RESYNC.md, line 82 "the artifact-name handoff" (item 2 class, a check that cannot fire), and line 113 "Its content is never judged" (item 5 class, the staleness advisory does judge a byte-identical copy).
    • .agents/skills/resync-a-repo/SKILL.md, line 101 "the artifact-name handoff" (item 2 class). The generated copies scripts/build_dist.py writes from it follow.
    • README.md, line 114, the artifact handoff in "Workflow consistency, by contract rather than by copy" (item 2 class).
    • spec/section-model.md, line 15, the verbatim normalizations, which omit the needs: list mask (item 4 class).

    Not in this claim: item 9's surfaces, claimed by this issue's round 4 group C1, except GOVERNANCE.md, which is held by the parked #1727 group.

    Any other group needing one of these files waits for this branch to merge.

  7. ptr727 commented on Nov 24, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-24): PR #4425 merged to develop at 178064d; branch and worktree cleaned up, so this claim holds no files (docs/reusable-workflows.md is free).

    Backlog burndown claim (away run 2026-11-24, round 4, refill group F): branch burndown/reuse-checklist-fidelity-docstring, issues #3940 (the docs/reusable-workflows.md half of step 3 only) and #1613 (an item 4 class sibling only).

    Predicted files:

    Not in this claim: #3940's closing audit report, which waits on decision #4421, and #1613 item 9's GOVERNANCE.md surface, held by the parked #1727 group. So both issues stay open after this branch merges, and its pull request carries no Closes on promotion: line.

    Any other group needing one of these files waits for this branch to merge.

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

    pre-existingprose

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions