Repository navigation
Correct AUDIT.md Section 0's Account of What the Audit Checks - #4413
Conversation
Section 0 named a verbatim workflow job region and interface checks (the artifact-name handoff, the forbidden artifact-ids: fork) that no spec/files.json entry declares, so they never fire, and it omitted the verbatim Markdown section regions that do. It also stated one of the three normalizations, overstated the intent advisory, and left the explicit --repo and fine-grained token hazards unstated. spec/fidelity-model.md drops the same undeclared claims. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The verbatim bullet in "Why Each Unit Sits Where It Does" listed only the AGENTS.md sections, while spec/files.json declares most GOVERNANCE.md sections verbatim too and AUDIT.md section 0 now says so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The intent bullet now says a copy hashing equal to its canonical is current, matching the advisory's early return, and the interface bullet names the site-deploy workflow and the other required or forbidden tokens a contract declares. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
The intent advisory also clears a copy hashing equal to the hub's own file at its path where the unit names no reference, and the interface bullet now lists the concurrency and input checks AUDIT.md section 0 names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The change still has active documentation gaps: AUDIT.md and spec/fidelity-model.md omit valid no-reference hash matches and fail to fully document concurrency and caller-input checks.
4 open issues
What changed in this PR
This pull request corrects AUDIT.md section 0 and aligns spec/fidelity-model.md with the current audit implementation and declared contracts.
Changes:
- Removes undeclared workflow, artifact-handoff, and artifact-ID claims.
- Clarifies verbatim hashing, normalization, intent advisories, interface checks, host validation, authentication, and report naming.
- Updates the fidelity model to reflect current workflow inputs and contract behavior.
| File | Description |
|---|---|
| spec/fidelity-model.md | Aligns fidelity definitions, workflow contract descriptions, intent behavior, and normalization rules with the current audit implementation. |
| AUDIT.md | Updates section 0 to accurately describe audit coverage, membership and interface checks, intent advisories, host validation, authentication, and report paths. |
Review effort: Lite
|
A recorded local strict-review pass covers head |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4413 +/- ##
===========================================
- Coverage 81.60% 79.58% -2.03%
===========================================
Files 26 47 +21
Lines 9070 16222 +7152
===========================================
+ Hits 7402 12910 +5508
- Misses 1668 3312 +1644
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action not completed
|
## Summary Part of #1613 item 9. Per the maintainer's answer on #3755, the `<repo>` placeholder in `reports/<repo>/audit.md` is the lowercased registry name, defined once in `AUDIT.md` section 8, and every other surface points there rather than restating it. Surfaces this covers: - `STANDUP.md` section 5, "Verify: Run the Audit". It left `<repo>` unstated, and now points at `AUDIT.md` section 8. - `.agents/skills/standup-a-repo/SKILL.md` step 9. Its restatement ("the repository name in lowercase") becomes a pointer to `AUDIT.md` section 8. - `.agents/skills/audit-a-repo/SKILL.md` "Reporting". Its restatement is deleted, since the same bullet already ends "All of this is in `AUDIT.md` section 8." - The generated copies under `.github/skills/` and `.claude-plugin/fleet-skills/`, regenerated with `scripts/build_dist.py` (`--check` passes). Not covered here, so #1613 stays open: - `GOVERNANCE.md` "Definition of done is the audit" (near line 148), held by a parked group. - `AUDIT.md` section 0 already points at section 8, landed in #4413. ## Verification - `uv run --no-project --script scripts/build_dist.py --check`: generated skill distributions are current. - `python3 scripts/prose_lint.py --diff <merge-base>`: clean. - The pre-commit hook passed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Updated audit and standup guidance to define the `<repo>` component of `reports/<repo>/audit.md` by section 8 of `AUDIT.md`. * Removed the instruction that `<repo>` must be the repository name in lowercase. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary This pull request sweeps the classes of items 2, 4 and 5 of #1613 outside the files #4413 fixed. #4413 corrected `AUDIT.md` section 0 and `spec/fidelity-model.md`, and its body listed these copies as pre-existing siblings outside its claimed files. #1613 stays open for its other surfaces, so this pull request carries no closing line for it. - **Item 2.** `RESYNC.md` step 4 and the `resync-a-repo` skill's step 4 drop "the artifact-name handoff" from the interface contract a resync honors. No `spec/files.json` entry declares `artifactNameToken`, so the check that would read it never fires. Rather than list a subset of the remaining checks, step 4 points at `AUDIT.md` section 0, which #4413 made complete. - **Item 4.** `spec/section-model.md` states a verbatim section is hashed after EOL, action-pin, and job-`needs:` normalization. `normalize()` in `spec/fidelity_text.py` masks all three, and the section compare reaches it through `content_hash()`. - **Item 5.** `RESYNC.md` section 5 no longer says an intent copy's content is never judged. `intent_trail()` clears a copy hashing equal to the hub's file for it, which the new sentence states in #4413's wording. The paragraph points at `spec/fidelity-model.md` "What a Local Edit Looks Like" for the prose checks that also read intent content. The generated `resync-a-repo` copies under `.github/skills/` and `.claude-plugin/` are regenerated with `scripts/build_dist.py`, and `--check` passes. ## Local review - Round 1 found that step 4's remaining list omitted the contract's required tokens and event types, and that "Content only ever clears" missed the version-literal scan. Both fixed. - Round 2 found the version-literal wording named only `CODESTYLE.md` and `WORKFLOW.md`, while the scans also read `AGENTS.md`, `GOVERNANCE.md` and the Copilot instructions. Fixed by pointing at `spec/fidelity-model.md` "What a Local Edit Looks Like". - Round 3 found the changed text true and raised one sibling, listed below. ## Declined - `README.md:114`, listed in #4413's body as an item 2 sibling, is left as it stands. That sentence describes the behavioral contract in `WORKFLOW.md`, not what the audit checks. `WORKFLOW.md` "The Seam Contract" and D6.1 name the `release-asset-<branch>-<target>` artifact handoff as part of that seam, so the claim is true there. ## Pre-existing findings, not filed - `spec/fidelity_honesty.py:15` says its promotion question finds intent units content-identical "after EOL normalization", while it compares through `content_hash()`, which also masks action pins and job `needs:` lists. A sibling of item 4 outside this change's claimed files. Class: pre-existing, incomplete statement. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…lts, Secret Sync Fields, and Audit Account Fixes (#4428) Promotes the 28 pull requests that landed on develop since the last promotion (#4388), from the away-mode backlog burndown run. - #4391: Drop the false XML comment suppression claim from the .NET conventions. - #4390: Blank quotations after a heredoc label on its opening line in the paste-safe rule. - #4392: Carry attention lists, cut lists, and opt-in billing in the `backlog_metrics.py` JSON. - #4393: Gate `configure.sh apply`'s interaction limit on a committed bot verification record. - #4394: Make the gh and node report note say a one-line vendor source is configured. - #4395: Add ShellCheck and shfmt lint tasks to the VS Code task snippets. - #4396: Count a CodeRabbit clean pass on the head in the digest's `other_reviewed`. - #4401: Date the line-ending intentRefs by the skill and trim advisory restatements. - #4399: Share one any-level heading region primitive between `heading_body` and `extract_anchored`. - #4398: Name the hub pull requests a standup lands through, and add HACS first-run guidance. - #4404: Add a PowerShell section to CODESTYLE.md and narrow the shell rule. - #4405: Close AUDIT.md section 10's convergence loop and fix three skill pointers. - #4409: Route CODESTYLE.md's General section to the language skills (part of #1153, which stays open). - #4410: Detect a C# test project by its own text rather than its file name. - #4411: Drop the unruled "working gate is not drift" sentence from CODESTYLE.md. - #4412: Track the newest upstream line of each pinned host tool. - #4413: Correct AUDIT.md section 0's account of what the audit checks. - #4416: Add a required coverage shield class to the README audit. - #4414: Tie drive-pr's merge to its authorization and align the pass moments. - #4417: Pass over a second SIGTERM in `pr_review.py` so an interrupt prints one line. - #4418: Point the report-path placeholder at AUDIT.md section 8. - #4419: Correct the audit account copies outside AUDIT.md section 0. - #4422: Drop the archived DevKitCIoT from the rollout checklists. - #4423: Report a stale `pullRequestCheck: false` and correct AUDIT.md section 6. - #4424: Add a `prune` subcommand to retire orphaned canonical review passes. - #4425: Drop the archived DevKitCIoT from the reusable-workflows checklists and fix a normalization docstring. - #4427: Store secret sync metadata in item fields, not 1Password tags. - #4426: Declare and apply the Actions workflow token defaults through `configure.sh` (the `configure.sh` part of #1783, which stays open). ## Owed by the maintainer - #4412: A live run of the new host-tool line tracker. Scheduled runs start only once this reaches `main`, and a `workflow_dispatch` would prove it sooner. - #4426: A fleet `configure.sh apply` for the workflow token defaults, after the per-repository read the 2026-11-01 answer requires. Please also confirm the new `--lower-workflow-token` option, which a `write` repository needs for the apply to lower its default. - #4427: Run `python3 scripts/secrets_sync.py selftest`, then the cleanup script in that pull request's body (`move_sync_tags.py`, dry run first, then `--apply`). Until that runs, every un-migrated secret item refuses to sync. - #4393: The pilot's first interaction limit is set by hand in its settings and its bots verified there. The verification record is committed afterwards through a hub pull request, and only then does `apply` set the limit fleet-wide. - A fleet resync is owed, because carried text changed: AGENTS.md, GOVERNANCE.md, CODESTYLE.md, and several skills. Fixes #4387 Fixes #4383 Fixes #4284 Fixes #1095 Fixes #4299 Fixes #4370 Fixes #4364 Fixes #4173 Fixes #4064 Fixes #3536 Fixes #3929 Fixes #3808 Fixes #3812 Fixes #3810 Fixes #4320 Fixes #4232 Fixes #1748 Fixes #1607 Fixes #1270 Fixes #1170 Fixes #3692 Fixes #4415 Fixes #3908 Fixes #1648 Fixes #4276 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
This pull request addresses items 1 to 8 of #1613, and item 9's surface in
AUDIT.mdsection 0 only. Item 9's other surfaces (GOVERNANCE.md,STANDUP.md, and the skill files) are left for a later change. So #1613 stays open, and this pull request carries no closing line for it.AUDIT.mdsection 0, "When to Run and What "Done" Means":github-releaseworkflow job region, which nospec/files.jsonentry declares. It names the Markdown section region instead, the verbatim class that runs in every carrier (AGENTS.mdandGOVERNANCE.mdsections). The deadverbatimJobsbranch inspec/audit.pyis not edited here, since another group holds that file.artifact-ids:fork, neither of which any contract declares. It names what the contracts and the caller checks do read: required jobs, the ruleset-bound check name, required and forbidden tokens, event types, the concurrency group, and theworkflow-modelandpython-directoriesinputs.needs:normalization, matchingnormalize()andspec/fidelity-model.md"Normalization".--repoat a wrong path is just as silent, and points the reader at thelayered N local entry(s)note as the only sign the target's declaration was read.spec/files.jsoncarriescatalog/snippets/configs/AUDIT.mdat theAUDIT.mdpath, so no carrier holds the hub's ownAUDIT.mdand the bare path does not reach a downstream copy. The rewritten interface sentence renders the path as a code span, matching the unit's other mention of it.<repo>inreports/<repo>/audit.mdis spelled, per the maintainer's answer on Decide: Item 9: should thereports/<repo>/audit.mdplaceholder (AUDIT.md sections 0 and 8, GOVERNANCE.md, STANDUP.md, audit-a-repo and standup-a-repo) be defined as the lowercased registry name, or the regi? #3755.spec/fidelity-model.mddrops the same undeclared claims: thegithub-releasejob region under verbatim, the artifact handoff under interface, thegithub-release,get-version, artifact-name, andartifact-ids:enforcement in "The Workflow Override Seam Contract", and thegithub-releaseexample in "Normalization". Its verbatim bullet also names theGOVERNANCE.mdsections beside theAGENTS.mdones. Its intent bullet says a copy hashing equal to its canonical is current. Its interface bullet names the site-deploy workflow and the other tokens a contract requires or forbids. Each keeps the file in agreement with section 0.Local review
[fidelity-model]absolute hub link for item 8. Declined: the hub'sAUDIT.mdis not what a carrier holds, since itsspec/files.jsonentry carriescatalog/snippets/configs/AUDIT.md, a separate file with no section 0. So no downstream copy holds the pointer.spec/fidelity-model.md"What a Local Edit Looks Like". Declined: that section describes detecting a local edit, and an edited copy never hashes equal to its canonical, so the hash match that clears a copy never applies there. Round 3 raised it again as a contradiction with line 14, and the same reason answers it.introducedfindings, both fixed in the following push. The intent wording now names the hub's own copy at a unit's path, whichintent_trailalso matches where the unit names noreference. The interface bullet inspec/fidelity-model.mdnow lists theconcurrency:block and theworkflow-modelandpython-directoriesinputs section 0 names.Pre-existing findings, not filed
RESYNC.md:82and.agents/skills/resync-a-repo/SKILL.md:101list "the artifact-name handoff" among the interface contract a resync honors, a sibling of item 2 outside this change's claimed files. Class: pre-existing, contract restatement.spec/section-model.md:15states a verbatim section is byte-identical "after EOL and action-pin normalization", omitting the job-needs:maskingnormalize()also applies, a sibling of item 4 outside this change's claimed files. Class: pre-existing, incomplete statement.RESYNC.md:113says an intent copy's content is never judged, while the advisory clears a copy hashing equal to the hub's file. A sibling of item 5 outside this change's claimed files. Class: pre-existing, false statement.README.md:113names the artifact handoff as part of the fixed orchestration seam, which no interface contract declares. A sibling of item 2 outside this change's claimed files. Class: pre-existing, contract restatement.🤖 Generated with Claude Code