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:
@@ -14,15 +14,6 @@ Check project progress, summarize recent work and what's ahead, then intelligent
|
||||
Provides situational awareness before continuing work.
|
||||
</objective>
|
||||
|
||||
<context>
|
||||
Planning structure: !`ls -la .planning/ 2>/dev/null || echo "NO_PLANNING_STRUCTURE"`
|
||||
Phases: !`ls .planning/phases/ 2>/dev/null || echo "NO_PHASES"`
|
||||
State exists: !`[ -f .planning/STATE.md ] && echo "EXISTS" || echo "MISSING"`
|
||||
Roadmap exists: !`[ -f .planning/ROADMAP.md ] && echo "EXISTS" || echo "MISSING"`
|
||||
Recent summaries: !`find .planning/phases -name "*-SUMMARY.md" -type f 2>/dev/null | sort | tail -3`
|
||||
All plans: !`find .planning/phases -name "*-PLAN.md" -type f 2>/dev/null | sort`
|
||||
All summaries: !`find .planning/phases -name "*-SUMMARY.md" -type f 2>/dev/null | sort`
|
||||
</context>
|
||||
|
||||
<process>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user