Repository navigation
Quote the Placeholders in Shell Fences So a Pasted Line Parses - #1749
Conversation
A shell reads an unquoted `<N>` as input redirection, so the line fails on a missing file before the command runs. STANDUP.md already states the rule and quotes its own example, and 23 source lines still broke it: repo-worktree and session-handoff, GOVERNANCE.md, RESYNC.md, STANDUP.md itself, and docs/devcontainer.md. Each placeholder is now double quoted, a leading `~/` stays outside the quotes so it still expands, and the generated skills trees are rebuilt. Prose and inline code spans are unchanged. Fixes #1744 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Outer double quotes do not protect the inside of `$(...)`, so the `<base-clone>` in repo-worktree's TASK_ORIGIN line still redirected. Also realign the devcontainer comment column the first change moved. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
@coderabbitai review |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (6)
📒 Files selected for processing (6)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughShell command examples across skills and repository documentation now quote placeholder arguments. No command behavior or implementation logic changed. ChangesShell example quoting
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~4 minutes Merge Risk: ⚪ Minimal · up to This PR updates example quoting and matching skill digests without a concrete behavior risk, so it is mergeable subject to normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes are consistent, paste-safe, and confined to documentation/skill text plus regenerated artifacts, with no functional code-path impact.
Review effort: Lite
Findings: None
What changed in this PR
This PR standardizes Markdown shell-fence examples across the repo by quoting angle-bracket placeholders (for example, "<Repo>") so pasted commands do not get misparsed as input redirection, and updates the generated skills trees accordingly.
Changes:
- Quoted all angle-bracket placeholders inside
sh/bash/shellfenced snippets in core docs and skill sources (preserving~/expansion by keeping~/outside quotes). - Updated command-substitution placeholders where quoting is required inside
$(...). - Regenerated the
.github/skills/and.claude-plugin/fleet-skills/trees (including updated source digests).
| File | Description |
|---|---|
| STANDUP.md | Quotes placeholders in shell-fence commands used during standup and baseline carry. |
| RESYNC.md | Quotes placeholders in shell-fence commands used during resync and audit workflows. |
| GOVERNANCE.md | Quotes placeholders in the pinned prose-gate reproduction snippet to keep it paste-safe. |
| docs/devcontainer.md | Quotes the <package> placeholder in the Python-container verification snippet. |
| .agents/skills/session-handoff/SKILL.md | Quotes placeholders in handoff tool examples (source of truth for generated skills). |
| .agents/skills/repo-worktree/SKILL.md | Quotes placeholders in worktree/clone examples (source of truth for generated skills). |
| .github/skills/session-handoff/SKILL.md | Regenerated copy reflecting the updated session-handoff source skill. |
| .github/skills/repo-worktree/SKILL.md | Regenerated copy reflecting the updated repo-worktree source skill. |
| .claude-plugin/fleet-skills/skills/session-handoff/SKILL.md | Regenerated plugin skill copy reflecting the updated source skill. |
| .claude-plugin/fleet-skills/skills/repo-worktree/SKILL.md | Regenerated plugin skill copy reflecting the updated source skill. |
| .claude-plugin/fleet-skills/.source-digests/session-handoff | Updated digest to match regenerated session-handoff content. |
| .claude-plugin/fleet-skills/.source-digests/repo-worktree | Updated digest to match regenerated repo-worktree content. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Promotes one change: angle-bracket placeholders in shell fences are now quoted, so a pasted line parses instead of failing on input redirection. Closes #1744 ## What reaches main Every `sh`, `bash` and `shell` fence in tracked Markdown that had an unquoted angle-bracket placeholder now quotes it, following the rule `STANDUP.md` already states. That covers the `repo-worktree` and `session-handoff` skills, both generated skills trees, `GOVERNANCE.md`, `RESYNC.md`, `STANDUP.md`, and `docs/devcontainer.md`. A leading `~/` stays outside the quotes so it still expands. A placeholder inside a `$(...)` command substitution is quoted as well, since the outer double quotes don't protect it. Prose and inline code spans are unchanged. Also carries #1752, a Dependabot bump of `astral-sh/setup-uv` from 10.1.0 to 10.2.0 that the merge bot landed on develop after this pull request opened. `#1744` was closed early by the previous promotion even though its lines were still unfixed. It was reopened, and this promotion closes it for real. ## Review state Merged to develop as f747d1e, then #1752 as 0cba92c. Copilot reviewed both heads with full coverage and no findings. On #1749, CodeRabbit generated no actionable comments, and there were no threads. CodeRabbit is rate-limited on this pull request. Two local strict review passes ran. The first found a placeholder inside a command substitution, and that is fixed. The second found nothing. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A shell reads an unquoted
<N>as input redirection, so a pasted line fails on a missing file before the command runs, and the error names the file rather than the placeholder that wasn't filled in.STANDUP.mdalready states the rule and quotes its own example. This change brings every other shell fence into line with it.sh,bashandshellfences:repo-worktree,session-handoff,GOVERNANCE.md,RESYNC.md,STANDUP.mdanddocs/devcontainer.md.~/stays outside the quotes so it still expands, for example~/repos/"<Repo>".repo-worktree. The outer double quotes don't protect the inside of$(...).scripts/build_dist.py.Prose and inline code spans are out of scope, per the issue.
Verified: no shell fence in tracked Markdown still has a
<outside quotes, apart from the deliberate redirection inOPERATIONS.md.build_dist.py --check,spec/validate.py, the pre-commit gates and the pytest suite all pass. Two local strict review passes are recorded, the second with no findings.Refs #1744. The closing keyword goes on the promotion pull request.
🤖 Generated with Claude Code
Summary by CodeRabbit