Repository navigation
Gate Unquoted Placeholders in Copy-and-Run Commands - #4353
Conversation
State the paste-safe rule in GOVERNANCE.md "Documentation Style Conventions" as a "Copy-and-Run Commands" subsection, and carry it into comment-and-doc-style as a generated include. A command in Markdown holds no bare <placeholder>, no [Placeholder] glob, and no bare a|b alternation. A choice between values names the common one and puts the other in a parenthetical. Add the default paste-safe rule to the prose gate. It reads each code span that opens with a command, and each line of a shell or PowerShell fence, with quotations, escapes, expansions, comments, and heredoc bodies read as literal. Quote every instance in files no other group holds this round, carried text included, and regenerate the skill distributions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Read each command through the gate's own bash and PowerShell lexers rather than a hand-written tokenizer, which also takes the <<\EOF heredoc form. Read an assignment from a command substitution as the command it runs, extend the command names, and share the blockquote split with blank_inline. Give a command line its own dialect field. State how a placeholder for several words and one inside a second shell's string are written, what the alternation case runs, and which commands the gate reads. Keep paste-safe out of the local whole-tree block while its backlog stands. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…safe-placeholders
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n Extras Install Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
State that a single argument holding spaces keeps its quotes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The change has unresolved correctness issues in the prose linter that reject valid shell examples, along with documented commands whose argument quoting causes them to fail or behave incorrectly.
5 open issues
What changed in this PR
This pull request adds a default paste-safe prose-gate rule for copy-and-run Markdown commands, updates governance guidance and affected documentation, and refreshes carried skill distributions.
Changes:
- Adds Bash and PowerShell command scanning for unsafe placeholders, globs, and alternations.
- Documents safe placeholder quoting and updates existing command examples.
- Updates canonical skills, generated distributions, tests, and source digests.
| File | Description |
|---|---|
| TODO.md | Quotes a repository placeholder in a documented command example. |
| tests/test_prose_lint.py | Adds coverage for the paste-safe rule and command parsing behavior. |
| STANDUP.md | Replaces an unsafe model alternation with a paste-safe explanation. |
| scripts/README.md | Documents the new default rule and its remaining backlog. |
| OPERATIONS.md | Updates local gate commands and records the temporary whole-tree exception. |
| GOVERNANCE.md | Adds the Copy-and-Run Commands contract and updates command examples. |
| docs/reusable-workflows.md | Quotes a release-tag placeholder in an API path. |
| docs/eol-lf-rollout.md | Quotes worktree path and branch placeholders. |
| CODESTYLE.md | Updates the standalone-script invocation example. |
| catalog/snippets/pre-commit/README.md | Quotes the tool placeholder in a pre-commit example. |
| catalog/snippets/configs/AUDIT.md | Quotes repository, model, and audit-target placeholders. |
| AGENTS.md | Updates process-management command examples with quoted placeholders. |
| .github/skills/workflow-ci-contract/SKILL.md | Updates the workflow contract command example. |
| .github/skills/upstream-contribution-workflow/SKILL.md | Updates rebase and remote-reference command examples. |
| .github/skills/session-handoff/SKILL.md | Updates clone, path, and cleanup command examples. |
| .github/skills/resync-a-repo/SKILL.md | Updates audit, repository, branch, and cleanup command examples. |
| .github/skills/repo-worktree/SKILL.md | Updates worktree, path, branch, and cleanup command examples. |
| .github/skills/python-codestyle/SKILL.md | Updates Python tool and project command examples. |
| .github/skills/python-codestyle/references/profiles.md | Updates Python profile command examples. |
| .github/skills/pr-review-conduct/SKILL.md | Updates review command arguments and path examples. |
| .github/skills/merge-and-release/SKILL.md | Updates release, run, commit, and worktree command examples. |
| .github/skills/local-strict-review/SKILL.md | Updates target, remote-reference, and hub-checkout command examples. |
| .github/skills/git-commit-conventions/SKILL.md | Updates destructive-branch command examples. |
| .github/skills/git-commit-conventions/references/history-rewrite.md | Updates history-rewrite branch and tag command examples. |
| .github/skills/drive-pr/SKILL.md | Updates pull-request, repository, and cleanup command examples. |
| .github/skills/comment-and-doc-style/SKILL.md | Adds the generated copy-and-run command guidance and trigger. |
| .github/skills/check-this-repo/SKILL.md | Updates live commit and branch command examples. |
| .github/skills/branching-and-release-model/SKILL.md | Updates repository and pull-request command examples. |
| .github/skills/branching-and-release-model/references/release-publish-mechanics.md | Updates run and branch API command examples. |
| .github/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Updates ruleset and promotion command examples. |
| .github/skills/audit-a-repo/SKILL.md | Updates audit, repository, and cleanup command examples. |
| .github/actions/prose-gate/prose-gate.json | Registers the rule, messages, command names, fence languages, and dialects. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/SKILL.md | Refreshes the generated Claude workflow contract skill. |
| .claude-plugin/fleet-skills/skills/upstream-contribution-workflow/SKILL.md | Refreshes the generated Claude upstream contribution skill. |
| .claude-plugin/fleet-skills/skills/session-handoff/SKILL.md | Refreshes the generated Claude session handoff skill. |
| .claude-plugin/fleet-skills/skills/resync-a-repo/SKILL.md | Refreshes the generated Claude resync skill. |
| .claude-plugin/fleet-skills/skills/repo-worktree/SKILL.md | Refreshes the generated Claude worktree skill. |
| .claude-plugin/fleet-skills/skills/python-codestyle/SKILL.md | Refreshes the generated Claude Python style skill. |
| .claude-plugin/fleet-skills/skills/python-codestyle/references/profiles.md | Refreshes the generated Claude Python profiles reference. |
| .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md | Refreshes the generated Claude review conduct skill. |
| .claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md | Refreshes the generated Claude local review skill. |
| .claude-plugin/fleet-skills/skills/git-commit-conventions/SKILL.md | Refreshes the generated Claude Git conventions skill. |
| .claude-plugin/fleet-skills/skills/git-commit-conventions/references/history-rewrite.md | Refreshes the generated Claude history rewrite reference. |
| .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md | Refreshes the generated Claude pull-request driving skill. |
| .claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md | Refreshes the generated Claude documentation style skill. |
| .claude-plugin/fleet-skills/skills/check-this-repo/SKILL.md | Refreshes the generated Claude repository-check skill. |
| .claude-plugin/fleet-skills/skills/branching-and-release-model/SKILL.md | Refreshes the generated Claude branching model skill. |
| .claude-plugin/fleet-skills/skills/branching-and-release-model/references/release-publish-mechanics.md | Refreshes the generated Claude release mechanics reference. |
| .claude-plugin/fleet-skills/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Refreshes the generated Claude promotion reference. |
| .claude-plugin/fleet-skills/skills/audit-a-repo/SKILL.md | Refreshes the generated Claude audit skill. |
| .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract | Updates the generated workflow contract source digest. |
| .claude-plugin/fleet-skills/.source-digests/upstream-contribution-workflow | Updates the generated upstream contribution source digest. |
| .claude-plugin/fleet-skills/.source-digests/session-handoff | Updates the generated session handoff source digest. |
| .claude-plugin/fleet-skills/.source-digests/resync-a-repo | Updates the generated resync source digest. |
| .claude-plugin/fleet-skills/.source-digests/repo-worktree | Updates the generated worktree source digest. |
| .claude-plugin/fleet-skills/.source-digests/python-codestyle | Updates the generated Python style source digest. |
| .claude-plugin/fleet-skills/.source-digests/pr-review-conduct | Updates the generated review conduct source digest. |
| .claude-plugin/fleet-skills/.source-digests/merge-and-release | Updates the generated merge and release source digest. |
| .claude-plugin/fleet-skills/.source-digests/local-strict-review | Updates the generated local review source digest. |
| .claude-plugin/fleet-skills/.source-digests/git-commit-conventions | Updates the generated Git conventions source digest. |
| .claude-plugin/fleet-skills/.source-digests/drive-pr | Updates the generated pull-request driving source digest. |
| .claude-plugin/fleet-skills/.source-digests/comment-and-doc-style | Updates the generated documentation style source digest. |
| .claude-plugin/fleet-skills/.source-digests/check-this-repo | Updates the generated repository-check source digest. |
| .claude-plugin/fleet-skills/.source-digests/branching-and-release-model | Updates the generated branching model source digest. |
| .claude-plugin/fleet-skills/.source-digests/backlog-burndown | Updates the generated backlog burndown source digest. |
| .claude-plugin/fleet-skills/.source-digests/audit-a-repo | Updates the generated audit source digest. |
| .agents/skills/workflow-ci-contract/SKILL.md | Updates the canonical workflow contract skill source. |
| .agents/skills/upstream-contribution-workflow/SKILL.md | Updates the canonical upstream contribution skill source. |
| .agents/skills/session-handoff/SKILL.md | Updates the canonical session handoff skill source. |
| .agents/skills/resync-a-repo/SKILL.md | Updates the canonical resync skill source. |
| .agents/skills/repo-worktree/SKILL.md | Updates the canonical worktree skill source. |
| .agents/skills/python-codestyle/SKILL.md | Updates the canonical Python style skill source. |
| .agents/skills/python-codestyle/references/profiles.md | Updates the canonical Python profiles reference. |
| .agents/skills/pr-review-conduct/SKILL.md | Updates the canonical review conduct skill source. |
| .agents/skills/local-strict-review/SKILL.md | Updates the canonical local review skill source. |
| .agents/skills/git-commit-conventions/SKILL.md | Updates the canonical Git conventions skill source. |
| .agents/skills/git-commit-conventions/references/history-rewrite.md | Updates the canonical history rewrite reference. |
| .agents/skills/drive-pr/SKILL.md | Updates the canonical pull-request driving skill source. |
| .agents/skills/comment-and-doc-style/SKILL.md | Adds the canonical copy-and-run command guidance. |
| .agents/skills/check-this-repo/SKILL.md | Updates the canonical repository-check skill source. |
| .agents/skills/branching-and-release-model/SKILL.md | Updates the canonical branching model skill source. |
| .agents/skills/branching-and-release-model/references/release-publish-mechanics.md | Updates the canonical release mechanics reference. |
| .agents/skills/branching-and-release-model/references/branch-protection-and-promotion.md | Updates the canonical promotion reference. |
| .agents/skills/audit-a-repo/SKILL.md | Updates the canonical audit skill source. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4353 +/- ##
===========================================
- Coverage 81.60% 79.57% -2.04%
===========================================
Files 26 45 +19
Lines 9070 15937 +6867
===========================================
+ Hits 7402 12682 +5280
- Misses 1668 3255 +1587
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:
|
…ate the Fence Form Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
@coderabbitai review |
|
/review |
Action not completed
|
…safe-placeholders
… One More Instance Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
…ix the PowerShell Feed Comment (#4357) Fixes the three blockers on promotion PR #4356: its lint failure and two Copilot threads. It also reduces #1615's remaining `paste-safe` instances. Closes on promotion: none ## Changes - `docs/repo-config.md` and `repo-config/README.md`: every `paste-safe` instance (11 and 8 left by #4353) is quoted per `GOVERNANCE.md` "Copy-and-Run Commands". Placeholders are quoted, and each `release|operational` alternation is the common value `release` with the other named in a parenthetical or, in the shell fence, a trailing comment. `prose_lint.py --check paste-safe` reports zero on both files. - `host-setup/linux/install-tools.sh`: the two comment lines above `run_root dpkg -i` said a failed feed goes on to remove a working `pwsh`. Since #4352, `powershell_install` stops at `microsoft_feed || return 1` before `powershell_remove_non_apt`, so the comment now says both callers stop on a failed feed and only a failed `dpkg -i` ends the run. Comments only, so this PR carries the `comments` label. ## Copilot finding on `validate-task.yml` (Setup uv step `hashFiles`), declined, no change - GitHub's reuse-workflows article: "Subdirectories of the `workflows` directory are not supported." https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows . The workflow syntax article adds that workflow files must be stored in `.github/workflows`. A nested file is neither a caller nor a callee, so the `.github/workflows/*.yml` glob covers every file GitHub runs. ## Pre-existing findings, not filed - `.github/actions/repo-gate/repo_gate.py:56`, `WORKFLOW = re.compile(r"workflows/.*\.ya?ml$")`, class `pre-existing`: `workflow-inputs` (and sha-pin) scan nested and any `*/workflows/*.yml` path, which GitHub never runs. Harmless over-scan, so repo_gate.py is not changed here. - `repo-config/README.md:102`, `gh api PATCH /repos/{owner}/{repo}` in a parenthetical is not valid gh syntax and is not a command to paste, class `pre-existing`. ## Verification Full unittest suite, prose gate on the diff (`--allow-comments`), `paste-safe` on both files, shellcheck and shfmt on install-tools.sh. Local strict review recorded, 0 findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…laceholders (#4358) ## Summary Fixes the five previously-missed Copilot findings on promotion PR #4356 (review key `fb86dd4d035b`), plus two local-pass findings. All five Copilot findings are wrong-behavior defects that the paste-safe quoting in #4353 and #4357 introduced. Each quoted a placeholder whole although its documented value opens `~`, or although it stands for several arguments. The fix applies `GOVERNANCE.md` "Copy-and-Run Commands" as written. Where the value opens `~`, the quotes wrap the placeholder alone and the tilde sits outside them. Where the value is a command and its arguments, it replaces the quotes, and the text now says so. Copilot findings from #4356: - `.agents/skills/drive-pr/SKILL.md:127` and the cleanup invocation at `:186`. `--checkout "<base-clone>"` becomes `--checkout ~/repos/"<Repo>"`, and the prose names `~/repos/<Repo>` as the primary clone. - `.agents/skills/repo-worktree/SKILL.md:256` and the sweep command at `:286`. The same change. The class sweep also fixed the standalone-clone fence at `:144`, `git -C "<base-clone>" remote get-url origin`, which predates #4353 and had the same defect. - `.agents/skills/resync-a-repo/SKILL.md:52`. The same change, with the prose naming `~/repos/<Repo>` as that repository's primary clone. - `.agents/skills/session-handoff/SKILL.md:220` and `:224`. `"<worktrees>"` and `"<clone>"` become `~/repos/worktrees/ProjectTemplate-hub-"<unique>"`, the fleet worktree directory `repo-worktree` names. The class sweep also fixed the same `"<clone>"` read in step 4 at `:300`. - `AGENTS.md:55`, "Bound every probe". `setsid --wait timeout "<n>" "<probe>"` now says that the probe's command and its own arguments replace the quotes, so each stays a word of its own. Local-pass findings: - `AUDIT.md` section 6. The list of what `configure.sh check` covers now names a public repository's interaction limit, the `check_interaction` group #4349 added. - `.github/actions/repo-gate/repo_gate.py`, the `check_workflow_inputs` docstring. Its overlong lines are rewrapped to the 100-column limit, words unchanged. Closes on promotion: none ## Pre-existing findings, not filed The same `"<base-clone>"` form, with a documented `~/repos/<Repo>` value, sits in files this pull request does not touch. The local pass raised them as one root cause, and they are reported to the orchestrator rather than edited here. Each is a `pre-existing` correctness defect, a literal tilde reaching `cleanup --checkout`: - `.agents/skills/backlog-burndown/SKILL.md:469` - `.agents/skills/merge-and-release/SKILL.md:226` and `:244` - `.agents/skills/pr-review-conduct/SKILL.md:402` - `.agents/skills/audit-a-repo/SKILL.md:48`, as `"<hub-base-clone>"` ## Verification - `python3 scripts/prose_lint.py <each edited Markdown file> --check paste-safe` passes. - `python3 scripts/prose_lint.py . --diff "$(git merge-base origin/develop HEAD)"` passes. - `uv run --no-project --script scripts/build_dist.py --check` reports the generated trees current. - The `OPERATIONS.md` "Local Verification" block (ruff, ruff format, mypy, the unittest suites, `repo_gate.py`, and the prose runs) was run in full. - In bash, `~/repos/"X"` and `~/repos/worktrees/ProjectTemplate-hub-"abc"` both expand the tilde. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…afe Commands, and Workflow Input Check (#4368) Promotes the eleven pull requests that landed on develop since the last promotion. - #4348: Say where a reviewer's clean pass leaves its record. `pr-review-conduct` "Silence is not evidence" now states that a clean pass can leave an empty-bodied review or, for CodeRabbit, only a summary comment line. - #4351: Count a CodeRabbit clean pass its summary alone records. `side_answered` and `side_rounds` read the summary comment, so `wait` stops re-requesting a head CodeRabbit already passed. - #4346: Detect and report a one-off rather than correct it by code, and let a rollback carry a `Reopens on promotion:` line (operational repositories). `add-host-tool` now reports a shadowing copy instead of removing it. - #4349: Declare a `publicInteraction` policy per repository in the registry and apply and check it from `repo-config/configure.sh` (GitHub interaction limit, Discussions off by default). - #4352: The PowerShell install stops on a refusal, a tool with no Microsoft feed fails alone while the run continues, and an unmanaged `gh` or `op` in install mode says `--upgrade` moves it. - #4353: Copy-and-run commands in Markdown are paste-safe, with a new "Copy-and-Run Commands" rule, a generated include in `comment-and-doc-style`, and a default `paste-safe` prose gate rule. - #4350: Register every Claude Code hook the host-safety kit installs in exec form on all platforms, and rewrite shell-form registrations. This edits the agent's own guard. - #4354: A new repo-gate check, `workflow-inputs`, compares each reusable-workflow call's `with:` keys against the callee at the caller's pin. - #4357: Quote the remaining paste-safe commands in the repo-config docs and update the stale PowerShell feed comment, the fix for the promotion's own lint failure and Copilot thread. - #4358: Keep the tilde outside the quotes in the base-clone placeholders and keep the probe executable and arguments as separate tokens, the fix for the five Copilot findings on this promotion, plus the AUDIT.md interaction-check coverage and the repo-gate docstring wrap. - #4359: Keep the tilde outside the quotes in the remaining base-clone placeholders, the sibling sweep of the same defect. ## Owed by the maintainer before rollout From #4349: - Run the live `repo-config/configure.sh apply` on each repository. Until it runs, `configure.sh check` and the audit flag the public repositories. - Confirm that Copilot, CodeRabbit, Qodo and Dependabot still work under the interaction limit. - Update other repositories' README links to Discussions, since Discussions go off by default. From #4353: it changed carried text, so a fleet resync is owed. ## Local-pass findings Class and disposition for the four findings the recorded local pass raised on the earlier head: - `host-setup/linux/install-tools.sh` removal code (`powershell_remove_non_apt`, `remove_unowned_command`, `op_remove_download`, docker and shadow removals) against the one-off rule, class `introduced`: tracked by #4347, not this pull request. - `Reopens on promotion:` exists for operational repositories only, class `introduced`: declined under the maintainer's answer on #4175, which places the rule in "Operational Repositories". - `AUDIT.md` does not list the interaction-limit check, class `introduced`: fixed in #4358. - `repo_gate.py` `check_workflow_inputs` docstring lines over the line length, class `introduced`: fixed in #4358. Fixes #4170 Fixes #4175 Fixes #4329 Fixes #4172 Fixes #4124 Fixes #2596 Fixes #4040 Fixes #2822 Fixes #3896 Supersedes #4356 because of the `.github/workflows/validate-task.yml` Dependabot conflict (the `astral-sh/setup-uv` pin bump on main beside the `if:` condition #4354 changed on develop), resolved from develop's side as a strict superset of main's. The merged tree equals develop's. This also carries #4365, #4366 and #4367, the fixes for findings raised on #4356; none of them closes an issue. ## Findings on this promotion's head Local pass over the whole `main` diff (four findings) and the Copilot round (two threads): - `configure.sh` `publicInteraction` lookup matches the registry name exactly while apply's guard matches case-insensitively, class `introduced` (#4349): declined with evidence. A name differing only in letter case makes `spec/resolve_description.py` exit 1 at `configure.sh` line 331, before `cmd_apply` or any `gh api --method` call, so no limit is written on the wrong value. Checked by running the lookup on sample JSON, and no write is reachable. - The ungrammatical `hook the host keeps of its own` phrase (Copilot thread), class `introduced` (#4350): fixed in #4369 into develop. - Copilot's README Discussions thread: declined with evidence, the canonical-link list names a link when present and does not require it, and #4349 turned Discussions off. - `Reopens on promotion:` scoped to operational repositories, class `introduced`: declined under the maintainer's answer on #4175, which places the rule in "Operational Repositories". - `add-host-tool` detect-and-report against the installer's removal code, class `introduced` (#4352 and #4346): tracked by #4347, not this pull request. - The interaction-limit precondition is not enforced by `apply`: tracked by #4364. 🤖 Generated with [Claude Code](https://claude.com/claude-code)


Summary
Settles how a copy-and-run command in Markdown names a placeholder. Per the maintainer's 2026-11-01 answer, every command a reader copies and runs is paste-safe. It carries no bare
<placeholder>, no[Placeholder]glob, and no barea|balternation. A choice between values uses resync-a-repo's form: the common value, then a parenthetical naming the other.GOVERNANCE.md"Documentation Style Conventions" gains a "Copy-and-Run Commands" subsection.comment-and-doc-stylecarries it as a generated include and adds a trigger for it.paste-saferule. It reads two things in Markdown:./path, or a script given an argument);${...}, comments, and heredoc labels and bodies are literal, and a$(...)inside double quotes is code again. A string handed to a second shell, assh -ctakes one, is read as the quotation it is to the first; the GOVERNANCE text says how to quote a placeholder inside one. In a table cell, it reads an escaped pipe as the pipe it renders. PowerShell fences skip the bracket shape, so a type literal such as[Environment]::is not flagged. The command names, fence languages, and dialects live inprose-gate.json.AUDIT.md's one-off"<release|operational>"notation now uses the literal-default form like every other surface.scripts/README.mdgains apaste-safeparagraph in its default-rule list.OPERATIONS.mdleavespaste-safeout of its local whole-tree block until the backlog below is fixed, since that backlog would stop the block, and says so.catalog/snippets/configs/AUDIT.md: quoted, not exempted. Its tokens are the onesspec/files.jsonsubstitutes (<owner>/<repo>,<model>,<Repo>). Each still occurs literally, sospec/validate.py's placeholder check passes. A carried copy reads as, for example,check "owner/name" "release", which is correct and paste-safe. The entry is fidelityintent, so nothing compares its bytes.Rollout. The rule ships enabled. Every CI and hook run of the gate is diff-scoped, so an existing line in a fleet repository fails only when it is next edited. Carried hub text is fixed here: the verbatim sections of
AGENTS.mdandGOVERNANCE.md,CODESTYLE.md, every skill under the carried.github/skills/tree, and theAUDIT.mdtemplate. So a resync carries clean lines. A resync is owed for the carried sections this changes.Not complete: left for a round-5 follow-up
These instances sit in files outside this change's scope this round and are deliberately left unfixed. They are hub-only files, not carried, so they bite only when one of these lines is next edited.
docs/repo-config.md, 11 findingsrepo-config/README.md, 8 findingsscripts/README.md, 8 findingshost-setup/agent-safety/claude/README.md, 2 findingshost-setup/agent-safety/README.md, 1 findingscripts/README.md's whole-tree statements name thepaste-safebacklog as the exception until these are fixed.Known gap of the rule.
host-setup/README.md:32 holds a placeholder inside asu -cstring. The gate reads a string handed to a second shell as a plain quotation, so it does not report it. It is left as is.#1615 stays open for these, so this pull request does not close it.
Verification
tests/test_prose_lint.pygainsTestPasteSafeRule. The fullunittest discover -s testssuite passes.spec/validate.py,repo_gate.py,build_dist.py --check, anddocker_lint.pyare clean.developis clean.prose_lint.py . --check paste-safereports findings only in the files listed above.🤖 Generated with Claude Code