Repository navigation
Conversation
… Block (#4374) ## Summary Clears the last of the `paste-safe` backlog from #1615 and puts the rule back in the local whole-tree block. - Quotes the eleven placeholders the rule still reported: eight in `scripts/README.md`, two in `host-setup/agent-safety/claude/README.md`, and one in `host-setup/agent-safety/README.md`. - Quotes the placeholder inside `host-setup/README.md`'s `su -l root -c '...'` string. The gate does not read inside that string, but the inner shell would read `<account>` as a redirection. - Adds `--check paste-safe` to `OPERATIONS.md`'s local prose block, and removes the wording in `OPERATIONS.md` and `scripts/README.md` that said the rule had a backlog and was left out of that block. The two agent-safety README edits change prose only. They were approved on that condition, and their merge waits on the maintainer reading them. #1615's `Closes` line goes on the promotion PR. ## Verification - `python3 scripts/prose_lint.py .` (the default rules, whole tree) exits 0. Before this change, `--check paste-safe` reported 11 violations across 3 files. - The updated `OPERATIONS.md` block line, `scripts/repo_gate.py`, `scripts/build_dist.py --check`, and `spec/validate.py` all pass. - A local strict review at the `frontier` tier found nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Declares the `host-secrets` overlay type on the HomeAutomation-Config registry entry and updates the conformance matrix row naming the overlay's declarers. This is step 1 of ptr727/HomeAutomation-Config#1435, the one attended hub pull request the maintainer allowed. The carry of `lib/fleet/sh` follows in that repository, so no `driftNotes` line is added, matching #3534. Local strict review: three rounds recorded, the last with no findings. Rounds 1 and 2 found false claims in the matrix row about the declarers and Blog's carry. Both were fixed by naming the three declarers and dropping the Blog carry claim. Spec validation (`spec/validate.py`) passes and `prose_lint.py --diff` reports no violations. Refs ptr727/HomeAutomation-Config#1435 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
… Staged Paths, and Name the Rate-Limit Check Trap (#4378) ## Summary Three small carried-rule edits, to `GOVERNANCE.md` and the `pr-review-conduct` Merge Gate. - **Whole test suite before a push (2280).** "Verification Discipline" gains a bullet beside the lint-gate one. It requires the repository's whole test suite before every push, in the invocation `OPERATIONS.md` "Local Verification" declares, rather than the modules a change touches. The reason is the lint bullet's: CI runs all of it, and a suite-wide meta-test can fail a change in a module the change never touched. - **Husky hook passes staged paths (3820).** The "Running the Linters Locally" hook bullet now says the fleet's Husky hook passes the prose gate the paths the commit stages, with `--skip-generated`. The sentence saying a partially staged file is judged on all of its edits stays true, since the gate reads each named file's working-tree content. - **Rate-limited `success` check trap (1298).** Merge Gate item 2 now says a hosted reviewer's check can read `success` over a rate limit, and that a rate limit is not coverage of the head. Per the maintainer's ruling, this is the only part of 1298 kept. The bounded-delta route it also proposed is dropped, since the move of the hosted review to promotions and the attested local pass overtook it. `scripts/build_dist.py` regenerated the `agent-conduct` include region and the generated skill trees. An earlier commit on the branch drafted the bounded-delta route, and a later one reverts it. Closes on promotion: #2280, #3820, #1298 ## Verification - `OPERATIONS.md` "Local Verification" block run in full, the whole unit test suite included. - Diff-scoped prose gate clean. - Local strict review recorded and attested on the head. ## Dropped findings - `README.md` "Always" list, consolidation: it summarizes the lint-gate rule and does not mention the new test-suite rule. That is untouched summary text, not a false claim. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…yped Count (#4380) ## Summary `scripts/canonical_review.py record` took a caller-typed `--findings` count for each carried-content sweep pass. That count was bound to nothing the reviewer produced, the defect #3699 removed from `scripts/local_review.py record`. This applies the maintainer's answer on decision #3815 (option 1): bind each sweep pass to the reviewer's report file, reusing `local_review`'s report reader rather than duplicating it. - `record` drops `--findings`. For each `--unit`, it reads the report with `local_review.read_report`, against the full unit digest. `scripts/local_review.py` is unchanged. - The report sits in the git directory beside `local_review.py`'s own, under a `canonical-review-report.` prefix of its own. That engine's prune therefore never deletes a unit report not yet recorded. The name is keyed by a sha256 over the unit key and its digest, since a generated include gives several skill sections identical text, and so one digest. The hex key also keeps the colon of `sha256:` out of the file name, which Windows does not allow. A record prunes only the unit reports written for text no unit holds any more. - It refuses a unit whose report is absent or names another digest. While any unit it was given is refused, it records none of them. Each ledger entry stores the derived `findings` count and the report's `reportSha256`, the field `local_review.py`'s receipt already uses. - A new read-only `report-path --unit '<key>=<digest>'` subcommand names each unit's report path as JSON. It refuses an unknown unit or a moved digest before a reviewer spends a pass on it. - The typed count is gone from the module docstring, the sweep issue's printed commands, the `local-strict-review` Skill's "The Carried-Content Sweep" (its brief now carries the report contract), its generated copies, and `scripts/README.md`. - Tests cover a record with no report, a record with one (its count and sha256), a header-only report, a report for another digest, a multi-unit record with one report missing, two units of identical text each taking their own report, the prune keeping a still-recordable report, a rejected `--findings`, and `report-path`. `reports/canonical-review.json` is not touched. Entries recorded from now on carry one added `reportSha256` key, and no reader of the ledger checks its keys beyond `unit` and `digest`. ## Open findings from the local pass (edit budget spent) - `scripts/canonical_review.py` `prune_unit_reports`, `introduced`: the keep set calls `unit_report_path` once per carried unit, and each call runs `local_review.git_dir`, one `git rev-parse` per unit on every record. Fixed: the keep set now holds file names from a pure `unit_report_name`, and the directory is read once. - `scripts/canonical_review.py` `unit_report_path` and `prune_unit_reports`, `introduced` (design, reuse before building): they mirror `local_review.report_path` and `local_review.prune_reports` with another prefix rather than extending them. Declined. Extending them means editing `scripts/local_review.py`, which a concurrent change holds and which this one reuses unchanged by design. The report contract itself, `local_review.read_report`, is reused, which is what decision #3815 asked for. What is mirrored is a one-line path join and a three-line glob loop with a different keep rule, a set of current units against one path. - `.agents/skills/local-strict-review/SKILL.md` "The Carried-Content Sweep" brief, `introduced`: this change bound the report to the sweep worktree's git directory, but the brief named no worktree to read the unit in. So a reviewer starting in another checkout could read other text and still write a report `record` accepts. Fixed: the brief carries the same `Worktree:` line the diff pass's brief does. Closes on promotion: #3804 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…Promotion Cut (#4379) ## Summary - **Promotion history gate.** `validate-task.yml`'s lint job gains a `Check promotion history step`. On a pull request from this repository into its default branch that brings develop history in, it walks the default branch's first-parent chain back to its previous promotion merge. It fails on any single-parent commit there, naming each one, since that commit is a squash or a direct push and leaves the merge base with develop behind. This implements the maintainer's 2026-11-01 decision (option 1: a gate check, no ruleset change). - A promotion merge is a merge whose second parent shares develop history its first parent lacks. That covers a plain promotion and a conflicted-cut promotion, and excludes a Dependabot merge into main. - A promotion that merges cleanly over a squash still fails. Its three-way merge from the stale base keeps any line develop removed since the squash. A promotion that conflicts runs no pull request workflow, so the step fires on the next one that merges cleanly. - A head that already holds every single-parent commit the walk found is the recovery cut and passes, since its merge restores the merge base. That still holds after a bot merge moves main while the cut is in review. - The floor is the hub's one historical squash, held as a step constant and guarded by an existence check, so it is inert in every caller whose history lacks it. No input was added, so no caller changes. - A repository with no develop branch, a fork head, a non-default base, and a bot pull request into main each pass with a line saying why. - **Conflicted-promotion cut and squash recovery documented** in `branching-and-release-model`'s `references/branch-protection-and-promotion.md`, beside the EOL-only case. It covers the body, closing-set, and label carry, the `git diff origin/develop HEAD --stat` tree-equality check, merging later develop fixes into the cut, and the squash recovery. That includes restoring develop's version of a path the cut kept from the stale base. - **drive-pr** points at the cut from its promotion steps and its "Mechanics Live Elsewhere" list, outside the generated include region. No ruleset or branch protection setting changes. Closes on promotion: #2510, #4373 ## Verification - `tests/test_workflow_steps.py` runs the step's own script against constructed histories. - Merge-only history passes. A squash since the previous promotion fails and is named, and so does a squashed first-ever promotion. A squash behind a later promotion passes. - A clean promotion over a squash fails, and the test shows its merge keeps a line develop removed. - The recovery cut passes, its merge restores the merge base, and the next promotion passes. It still passes after a bot merge moves main. A cut that kept a removed line passes once the tree check and the restore clear it. - The floor excludes itself and an older squash. A bot pull request, a fork head, a non-default base, and a repository with no develop each pass. - Replayed against the hub's own history in a scratch clone: with main reset to the historical squash and develop at the next promotion's head, the step fails naming that commit without the floor and passes with it. On today's main it passes, stopping at the latest promotion merge. - Full unit suite, ruff, mypy, the prose gate with `--allow-comments`, `repo_gate.py`, and the Docker linters (actionlint, markdownlint, cspell, editorconfig-checker) pass locally. `build_dist.py` regenerated the skill trees. ## Findings from the local pass Four local strict passes ran. The edit budget was spent after the second fix round, so the third pass's finding went to the review loop. It is fixed in a later commit, and the fourth pass found nothing: - `introduced`, fixed: `.agents/skills/branching-and-release-model/references/branch-protection-and-promotion.md`, squash bullet. The remedy `git checkout origin/develop -- "<path>"` could not run for a path develop has since deleted. The bullet now gives `git rm` for such a path, and a test runs that history. Local findings declined: - The floor is unreachable while the walk stops at the latest promotion merge. It is kept, since the maintainer's decision names it. - The new test's git helper is a near-duplicate of the one in `tests/test_prose_lint.py`. It is not consolidated, because that file is outside this change. The new helper also scrubs git's location variables. The change carries comment lines in `validate-task.yml`, so it carries the `comments` label. 🤖 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** * Promotion pull requests are now checked for missing promotion history, with actionable details when required commits are absent. * **Documentation** * Updated promotion guidance to cover recovering conflicted promotions and squash merges into the default branch. * Clarified how to update recovery branches when new fixes land and how to handle promotion pull requests that are replaced. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
… Scripts (#4381) ## Summary Every `host-setup/linux` script now exits 64 (`EX_USAGE` from `sysexits.h`) for an argument it refuses itself, and for no other failure. A caller wrapping a script can therefore tell "the arguments were refused, nothing changed" from "the run started and failed" by the status alone. The maintainer chose 64 over 2 on the issue. - **One refusal path.** Each script gains `die_usage`, which prints the `ERROR:` line, marks the refusal, and exits 64. Every argument refusal goes through it: - `upgrade-host.sh`: an unknown option, and more than one action. - `install-tools.sh`: an unknown option, `--repo` with no or an empty path, or with a path holding no `host-tools.json`, more than one action, `--json` beside another action, `--sudo-timestamp` with a tool, and an unknown tool name. - `install-agents.sh`: an unknown option, more than one action, `--json` beside another action, `--all` beside another action, `--all` with a tool name, an unknown tool name, and `--install` with neither. - `setup-github.sh`: an unknown option, `--name`, `--email`, or `--shared-checkout` with no or an empty value, and more than one action. - `install-skills.sh`, `install-global-rules.sh`, `install-safety-kit.sh`: an unknown option. - `restore-secrets.sh`: an unknown option, `--bucket` with no value or a bad name, and no bucket at all. - **The status is reserved as well as assigned.** An `EXIT` trap turns any other exit carrying 64 into 1, since under `set -e` a failed command's own status becomes the script's. The trap calls `exit` only on that remap, so a signal death and every other status pass through unchanged. - **The three scripts the issue predates are in scope.** `install-global-rules.sh`, `install-safety-kit.sh`, and `restore-secrets.sh` have the same shape as `install-skills.sh`, which the issue lists, and the proposal covers every `host-setup/linux` script. Each of the four ends by `exec`-ing a program, which replaces the trap. None of those programs exits 64. They are `scripts/skills_install.py`, `global_rules.py`, the kit's `install.sh` and the `install.py` it execs, and `scripts/secrets_sync.py`. CODESTYLE.md now says a script relying on the contract execs only such a program. - **The contract is stated.** Each `--help` says `Exit status 64 means an argument was refused, so nothing was changed. No other failure exits 64.` `install-agents.sh` puts 64 into the exit-status sentence its help already carried instead. The same contract is stated in `host-setup/linux/README.md` and in a new CODESTYLE.md "Command-Line Arguments" bullet. That bullet reaches the `shell-codestyle` and `python-codestyle` include regions through `build_dist.py`. - **The interrupt rule, since the four scripts holding a temporary directory are edited here.** `upgrade-host.sh`, `install-tools.sh`, `install-agents.sh`, and `setup-github.sh` take CODESTYLE.md "Interrupts in Shell". The `EXIT` trap is set before new `INT` and `TERM` traps, which print one line naming the signal and re-raise it. Every command stays in the foreground, as that section requires of a launcher that does not stop its tool cleanly on SIGTERM. apt-get, dpkg, `do-release-upgrade`, and the agent updaters are such launchers. So Ctrl-C reaches the running command as before, and apt still finishes the dpkg call it is in before it stops. The trap runs once the command returns. ## Tests - `tests/test_cli_usage.py` holds the contract for every tracked `host-setup/linux/*.sh`, read from `git ls-files`. Its existing unknown-flag check now asserts 64 for those scripts. A new case checks that each `--help` names the status. It also checks that each refusal no other module covers exits 64 with its message and no effect. And it checks that `die_usage` exits 64 under the script's own traps, while another command exiting 64 under `set -e` leaves as 1 and another status passes through unchanged. A second case signals the process group of each of the four temporary-directory scripts with SIGINT and with SIGTERM while a foreground command runs. It asserts death by the signal, the line naming it, the directory removed, and the command gone. The `install-skills.sh` and `install-safety-kit.sh` cases live here. - The existing refusal assertions in `test_install_tools.py`, `test_install_agents.py`, and `test_restore_secrets.py` now pin 64, and each of those refusals is asserted there alone. `test_restore_secrets.py` also pins the root refusal at 1, since it refuses the account rather than an argument. ## Local review findings fixed after the opening push Every finding a push listed as open is fixed in a later commit. The duplicate unknown-tool row is gone. The help check now sits in the sandboxed `--help` loop. The interrupt comment no longer claims the trap runs where sudo's `use_pty` keeps a Ctrl-C from the script's own shell. A later pass also found that `restore-secrets.sh` forwards its buckets to `secrets_sync.py`, whose own refusal of two `host-` buckets exits 1. So the README and the CODESTYLE.md bullet now say 64 covers a script's own refusals, and a forwarded argument the program refuses keeps that program's status. The bullet also allows an `exec` target whose own 64 means a refused argument. An empty `--repo`, `--name`, `--email`, or `--shared-checkout` value is refused rather than silently read as absent. The interrupt test uses `test_pre_commit_hook`'s group helpers, so a failed case kills what it started. ## Local review findings declined - `tests/test_cli_usage.py` `sourced_copy` duplicates the strip-`main "$@"` helpers in five other test modules (consolidation). Declined as out of scope here. The other five are each bound to one script, and this is the one that takes a path. A shared test module would be a new file outside this change's file claim. - The `on_exit` remap in the four scripts that end by `exec`-ing a program guards nothing those scripts run today (over-hardening). Declined because the issue's agreed proposal reserves the status with that trap in every `host-setup/linux` script. The trap keeps the contract whole against a later edit that adds a command able to exit 64. Closes on promotion: #3605 ptr727/HomeAutomation-Config#1466 waits on this contract. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary - `upstream-contribution-workflow`: the dirty-branch rebase chain now says what a failed or disallowed `--force-with-lease` push means and what comes next. The reader re-fetches, stopping if the fetch fails, and lists the fork's branch against the old head, read back from the backup branch. A `>` entry means the fork moved under the reader, `<` entries alone mean old-head commits the fork's branch lacks now, and an empty list means another cause. Whatever the list shows, the reader stops to ask the maintainer and pushes nothing meanwhile. The text names the unpinned lease after a fetch, and a bare `--force`, as the pushes that would overwrite. A fresh pull request from a new dirty branch is ruled out, since that drops the iteration log. - Step 5's refused-lease sentence now names the clean branch, and points the dirty branch at the new guidance. - `audit-a-repo`: the cleanup call's fixed `--checkout ~/repos/ProjectTemplate` now carries the same note `drive-pr` gives beside its own `--checkout`. That path is the convention layout, and a machine not yet migrated passes its actual primary clone instead. This gap has no issue of its own. - Regenerated `.github/skills/` and `.claude-plugin/` with `scripts/build_dist.py`. Closes on promotion: #4345 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…er (#4385) ## Summary On Windows, `subprocess.run` with a captured timeout kills only the direct child at its deadline. It then waits with no bound for pipes that a grandchild still holds. `skills_install.py` already carried a fix for this, but no other script could reach it. This change moves that fix into one shared module, and moves every affected site onto it. - **New `scripts/run_deadline.py`.** It holds `run_with_deadline` and `kill_process_tree`, moved out of `scripts/skills_install.py`. Each site passes its own timeout. It also passes its own decoding through `text`, `encoding`, and `errors`, which keep their `subprocess.run` meaning, newline translation included. With none of them the output stays bytes. Output decodes in the caller's thread rather than on a Windows reader thread. Stderr is captured unless a site names another `stderr`. An interrupt kills the child, as `subprocess.run` does. - **Sites moved onto it**, each keeping its timeout, decoding, and error handling: - `scripts/skills_install.py`: `git_in` and `claude_json`, through a small `report_run` that keeps the 60-second budget and the discarded stderr. - `scripts/pr_review.py`: `_run`, and with it `_git`, the `gh` REST reads, the tarball read, the `local_review.py status` read, and `pr_merge.py`'s merge call. - `scripts/pr_cleanup.py`: `cleanup_git`, which runs `git fetch --prune` and `git merge --ff-only`, so a remote helper or a hook can hold its pipes. - `scripts/local_review.py`: its `git` runner, and the `coderabbit` backend, whose `shutil.which` path can be a `.cmd` shim. - `scripts/host_gate.py`: `probe`. - **`scripts/pr_review.py` stays under its ceiling.** It is 2194 lines, one fewer than before. `_git` fits on one line now that `encoding` alone selects text mode. ## Sites not moved, with the reason - `scripts/docker_lint.py`, its captured runs. The carried `catalog/snippets/hub_fetch_run.py` fetches this file alone, with no companions. So an import of the shared module would fail in every carrying repository until that snippet changes. Its captured children also cannot stall this way. `docker image inspect` and `docker rm --force` run the Docker CLI binary itself, which starts no child for these commands. `git rev-parse --absolute-git-dir` runs no alias, hook, pager, or remote helper, so nothing below the launcher waits on anything but the local repository. Its `docker run` calls capture nothing, so no pipe is left to wait on. - `spec/validate.py`, `hub_tracked_paths`. It sits outside the issue's site list, and its `git ls-files -s -z` likewise runs no alias, hook, pager, or remote helper. - Captured runs with no timeout, such as `scripts/gh_graphql.py`'s transport and the `claude plugin` installs in `scripts/skills_install.py`. They have no deadline to outlast, so they are outside this class. ## Tests - `tests/test_skills_install.py` `RunWithDeadlineCase` tests the shared module against a real process tree: a child starting a `close_fds=False` grandchild that holds both pipes and sleeps 30 seconds. With both pipes captured, and through `skills_install.report_run`, the run raises `TimeoutExpired` well under 25 seconds. On Windows the grandchild is also gone afterwards. It also covers both streams decoding as text mode reads them, bytes where no decoding is asked for, a strict decode failure raising, and a named error handler. A mocked interrupt shows the tree is killed and the interrupt propagates. - The same case holds every timed, captured `subprocess.run` or `subprocess.check_output` under `scripts/` to the helper. It scans through `tests/test_tooling_encoding.py`'s `spawning_calls`, so an aliased import is still found. It exempts only `docker_lint.py` and the helper's own `taskkill`, and the latter is the scan's floor. So `pr_cleanup.py`, `local_review.py`, and `host_gate.py` reach the stalled-tree proof through the helper they call. - `tests/test_tooling_encoding.py`'s UTF-8 decode gate counts `run_with_deadline` as a spawner, imported from `run_deadline` by module or by name. So a moved site still fails the gate where it drops `encoding="utf-8"`. A constructed case covers both spellings. The helper's own Python-child tests pass `PYTHONIOENCODING`, as that gate requires. - `tests/test_pr_review.py` `TestRunDeadline` runs `_run` over the same stalled tree, reusing the fixture from `test_skills_install.py`. The run reads as unrun within the bound. It runs on Windows only, since POSIX `subprocess.run` also returns at the deadline and so cannot tell the two paths apart. The tests that mocked `subprocess.run` under `_run` now mock `run_with_deadline`, so none of them reaches a real `gh` or `git`. `READER_IMPORTS` is unchanged, since no reader module imports the new one. ## Verification - The hosted Windows unit test job runs the whole suite, these stalled-tree cases included. That job passing is the verification this issue names. - `skills_install.py` imports the new module as a sibling, as it already imports `build_dist.py`. That resolves in the bootstrap's kept tree, since `host-setup/bootstrap.sh` extracts the whole repository tarball. - Locally on Linux, the full suite passes under `python -m unittest discover -s tests`. ruff, mypy, and the prose gate pass on the diff. - Four local strict review passes ran at the `frontier` tier, each recorded and the latest attested on this pull request. The second raised the decode gate's reach over the moved sites after the opening push's edit budget was spent, so its fix landed in the second push. The first raised four findings. Three are fixed: the scan's `check_output` reach, the duplicated stalled-tree fixture, and the untested interrupt branch. One is declined. It asked to drop the `text` keyword and its locale fallback, which no caller reaches. `scripts/pr_merge.py` passes `text=True` to `_run`, so `text` is consumed rather than handed to `Popen`, where it would bring back reader-thread decoding. Closes on promotion: #3854 🤖 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** * Improved timeout handling for repository and review tools, helping commands finish reliably when background processes keep output streams open. * Standardized captured command output decoding, including clearer handling of invalid text and line endings. * Improved cleanup of timed-out or interrupted child processes to reduce lingering processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…Safe (#4382) ## Summary The `paste-safe` prose-gate rule now reads a string that a command hands to a second shell, and checks it as the command that shell runs. A bare placeholder inside it is a finding. The outer shell takes `su -l root -c 'usermod -aG sudo <account>'` literally, but `su` gives the string to a shell that reads `<account>` as a redirection. - `prose_lint.py`: the rule splits each command into words at the boundaries Pygments' bash lexer gives, the lexer the rule already uses. It then removes each word's quoting with the standard library's `shlex`. The second shell is the command a simple command runs. That is found past its assignments, its reserved words, and launchers such as `sudo` and `timeout`, with each launcher's own options and operands. So a shell's name as another command's argument, as in `rsync -e ssh`, runs no shell. The rule reads that shell's options to pick out the string it runs. It removes the quoting, blanks the first shell's own code, and scans the string again with the same shapes and exemptions. A nested second shell is read too, as in `ssh host 'sudo sh -c "id <account>"'`. - `sh`, `bash`, `dash`, `zsh`, `ksh`, `ash`, `mksh`: the first operand once `-c` is set. - `su`, `runuser`: the value of `-c`, `--command`, or `--session-command`. After a `--` with none of those, the command that follows is read as a command, as in `runuser -u app -- sh -c '...'`. - `ssh`: every operand after the destination. - An option that takes a value, and a redirection, are skipped. - `prose-gate.json`: the option tables for those commands and the launchers, the reserved words, a `paste-safe-second-shell` message, and a widened rule summary. - `tests/test_prose_lint.py`: constructed cases. - Each command form reports its placeholder. - A placeholder quoted inside the string passes, including the `'\''` form. - A shell's name as an argument passes. - A newline ends the handed command, a continued line reports the right line, and a reserved word is read past. - `GOVERNANCE.md` "Copy-and-Run Commands": the sentence saying the rule reads such a string as a plain quotation now says it reads the string as the command the second shell runs. The generated `comment-and-doc-style` include is refreshed by `scripts/build_dist.py`. - `host-setup/agent-safety/README.md`: the new rule flagged the two `timeout ... bash -c '<the loop>'` spans in requirement 7. They now carry a concrete constructed loop. The maintainer approved this edit, and the gate gains no exemption. The whole-tree local prose invocation flagged only those two README spans before the rewrite, and it is clean now. ## Introduced findings from the opening push, answered The opening push spent its two-round edit budget and listed four `introduced` findings from its third pass. The second push fixes each one, with a test: - A shell right after an opening backtick now passes the name prefilter. - Each shape inside a second shell's string keeps its own advice. - For `su`, and for `runuser` without `-u`, a `--` no longer opens a command. - A leading `$ ` prompt is read past. The second push's own pass found four more. Three are fixed here, each with a test: - The advice for a placeholder or bracket inside a second shell's string now says to quote it inside that string. The first shell's "quote it" advice did not clear such a finding. - The rest of a heredoc's opening line is now read as code, so a second shell piped to from there is read. - `timeout`, `env`, and `xargs` each get a positive launcher case. The fourth is the consolidation finding below, which is declined. A further pass found three more, all fixed here: - `ssh` joins every word after its destination into one command, and that command is now read whole. So `ssh host sudo sh -c "'ls <dir>'"` is reported. A placeholder the first shell already reported in an unquoted word is not reported a second time. - A POSIX shell's `-o` takes the next word wherever it sits in an option cluster, so `bash -oc pipefail '...'` now reads its `-c`. - Docstring lines over the line length are rewrapped. ## Introduced findings from the second push, answered The third push fixes the four the second push listed, each with a test: - A code span's line breaks now read as spaces, so a second shell wrapped across them is read. - A placeholder the first shell reported is blanked from any word `ssh` joins, so it is reported once. - Every second-shell and launcher name now opens a command span, and a test holds the tables to that. - Inside a handed string, a bracket, an optional flag, or an alternation may be a pattern. So its advice now says to quote it there first. Its own passes found four more. Each is fixed here with a test: - `command -v`, `sudo -l`, and `sudo -e` run nothing, so the command after them is not read. - The command `ssh` joins stays one line: a source line break between its words becomes a line continuation. - A no-run option is matched only among a cluster's own letters, so `sudo -upostgres` is not read as `sudo -e`. - An alternation inside a handed string keeps the "space a real pipe" remedy. ## Introduced findings from the third push, answered The fourth push fixes the four the third push listed, each with a constructed test: - The `ssh` join reads each word from the flattened text, so a span's line break inside a quoted word is the space it renders as. - A command substitution in an `ssh` argument is blanked before the join, since the first shell runs it. - `xargs --replace` and `--max-lines` take a value only after `=`. - `handed_strings` reads a value or rest shell's option cluster through `cluster` and `takes_value`. Its pass found no regression and no crash. Its round fixed two more: - The new shell and launcher names no longer open a command span alone, so `commands.names` is unchanged from develop. The widened list read a device console's `time <...>` in a fleet repository as a command. A launcher is still read past inside a command, and a fence reads them all. - `takes_value` reads a short cluster through `cluster`, so one walk decides which letter takes a value. ## Edge cases declined From here, an edge case in the shell reading is declined under the trust-boundary and hardening-effort rule. The input is the fleet's own authored Markdown. Develop's rule and this branch's report the same findings over the fleet's checkouts, and a false positive costs its author one quoting fix. A regression or a crash would still be fixed, and none was found. Each declined case: - In a wrapped span, a quoted line break in an earlier `ssh` word shifts a later placeholder's reported line up by one. - `find -exec sh -c '...'` and `wsl bash -c '...'` do not read the shell they launch, nor do `docker exec` and `busybox sh`. - A span opening with a shell or launcher name outside `commands.names`, such as `dash` or `nice`, is not read as a command. A fence is. - One placeholder that appears both unquoted and quoted on one `ssh` line is reported once. - An unquoted angle placeholder in an operand position, as in `ssh <host> 'ls <dir>'` or `timeout <seconds> bash -c '...'`, is read as a redirection. So the operand count shifts and the handed string goes unread until that first placeholder is quoted. The first placeholder is reported either way. - `sudo -s`, `sudo -h`, `env -`, a leading redirection, a heredoc on `ssh`'s stdin, a backtick substitution in double quotes, and `${x:-<default>}` are not read. The final pass compared develop's rule and this branch's over every tracked Markdown file in 33 fleet checkouts, and found no difference. It also ran 12,000 random token mixes through both. It found no regression and no crash. ## Pre-existing findings, filed - `prose_lint.py` `shell_literals`: it does not blank the quotations on a heredoc's opening line after its label, so a quoted placeholder there is reported. Class: `pre-existing` correctness defect. Filed as #4383. ## Design findings declined - One option walker shared by `launcher_span` and `handed_strings`: the two read different things. A launcher counts its own operands before a command, and a second shell picks out a string by mode. Merging them is a refactor past the bounded push this change was given. The walkers differ on one shape, a redirection right after `su -c`, which no fleet document uses. - Trimming the launcher table and the `no_run` option to the launchers fleet documents use today, which are `exec`, `sudo`, `timeout`, and `xargs`: each entry is one line of data. `no_run` answers a hosted review finding that `command -v` runs nothing. Removing entries would turn their commands into misses the day a document uses one. - Reusing `gh-write-guard.py`'s tokenizer: that file is a standard-library-only hook the host kit installs on each machine. The gate is a composite action run from a hub fetch, so neither can import the other at run time. - Deriving `shell_literals` from the new character classes: the two classify a command substitution differently. One blanks a quotation inside `$(...)`, and the other keeps the substitution whole. They also treat a heredoc's opening line differently. - Walking `handed_words` and `opens_command` with one helper: `opens_command` decides from a span's raw text whether to read the span at all. It runs on every inline code span in the tree, and the lexer runs only on the spans it accepts. Moving it onto lexed words would lex every span. - Replacing the word splitter with the `bashlex` package: that adds a third-party dependency to a composite action every fleet repository runs, which is a design change beyond this issue. Each defect raised against the splitter was fixed inside the pinned lexer's token stream, with a test. Closes on promotion: #4375 This pull request edits `host-setup/agent-safety/`, so the maintainer merges it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary The canonical root `.editorconfig` set every C# code-style option with no severity. Each IDE rule those options configure therefore stayed at its default, mostly `hidden`. The fleet clean-compile gate, `dotnet format style --verify-no-changes --severity=info`, never reports a hidden rule, so it enforced almost none of the file's own style choices. The maintainer's answer on #1842 is to use the strictest, most correct defaults, even where existing code has to be fixed. This change implements that. - **Every code-style rule the file's options configure now reports at `warning`.** Each rule takes one `dotnet_diagnostic.IDExxxx.severity = warning` entry under `[*.cs]`. IDE0058, IDE0046, and IDE0079 are included. - **Rule set:** the option-to-rule map the .NET 10.0.404 SDK's code-style analyzers register. It was read by reflection from both the SDK's codestyle analyzers and the ones `dotnet format` ships. Formatting-only options map to no rule of their own and stay under IDE0055. IDE0070 is added beyond that map, since a probe showed `dotnet_prefer_system_hash_code` governs it. IDE0079 is added too, since the file sets its documented option, `dotnet_remove_unnecessary_suppression_exclusions`. - **IDE0036 and IDE1006 take explicit `warning` entries too.** Their options already set `warning`: the `:warning` suffix on `csharp_preferred_modifier_order`, and the three `dotnet_naming_rule.*.severity` values, which rise from `suggestion` to `warning`. An option suffix and a naming-rule severity are not honored under `EnforceCodeStyleInBuild`, so the explicit entries keep them at `warning` there as well. - **IDE0055 stays `none`**, and **no CA severity changes.** The blanket `dotnet_analyzer_diagnostic.severity` line `dotnet-codestyle` forbids is not used. - Some options configure a pair of rules, of which only one fires under the chosen value. Examples are IDE0007 and IDE0008 for `var`, IDE0160 and IDE0161 for namespaces, and IDE0210 and IDE0211 for top-level statements. Both rules of each pair get the entry. The `*_experimental` blank-line options all allow, so IDE2000 to IDE2006 report nothing today. - **`dotnet-codestyle` now agrees with the new rules.** - The guard-clause rule sends a guard that CA1510 to CA1513 match to the throw helper its rule names, such as `ArgumentNullException.ThrowIfNull`. A probe showed such a guard draws both IDE0046 and its CA rule. A `netstandard` project lacks those helpers, so it takes the throw expression where IDE0016, IDE0046, or IDE0270 match. A null-checked local takes `?? throw`, per IDE0270. The rule also names the shape IDE0046 rewrites into one conditional `return`. - The zero-warnings bullet says the IDE warnings fail the `dotnet format style` step, since they never run in the build. The bullet states that `EnforceCodeStyleInBuild` is left unset. IDE0079 is named as the exception, since a probe showed neither the format step nor the build reports it. The bullet says to remove a suppression the IDE flags under it only once the format step and every CI configuration and target framework pass without it. - A new paragraph after the suppression bullets says each code-style option in the root `.editorconfig` takes a `warning` entry for its rules, formatting options excepted. An option alone is the defect this change fixes. - The disposables pattern states a `using` declaration as required wherever IDE0063 matches. - The testing example discards its assertion result, `_ = actual.Should().Be(expected);`, as IDE0058 requires. - The conventions reference states each modern-C# and expression-bodied preference the gate now enforces as required wherever its named IDE rule matches. - The generated `.github/skills/` and `.claude-plugin/` trees are regenerated with `scripts/build_dist.py`. ## Verification A constructed .NET 10 probe in a temporary directory was used, never committed. It has a class library and an xUnit v3 test project with AwesomeAssertions. It set `AnalysisLevel` `latest-all`, `AnalysisMode` `All`, and `TreatWarningsAsErrors`. The gate ran as configured, `dotnet format style --verify-no-changes --severity=info --verbosity=detailed`. - **develop's file:** the violating library reports IDE0054 only, and the skill's own test example passes. - **This branch, before a fix:** the library fails on IDE0003, IDE0008, IDE0022, IDE0025, IDE0032, IDE0046, IDE0054, IDE0058, and IDE0161. The test example as develop's skill wrote it fails on IDE0058. - **This branch, after a fix:** `dotnet format style --severity=info` fixes both projects, a second run settling the IDE0046-then-IDE0022 cascade. The gate then exits 0 on each, and the test reads `_ = actual.Should().Be(expected);`. - `dotnet build` reports no IDE rule, since nothing sets `EnforceCodeStyleInBuild`. So the rules land at the format gate and in the IDE, and the build is unchanged. ## Carried-content note `.editorconfig` is carried whole to every fleet repository. **Every carrying C# repository must fix its code at its next resync of this file.** The reason is the maintainer's strictest-defaults answer, where enforcement wins over avoiding churn. Most findings clear with `dotnet format style --severity=info`, run until it settles. IDE0058 (an unused value, such as a fluent assertion or a `StringBuilder.Append`) and IDE0046 (a guard clause before the final return) are the likeliest to be numerous. So are IDE0210 (top-level statements), IDE0290 (primary constructors), and IDE0047/IDE0048 (clarifying parentheses). No other repository is touched here. ## Local-review findings The pass before the opening push left four `introduced` findings open after its edit budget. The second push fixes each one: - `.agents/skills/dotnet-codestyle/SKILL.md` guard-clause rule: `ThrowIfNull` is missing on `netstandard`. Fixed, the rule gives that target the throw-expression form. - `.agents/skills/dotnet-codestyle/SKILL.md` guard-clause rule: IDE0270 also rewrites an early-throw guard. Fixed, the rule names it. A probe raised no IDE0016 on the parameter-assignment shape, so the rule does not name IDE0016. - `.editorconfig` IDE0036/IDE1006 comment: fixed with explicit `warning` entries, and the comment is gone. - `.agents/skills/dotnet-codestyle/SKILL.md` disposables pattern: fixed, IDE0063 is stated as required. A later pass raised two more, fixed in the same push: the IDE0079 sentence read as covered by the fix-or-suppress rule, and nothing stated that a new option needs its entry. It also raised a naming-rule ordering concern, which a probe disproved, since a private const and an `s_` static field draw no IDE1006. A further pass raised two more, also fixed: IDE0046's fix also matches a parameter null guard, where `ThrowIfNull` now wins. And removing a suppression IDE0079 flags now waits until every configuration and target framework CI builds still passes. The pass before the second push left two `introduced` findings open, and the third push fixes both. The IDE0079 removal condition now names the format step too. The zero-warnings bullet now states that `EnforceCodeStyleInBuild` is left unset. A pass on the third push also widened the throw-helper exemption from CA1510 alone to CA1510 to CA1513, after a probe showed a range guard pairs CA1512 with IDE0046 the same way. Its closing pass raised two more, also fixed: the IDE0046 shape now needs a value-carrying return, and the `netstandard` throw expression is owed only where IDE0016, IDE0046, or IDE0270 match. ## Pre-existing findings, not filed - `.agents/skills/dotnet-codestyle/references/conventions.md > Comments and documentation` (`pre-existing`, false statement): the unit claims missing XML comments for public APIs are suppressed in `.editorconfig`, which carries no CS1591 entry. It is gathered on that unit's tracker, #4387. Closes on promotion: #1842 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- 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 10 seconds. 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.
🔵 Needs a closer look
The change spans a shared Windows process-tree deadline helper, a GitHub Actions promotion-history gate, generated policy copies, and carried .NET severity changes, requiring native Windows and hosted-workflow validation beyond static review.
No open issues 🎉
What changed in this PR
This promotion consolidates fleet-wide workflow safeguards, shared tooling fixes, shell argument contracts, paste-safe documentation checks, registry updates, and stricter C# style enforcement for changes moving from develop to main.
Changes:
- Adds promotion-history validation and recovery guidance for squash or conflicted promotions.
- Centralizes timed subprocess execution and strengthens shell refusal-status handling.
- Updates paste-safe checks, canonical review reporting, carried skills, host-secrets metadata, and C# analyzer defaults.
- The promotion-history gate should be restricted to actual promotions so direct feature branches based on
developare not rejected.
| File | Description |
|---|---|
| tests/test_tooling_encoding.py | Extends encoding checks to the shared deadline helper. |
| tests/test_restore_secrets.py | Verifies exit status 64 for argument refusals. |
| tests/test_pr_review.py | Updates deadline mocks and adds Windows deadline coverage. |
| tests/test_install_tools.py | Verifies exit status 64 for invalid combinations. |
| tests/test_install_agents.py | Verifies exit status 64 for installation refusals. |
| scripts/skills_install.py | Uses the shared subprocess deadline helper. |
| scripts/run_deadline.py | Adds bounded process-tree execution and output decoding. |
| scripts/pr_review.py | Routes review subprocesses through the shared helper. |
| scripts/pr_cleanup.py | Routes cleanup Git commands through the shared helper. |
| scripts/local_review.py | Routes Git and backend commands through the shared helper. |
| scripts/host_gate.py | Routes host probes through the shared helper. |
| reports/conformance-matrix.md | Records the HomeAutomation-Config host-secrets declaration. |
| registry/repos.json | Adds the host-secrets type to HomeAutomation-Config. |
| OPERATIONS.md | Adds paste-safe to the documented local prose gate. |
| host-setup/README.md | Quotes the account placeholder for nested-shell execution. |
| host-setup/linux/upgrade-host.sh | Adds usage refusal handling and signal cleanup. |
| host-setup/linux/setup-github.sh | Adds usage refusal handling and signal cleanup. |
| host-setup/linux/restore-secrets.sh | Adds usage refusal handling. |
| host-setup/linux/README.md | Documents the Linux script exit-status contract. |
| host-setup/linux/install-tools.sh | Adds usage refusal handling and signal cleanup. |
| host-setup/linux/install-skills.sh | Adds usage refusal handling. |
| host-setup/linux/install-safety-kit.sh | Adds usage refusal handling. |
| host-setup/linux/install-global-rules.sh | Adds usage refusal handling. |
| host-setup/linux/install-agents.sh | Adds usage refusal handling and signal cleanup. |
| host-setup/agent-safety/README.md | Makes nested-shell wait examples paste-safe. |
| host-setup/agent-safety/claude/README.md | Quotes repository placeholders in an example. |
| CODESTYLE.md | Defines the shell argument-refusal status contract. |
| .github/workflows/validate-task.yml | Adds promotion-history validation. |
| .github/skills/upstream-contribution-workflow/SKILL.md | Documents refused dirty-branch lease pushes. |
| .github/skills/shell-codestyle/SKILL.md | Carries the shell exit-status contract. |
| .github/skills/python-codestyle/SKILL.md | Carries the command-line refusal contract. |
| .github/skills/pr-review-conduct/SKILL.md | Documents rate-limited successful reviewer checks. |
| .github/skills/local-strict-review/SKILL.md | Binds canonical reviews to written reports. |
| .github/skills/drive-pr/SKILL.md | Documents promotion recovery paths. |
| .github/skills/dotnet-codestyle/SKILL.md | Aligns C# guidance with stricter analyzer defaults. |
| .github/skills/dotnet-codestyle/references/testing.md | Updates assertion examples for IDE0058. |
| .github/skills/dotnet-codestyle/references/conventions.md | Documents required modern C# style rules. |
| .github/skills/comment-and-doc-style/SKILL.md | Updates nested-shell paste-safe guidance. |
| .github/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Documents conflicted-promotion and squash recovery. |
| .github/skills/audit-a-repo/SKILL.md | Documents convention-layout checkout handling. |
| .github/skills/agent-conduct/SKILL.md | Requires the complete test suite before pushes. |
| .github/actions/prose-gate/prose-gate.json | Configures second-shell paste-safe detection and messages. |
| .editorconfig | Raises configured IDE diagnostics to warning severity. |
| .claude-plugin/fleet-skills/skills/upstream-contribution-workflow/SKILL.md | Regenerates upstream contribution guidance. |
| .claude-plugin/fleet-skills/skills/shell-codestyle/SKILL.md | Regenerates shell coding guidance. |
| .claude-plugin/fleet-skills/skills/python-codestyle/SKILL.md | Regenerates Python coding guidance. |
| .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md | Regenerates review-conduct guidance. |
| .claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md | Regenerates strict-review guidance. |
| .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md | Regenerates pull-request driving guidance. |
| .claude-plugin/fleet-skills/skills/dotnet-codestyle/SKILL.md | Regenerates .NET coding guidance. |
| .claude-plugin/fleet-skills/skills/dotnet-codestyle/references/testing.md | Regenerates .NET testing guidance. |
| .claude-plugin/fleet-skills/skills/dotnet-codestyle/references/conventions.md | Regenerates .NET conventions guidance. |
| .claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md | Regenerates documentation guidance. |
| .claude-plugin/fleet-skills/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Regenerates promotion guidance. |
| .claude-plugin/fleet-skills/skills/audit-a-repo/SKILL.md | Regenerates audit guidance. |
| .claude-plugin/fleet-skills/skills/agent-conduct/SKILL.md | Regenerates conduct guidance. |
| .claude-plugin/fleet-skills/.source-digests/upstream-contribution-workflow | Updates the generated upstream workflow digest. |
| .claude-plugin/fleet-skills/.source-digests/shell-codestyle | Updates the generated shell skill digest. |
| .claude-plugin/fleet-skills/.source-digests/python-codestyle | Updates the generated Python skill digest. |
| .claude-plugin/fleet-skills/.source-digests/pr-review-conduct | Updates the generated review-conduct digest. |
| .claude-plugin/fleet-skills/.source-digests/local-strict-review | Updates the generated strict-review digest. |
| .claude-plugin/fleet-skills/.source-digests/drive-pr | Updates the generated pull-request driving digest. |
| .claude-plugin/fleet-skills/.source-digests/dotnet-codestyle | Updates the generated .NET skill digest. |
| .claude-plugin/fleet-skills/.source-digests/comment-and-doc-style | Updates the generated documentation skill digest. |
| .claude-plugin/fleet-skills/.source-digests/branching-and-release-model | Updates the generated promotion guidance digest. |
| .claude-plugin/fleet-skills/.source-digests/audit-a-repo | Updates the generated audit guidance digest. |
| .claude-plugin/fleet-skills/.source-digests/agent-conduct | Updates the generated conduct guidance digest. |
| .agents/skills/upstream-contribution-workflow/SKILL.md | Updates canonical upstream contribution guidance. |
| .agents/skills/shell-codestyle/SKILL.md | Updates canonical shell coding guidance. |
| .agents/skills/python-codestyle/SKILL.md | Updates canonical Python coding guidance. |
| .agents/skills/pr-review-conduct/SKILL.md | Updates canonical reviewer rate-limit guidance. |
| .agents/skills/local-strict-review/SKILL.md | Updates canonical review report guidance. |
| .agents/skills/drive-pr/SKILL.md | Updates canonical promotion-driving guidance. |
| .agents/skills/dotnet-codestyle/SKILL.md | Updates canonical .NET style guidance. |
| .agents/skills/dotnet-codestyle/references/testing.md | Updates canonical .NET testing guidance. |
| .agents/skills/dotnet-codestyle/references/conventions.md | Updates canonical C# conventions. |
| .agents/skills/comment-and-doc-style/SKILL.md | Updates canonical paste-safe documentation guidance. |
| .agents/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Updates canonical promotion recovery guidance. |
| .agents/skills/audit-a-repo/SKILL.md | Updates canonical audit checkout guidance. |
| .agents/skills/agent-conduct/SKILL.md | Updates canonical whole-suite verification guidance. |
Review effort: Lite
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4388 +/- ##
==========================================
+ Coverage 79.29% 79.39% +0.09%
==========================================
Files 45 46 +1
Lines 16007 16070 +63
==========================================
+ Hits 12693 12758 +65
+ Misses 3314 3312 -2
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
|
|
Answer to the Copilot round on 477c4d1 (#4388 (review)). The VERDICT WITH NO COUNTED FINDING block holds (1) headline, and the round's Changes list carries one further claim. Both are answered here.
|
…lts, Secret Sync Fields, and Audit Account Fixes (#4428) Promotes the 28 pull requests that landed on develop since the last promotion (#4388), from the away-mode backlog burndown run. - #4391: Drop the false XML comment suppression claim from the .NET conventions. - #4390: Blank quotations after a heredoc label on its opening line in the paste-safe rule. - #4392: Carry attention lists, cut lists, and opt-in billing in the `backlog_metrics.py` JSON. - #4393: Gate `configure.sh apply`'s interaction limit on a committed bot verification record. - #4394: Make the gh and node report note say a one-line vendor source is configured. - #4395: Add ShellCheck and shfmt lint tasks to the VS Code task snippets. - #4396: Count a CodeRabbit clean pass on the head in the digest's `other_reviewed`. - #4401: Date the line-ending intentRefs by the skill and trim advisory restatements. - #4399: Share one any-level heading region primitive between `heading_body` and `extract_anchored`. - #4398: Name the hub pull requests a standup lands through, and add HACS first-run guidance. - #4404: Add a PowerShell section to CODESTYLE.md and narrow the shell rule. - #4405: Close AUDIT.md section 10's convergence loop and fix three skill pointers. - #4409: Route CODESTYLE.md's General section to the language skills (part of #1153, which stays open). - #4410: Detect a C# test project by its own text rather than its file name. - #4411: Drop the unruled "working gate is not drift" sentence from CODESTYLE.md. - #4412: Track the newest upstream line of each pinned host tool. - #4413: Correct AUDIT.md section 0's account of what the audit checks. - #4416: Add a required coverage shield class to the README audit. - #4414: Tie drive-pr's merge to its authorization and align the pass moments. - #4417: Pass over a second SIGTERM in `pr_review.py` so an interrupt prints one line. - #4418: Point the report-path placeholder at AUDIT.md section 8. - #4419: Correct the audit account copies outside AUDIT.md section 0. - #4422: Drop the archived DevKitCIoT from the rollout checklists. - #4423: Report a stale `pullRequestCheck: false` and correct AUDIT.md section 6. - #4424: Add a `prune` subcommand to retire orphaned canonical review passes. - #4425: Drop the archived DevKitCIoT from the reusable-workflows checklists and fix a normalization docstring. - #4427: Store secret sync metadata in item fields, not 1Password tags. - #4426: Declare and apply the Actions workflow token defaults through `configure.sh` (the `configure.sh` part of #1783, which stays open). ## Owed by the maintainer - #4412: A live run of the new host-tool line tracker. Scheduled runs start only once this reaches `main`, and a `workflow_dispatch` would prove it sooner. - #4426: A fleet `configure.sh apply` for the workflow token defaults, after the per-repository read the 2026-11-01 answer requires. Please also confirm the new `--lower-workflow-token` option, which a `write` repository needs for the apply to lower its default. - #4427: Run `python3 scripts/secrets_sync.py selftest`, then the cleanup script in that pull request's body (`move_sync_tags.py`, dry run first, then `--apply`). Until that runs, every un-migrated secret item refuses to sync. - #4393: The pilot's first interaction limit is set by hand in its settings and its bots verified there. The verification record is committed afterwards through a hub pull request, and only then does `apply` set the limit fleet-wide. - A fleet resync is owed, because carried text changed: AGENTS.md, GOVERNANCE.md, CODESTYLE.md, and several skills. Fixes #4387 Fixes #4383 Fixes #4284 Fixes #1095 Fixes #4299 Fixes #4370 Fixes #4364 Fixes #4173 Fixes #4064 Fixes #3536 Fixes #3929 Fixes #3808 Fixes #3812 Fixes #3810 Fixes #4320 Fixes #4232 Fixes #1748 Fixes #1607 Fixes #1270 Fixes #1170 Fixes #3692 Fixes #4415 Fixes #3908 Fixes #1648 Fixes #4276 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Promotes the ten pull requests that landed on develop since the last promotion: backlog burndown round 5, plus #4374 and #4376.
pr-review-conductMerge Gate names the rate-limitsuccesscheck trap, the only part of The Merge Gate Has No Answer for a Reviewer That Declined to Review #1298 kept per the maintainer's 2026-11-23 answer.validate-task.ymlfails a promotion when main's first-parent chain since the previous promotion holds a single-parent commit, an accidental squash into main. The conflicted-promotion cut and the squash recovery are documented inbranching-and-release-model, anddrive-prpoints at them.canonical_review.py recordbinds each unit's pass to the reviewer's written report rather than a typed--findingscount.host-setup/linuxscripts exits 64 throughdie_usage, and an EXIT trap maps a stray 64 to 1. The contract is stated in CODESTYLE.md "Command-Line Arguments".paste-saferule reads the string handed tosu/runuser -c, a POSIX shell's-c, andssh. This editshost-setup/agent-safety/README.md(two example loops only), which the maintainer approved and merged on 2026-11-24.upstream-contribution-workflowsays what a refused lease push on the dirty branch means.audit-a-repocarries the convention-layout note on its--checkoutpath.scripts/run_deadline.py, so a captured timeout holds its deadline on Windows..editorconfigsets every IDE code-style rule towarning, per the maintainer's strictest-defaults answer, and thedotnet-codestyleskill now agrees with the rules it enforces.Owed by the maintainer before rollout
.editorconfig, the reusablevalidate-task.yml, and several skills..editorconfigresync (Raise the Canonical .editorconfig's IDE Style Rules to Warning #4386). The rules likely to fire most are IDE0058, IDE0046, IDE0210, IDE0290 and IDE0047/IDE0048.048a442ffloor your decision named, but the walk always stops at a later promotion merge, so the floor is never reached. Whether to drop it is your call.Fixes #1615
Fixes #2280
Fixes #3820
Fixes #1298
Fixes #2510
Fixes #4373
Fixes #3804
Fixes #3605
Fixes #4375
Fixes #4345
Fixes #3854
Fixes #1842
🤖 Generated with Claude Code