Repository navigation
Conversation
#4391) ## Summary The `dotnet-codestyle` reference `conventions.md`, section "Comments and documentation", said missing XML comments for public APIs are suppressed in `.editorconfig`. The canonical root `.editorconfig` carries no CS1591 entry. With `GenerateDocumentationFile` and `TreatWarningsAsErrors` both on, as the skill requires, an undocumented public member fails the build. This change deletes the false clause, and the "still" that leaned on it. The same paragraph already requires every public surface to be documented, so deleting the claim keeps the strictest default rather than naming a suppression site. The generated copies under `.github/skills/` and `.claude-plugin/fleet-skills/` are regenerated with `scripts/build_dist.py`. Closes on promotion: #4387 ## Verification - `uv run --no-project --script scripts/build_dist.py --check` reports the generated distributions current. - The pre-commit hook's doc checks passed on the commit. - A search of the non-generated tree finds no other statement of the suppression claim. 🤖 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** * Clarified that XML documentation is generated and public APIs require documentation. * Removed the statement that missing XML comments are suppressed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <[email protected]>
…afe (#4390) ## Summary `shell_literals` in `prose_lint.py` kept the rest of a heredoc's opening line, after its label, as code, and did not blank the quotations there. So `paste-safe` reported a placeholder that is already quoted when it sits after a heredoc on the same line, as in `cat <<'END' | tee "<file>"`. No edit the message suggests could clear that report. - **The rest of the opening line is now read as any other command is.** `shell_literals` reads that part of the line through itself, blanking its quotations, escapes, and comments. That is the same recursion `shell_char_kinds` already applies to the same span, so the two readings of the line now agree. - **Both walkers take the split from one helper.** `heredoc_rest` says where a heredoc token's opening line resumes past its label and where that line ends. The two walkers each computed that themselves, and their readings drifting apart on that line is what #4383 was. - **The twin still reports.** The unquoted `cat <<'END' | tee <file>` is still a finding, and a second heredoc on the same opening line is read the same way. ## Verification - A constructed fence with the quoted placeholder reported on `develop` and passes on this branch. Its unquoted twin reports on both. - New test `test_a_quotation_after_a_heredoc_label_is_literal` covers a double-quoted, a single-quoted, and an unquoted placeholder after the label, a comment after it, and two heredocs on one opener. - `tests/test_prose_lint.py`: 762 tests pass. `ruff format --check`, `ruff check`, and `mypy` are clean. A whole-tree prose gate run reports nothing. ## Introduced findings from the local passes - `tests/test_prose_lint.py` `test_a_second_shell_after_a_heredoc_label_is_read`, `introduced` (test gap), fixed in c990c18. This change removes the plain `paste-safe` report that `cat <<'END' | sudo sh -c 'cat > <file>'` raised beside its in-shell report. The test checked only that the in-shell report was present. It now asserts that the single in-shell finding is all that line raises. Closes on promotion: #4383 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…cs.py JSON (#4392) ## Summary `scripts/backlog_metrics.py`: - `--format json` carries a per-repository `attention` object: failing pull requests, stale pull requests (`--stale-days`, 7 by default), failing branches, and workflows that failed in the window and recovered. Failing checks are read through the review gate's own `check_nodes`. Read only for JSON. - `truncated_lists` names each list that reached the item limit, beside the unchanged `truncated`. - The billing read is opt-in through `--billing`. Skipped, `billing` is `null` and no billing note or line prints. - `scripts/README.md` documents each field. Tests cover each. Closes on promotion: #4284, #1095, #4299, #4370 ## Local review Six recorded passes. Every `introduced` finding they raised is fixed or declined with a reason: - Declined, unrealistic race: the open-PR walk is ordered by `UPDATED_AT`, so a pull request updated mid-walk can be missed on a weekly timer's read. Not hardened, per the trust-boundaries rule. - Declined, issue-directed: `billing` is `null` by default while `schema` stays `1`. #4370 asks for `null`. Pre-existing findings, not filed: - `scripts/backlog_metrics.py:635`, `style`: a 105-column line the change did not touch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…cation Record (#4393) ## Summary `repo-config/configure.sh apply` now refuses to set an interaction limit until a committed verification record exists, per the maintainer's recorded answer on #4364: a committed record in `repo-config/` naming the pilot repository, the date, and the four bots. - **The record.** `repo-config/interaction-verification.json`, holding exactly `pilot`, `date`, and `bots` (exactly Copilot, CodeRabbit, Qodo, and Dependabot, in any order). It is resolved once in a shared block before either command runs. An absent record means unverified. A record of any other shape exits the run before any write. - **apply.** Without the record, `apply_interaction` skips the limit with a note naming the record, and every other group still applies. The pre-flight's `interaction_origin` reads no live limit then, since no write could meet one. So neither an account-level limit nor an unreadable limit stops an apply that sets none. - **check.** Without the record, `check_interaction` notes that no limit is owed rather than failing on a missing limit that `apply` cannot set. A limit already in force, such as the pilot's, is named with its expiry, since nothing renews it. With the record, the check is unchanged. - **README "Public Interaction".** The pilot rule now says how the first record comes to be. The pilot is a `collaborators` repository, since its `collaborators_only` limit is the stricter one and the record turns on both. Its first limit is set by hand in its settings, the bots are verified there, and the record lands through a hub pull request carrying that evidence. Once promoted, `apply` sets the limit fleet-wide, renewing the pilot's. - **Pointers kept true.** `RESYNC.md` step 5, `STANDUP.md` section 4, and the `resync-a-repo` skill (regenerated with `scripts/build_dist.py`) now say the pilot's first limit is set by hand and the record is what lets `apply` set it. `docs/repo-config.md` says the limit waits on that verification. - **Consolidation.** The record is validated through `payload_problem`, the jq step runner `labels_payload_ok` used to hold inline and now shares. `tests/test_configure_project.py` lifts it beside `labels_payload_ok`. - **Not committed:** the record itself, since no pilot has been verified yet. ## Tests `tests/test_configure_interaction.py` lifts the new block and each gated function. It covers an absent, complete, and reordered record, and each malformed shape: invalid JSON, empty, two values, non-object, missing or extra key, an empty or non-string pilot or date, and a wrong bot set. It also covers the unverified apply, pre-flight, and check paths, the last with and without a limit in force, and pins the record's resolution before the command dispatch. Every `gh` call is stubbed. The `comments` label is on this pull request because the change adds owed comment lines to `configure.sh`. One keeps its header true, one states the gate's rationale, and one says why the origin read is skipped. ## Dropped findings - `repo-config/configure.sh` `project_payload_ok`: consolidation onto `payload_problem`, on text this change did not touch. Closes on promotion: #4364 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…igured (#4394) ## Summary The `gh` and `node` report note tested only the deb822 file, so a host carrying the vendor's one-line `github-cli.list` or `nodesource.list` read "upstream repository not configured, the available version is the distro's", which is false there. The note and `tool_configured` now read one stem (`tool_sources_stem`). With neither file the note says not configured. With only the one-line file it says the repository is configured by a file this script does not manage, and what an install does to it: `gh_install` removes `github-cli.list`, `node_install` leaves `nodesource.list` beside the new `.sources`. The `unmanaged` status semantics are unchanged. New `TestLinuxSourceNotes` pins each directory state to its note and `tool_configured` result, each clause to what the install function passes to `remove_stale`, and each stem to its `register_apt_source` name. The README needed no change: its `unmanaged` and one-line-source paragraphs stay true. Closes on promotion: #4173 ## Pre-existing findings, not filed - `host-setup/linux/install-tools.sh` `tool_note` gh/node: both `.sources` and a one-line `.list` present gives no note (including right after a node install), so a leftover `nodesource.list` or `github-cli.list` is silent. Class: pre-existing, reporting gap. - `host-setup/linux/install-tools.sh` `node_install`: leaves a stale `nodesource.list` beside `nodesource.sources`, so apt may read the repository twice. Class: pre-existing, behavior. - `host-setup/linux/install-tools.sh` `tool_note`: a one-line source under another file name still reads as not configured. Class: pre-existing. - `op` keeps its own hardcoded `1password` name rather than the shared helper. Class: consolidation, outside this issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
## Summary Adds ShellCheck and shfmt to the Lint group of both VS Code task snippets, per the maintainer's answer on #4064 (option 1), and corrects the Lint group comments #3536 raised. - `catalog/snippets/configs/vscode-tasks.json` and `vscode-tasks-python.json` gain `Lint: ShellCheck` and `Lint: shfmt`. Each runs `hub_fetch_run.py scripts/docker_lint.py --linter shellcheck` (or `shfmt`), the same shape as the existing wrapper tasks, so it takes the wrapper's digest pin, read-only snapshot, and disabled networking. `Lint: All` includes both. - `Lint: All` now runs `Lint: EOL` before `Lint: Prose`. A `dependsOrder: sequence` stops at its first failure, and the whole-repo prose run is the step most likely to fail where CI runs prose diff-scoped. - The group comment drops "It mirrors the CI lint gate", since PSScriptAnalyzer stays out of the default group. A carrier holding PowerShell adds a `Lint: PSScriptAnalyzer` task the same way, which a comment line now says. - "the EOL gate over the whole tree" becomes "the EOL configuration check", since `repo_gate.py --check eol` compares `.editorconfig` and `.gitattributes` and reads no tracked file's endings. - Both snippets qualify the pre-commit claim to a hook that carries the doc gates. A hook running only `dotnet husky run`, or only a Python repo's formatter and type checker while it converges, runs neither. Both snippets' `Lint: EOL` line no longer calls the check the hook's own. - The Python snippet's language-group comment names the per-tree shape for a multi-directory `python-directories` input. Each tree's ruff and test tasks set `options.cwd` to the tree, and its "Python Types" to the directory CI's "Type check Python step" runs in: the tree where it configures its own checker, the root where it falls back to the root's config. - The Python snippet's "Every Lint task is language-agnostic" line drops "language-agnostic", which the shell linters make false. - `GOVERNANCE.md` "Running the Linters Locally (Known-Working Invocations)", the VS Code Lint tasks bullet: it names shell checks among the local surface, drops "Docker `:latest`" (the ShellCheck image is `:stable`), and calls the EOL check a configuration check. - `tests/test_hub_fetch_run.py`: `LINT_TASKS` takes both new tasks, so the existing tests pin each to the wrapper in both snippets and check the wrapper offers both linters. A new test holds `Lint: All` to every wrapper task, ending `Lint: EOL`, `Lint: Prose`. Task labels follow the tools' own casing, `ShellCheck` and `shfmt`, per `comment-and-doc-style` "Naming tools in prose". The PR carries the `comments` label because it rewrites and adds snippet comment lines the issues ask for. ## Verification - In a fresh git repository holding only a `README.md` and `hub_fetch_run.py`, each new task's command (the `python3` form and the `uv run --no-project python` form) exits 0, printing `SKIP shellcheck: zero targets` / `SKIP shfmt: zero targets`. - With a tracked `bad.sh` holding an unquoted `$1`, `Lint: ShellCheck`'s command exits 1 on SC2086. - `tests/test_hub_fetch_run.py` passes. Against `origin/develop`'s snippets the updated tests fail (the shell tasks missing, and `Lint: All` ending in `Lint: EOL`). - `scripts/build_dist.py --check` reports the generated skill trees current. Closes on promotion: #4064, #3536 ## Pre-existing findings, not filed - `catalog/snippets/husky/README.md:8`, `:32`, `catalog/snippets/pre-commit/README.md:14`, `:59`, and `docs/pre-commit-hooks-rollout.md:30`, false instruction: each calls `repo_gate.py --check eol` the "whole-tree" line-ending or EOL check, the wording class #3536 corrects in the snippets. That check reads only `.editorconfig` and `.gitattributes`. These files sit outside this change. ## Local review findings declined - `catalog/snippets/husky/README.md:30` and `catalog/snippets/pre-commit/README.md:55`, "(Docker at `:latest`)": not made false here. Each sentence is about the workflow YAML, Markdown, spelling, and EditorConfig linters, and each of those images is `:latest` in the `scripts/docker_lint.py` LINTERS table. The new ShellCheck task's `:stable` image falls outside that sentence. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…wed (#4396) ## Summary A clean CodeRabbit pass leaves no pull request review object, only its summary comment. The digest's `other_reviewed` field counted review objects alone, so it could not tell a clean pass from no pass. This finishes the remaining item of #3929. #4351 taught `wait` to read the summary, and #4337 documented the head-branch config read. - `CLEAN_PASS`, `REVIEWED_UP_TO`, and `clean_pass` move unchanged from `scripts/pr_review_side.py` into a new reader module, `scripts/pr_review_summary.py`. `pr_review_side.py` sat at its size ceiling, and the digest, a reader module, may not import it. The new module adds `summaries`, CodeRabbit's comments in view that print a reviewed range, and `clean_pass` builds on it. - `scripts/pr_review_digest.py` names CodeRabbit under `other_reviewed` where `clean_pass` reads the current head, never an earlier head. - A new `other_unknown=coderabbitai` field keeps the blind state apart from no pass. It prints only where the review policy covers CodeRabbit on the base and neither a review on the head nor any summary is in view. Older comments must also sit behind the comments window. CodeRabbit edits one summary in place, so a summary in view, clean or not, decides. Coverage reads through `pr_review_payload.bot_entry(...).covers(...)`, the primitive `side_reviewers` uses. - The reader-import guard and the size test cover the new module. No existing ceiling moves. - The `status` help text, `docs/pr-reviewer-reference.md`, and `scripts/README.md` describe the fields and the module. - Tests cover a clean pass on the head, no pass, a summary with findings, and a clean pass on an earlier head. They also cover the blind window with and without a summary in view, and a base the policy does not cover. The pinned crowded digest gains `other_unknown=coderabbitai`, since that case has older comments and no summary in view under the default policy. ## Findings from the local pass The opening push spent its pass's edit budget, so these `introduced` findings were listed here. a9e2a09 fixed four of them and 1846462 fixed the fifth. A fresh pass over each head raised none. - `scripts/pr_review_summary.py` `summaries`, `introduced`, fixed in a9e2a09: it keyed the summary on a printed range alone. It now also counts CodeRabbit's summary marker, so a pass still running or skipped reads as a summary in view. - `scripts/pr_review_digest.py` CodeRabbit-on-head check, `introduced`, consolidation, fixed in a9e2a09: `rabbit_on_head` now serves both `side_answered` and the digest. - `scripts/pr_review_digest.py` blind check, `introduced`, consolidation, fixed in a9e2a09: `summary_blind` names it, in the shape `qodo_comments_blind` has. - `scripts/pr_review.py` help text, `introduced`, fixed in a9e2a09: it now names the pair `other_unknown` reads. - `scripts/pr_review_digest.py` policy coverage, `introduced`, consolidation, fixed in 1846462: `covering_bot` in `scripts/pr_review_payload.py` now serves the digest and `pr_review_side.side_reviewers`. `pr_review_rounds.promotion` is a partial match and stays as it is, since it keeps its own unread-default-branch fallback and Copilot `gate` check. Closes on promotion: #3929 🤖 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 * **Bug Fixes** * CodeRabbit summaries that confirm a clean review of the current pull request are now counted as reviews. * When CodeRabbit is covered by the review policy but its review status can’t be determined from the visible comments, the status is reported as unknown rather than unanswered. * CodeRabbit is not required when the review policy excludes the pull request’s base branch. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ts (#4401) ## Summary Follow-ups to the anchored intent dating that #1819 introduced. - **Line-ending intentRefs (#3812).** `.editorconfig`, `.editorconfig-checker.json`, and `.gitattributes` named `GOVERNANCE.md#line-endings`. That section is a one-paragraph pointer, and a real line-ending policy change never edits it. With anchored dating their advisory was close to silent. Per the maintainer's answer on #3812 (option 1), they now name `.agents/skills/comment-and-doc-style/references/line-endings.md`, the full policy, dated whole. - **Advisory restatements (#3808).** `RESYNC.md` section 5, `AUDIT.md` "Touching a repo", and `docs/fleet-map.md` G5 each restated the advisory as firing whenever the canonical changed after the copy. That misses anchored dating and `(files.intent)` driftNote acknowledgements. `RESYNC.md` already points at `spec/fidelity-model.md`, so its clause is deleted. The other two keep the severity and point at `spec/fidelity-model.md` for the rule. - **Fidelity model.** The re-pointed units are the first whose `intentRef` names another file with no anchor and no `reference`. `spec/fidelity-model.md` now states that such an `intentRef` dates the copy by that file. Its local-edit note now says the advisory fires on a change to the copy's canonical, not to "that file". `spec/project-types.json` also names `GOVERNANCE.md#line-endings`, as check `intentRef`s. `spec/audit.py` dates only `spec/files.json` units through `intent_ref`, so those carry no dating defect and stay as they are. ## Verification - `spec/validate.py` passes, so the new `intentRef` target resolves as a file. - `tests/test_spec_validate.py`, `tests/test_audit*.py`, and `tests/test_fidelity*.py` pass under `unittest discover`. - A probe calling `audit.intent_ref` and `audit.hub_last_change` on the three units dates them by the Skill reference's last commit. Before, they took the pointer section's older one. Closes on promotion: #3808, #3812 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
… extract_anchored (#4399) ## Summary `scripts/build_dist.py` `heading_body` and `spec/fidelity_text.py` `extract_anchored` each worked out the same any-level heading region: from one heading up to the next heading at its level or above. Only the match key and the duplicate policy differed, so a later boundary fix would have had to land twice. - `spec/fidelity_text.py` gains `heading_regions(text, key, want)`. It returns `(heading, end)` for every heading at any level whose `key(text)` equals `want`, with `end` None for a region that runs to the end of the document, matching `sections()`'s shape. - `extract_anchored` takes the first match under `heading_slug`. - `heading_body` takes the matches under `section_key`, drops level one, and still refuses two. The trailing link-reference trim still applies to a region that runs to the end. - `sections()` is untouched and stays limited to level two. - `extract_anchored`'s signature is unchanged, so `spec/audit.py` is untouched. ## No behavior change - `uv run --no-project --script scripts/build_dist.py --check` reports the generated distributions current, so every generated output is byte-identical. - A scratch script loaded develop's and this branch's `heading_body` and `extract_anchored` side by side. It ran both over every heading in every tracked Markdown file, plus an absent heading per file. Refusals were compared by message. Result: 193 files, 1645 headings, 0 differences. - `tests/test_fidelity_text.py` adds a case for `heading_regions`, covering every match under the given key and a level-one heading ending a level-two region. It adds another for `extract_anchored` taking the first of two matches. - The `test_fidelity_text.py`, `test_build_dist.py`, and `test_audit_helpers.py` suites pass. ruff format and check are clean. ## Local review Two passes ran. The first raised two `introduced` docstring findings, both fixed in c164223, and the second was clean. ## Dropped findings - `spec/audit_markdown.py` `addressed_region` (consolidation, text this change did not touch): its H3 sub-region could move onto `heading_regions`. It differs only in that a level-one heading inside the H2 body does not end it. Closes on promotion: #3810 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…t-Run Guidance (#4398) ## Summary - `STANDUP.md` section 1 and the `standup-a-repo` skill's step 3 say the registry entry and its `SHORT_NAME_PINS` pin are hub edits. They land through a hub pull request into `develop`, and section 2 waits for it to merge, since `scripts/carry.py` refuses a repository the fetched hub's registry does not hold. - `STANDUP.md` section 5 and the skill's step 9 say the audit report lands through a hub pull request of its own. - The section 0B lead and the skill's step 2 name the feature branch as the target repository's. "Ship it" names the target repository's pull request beside the hub pull requests. - `STANDUP.md` section 3 adds the `homeassistant` first-run guidance, per the maintainer's answer on #4302 (option 1). It covers a temporary `ignore: license` on `hacs/action`, removed by the first pull request after the first promotion, plus repository topics and brand assets set before the first pull request. - The generated skill copies are regenerated with `scripts/build_dist.py`, and `--check` passes. Closes on promotion: #4320, #4232 ## Verification - `scripts/build_dist.py --check`: current. - `prose_lint.py --diff origin/develop` over both sources: clean. - `repo_gate.py --check eol`: clean. - Local strict review: two passes. The first raised two findings. One, the text telling the agent to merge its own hub pull request, is fixed in e9c5539. The other asked for a tracking step for removing `ignore: license`, and is declined, since the maintainer's answer on #4302 chose a documented temporary ignore knowing the removal is a follow-up someone must remember. The second pass raised none. - The Docker lint set (markdownlint, cspell) was not run locally, since it needs the maintainer's approval for repository exposure. CI is the gate for it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…4404) ## Summary - Adds a short `PowerShell` section to `CODESTYLE.md` at the `Shell` section's granularity, per the maintainer's 2026-11-01 answer on #1748 (option 1). It covers when PowerShell is allowed, PSScriptAnalyzer running every default rule with the two exclusions `PSScriptAnalyzerSettings.psd1` documents and the reasons that file gives, and the local invocation, pointing at `GOVERNANCE.md` "Running the Linters Locally (Known-Working Invocations)" the way `Shell` does. One sentence records that Windows batch appears only as `PATH` shims, by decision. - Covers items 1 and 2 of #1153, which stays open for its other items. Item 1 narrows the `Shell` sentence per the 2026-09-07 rationale and the 2026-09-11 answer: a bootstrap is written in the platform's native shell, Bash on Linux and PowerShell on Windows, logic that needs its failure cases tested is Python, and the pattern is a platform-native entry point over shared Python logic. `shell-codestyle` "When shell, not Python" takes the same wording. Item 2 gives `Shell` the italic scope note its sibling sections carry. - Updates the `CODESTYLE.md` intro language list and the `AGENTS.md` sentence naming which language sections are packaged as Skills. Whether PowerShell gets a Skill of its own is decision #4403, and this change adds none. - Regenerates the `shell-codestyle` copies with `scripts/build_dist.py`. `CODESTYLE.md`, `AGENTS.md`, and the skill are carried content, so a downstream resync is owed once this is promoted. ## Open findings after the local edit budget - `CODESTYLE.md` "PowerShell", the settings-file sentence (`introduced`): it reads as requiring every repo with `.ps1` files to exclude both rules, while each reason applies only to a script meeting its condition. Fixed in `69a79a1a`, which excludes a rule only where a repo's own scripts meet its reason, and a local pass over that head raised nothing. ## Pre-existing findings, not filed - `CODESTYLE.md` "Analyzer Diagnostics and Suppressions" (`pre-existing`, false instruction): it says each language section gives its suppression mechanics, which none does. This is #1153 item 12, open there, and the new PowerShell section adds no suppression rule, since no maintainer answer lists one. Closes on promotion: #1748 🤖 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** * Clarified when to use shell versus Python, including Bash on Linux and PowerShell on Windows for bootstraps. * Added PowerShell style guidance, analyzer checks, and rule-exclusion conditions. * Updated the listed language skills and clarified that Windows batch has no separate style section. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ters (#4405) ## Summary `AUDIT.md` section 10 "Converge: Apply the Fixes" gets all twelve findings of #1607, each re-checked against the section on `develop` first. Three pointer and wording defects in two Skills are also fixed, items 9, 10 and 11 of #1153. ### #1607, `AUDIT.md` section 10 1. The undefined "`main`-only repo" branch parenthetical is gone. 2. The bullet names the pull request's base, `develop`. 3. "Never push a fix directly to a protected branch" is deleted rather than qualified. An operational repository pushes to `develop` by design. The bullet's lead already says a fix lands through a pull request. The bullet is scoped to a file fix, since the `RESYNC.md` section 3 order it now follows includes step 5's settings apply, which opens no pull request. It keeps the pull request for an operational target too, since `RESYNC.md` section 6 holds a conformance change there to a reviewable pull request. 4. The partial restatement of the review contract is deleted. It dropped the full-diff and collapsed-finding guards. The pointer to `GOVERNANCE.md` "PR Review Etiquette" stays. 5. "It is the one class where the fix removes content" is deleted. 6. The `retire` check names where the disposition lives, `spec/divergences.json` `gaps`. 7. "fix the spec/rule ... here" reads "in the hub", so a carried copy no longer rebinds it. 8. The "supersedes" sentence is deleted, per the maintainer's #3756 answer. 9. "read-only and never touch the target" narrows to "never edit the target's content". 10. A "Re-audit once the fix reaches `main`" bullet closes the measured half of the loop, matching section 9's diagram. Section 1 reads `main` as ground truth, and the bullet names section 8's `--branch` run for checking `develop` first. The merge bullet stays "The agent drives to green and stops. The maintainer merges.", agreeing with `RESYNC.md` section 6. Who opens and drives the promotion that gets the fix to `main` is split to decision #4406. 11. The lead paragraph points at `RESYNC.md` section 3 for the order the fixes apply in. 12. `[workflows]` moves under the `<!-- Workflow -->` header, matching `STANDUP.md`. `[workflow]` (`WORKFLOW.md`) stays under `<!-- Repo -->`, as `STANDUP.md` files it. The rule tension the issue reported was decided in #3756, option 1, as not a defect. So `comment-and-doc-style` `references/carried-doc-references.md` widens the hub-hosted-tool exception to cover a procedure the reader carries out against the hub. It ties that to steps run from a hub checkout, which keeps item 1's example, reporting a discrepancy upstream, on the banned side. The summary in `SKILL.md` "Carried files reference no coordination machinery" follows. Both state the test as a procedure the reader runs from a hub checkout. Neither sits inside a generated include region. ### #1153, items 9, 10 and 11 only - **Item 9:** `python-codestyle` says "see Toolchain above" in place of the missing "Type checking" section. Its two "Two Profiles" pointers match the `## Two profiles` heading. - **Item 10:** the lint-only sentence says it runs only its `uvx` and `unittest` equivalents before committing. - **Item 11:** the Codex bullet reads "No-prompt operation removes command-wide protection, so it is supported only inside an external sandbox." None of the edited lines sits inside a generated include region. `scripts/build_dist.py` regenerated `.github/skills/` and `.claude-plugin/`, and `--check` passes. #1153 stays open for its other items, and this pull request does not close it. ### Local review Twelve passes ran. Pass 1 raised six findings. Two were `introduced` and are fixed: the re-audit bullet ran before the fix reached `main`, and the `hub-only:` bullet's "It" lost its antecedent. Two were declined on evidence: - **The widened exception is unneeded, since the carried `AUDIT.md` is now the short-form `catalog/snippets/configs/AUDIT.md`.** The maintainer's recorded #3756 answer directs this amendment. The short form also tells its reader to fetch the hub and run `repo-config/configure.sh` and `spec/audit.py` from it, which is a procedure carried out against the hub. - **`[workflow]: ./WORKFLOW.md` should move under `<!-- Workflow -->` too.** `STANDUP.md` files that same definition under `<!-- Repo -->` and keeps `<!-- Workflow -->` for the snippet and workflow-doc links, so this placement matches it. Pass 2 raised two. The `introduced` one is fixed: the new pointer to `RESYNC.md` section 3 pulls in step 5's `configure.sh apply`, which the PR-only bullet read as forbidden. The other is listed under `Dropped findings` below. Pass 3 raised one `introduced` finding: the settings sentence pass 2's fix added left the re-audit bullet and the model sentence assuming every fix merges. Both are scoped to file fixes now. Pass 4 found that sentence itself false for several check-only findings, and that it gated only part of one `configure.sh apply` run. The sentence is deleted, and the PR bullet is scoped to a file fix instead. Pass 4's other two findings are recorded below. Pass 5 found that `audit-a-repo` "After the Report" still summarizes section 10 as "fixes ship as pull requests on the target repo". The run granted that one line, so it now reads "a file fix ships as a pull request", with its generated copies regenerated. The PR-hosted review raised two findings on the first head. The re-audit one is fixed. The operational one was tried as a direct-commit allowance, which pass 6 found contradicts `RESYNC.md` section 6, so the allowance was removed and the finding is declined. Pass 7 found the widened exception also covered item 1's own example in the same file, reporting a rule discrepancy upstream. The exception now names a procedure whose steps the reader runs from a hub checkout, and reporting a discrepancy upstream runs no such step. Pass 9 found the re-audit bullet waits for `main` with no step that gets the fix there. A merge-bullet line had the agent open and drive the promotion. Pass 11 found it contradicted `RESYNC.md` section 6 and `resync-a-repo`, so it is reverted. The question is split to decision #4406. Pass 10 found the focused-PR bullet still unscoped, so it reads "per drift class of file fixes" like the apply bullet. It also found the exception's headline broader than its body, so the headline in the reference and in `SKILL.md` now names a procedure the reader runs from a hub checkout. Pass 11 raised two `introduced` findings, both fixed by reverting the promotion line: - The section 10 merge bullet no longer has the agent open the promotion. It reads "The agent drives to green and stops. The maintainer merges.", as `RESYNC.md` section 6 and `resync-a-repo` do. - The `audit-a-repo` "After the Report" summary ends at "the maintainer merges", which now agrees with section 10. The promotion and the re-audit timing it leaves out are decision #4406's. Pass 12 raised one finding: the `audit-a-repo` summary still stops at the maintainer's merge, with no re-audit. That ending is text this change did not touch, and decision #4406 names this exact place, so it is listed below rather than edited here. ### Pre-existing findings, not filed - `audit-a-repo` "After the Report": the summary of section 10 ends at "the maintainer merges" and names no re-audit once the fix reaches `main`. Incomplete instruction, `pre-existing`, and one of the places decision #4406 changes. - `spec/project-types.json` `recurring.norepoxref`: says the carried `AUDIT.md` links hub-hosted inputs and procedures to absolute hub URLs, while the carried short form holds only relative links. False claim, `pre-existing`. - `RESYNC.md` section 6 "Close the review loop": confirms head coverage but omits the full-diff and collapsed-finding guards `GOVERNANCE.md` "PR Review Etiquette" requires, the defect #1607 bullet 4 names. False or incomplete instruction, `pre-existing`. - `RESYNC.md` section 3 step 5: "run `configure.sh check` ..., then `apply` for what it reports" names no maintainer go-ahead for a ruleset change, which `GOVERNANCE.md` "Communicating with the User" keeps as the maintainer's step. Unfollowable instruction, `pre-existing`. - `AUDIT.md` section 4 carried-scope bullet: "The remedy is the opposite of every other file finding, a deletion" is false, since the verbatim-tree dimension's extra files also converge by deletion. This is the claim #1607 bullet 5 removed from section 10. False claim, `pre-existing`, outside this change's section. - `RESYNC.md` section 6 "Done means measured, not applied": "Re-run the audit after the merge" measures `main`, which a `develop` merge has not reached yet. Unfollowable instruction, `pre-existing`. ### Dropped findings - `GOVERNANCE.md` "Verification Discipline", and its generated copy in `agent-conduct`, spells python-codestyle's heading "Two Profiles". This is wording on text this change did not touch, in a file outside its scope. Closes on promotion: #1607 #1607 bullet 10's promotion-ownership half is split to decision #4406. This pull request fixes the rest of the bullet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary Fixes items 4, 5, 7, 12 and 13 of #1153, and only those items. #1153 stays open for the items this pull request does not fix, so this body carries no `Closes on promotion:` line. - **Item 4.** `CODESTYLE.md` "Clean-Compile Verification" said the concrete task names live in each language section, and no language section names one. It now routes to each language section or the Skill that section names. - **Item 5.** The local-gate bullet said "strongly suggested, not the repo's free choice to skip", two obligations at once. It now reads "strongly suggested fleet-wide, and its absence is a measured audit finding", matching `GOVERNANCE.md` "Running the Linters Locally (Known-Working Invocations)". The same bullet's later list of what is not restated drops the audit meaning, which the lead now states. - **Item 7.** The brownfield-allowance parenthetical is deleted from `CODESTYLE.md` "Analyzer Diagnostics and Suppressions" and from `dotnet-codestyle` "Build requirements", per the maintainer's answer to #3748. The `[readme]` link definition it alone used is removed with it. The generated copies are regenerated with `scripts/build_dist.py`, and `--check` passes. - **Item 12.** "The per-language mechanics (which attribute, which config key) are in each language section" was false in the same way as item 4. It now routes to the Skill a language section names. The PowerShell section names none and holds no in-code suppression form, so the sentence promises nothing for it. - **Item 13.** `AGENTS.md` "Where the Rules Live" marks `add-host-tool` hub-context only, as every other hub-context Skill there is marked. The routing text names no PowerShell Skill, so it stays neutral on #4403. ## Not fixed here - **Item 6.** Its quoted sentence, "Keeping a working gate is not drift.", is still present on `develop`, at the end of the local-gate bullet in `CODESTYLE.md` "Clean-Compile Verification". This pull request leaves it in place, since item 6 is outside this change's scope. - Items 3 and 8 are outside this change's scope, item 14 is decision #4407, and items 1, 2 and 9 to 11 are already on `develop`. ## Pre-existing findings, not filed - `CODESTYLE.md` "PowerShell": the in-code annotation form that "Analyzer Diagnostics and Suppressions" prefers first is stated nowhere for PowerShell. The section gives only the root `PSScriptAnalyzerSettings.psd1` exclusion. Class: missing content, a gap in a section this change did not touch, and it bears on decision #4403. ## Local review Three recorded `local-strict-review` passes. The first raised two `introduced` findings, the second raised one, and all three were fixed within the two-round edit budget. The third pass, over the final head, raised none. 🤖 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** * Clarified that the host-tool setup instructions apply only in the hub context. * Expanded guidance on clean-compile requirements, local commit checks, and the full lint gate before pushing changes. * Updated analyzer guidance to disallow project-wide batch suppressions and removed the one-time signing and line-ending migration exception. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…4410) ## Summary Follows the maintainer's decision recorded on the issue (2026-09-18): `is_csharp_test_project()` stops matching on the file name and reads the project instead. - **Predicate.** `spec/secret_names.py` `is_csharp_test_project(text)` parses the project with the standard library's `xml.etree`. Its own `IsTestProject` property decides where the project sets one, and only a literal `false` says no. Otherwise a reference to a test-framework package or SDK decides (`TEST_FRAMEWORK_PACKAGES`: `Microsoft.NET.Test.Sdk`, `xunit`, `xunit.core`, `xunit.v3` and `xunit.v3.core` with their `mtp-*` variants, `MSTest`, `MSTest.Sdk`, `MSTest.TestAdapter`, `NUnit3TestAdapter`, `TUnit`, `TUnit.Engine`), compared case-insensitively as NuGet ids are. That covers a `PackageReference`, an `Sdk` element, and a `;` list of `Sdk` attribute names with an optional `/<version>`. A framework core without assertions counts, such as `xunit.v3.core` beside AwesomeAssertions. Assertion and extensibility packages are left out, since a test-helper library references those too. - **Error direction, stated in the docstring.** A claim too many is tolerated, because a wrong claim is a visible finding and a wrong drop a silent clean report. So an unread or unparsable project keeps the claim. The one drop left is a project made a test project only by a file it imports, such as `Directory.Build.props`. - **One composition for both callers.** `coverage_claiming_types`, `coverage_types`, `resolve_secret_stores`, and `secret_plan` take an optional `read_project` reader. Projects are read in path order, and reading stops at the first test project. Both callers read a project through one new primitive, `secret_names.blob_reader`, at the blob SHA their own tree listing named, each passing its own `gh` read. So a push between the listing and the read cannot mix two commits, and the two cannot read a project differently. The audit memoizes each read per run in `Run.read_project`. The resolver's `read_tree` now answers a `ListedTree` carrying its reader, so the reader comes in through the injected tree reader. A caller handing over a bare path set reads no project and keeps the claim, so it spawns no `gh`. `contents_text` moves from `spec/audit.py` into `spec/secret_names.py`, which stays standard-library only, and `audit` re-exports it. - **Cases pinned.** `coverage_cases` now holds both reviewers' cases: `appunittest.csproj` and `app_unit_test.csproj` found by their text, and `Testament.csproj` and `TestUtilities.csproj` not found. It also holds a named-and-located `Tests` project with neither signal (no longer a test project), a property-only project, a package-reference-only project, a non-test project, an explicit `false`, an evaluation-only value, a namespaced legacy project, both SDK forms, and unread and unparsable text. Resolver tests drive the `names` CLI against served project text and check that the audit's real `Run` and the resolver agree on one C# tree served to both. ## Verification - The full local block from `OPERATIONS.md`: `ruff check`, `ruff format --check`, `mypy`, both `unittest` runs, `prose_lint.py --diff`, `repo_gate.py`, `spec/validate.py`, and `build_dist.py --check`. - A live read-only comparison over every cataloged C# repository in the registry: the old name predicate and the new text predicate name the same test projects in each, and `coverage_types` is unchanged for all of them. - `resolve_secrets.py names` run live against one C# repository resolves `CODECOV_TOKEN` through the new project read. ## Notes - CI's own `hashFiles('**/*Tests*.csproj')` detection in `.github/workflows/validate-task.yml` is unchanged. Its text stays true, since it describes what CI runs. A test project that no `*Tests*` name matches is now owed coverage by the audit while CI still runs no `dotnet test` for it. No cataloged repository has such a project today. ## Open introduced findings (local pass, edit budget spent) Three recorded local passes ran. The first two raised four findings, each fixed in this branch. The third raised the two below after the second round of edits, so they are listed here for this pull request's review loop. Each is declined under outcome 2 on the evidence given. - `spec/audit.py` `Run.blob_text` and `Run.read_project` (class: introduced, design). The pass suggests reading through `Run.read_text` and memoizing with `functools.cache`. Declined. The second pass raised the opposite finding: the contents API `read_text` uses and the git blobs API the resolver uses answer differently for a symlinked `.csproj` and for a file over 1 MB, so the two callers could read one project differently. One shared `secret_names.blob_reader` is what closes that. `functools.cache` cannot key on a `Run`, since `Run` is a `@dataclass` with equality, so `Run.__hash__` is `None` (read in process). Hence the dict memo. - `spec/resolve_secrets.py` `TreeReader`'s `set[str] | ListedTree` union and `split_tree()` (class: introduced, design). The pass suggests every tree reader return a `ListedTree`. Declined as out of this change's scope. `tests/test_configure_secrets.py`, a file this change does not claim, passes `lambda slug, branch: set(self.tree)` to `resolve_names`. With the union removed, `mypy` fails on that call (`arg-type` and `return-value` at line 160, seen on this branch before the union was added). The union also keeps a bare path set a defined input, reading no project and keeping the claim. Closes on promotion: #1270 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…md (#4411) ## Summary Item 6 of #1153 is the one item this PR fixes. #1153 stays open for items 3, 8 and 14. It deletes the sentence "Keeping a working gate is not drift." from the end of the local commit/pre-commit gate bullet in `CODESTYLE.md` "General" > "Clean-Compile Verification". The sentence asserted only the trivial case. A conformance sweep actually meets a different case: a repository carrying a Husky.Net or `pre-commit` config the hub does not specify. The sentence gave no ruling on that case, so one auditor could flag the config as unvendored drift while another cited the sentence to pass it. The spec already rules on that case, so the fix deletes the sentence rather than qualifying it, and adds no new ruling: - `parity.hooks` in `spec/project-types.json` judges a tracked hook config by what it invokes, read directly from its content. - `spec/divergences.json` accepts `.husky/pre-commit` as a path collision rather than a carry. This scope follows the 2026-11-01 decision-triage comment on #1153, which split out only item 7 as undecided and called the rest ordinary work. ## Checks - No other tracked file restates the sentence. - No Skill takes `CODESTYLE.md` "Clean-Compile Verification" or "General" as a generated include, so nothing under `.github/skills/` or `.claude-plugin/` regenerates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary
The hub pins one version line per host tool, and nothing told anyone
when upstream shipped a later line. This adds one scheduled tracker that
does. It follows the maintainer's answer of 2026-11-01 on the issue,
option 1. That means one tracker, one key per pinned tool holding the
newest upstream line, and `auto-merge: false`. The reusable
`check-upstream-version-task.yml` is not changed.
- `.github/workflows/check-host-tool-lines.yml` is a thin scheduled
caller of the hub's own `check-upstream-version-task.yml`. It runs
weekly and on `workflow_dispatch`. It targets `develop` only, since the
pins live there and reach `main` by promotion. It passes `auto-merge:
false`, so the bump pull request waits for a human (D8.3). Its head is
`no-auto-merge-host-tool-lines-develop`, which no merge-bot rule
matches. Concurrency is keyed on the workflow alone with
`cancel-in-progress: true`, per "Workflow YAML Conventions" Concurrency
exception (5). It sets `permissions: {}`, since every write in the task
uses the App token.
- `.github/actions/resolve-upstream/action.yml` is the hook the task
requires. It reads two upstream release documents, Python's
release-cycle data from peps.python.org and the .NET release index. It
reports the newest released line of each, such as
`{"dotnet":"10","python":"3.14"}`.
- `.github/actions/resolve-upstream/python.jq` and `dotnet.jq` pick the
newest released line. A preview line does not count as released:
Python's `feature` and `prerelease`, and .NET's `preview` and `go-live`.
A status or support phase outside the known set fails the run rather
than being guessed, and so does a malformed line.
- `host-tool-lines.json` is the committed state file. It is seeded at
the current pins, python `3.13` and dotnet `10`. So the first run opens
one pull request naming the lines that have already moved, rather than
recording them silently. Merging that pull request records the new lines
and closes the signal, so merging it is the human's decision on each
line, including a decision to stay. A pin that moves goes in a pull
request of its own, since the next run regenerates the bump branch and
would drop a commit pushed onto it. The file is deliberately not named
`upstream-version.json`, since that name is an `upstream-wrapper` detect
hint in `spec/project-types.json`.
- `spec/divergences.json` gains one `accepted` gap row for
`.github/actions/resolve-upstream/action.yml`, modelled on the
`.github/actions/validate/action.yml` row. Without it the audit's
hub-only check reports ESPHome-NonRoot's own required hook as undeclared
hub content to triage. Running that check against ESPHome-NonRoot's and
NxWitness's live trees, on `main` and `develop`, flagged that one path
and nothing else. So `python.jq` and `dotnet.jq` take no row.
- `tests/test_resolve_upstream.py` runs both filters on constructed
data. It runs the hook's step whole under bash with a stub `curl`
serving constructed files, so no case reaches the network. The hook-step
cases run on POSIX only, since the hook runs on a Linux runner and jq
ends its lines in CRLF on Windows. It also reads the caller and the
state file for the shape the task diffs. Finally, it runs the audit's
hub-only check on a constructed carrier tree, and that case fails
without the new gap row.
## Notes for the reviewer
- **Detection.** The hub already holds `check-upstream-version-task.yml`
itself as a hosted task, so that filename hint already matched the hub
before this change. This change adds no `upstream-version.json`, and the
hub's build does not read the state file for a tag. So the hub does not
newly read as an `upstream-wrapper` repository.
- **No declaration is needed.** The hub's other hub-only scheduled
workflow, `canonical-review-sweep.yml`, is declared in neither
`spec/files.json` nor the prose gate's `hub_hosted` list, and the repo
gate passes with this one added.
- **The resolver is bash plus jq, not a Python script.** A new Python
entry point would have to be declared in `tests/test_cli_usage.py`, a
file outside this change's scope. The hook's logic is two jq filters,
and jq is the maintained parser for this JSON.
- **The bump pull request names keys only.** The task's body lists each
moved key and its new line. Naming the settings that move with each pin
would need a change to the task, which the decision keeps unchanged.
That stays a follow-on design point.
## Owed to the maintainer
- **A live run.** No run was triggered and the App secrets were not
used, since a run opens a real pull request. Scheduled runs start only
once this reaches `main`, since a schedule runs on the default branch. A
`workflow_dispatch` from `develop` after this merges would prove it
sooner. Expect its first pull request to name `dotnet to 11, python to
3.15`, the lines released as of this writing.
## Verification
- `python3 -m unittest discover -s tests` passes, including the 23 new
resolver and tracker cases and the 2 hub-only cases.
- `spec/validate.py` passes, and so do the spec, audit, and fidelity
test modules.
- `scripts/docker_lint.py` passes for actionlint, editorconfig-checker,
and shellcheck.
- `repo_gate.py` passes every check, including `composite-actions` and
`sha-pin`.
- ruff format, ruff check, and mypy pass.
- The prose gate passes with `--allow-comments`. This pull request
carries the `comments` label, since the workflow's concurrency citation
is a comment a rule requires.
- The task's own `Compute upstream version diff step` was run by hand
against the seeded state file. It produced the expected head, title, and
body, and it rewrote the file in the same form this change commits.
Closes on promotion: #1170
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary This pull request addresses items 1 to 8 of #1613, and item 9's surface in `AUDIT.md` section 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.md` section 0, "When to Run and What \"Done\" Means": - **Items 1 and 3.** The verbatim-unit sentence no longer names a `github-release` workflow job region, which no `spec/files.json` entry declares. It names the Markdown section region instead, the verbatim class that runs in every carrier (`AGENTS.md` and `GOVERNANCE.md` sections). The dead `verbatimJobs` branch in `spec/audit.py` is not edited here, since another group holds that file. - **Item 2.** The interface-workflow sentence drops the artifact-name handoff and the forbidden `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 the `workflow-model` and `python-directories` inputs. - **Item 4.** The verbatim hash is stated as after line-ending, action-pin, and job-`needs:` normalization, matching `normalize()` and `spec/fidelity-model.md` "Normalization". - **Item 5.** The intent advisory no longer says content is never judged. A copy hashing equal to the hub's file for it is cleared however old its last commit, and the advisory does not run against the hub. - **Item 6.** The host-gate paragraph adds that an explicit `--repo` at a wrong path is just as silent, and points the reader at the `layered N local entry(s)` note as the only sign the target's declaration was read. - **Item 7.** The membership-check sentence leads with the token-scope hazard the reader must act on, and says the runner already refuses a login other than the registry owner. - **Item 8.** The premise no longer holds. `spec/files.json` carries `catalog/snippets/configs/AUDIT.md` at the `AUDIT.md` path, so no carrier holds the hub's own `AUDIT.md` and 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. - **Item 9, section 0 surface.** The onboarding bullet points at section 8 for how `<repo>` in `reports/<repo>/audit.md` is spelled, per the maintainer's answer on #3755. `spec/fidelity-model.md` drops the same undeclared claims: the `github-release` job region under verbatim, the artifact handoff under interface, the `github-release`, `get-version`, artifact-name, and `artifact-ids:` enforcement in "The Workflow Override Seam Contract", and the `github-release` example in "Normalization". Its verbatim bullet also names the `GOVERNANCE.md` sections beside the `AGENTS.md` ones. 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 - Round 1 asked to add a `[fidelity-model]` absolute hub link for item 8. Declined: the hub's `AUDIT.md` is not what a carrier holds, since its `spec/files.json` entry carries `catalog/snippets/configs/AUDIT.md`, a separate file with no section 0. So no downstream copy holds the pointer. - Round 2 asked to qualify "Content is never judged beyond the version-literal scan" in `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. - Round 3 raised item 8 again and agreed its premise is false. The decline above stands. - Round 3 also raised two `introduced` findings, both fixed in the following push. The intent wording now names the hub's own copy at a unit's path, which `intent_trail` also matches where the unit names no `reference`. The interface bullet in `spec/fidelity-model.md` now lists the `concurrency:` block and the `workflow-model` and `python-directories` inputs section 0 names. ## Pre-existing findings, not filed - `RESYNC.md:82` and `.agents/skills/resync-a-repo/SKILL.md:101` list "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:15` states a verbatim section is byte-identical "after EOL and action-pin normalization", omitting the job-`needs:` masking `normalize()` also applies, a sibling of item 4 outside this change's claimed files. Class: pre-existing, incomplete statement. - `RESYNC.md:113` says 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:113` names 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](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary Adds a required `coverage` shield class to the README audit, per the maintainer's decision of 2026-11-03 on #3692. - `spec/readme-sections.schema.json`: the trigger `kind` enum gains `coverage`. - `spec/readme-sections.json`: a `coverage` class with one shield, `label` "coverage", `match` `/codecov/c/github/`, `in` "Build and Distribution > Build Status". The model's note says what the trigger reads. - `spec/audit_markdown.py`: `readme_shield_findings` takes the repo's `coverage_types` as a required argument, so a caller cannot drop the class by omission, and fires the `coverage` trigger where it is non-empty. A missing-shield finding now names the class that requires it, rather than saying the repo's deliverables require it, since a coverage badge is not a deliverable. - `spec/audit.py`: `check_readme_shields` hands `run.coverage_types` to the check. That is the same predicate that already decides `.codecov.yml` and `CODECOV_TOKEN`, so the badge, the config, and the token cannot disagree. - `spec/readme-structure.md`: a Coverage row in the "Shields" table. - `spec/project-types.json`: the `readme.shields` assertion names owed Codecov coverage beside deliverables, since the new class fires on coverage rather than on a deliverable. - `AUDIT.md`: the readme-structure dimension names the coverage shield that owed Codecov coverage implies, beside the deliverable and license shields. - `README.md`: the hub's own coverage badge. The hub declares `python` with tests in its tree, so the audit now owes it one. ## Verification - New tests in `tests/test_audit_helpers.py` cover a repo owing coverage with the badge (no finding), the same repo without it (one finding naming the `coverage` class), and a repo owing no coverage (no finding). A second test drives `audit.check_readme_shields` to show the audit hands its `coverage_types` through. Both fail with the trigger removed. - The hub's README read against the new model: one coverage finding at the base commit, none on this branch. - `spec/validate.py` passes, and the full `unittest` suite passes (4915 tests). ## Local review findings declined - `spec/readme-sections.json` coverage shield, class `introduced`: the match does not check the branch, so a `/develop` badge passes while the Shields table says the badge shows the default branch. Declined: `spec/readme-structure.md` already says the audit matches a shield by its endpoint alone. The table describes what each shield shows the reader, as the Docker row's per-channel shields do with no mechanical check either. The hub's own badge names `main`, its default branch. ## Known divergence, not fixed here CI uploads .NET coverage only where `hashFiles('**/*Tests*.csproj')` matches. Since #4410 (for #1270) merged to develop, the audit detects a C# test project by its own text, so a C# test project whose file name lacks "Tests" would owe the badge while CI skips the upload. No cataloged repository has such a project today, and `validate-task.yml` is outside this change. Closes on promotion: #3692 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…4414) ## Summary Two skill-side items of #1164 that were still live, brought into line with `pr-review-conduct`, which is the authority per the maintainer's 2026-11-01 answer on that issue. - **`drive-pr` permission surface.** "The Drive Loop" opens a pull request (step 2), merges it, and deletes its remote branch (step 4, `merge --cleanup`). "What Invoking This Skill Authorizes" named only the squash merge. It now also names opening each pull request and the whole post-merge `cleanup` after each feature -> develop merge, a peer's merge included, since steps 3 and 4 run `cleanup` after a peer's merge too. `cleanup` deletes the remote branch and removes the task's worktree and local branch. Step 4 now ties its merge and post-merge `cleanup` to that go-ahead. For a dispatched drive, the section now says its brief can withhold one of those writes, as a `backlog-burndown` worker's brief withholds `cleanup`. The verify-then-delete step stays in the drive, per the maintainer's 2026-09-11 answer on #1164. - **`local-strict-review` "When to Run It".** It listed the opening push and a fix push only, where `pr-review-conduct` "Expected review loop" binds every push the loop makes, whatever finding it answers. The second moment now routes to that rule, which also says when a recorded pass already covers a push. `pr-review-conduct` itself is unchanged. The generated trees were regenerated with `scripts/build_dist.py`, and `--check` passes. This pull request closes nothing. #1164 stays open for its four `GOVERNANCE.md` "Durable Knowledge and Self-Improvement" items, which wait on a later change to that file. The status of every #1164 item is in a comment on that issue. ## Open findings from a spent local edit budget - `.agents/skills/local-strict-review/SKILL.md` "When to Run It", second bullet, `introduced`: "A fix for a reviewer finding is the common case, because the same self-review blind spot applies..." gives the blind spot as the cause of fixes being common. Outcome: fixed in 3e1f702, which splits the sentence so the blind spot is the reason a fix push owes a pass. - `.agents/skills/drive-pr/SKILL.md` "What Invoking This Skill Authorizes", `introduced`: "the same writes" was read as an exhaustive list of what the loop may write. Outcome: declined with evidence. Both bullets say "covers", not "covers only". The writes named as missing, such as closing a superseded promotion pull request, went unnamed when the section named only the squash merge too, so the change narrows nothing. ## Verification - `uv run --no-project --script scripts/build_dist.py --check`: exit 0. - `python3 scripts/prose_lint.py --diff <merge-base>`: exit 0. - `local-strict-review` pass recorded over the branch's diff against `develop`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
… Line (#4417) ## Summary `scripts/pr_review.py` printed a chained traceback when a SIGTERM arrived twice. Its handler stayed armed while the `except KeyboardInterrupt` block printed the interrupted line. So the second SIGTERM that an outer `timeout` over `uv run` delivers raised again inside that print. - One `on_signal` now takes SIGTERM, and SIGINT only where it is still `signal.default_int_handler`. It records the first signal in a module-level `received` list and raises `KeyboardInterrupt`. Any later signal returns at once. This is the shape `CODESTYLE.md` "Interrupts in Python" requires and `backlog_metrics.py` already uses. - The `__main__` block reads the signal from `received`. The exit status and the single `interrupted by` line mean what they meant before. - `run_log_reading` moves from `pr_review.py` to `pr_review_digest.py`, beside `digest_refusal`. It renders one digest line and makes no call, which is that module's role. It stays reachable as `pr_review.run_log_reading` through the existing import line. The move keeps `pr_review.py` under its 2200-line ceiling at 2196 lines, and the ceiling is unchanged. ## Test `TestWaitInterrupt` gains a case that fills the child's stderr pipe before the start. The script's one line then blocks until the case drains it. The case sends the second SIGTERM only once `ps` reads the `gh` stand-in as a zombie. On an interrupt, `subprocess.run` kills its child after Popen's 0.25 second grace and leaves it unreaped, so the zombie shows that only the Python unwind is left before the print. The case asserts death by SIGTERM, exactly one `interrupted by SIGTERM` line, and no survivor in the process group. The existing case shares its setup through a new `start_wait` helper. Against the old handler the new case failed every run, 1 idle and 3 under CPU load at twice the core count, each showing the issue's "During handling of the above exception" traceback. With the fix it passed 3 of 3 under the same load. `tests/test_pr_review.py` passes 590 tests, and the size, policy, merge, cleanup and CLI-usage suites pass. ruff format, ruff check and mypy are clean. ## Local review - The first pass found that the test's fixed sleep could let the second signal land before the print on a loaded host. There the old handler also printed one line, so the test would pass against the defect. The second commit fixed this with the zombie wait above. - The first pass also asked for one shared interrupt module across `backlog_metrics.py`, `docker_lint.py`, `secrets_sync.py` and this script. That is declined, for four reasons: - `CODESTYLE.md` "Interrupts in Python" prescribes the handler per entry point. - The class's conforming sites include `.github/actions/prose-gate/prose_lint.py` and the carried `hub_fetch_run.py`, neither of which can import a `scripts/` sibling. - This change touches no other site of the class. - The issue asked for the conforming shape the other scripts already have. - The third commit names `encoding="utf-8"` on the test's `ps` spawn, which CI's `test_tooling_encoding` required. A pass over the whole diff after it raised nothing. Closes on promotion: #4415 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## 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]>
## Summary Deletes the archived `DevKitCIoT` bullet from `docs/pre-commit-hooks-rollout.md` and `docs/eol-lf-rollout.md`. The registry entry reads `status: archived`, and `AUDIT.md` section 2 says no further conformance work applies to an archived entry. No other archived repository appears in either checklist. This fixes the checklist half of the hub follow-up in #3940 (step 3, "Update `docs/eol-lf-rollout.md`, `docs/pre-commit-hooks-rollout.md`"). Not fixed here, and #3940 stays open for them: the `docs/reusable-workflows.md` entries, held by a parked group, and the closing audit report, whose need decision #4421 asks about. ## Test plan - `scripts/prose_lint.py --diff` reports no violations. - Local strict review recorded with no findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…#4423) ## Summary - `spec/audit.py`'s `rulesets.payload` check now reports a registry `pullRequestCheck: false` as drift once it has outlived its reason (#3908). That is where every branch whose committed `repo-config/` payload requires the pull request status check carries a `.github/workflows/test-pull-request.yml` posting that check on every pull request into the branch. Each workflow is read at its branch's head commit. - No finding where a gated branch lacks the workflow, posts the check under another name, or has no `pull_request` trigger. - No finding where the trigger can skip a pull request into the branch: a `branches` / `branches-ignore` filter excluding it, any negated `branches` pattern, a `paths` / `paths-ignore` filter, or a `types` list missing `opened`, `synchronize`, or `reopened`. - A reusable-workflow `uses:` job does not count, since GitHub posts its check as `<caller> / <callee job>`. - An operational repository reads `main` alone, since its `develop` ruleset requires no check. - The job-name reading is shared with the interface contract check through a new `job_names` helper, so both read a ruleset-bound name the same way, WORKFLOW.md D1.5's pull_request-only expression included. - `job_names` skips `uses:` call jobs, so the interface contract check no longer accepts a reusable-workflow call job carrying the check name as posting it. That is a pre-existing defect the local pass raised in this file, fixed here. Such a job now draws that check's existing "names the ruleset-bound check neither as a literal job name nor through the pull_request-only expression" finding. - `spec/audit.py` stays under its 3000-line ceiling (`tests/test_audit_size.py`), which is a design constraint rather than a number to raise. That is why lines in `driftnote_findings`, `check_interface`, `check_branch_drift`, `check_settings_general`, and `check_rulesets_payload` moved. Their six-line finding appends are folded into one-line forms, purely as a reshaping. Every finding's text and severity is unchanged. The full suite passes over the existing finding assertions. Running the base and head `driftnote_findings` and `check_interface` on the same constructed fixtures gives identical output. - `spec/checks.json`'s `rulesets.payload` description now names the stale-field finding the check reports. - `AUDIT.md` section 4's `branch-model` bullet documents the new finding. - `AUDIT.md` section 6, the #1493 items still open on `develop`: - Item 6: the bullet still passes the model, since `OPERATIONS.md` and `RESYNC.md` both require passing it. It now says to pass the value the registry `workflowModel` names, and that the command does not cross-check it, so a wrong one checks the other model's `develop` ruleset and can still report a match. - Item 7: the bullet now says `configure.sh` finds the registry entry by repository name alone, so `<owner>` must be the registry `owner`. - Items 1, 2, 3, 4, 8, 9, 10, and 11 were checked against `develop` and are already fixed there, so nothing changes for them. Item 5, the heading rename, is its own change and is left out, as is the issue's `GOVERNANCE.md` "Hub-Hosted Tooling" half. ## Tests - `tests/test_audit_helpers.py` `StalePullRequestCheckCase`, on constructed fixtures: - a stale `false` with both branches posting gives one finding; - a `false` with either branch lacking the workflow gives none; - a `false` with a check posted under another name gives none; - `true` or an absent field gives none and reads no branch; - an operational repository reads `main` only; - the pull_request-only expression counts as posting; - each skipping trigger above gives none, while a `branches` list naming both branches, or a `types` superset of the defaults, gives the finding; - a `uses:` job named for the check gives none, and draws the interface contract check's naming finding; - `Run.branch_workflow` reads each branch at its own head SHA and answers None for an absent branch or file; - `check_rulesets_payload` reports the stale field, reading each branch at its own head. - `spec/validate.py` passes, and so do the spec and audit test modules and the full suite. ## Introduced findings left after the local pass edit budget, and their outcomes - `AUDIT.md:103`, `introduced`, an unfollowable instruction. "Pass the model the target's registry `workflowModel` names" named nothing for an entry without `workflowModel`, which takes `defaults.workflowModel` instead. Fixed in this pull request's review loop: the sentence now names the entry's `workflowModel` or else `defaults.workflowModel`. - `spec/audit.py:1262`, `introduced`, design. The new trigger and job-name readers fit under the size ceiling by compacting unrelated finding sites, rather than by moving pure workflow readers into a sibling module such as `spec/audit_contract.py`. Declined. The run's coordinator accepted the compaction as a pure reshaping, and the finding text is unchanged. Moving the readers needs a `spec/` file outside this change's claim. The ceiling holds at 2999 of 3000, so nothing fails today. - `AUDIT.md:87`, `introduced`, a doc stating a looser rule than the code. Section 4 said the field stays where the trigger "can skip some pull request", where `posts_check` keeps it for any negated `branches` pattern and any `paths` filter. Fixed: section 4 now names each kept shape. - `spec/audit.py:2301`, `introduced`, a test gap. Nothing tested that `check_rulesets_payload` wires in the stale check with each branch's head read. Fixed: `test_the_rulesets_check_reports_it_from_each_branch_head`. Closes on promotion: #3908 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
) ## Summary A pass recorded against a canonical unit whose section is later renamed or removed stays in `reports/canonical-review.json` with nothing able to retire it. `status` and `sweep` report the orphan, the ledger's note forbids an edit by hand, and `record` refuses an unknown unit. This adds `canonical_review.py prune --unit '<key>'`, the maintainer's option 1 from the decision recorded on the issue. - `prune` retires orphaned keys only. It refuses a key the tree still holds, a key no recorded pass names, and a key named twice. A refusal writes nothing and exits 2, the same shape as `record`'s refusals. So a second run over keys a first run retired is refused and leaves the ledger as it was. - It holds the ledger lock `record` holds, now shared through one `ledger_held` context manager rather than a second copy of the acquire and release. - Two codestyle conformances this edit owed, since CODESTYLE.md "Interrupts" binds a script when it is next edited and this one holds a lock: - **Atomic ledger write.** The ledger is written to a temporary file beside it and renamed over it with `os.replace`, keeping the file's mode. - **Interrupt handler.** SIGINT and SIGTERM take one path. An interrupt mid-write releases the lock, removes the temporary file, prints one line, and ends the script by the signal. - The `cmd_status` comment, the sweep's and report's "pass(es) with no unit" text, the workflow's orphan warning, and `scripts/README.md` now point at `prune` rather than saying nothing retires an orphan. In the README that is the `canonical_review.py` section's subcommand list and exit-code account, and the intro sentence naming which subcommands write. - The ledger's six current orphans are left in place. Pruning each one stays a reader's call per key. ## Tests Constructed ledgers in a throwaway repository, with no network: - an orphan pruned, leaving `orphanedPasses` empty - a key the tree still holds refused, with the ledger byte-identical - a key no pass names refused, with the ledger byte-identical - a second run over the same key refused, writing nothing - a held lock refusing the prune, then a prune succeeding and releasing it - a repeated key refused - `prune --help` and an unknown argument - SIGINT, SIGTERM, and SIGINT then SIGTERM delivered mid-write, each ending the script by the first signal with the lock released, no temporary file left, and the ledger unchanged ## Local review Two recorded `local-strict-review` passes. The first raised six `introduced` findings. Three were fixed: - the `ledger_held` docstring claimed a lock shared with `local_review.write_pass`, where only the helper is shared - the interrupt test replaced the script's `__main__` block instead of running it, so dropping the handlers still passed. It now runs the real block through `runpy.run_path`, and reverting the block to `sys.exit(main())` fails it. - the workflow comment had lost its reason for warning on an orphan rather than filing one Three consolidation findings were declined. Each would need a shared helper in `scripts/local_review.py`, `scripts/backlog_metrics.py`, `scripts/pr_review.py`, or `scripts/secrets_sync.py`, none of which this change touches. Within `canonical_review.py`, both ledger lock sites are on the one `ledger_held` primitive, and no exported primitive exists for the other two to reuse: - `ledger_held` beside the lock sequence `local_review.write_pass` open-codes - the temporary-file-then-replace block beside `local_review`'s receipt write - the signal handler beside the same shape in other scripts The second pass raised nothing. Closes on promotion: #1648 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ix a Normalization Docstring (#4425) ## Summary - Deletes the archived `DevKitCIoT` bullets (Stage 1 and Stage 2) from `docs/reusable-workflows.md`. The registry entry reads `status: archived`. - Corrects the `spec/fidelity_honesty.py` module docstring from "after EOL normalization" to "after EOL, action-pin, and job-`needs:` normalization". The code compares through `audit.content_hash()`, which calls `normalize()` in `spec/fidelity_text.py`, and that masks all three. The wording follows `spec/section-model.md:15`. The "line endings aside" in `audit.matches_hub_history` really is line endings only and is left alone. ## What this fixes of each issue - #3940: only the `docs/reusable-workflows.md` entries of step 3, after #4422 did the two rollout checklists. The closing audit report stays open, waiting on decision #4421. - #1613: only the item 4 class sibling in `spec/fidelity_honesty.py`, as #4419 did for its siblings. The issue keeps a `GOVERNANCE.md` surface. Neither issue is closed by this PR. ## Pre-existing findings, not filed - `docs/reusable-workflows.md` line 167 sweep sentence, class: false claim on untouched text. It says the sweep list is every cataloged repo other than the hub and the pilots, but Employment and homeassistant-vantage-diagnostics are cataloged and carry no checkbox. ## Test plan - `scripts/prose_lint.py --diff origin/develop` reports no violations; ruff check and format pass on the .py file. - Local strict review recorded, one pre-existing finding listed above. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 5.5 <[email protected]>
## Summary `scripts/secrets_sync.py` now keeps each item's sync metadata in item fields instead of 1Password tags. The file mode and the content time are the `mode` and `mtime` text fields of a `sync` section on the item. They are written with `op item edit <id> --vault <v> sync.mode[text]=0600 sync.mtime[text]=<iso>` and read back with `op item get --format json`. A field's section is matched by its label. That label is taken from the field's own `section` object, or else from the item's `sections` array by the section's id. The tool never reads or writes a tag now, so a push leaves an item's tags alone. Before this, every content change added another `mtime:` tag to the tag list that covers the whole account. - **Where fields are read.** `op item list` returns no fields, so a per-item `op item get` runs wherever the metadata decides the result: `status --bucket`, `pull`, `push`, and each write's read-back. `status` with no bucket still downloads nothing and reads no fields, and a test asserts that it makes no `item get` call. - **Creating an item.** A create writes the document, then its fields. If a failure or an interrupt stops the create before its fields land, the tool warns that the file has to be pushed again by name with `--mode`. - **Plan wording.** The plan action for a write that changes only the metadata is now `fields` rather than `retag`. - **No tag fallback.** No code path reads the old tags. An item whose metadata is still in tags has no `sync.mode` field, so it gets the existing refusal for a missing mode. - **Windows behaviour is unchanged.** A push keeps the existing `mode` field or needs `--mode`, and a pull ignores the field. Stub tests cover both. - **selftest.** The probes now set the `sync` fields, read them back, set them again and check that `op document edit` keeps them. Tags are no longer probed. The README and the module docstring both say the field shape has not been measured against a live `op`. Closes on promotion: #4276 ## Owed to the maintainer: the one live cleanup run **Until the cleanup below has been run against the real account, every existing secret item stays un-migrated, and each one refuses to sync.** On Linux, `pull`, `status --bucket` and `push` each refuse with "carries 0 sync.mode field(s)". On Windows, `pull` ignores the mode, so it still proceeds, using each item's update time as its content time. A Windows `push` of an existing item refuses until `--mode` is given. Running the cleanup is a write to the 1Password account, so it is yours to start. No agent ran it, and nothing in this PR or its tests touched the real vault. The script was tried only against a stub `op` in a scratch directory. There, the dry run changed nothing, the first `--apply` migrated four constructed items, and a second `--apply` sent no `op item edit` at all. Per the decision on #4276, the script is throwaway and is not committed to the tree. Suggested order: 1. After this reaches the branch you run from, run `python3 scripts/secrets_sync.py selftest`. It measures the new field shape in a scratch vault that it creates and then deletes. 2. Save the block below to a file outside the repository and sign in (`eval "$(op signin)"`). 3. Run `python3 move_sync_tags.py` to see the plan, then `python3 move_sync_tags.py --apply`. Pass `--account` if more than one account is configured. 4. Delete the file. The script handles each item as follows: - It looks only at `Secrets <bucket>` vaults. Each item carrying a `mode:` or `mtime:` tag gets one `op item edit`. That edit sets each `sync` field the item lacks and replaces the tags with the item's other tags. - A field that already exists is kept, because a push after this change wrote it. - A malformed or repeated tag is dropped without a field, and the script names that item so it can be pushed again by name with `--mode`. - After each edit it reads the item back and stops if a tag remains or a field is missing. Two things are unmeasured. One is whether `--tags ""` clears every tag on a live `op`. The other is the field shape itself. The read-back is what catches a difference. ```python #!/usr/bin/env python3 """Move each secret item's `mode:` and `mtime:` tags into its `sync` fields, then strip the tags. Throwaway, for issue #4276: run once, then delete. It is not part of the repository's tooling. It reads every `Secrets <bucket>` vault through an ambient `op` session, so sign in first. Without `--apply` it prints what it would do and writes nothing. Per item carrying a `mode:` or `mtime:` tag, one `op item edit` sets each missing field and replaces the tags with the item's other tags. A field that already exists is kept, since a push since the upgrade wrote it. A tag whose value is malformed or repeated is dropped without a field, and the item is named, so it is pushed again by name with `--mode`. A second run finds no such tag and writes nothing. """ from __future__ import annotations import argparse import datetime import json import re import subprocess import sys VAULT = re.compile(r"Secrets [a-z0-9-]+") MODE = re.compile(r"[0-7]{3,4}") PREFIXES = {"mode": "mode:", "mtime": "mtime:"} class Failed(Exception): pass def op(binary: str, account: str | None, *args: str) -> bytes: argv = [binary, *args, *(["--account", account] if account else [])] done = subprocess.run(argv, capture_output=True, check=False) if done.returncode != 0: detail = done.stderr.decode("utf-8", "replace").strip()[:500] raise Failed(f"op {' '.join(args[:2])} failed rc={done.returncode}: {detail}") return done.stdout def op_json(binary: str, account: str | None, *args: str) -> object: return json.loads(op(binary, account, *args, "--format", "json").decode("utf-8")) def valid(label: str, value: str) -> bool: if label == "mode": return bool(MODE.fullmatch(value)) and int(value, 8) <= 0o777 try: moment = datetime.datetime.fromisoformat(value) except ValueError: return False return moment.tzinfo is not None def sync_labels(item: object) -> set[str]: assert isinstance(item, dict), "op item get returned JSON that is not an object" named = {s.get("id"): s.get("label") for s in item.get("sections", []) or []} labels: set[str] = set() for field in item.get("fields", []): section = field.get("section") if ( isinstance(section, dict) and section.get("label", named.get(section.get("id"))) == "sync" ): labels.add(str(field.get("label"))) return labels def plan_item( binary: str, account: str | None, vault: str, row: dict[str, object] ) -> list[str] | None: """The `op item edit` arguments for one item, or None where it carries no such tag.""" tags = [str(t) for t in row.get("tags", []) or []] moved = [t for t in tags if t.startswith(tuple(PREFIXES.values()))] if not moved: return None have = sync_labels(op_json(binary, account, "item", "get", str(row["id"]), "--vault", vault)) assignments: list[str] = [] for label, prefix in PREFIXES.items(): values = [t[len(prefix) :] for t in moved if t.startswith(prefix)] if label in have or not values: continue if len(values) == 1 and valid(label, values[0]): assignments.append(f"sync.{label}[text]={values[0]}") else: print( f" note: {row['title']}: {len(values)} {prefix} tag(s) not valid, dropped without a field" ) kept = [t for t in tags if t not in moved] return ["--tags", ",".join(kept), *assignments] def check( binary: str, account: str | None, vault: str, item_id: str, assignments: list[str] ) -> None: item = op_json(binary, account, "item", "get", item_id, "--vault", vault) assert isinstance(item, dict) left = [t for t in item.get("tags", []) or [] if str(t).startswith(tuple(PREFIXES.values()))] want = {a.split(".", 1)[1].split("[", 1)[0] for a in assignments if a.startswith("sync.")} missing = want - sync_labels(item) if left or missing: raise Failed(f"item {item_id} still carries {left} or lacks sync fields {sorted(missing)}") def main() -> int: ap = argparse.ArgumentParser(description=(__doc__ or "").splitlines()[0]) ap.add_argument("--apply", action="store_true", help="write the changes, default prints them") ap.add_argument("--account", help="the op account, where more than one is configured") ap.add_argument("--op", default="op", help="the op executable, default op on PATH") a = ap.parse_args() vaults = op_json(a.op, a.account, "vault", "list") assert isinstance(vaults, list), "op vault list returned JSON that is not an array" changed = 0 for vault in sorted(vaults, key=lambda v: str(v["name"])): if not VAULT.fullmatch(str(vault["name"])): continue vid = str(vault["id"]) rows = op_json(a.op, a.account, "item", "list", "--vault", vid, "--categories", "Document") assert isinstance(rows, list), "op item list returned JSON that is not an array" for row in sorted(rows, key=lambda r: str(r["title"])): edit = plan_item(a.op, a.account, vid, row) if edit is None: continue changed += 1 fields = edit[2:] print( f"{vault['name']}: {row['title']} tags -> [{edit[1]}] set {fields or 'no field'}" ) if a.apply: op(a.op, a.account, "item", "edit", str(row["id"]), "--vault", vid, *edit) check(a.op, a.account, vid, str(row["id"]), fields) verb = "Moved" if a.apply else "Would move" print( f"{verb} the tags of {changed} item(s).{'' if a.apply or not changed else ' Pass --apply to write.'}" ) return 0 if __name__ == "__main__": try: sys.exit(main()) except Failed as exc: print(f"failed: {exc}", file=sys.stderr) sys.exit(2) except KeyboardInterrupt: print("interrupted", file=sys.stderr) sys.exit(130) ``` ## Verification - `python3 tests/test_secrets_sync.py`: 170 tests, OK. This covers the new fake `op item get` and `op item edit` assignments. New cases cover a create writing its fields after the document, every way a create can stop before its fields land, an item carrying only tags being refused by `pull`, `status --bucket` and `push`, a field whose section carries only its id, unexpected `op item get` shapes failing loudly, and selftest reporting fields that repeat rather than replace. - `python3 -m unittest discover -s tests -p test_restore_secrets.py`: OK. - ruff format and ruff check (the CI pins), mypy, and the prose gate are clean on the changed files. ## Local review Three local strict review passes were recorded, the last over the pushed head with no findings. Earlier passes raised four findings, all fixed in this branch: the create path's recovery warning missed the listing and then the create call itself, an over-hardening id check, and duplicated `op` argument lists in `selftest`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…re.sh (#4426) ## Summary This PR fixes the `configure.sh` half of #1783. `repo-config/configure.sh` now declares the Actions workflow token defaults and applies and checks them, per the maintainer's answer of 2026-11-01 (option 1). The other half of that answer, an audit check requiring `permissions: {}` on entry-point callers, needs `spec/audit.py` and is not in this PR. So #1783 stays open for it, and this body carries no closing line. - **New payload `repo-config/workflow-permissions.json`.** It declares `default_workflow_permissions: read` and `can_approve_pull_request_reviews: false`. GitHub holds these on the separate `actions/permissions/workflow` endpoint, so they are kept out of `settings.json`, which `spec/audit.py` also loads. - **`apply`.** The pre-flight validates the payload against its contract and reads the live values before any write. So a malformed payload, or an endpoint the token cannot read, stops the run with nothing written. That mirrors the `project.json` group. The write group runs after the Dependabot features. It writes only where the live values differ, and prints the old and new values. The endpoint answers a write with no body, so the group reads the values back and fails the run if they do not match. Lowering a `write` default is held back unless `--lower-workflow-token` is passed, as the section below describes. - **`check`.** A new `check_workflow_permissions` group compares the live defaults with the payload in the form `apply` compares them, and reports a difference as drift. A failed read is a `FAIL` line for that group and does not end the run. - **Docs.** `repo-config/README.md` gets a "Workflow Token Defaults" section. Its "Actions / General" bullet said Actions may create and approve pull requests, which this change makes false. The two fleet workflows that open pull requests, `check-upstream-version-task.yml` and `run-codegen-pull-request-task.yml`, use an App token rather than `GITHUB_TOKEN`. `docs/repo-config.md` now lists the payload, the group, and the option. - **Accounts of what `configure.sh` covers.** `AUDIT.md`'s list of what `configure.sh check` covers and `OPERATIONS.md`'s list of what one `apply` writes each now name the workflow token defaults. - **Tests.** `tests/test_configure_workflow_permissions.py` runs the script's own lifted lines against a stubbed `gh`. It covers the payload contract, the live read, the held test, an apply that matches, is held, writes, is refused, or is unconfirmed, check drift, and the pre-flight and dry-run wiring. `tests/test_configure_project.py`'s two wiring tests lift `cmd_apply` and `cmd_check` whole, so they now stub the new group too. `tests/test_configure_usage.py`'s usage-error table gains the option's refusal outside `apply`. ## New option for the maintainer to confirm: `--lower-workflow-token` **What it does.** `configure.sh apply` holds back the workflow token group on a repository whose live default is `write`, where the payload declares `read`. The group writes nothing there, the other groups still apply, and the run ends non-zero. The held group is named in the run's output, in a dry run, and before the secrets group, whose own failure would otherwise end the run with only its summary. `--lower-workflow-token` lets the write go through. It is valid only with `apply`, and is refused elsewhere before any read. A repository already on `read` needs no option, so its approval setting is written without it. **Why it exists.** The 2026-11-01 answer makes each apply to a `write` repository wait on a read of its workflows and a go-ahead at apply time. Without a gate in the code, a routine `apply` would lower the default unread, for example the one `RESYNC.md` step 5 runs for whatever `check` reports. The next job relying on the implicit write would then fail. The option is how an operator says that read and that go-ahead have happened. **For the maintainer.** It is a new operator-facing option, so please confirm it at the promotion review. ## Verification - A read-only `repo-config/configure.sh check ptr727/ProjectTemplate` against this branch fails the workflow token group, since the hub's live `can_approve_pull_request_reviews` is `true`. No `apply` was run. - The unittest suite, shellcheck, shfmt, markdownlint, cspell, editorconfig-checker, ruff, pyright, and the prose gate are clean. The prose gate's only findings are the added comment lines, so this PR carries the `comments` label. - Five local strict-review passes ran. The first three raised seven findings between them, and every one is fixed here. The last two, over the comment fix and the review-round fix, raised none. ## Introduced findings handed to this pull request - `repo-config/configure.sh`, the header comment of `dry_run_secrets` and the pre-flight comment above the secrets plan (`introduced`). Fixed in 5c8c4b7: both now say the function predicts the secrets' status only, and that `cmd_apply` adds the held status. ## Owed to the maintainer A fleet `apply` of this group is an outward write on every repository it changes, and it is not run here. Per the 2026-11-01 answer, each repository that reads `write` first needs a read confirming that no job relies on the implicit write. Then it needs the maintainer's go-ahead at apply time, which `--lower-workflow-token` carries. A live read on 2026-11-19 found 13 cataloged repositories on `write`. `can_approve_pull_request_reviews` is `true` on the hub and, as of 2026-11-01, on 12 cataloged repositories. Each of those reports drift on `check` until it is applied. 🤖 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 * **New Features** * Workflow token defaults are now managed alongside repository settings. The configured default is read-only, and workflows cannot approve pull request reviews. * Applying settings updates only values that differ and verifies changes. Lowering an existing `write` default to `read` requires explicit approval; otherwise, the change is held and the command reports failure. * Checks now report differences between configured and live workflow token defaults. * **Documentation** * Updated setup and operations guidance to explain workflow token defaults, applying changes, and checking for drift. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
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 32 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. |
There was a problem hiding this comment.
🟡 Changes recommended
An active documentation issue remains in RESYNC.md at line 113, where “hashing” should be replaced with “hash” for the sentence to read correctly.
1 open issue
What changed in this PR
This promotion brings 28 changes from develop into main, covering host-tool tracking, workflow token defaults, secret synchronization, review accounting, audit fixes, and fleet documentation.
Changes:
- Adds host-tool line checks, workflow-token configuration, secret-resolution updates, and coverage auditing.
- Improves review summaries, canonical-pass maintenance, linting, and configuration safeguards.
- Synchronizes specifications, operational documentation, skills, generated distributions, and rollout records.
| File | Description |
|---|---|
| tests/test_resolve_secrets.py | Tests C# project-content detection and blob-backed secret resolution. |
| tests/test_prose_lint.py | Tests heredoc command parsing behavior. |
| tests/test_pr_review_size.py | Adds the review-summary module size budget. |
| tests/test_pr_review_policy.py | Tests CodeRabbit summary recognition and review policy coverage. |
| tests/test_install_tools.py | Tests Linux source reporting behavior. |
| tests/test_hub_fetch_run.py | Tests shell lint task wiring and ordering. |
| tests/test_fidelity_text.py | Tests shared heading-region extraction. |
| tests/test_configure_usage.py | Tests workflow-token option validation. |
| tests/test_configure_project.py | Updates configure test stubs and check ordering. |
| tests/test_canonical_review.py | Tests canonical-review pruning and interrupted writes. |
| STANDUP.md | Documents hub pull requests, HACS setup, and verification prerequisites. |
| spec/section-model.md | Extends fidelity normalization rules. |
| spec/secret_names.py | Detects C# test projects from project contents. |
| spec/resolve_secrets.py | Carries project readers through secret resolution. |
| spec/readme-structure.md | Documents the coverage shield class. |
| spec/readme-sections.schema.json | Allows coverage-triggered shield classes. |
| spec/readme-sections.json | Declares the Codecov shield class. |
| spec/project-types.json | Includes coverage in README shield requirements. |
| spec/files.json | Dates line-ending intent units from canonical guidance. |
| spec/fidelity_text.py | Adds shared heading-region extraction. |
| spec/fidelity_honesty.py | Updates normalized-content terminology. |
| spec/divergences.json | Records the resolve-upstream path collision. |
| spec/checks.json | Detects stale disabled pull-request checks. |
| spec/audit_markdown.py | Applies coverage-aware README shield checks. |
| scripts/pr_review.py | Handles repeated termination signals safely. |
| scripts/pr_review_summary.py | Adds CodeRabbit summary parsing and clean-pass detection. |
| scripts/pr_review_side.py | Uses shared CodeRabbit summary and policy helpers. |
| scripts/pr_review_payload.py | Adds policy coverage lookup. |
| scripts/pr_review_digest.py | Reports reviewed and unread CodeRabbit states. |
| scripts/build_dist.py | Reuses shared heading-region extraction. |
| RESYNC.md | Updates resync workflow and intent-fidelity guidance. |
| repo-config/workflow-permissions.json | Declares default Actions token permissions. |
| registry/repos.schema.json | Documents interaction-verification gating. |
| README.md | Adds the project coverage badge. |
| OPERATIONS.md | Documents workflow-token configuration application. |
| host-tool-lines.json | Stores pinned host-tool release lines. |
| host-setup/linux/install-tools.sh | Corrects unmanaged APT source reporting. |
| GOVERNANCE.md | Updates VS Code lint-task guidance. |
| docs/reusable-workflows.md | Removes the archived repository from rollout lists. |
| docs/repo-config.md | Documents workflow-token defaults and application behavior. |
| docs/pre-commit-hooks-rollout.md | Removes the archived repository from rollout tracking. |
| docs/pr-reviewer-reference.md | Documents CodeRabbit summary and unknown-review states. |
| docs/fleet-map.md | Clarifies intent-fidelity advisory behavior. |
| docs/eol-lf-rollout.md | Removes the archived repository from line-ending tracking. |
| catalog/snippets/configs/vscode-tasks.json | Adds ShellCheck and shfmt tasks. |
| catalog/snippets/configs/vscode-tasks-python.json | Adds shell lint tasks and multi-directory guidance. |
| AGENTS.md | Updates language and host-tool routing guidance. |
| .github/workflows/check-host-tool-lines.yml | Schedules host-tool line tracking. |
| .github/workflows/canonical-review-sweep.yml | Documents orphaned canonical-pass pruning. |
| .github/skills/standup-a-repo/SKILL.md | Updates standup pull-request sequencing. |
| .github/skills/shell-codestyle/SKILL.md | Clarifies native-shell usage. |
| .github/skills/resync-a-repo/SKILL.md | Updates resync workflow and interaction verification. |
| .github/skills/python-codestyle/SKILL.md | Corrects Python profile references. |
| .github/skills/local-strict-review/SKILL.md | Expands required review-pass timing. |
| .github/skills/drive-pr/SKILL.md | Aligns authorization with pull-request cleanup. |
| .github/skills/dotnet-codestyle/SKILL.md | Removes an outdated analyzer exception. |
| .github/skills/dotnet-codestyle/references/conventions.md | Removes the false XML suppression claim. |
| .github/skills/comment-and-doc-style/SKILL.md | Expands carried-procedure reference guidance. |
| .github/skills/comment-and-doc-style/references/carried-doc-references.md | Defines hub-checkout procedure references. |
| .github/skills/audit-a-repo/SKILL.md | Clarifies report and convergence responsibilities. |
| .github/actions/resolve-upstream/python.jq | Resolves the newest released Python line. |
| .github/actions/resolve-upstream/dotnet.jq | Resolves the newest released .NET line. |
| .github/actions/resolve-upstream/action.yml | Fetches and emits host-tool release lines. |
| .github/actions/prose-gate/prose_lint.py | Parses shell code after heredoc labels. |
| .claude-plugin/fleet-skills/skills/standup-a-repo/SKILL.md | Regenerates the standup skill distribution. |
| .claude-plugin/fleet-skills/skills/shell-codestyle/SKILL.md | Regenerates the shell skill distribution. |
| .claude-plugin/fleet-skills/skills/resync-a-repo/SKILL.md | Regenerates the resync skill distribution. |
| .claude-plugin/fleet-skills/skills/python-codestyle/SKILL.md | Regenerates the Python skill distribution. |
| .claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md | Regenerates the review skill distribution. |
| .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md | Regenerates the pull-request-driving skill distribution. |
| .claude-plugin/fleet-skills/skills/dotnet-codestyle/SKILL.md | Regenerates the .NET skill distribution. |
| .claude-plugin/fleet-skills/skills/dotnet-codestyle/references/conventions.md | Regenerates the .NET conventions reference. |
| .claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md | Regenerates documentation-style guidance. |
| .claude-plugin/fleet-skills/skills/comment-and-doc-style/references/carried-doc-references.md | Regenerates carried-reference guidance. |
| .claude-plugin/fleet-skills/skills/audit-a-repo/SKILL.md | Regenerates audit guidance. |
| .claude-plugin/fleet-skills/.source-digests/standup-a-repo | Updates the standup skill digest. |
| .claude-plugin/fleet-skills/.source-digests/shell-codestyle | Updates the shell skill digest. |
| .claude-plugin/fleet-skills/.source-digests/resync-a-repo | Updates the resync skill digest. |
| .claude-plugin/fleet-skills/.source-digests/python-codestyle | Updates the Python skill digest. |
| .claude-plugin/fleet-skills/.source-digests/local-strict-review | Updates the review skill digest. |
| .claude-plugin/fleet-skills/.source-digests/drive-pr | Updates the pull-request-driving skill digest. |
| .claude-plugin/fleet-skills/.source-digests/dotnet-codestyle | Updates the .NET skill digest. |
| .claude-plugin/fleet-skills/.source-digests/comment-and-doc-style | Updates the documentation-style skill digest. |
| .claude-plugin/fleet-skills/.source-digests/audit-a-repo | Updates the audit skill digest. |
| .agents/skills/standup-a-repo/SKILL.md | Updates the authored standup skill. |
| .agents/skills/shell-codestyle/SKILL.md | Updates the authored shell skill. |
| .agents/skills/resync-a-repo/SKILL.md | Updates the authored resync skill. |
| .agents/skills/python-codestyle/SKILL.md | Updates the authored Python skill. |
| .agents/skills/local-strict-review/SKILL.md | Updates the authored review skill. |
| .agents/skills/drive-pr/SKILL.md | Updates the authored pull-request-driving skill. |
| .agents/skills/dotnet-codestyle/SKILL.md | Updates the authored .NET skill. |
| .agents/skills/dotnet-codestyle/references/conventions.md | Updates the authored .NET conventions reference. |
| .agents/skills/comment-and-doc-style/SKILL.md | Updates the authored documentation-style skill. |
| .agents/skills/comment-and-doc-style/references/carried-doc-references.md | Updates authored carried-reference guidance. |
| .agents/skills/audit-a-repo/SKILL.md | Updates the authored audit skill. |
Review effort: Lite
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4428 +/- ##
==========================================
+ Coverage 79.39% 79.62% +0.23%
==========================================
Files 46 47 +1
Lines 16070 16398 +328
==========================================
+ Hits 12758 13057 +299
- Misses 3312 3341 +29
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
|

Promotes the 28 pull requests that landed on develop since the last promotion (#4388), from the away-mode backlog burndown run.
backlog_metrics.pyJSON.configure.sh apply's interaction limit on a committed bot verification record.other_reviewed.heading_bodyandextract_anchored.pr_review.pyso an interrupt prints one line.pullRequestCheck: falseand correct AUDIT.md section 6.prunesubcommand to retire orphaned canonical review passes.configure.sh(theconfigure.shpart of Declare the Default Workflow Token Permission in the Repository Settings Payload #1783, which stays open).Owed by the maintainer
main, and aworkflow_dispatchwould prove it sooner.configure.sh applyfor the workflow token defaults, after the per-repository read the 2026-11-01 answer requires. Please also confirm the new--lower-workflow-tokenoption, which awriterepository needs for the apply to lower its default.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.applyset the limit fleet-wide.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