Skip to content

Quote the Last Paste-Safe Placeholders and Run the Check in the Local Block - #4374

Merged
ptr727 merged 2 commits into
developfrom
feature/1615-paste-safe-remainder
Nov 23, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/1615-paste-safe-remainder

Conversation

@ptr727

@ptr727 ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

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

… 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]>
Copilot AI lite review requested due to automatic review settings November 23, 2026 22:26
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 8fd3bfeb8b3ae1fd872587d942c95e2a1274d817, the content this pull request carries at that commit against develop, and it recorded 0 findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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-safe to the local OPERATIONS.md verification 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

Comment thread scripts/README.md Resolved
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.29%. Comparing base (b38e084) to head (0190f65).
⚠️ Report is 307 commits behind head on develop.

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     
Flag Coverage Δ
python-3.13 79.29% <ø> (-2.32%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Head commit changed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727

ptr727 commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 0190f65361902e98d11f3035f3eb1774e558a76d, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 8068abc into develop Nov 23, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/1615-paste-safe-remainder branch November 23, 2026 23:10
ptr727 added a commit that referenced this pull request Nov 24, 2026
…, 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants