Repository navigation
Quote the Last Paste-Safe Placeholders and Run the Check in the Local Block - #4374
Conversation
… Block Quote the eleven placeholders the paste-safe rule still reported in scripts/README.md and the two agent-safety READMEs, plus the placeholder inside host-setup/README.md's su -c string, which the inner shell would read as a redirection. With the tree clean, OPERATIONS.md's local block runs --check paste-safe again and the backlog exception wording goes. Refs #1615 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🟡 Changes recommended
An active moderate issue remains because the documented pre-commit command combines multiple staged paths into one argument, preventing the gate from processing multi-file commits correctly.
1 open issue
What changed in this PR
This PR completes the remaining paste-safe documentation cleanup and enables the rule in the local whole-tree verification block. The staged-path placeholder in scripts/README.md is quoted as a single argument, which breaks commands involving multiple staged files.
Changes:
- Quotes remaining shell-sensitive placeholders across repository documentation.
- Adds
--check paste-safeto the localOPERATIONS.mdverification command. - Removes outdated backlog wording from the related documentation.
| File | Description |
|---|---|
| scripts/README.md | Quotes command placeholders and removes outdated paste-safe backlog wording. |
| OPERATIONS.md | Adds paste-safe to the local whole-tree prose verification command. |
| host-setup/README.md | Quotes the account placeholder inside the nested su -l shell command. |
| host-setup/agent-safety/README.md | Quotes the Git ref placeholder in the documented rev-parse command. |
| host-setup/agent-safety/claude/README.md | Quotes the repository placeholder in the GH_REPO environment override example. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4374 +/- ##
===========================================
- Coverage 81.60% 79.29% -2.32%
===========================================
Files 26 45 +19
Lines 9070 16007 +6937
===========================================
+ Hits 7402 12693 +5291
- Misses 1668 3314 +1646
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:
|
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@coderabbitai review |
|
/review |
Action not completed
|
|
A recorded local strict-review pass covers head |
…, Shared Run Deadline, and Second-Shell Paste-Safe (#4388) Promotes the ten pull requests that landed on develop since the last promotion: backlog burndown round 5, plus #4374 and #4376. - #4374: Quote the last paste-safe placeholders and run the check in the local block (the #1615 remainder). - #4376: Declare host-secrets for HomeAutomation-Config in the registry. - #4378: GOVERNANCE.md "Verification Discipline" requires the whole test suite before every push. The Husky hook bullet says it passes the staged paths to the prose gate. The `pr-review-conduct` Merge Gate names the rate-limit `success` check trap, the only part of #1298 kept per the maintainer's 2026-11-23 answer. - #4379: `validate-task.yml` fails 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 in `branching-and-release-model`, and `drive-pr` points at them. - #4380: `canonical_review.py record` binds each unit's pass to the reviewer's written report rather than a typed `--findings` count. - #4381: Every argument refusal in the `host-setup/linux` scripts exits 64 through `die_usage`, and an EXIT trap maps a stray 64 to 1. The contract is stated in CODESTYLE.md "Command-Line Arguments". - #4382: The prose gate's `paste-safe` rule reads the string handed to `su`/`runuser -c`, a POSIX shell's `-c`, and `ssh`. This edits `host-setup/agent-safety/README.md` (two example loops only), which the maintainer approved and merged on 2026-11-24. - #4384: `upstream-contribution-workflow` says what a refused lease push on the dirty branch means. `audit-a-repo` carries the convention-layout note on its `--checkout` path. - #4385: Every timed captured run in the review and install tooling goes through one shared `scripts/run_deadline.py`, so a captured timeout holds its deadline on Windows. - #4386: The canonical `.editorconfig` sets every IDE code-style rule to `warning`, per the maintainer's strictest-defaults answer, and the `dotnet-codestyle` skill now agrees with the rules it enforces. ## Owed by the maintainer before rollout - A fleet resync is owed, because carried text changed: GOVERNANCE.md, CODESTYLE.md, `.editorconfig`, the reusable `validate-task.yml`, and several skills. - Every carrying C# repository has to fix its code at its next `.editorconfig` resync (#4386). The rules likely to fire most are IDE0058, IDE0046, IDE0210, IDE0290 and IDE0047/IDE0048. - HomeAutomation-Config#1466 can adopt the exit-64 contract once this is released. - #4379 keeps the `048a442f` floor 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](https://claude.com/claude-code)

Summary
Clears the last of the
paste-safebacklog from #1615 and puts the rule back in the local whole-tree block.scripts/README.md, two inhost-setup/agent-safety/claude/README.md, and one inhost-setup/agent-safety/README.md.host-setup/README.md'ssu -l root -c '...'string. The gate does not read inside that string, but the inner shell would read<account>as a redirection.--check paste-safetoOPERATIONS.md's local prose block, and removes the wording inOPERATIONS.mdandscripts/README.mdthat 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
Closesline goes on the promotion PR.Verification
python3 scripts/prose_lint.py .(the default rules, whole tree) exits 0. Before this change,--check paste-safereported 11 violations across 3 files.OPERATIONS.mdblock line,scripts/repo_gate.py,scripts/build_dist.py --check, andspec/validate.pyall pass.frontiertier found nothing.🤖 Generated with Claude Code