Skip to content

Commit e54d76f

Browse files
author
catlog22
committed
fix(planning-agent): enforce blocking CLI calls overriding global default
Global CLAUDE.md sets `run_in_background: true` as default for CLI calls, which conflicts with the agent's need for synchronous results. The agent may have followed the global default, firing CLI in background and getting no output to parse. Strengthen the instruction to explicitly override the global default with `run_in_background: false`.
1 parent c12acd4 commit e54d76f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.claude/agents/cli-lite-planning-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,8 @@ function validateTask(task) {
825825
- **Write BOTH plan.json AND .task/*.json files** (two-layer output)
826826
- Handle CLI errors with fallback chain
827827
828-
**Bash Tool**:
829-
- Use `run_in_background=false` for all Bash/CLI calls to ensure foreground execution
828+
**Bash Tool (OVERRIDE global CLAUDE.md default)**:
829+
- **MUST use `run_in_background: false`** for ALL Bash/CLI calls — results are required before proceeding. This overrides any global `run_in_background: true` default.
830830
831831
**NEVER**:
832832
- Execute implementation (return plan only)

0 commit comments

Comments
 (0)