mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-03 15:43:11 +08:00
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`.
This commit is contained in:
@@ -825,8 +825,8 @@ function validateTask(task) {
|
|||||||
- **Write BOTH plan.json AND .task/*.json files** (two-layer output)
|
- **Write BOTH plan.json AND .task/*.json files** (two-layer output)
|
||||||
- Handle CLI errors with fallback chain
|
- Handle CLI errors with fallback chain
|
||||||
|
|
||||||
**Bash Tool**:
|
**Bash Tool (OVERRIDE global CLAUDE.md default)**:
|
||||||
- Use `run_in_background=false` for all Bash/CLI calls to ensure foreground execution
|
- **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.
|
||||||
|
|
||||||
**NEVER**:
|
**NEVER**:
|
||||||
- Execute implementation (return plan only)
|
- Execute implementation (return plan only)
|
||||||
|
|||||||
Reference in New Issue
Block a user