Repository navigation
Description
A placeholder written as a bare <name> inside a shell block is an input redirection, so pasting the line dies before the command runs. #1649 fixed this class in canonical_review.py's printed record line and in both runnable blocks of the local-strict-review Skill, and left the instances below, each outside that pull request's diff.
Repro
bash -c "echo record --findings <count>"
# bash: count: No such file or directoryWith a file of that name present it is worse than a failure: bash removes the token, so --findings swallows the next argument and the command runs with the wrong value.
Sites
GOVERNANCE.md, the pinned-prose-gate reproduction recipe, which holdsshow <hub-sha>:...and--diff <base> -- .unquoted. This one carries atintentfidelity into every fleet repository, so it is the widest-reaching of the three.scripts/local_review.py's moduleUsage:block, which keeps--reviewer <id>,--expect-digest <digest>and[--target <branch>]unquoted. Its sibling engine's block now quotes the same placeholders, so the two engines disagree about the convention..agents/skills/local-strict-review/SKILL.md's diff-pass block, where[--findings N]is optional-argument notation rather than a placeholder. It parses, and pasted whole it hands argparse two literal words and errors with "unrecognized arguments", while the block two sections down writes the same flag as--findings '<count>'.
Why a bare placeholder is worth quoting rather than annotating
Quoting costs two characters and changes no command's meaning: --findings '3' reaches type=int as 3, and a quoted branch name or digest is byte-identical after word splitting. A reader who substitutes and leaves the quotes in place gets the right result, and one who pastes to see the shape gets a usage error from the tool rather than a shell error naming a file they never mentioned.
Precedent
#1616 settled the same shape for AUDIT.md's owner and repository placeholders. #1649's own fix is the second instance. This issue is the remainder.
Activity
Promote the Weekly Carried-Content Sweep to Main (#1654)
Quote the Review Engine's Remaining Bare Shell Placeholders (#2098)