fix: remove shell context to fix permission errors for non-DSP users
Shell commands in <context> sections using !` backticks trigger permission checks for users not in dangerously-skip-permissions mode. Replaced with @-file references where needed; process logic handles missing files via allowed tools (Read, Glob, Grep). Affected commands: new-project, progress, create-roadmap, research-project, pause-work, consider-issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,10 +17,9 @@ This prevents issue pile-up by providing a triage mechanism with codebase awaren
|
||||
</objective>
|
||||
|
||||
<context>
|
||||
Issues file: !`cat .planning/ISSUES.md 2>/dev/null || echo "NO_ISSUES_FILE"`
|
||||
Project state: !`cat .planning/STATE.md 2>/dev/null | head -50`
|
||||
Current phase: !`grep -E "^Phase:" .planning/STATE.md 2>/dev/null || echo "UNKNOWN"`
|
||||
Roadmap phases: !`grep -E "^### Phase [0-9]" .planning/ROADMAP.md 2>/dev/null || echo "NO_ROADMAP"`
|
||||
@.planning/ISSUES.md
|
||||
@.planning/STATE.md
|
||||
@.planning/ROADMAP.md
|
||||
</context>
|
||||
|
||||
<process>
|
||||
|
||||
Reference in New Issue
Block a user