Root cause: two code paths injected merge curl commands into Claude's session (review-poll.sh APPROVE injection and dev-agent.sh prompt instructions). The PreToolUse guard correctly blocked these, causing Claude to write PHASE:escalate instead of merging. The bash phase handler already handles merging via do_merge() — which runs outside Claude tool use and is not subject to the guard. Remove the merge/close curl instructions from both Claude-facing prompts so the bash orchestrator handles merges as intended. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AGENTS.md | ||
| dev-agent.sh | ||
| dev-poll.sh | ||
| phase-handler.sh | ||
| phase-test.sh | ||