fix: Add run_in_background=false to all agent Task invocations

Ensure all agent executions wait for results before proceeding.
Modified 20 workflow command files with 32 Task call updates.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-18 10:00:22 +08:00
parent ae07df612d
commit 4329bd8e80
20 changed files with 36 additions and 5 deletions

View File

@@ -388,6 +388,7 @@ Write(`${sessionFolder}/plan.json`, JSON.stringify(plan, null, 2))
```javascript
Task(
subagent_type="cli-lite-planning-agent",
run_in_background=false,
description="Generate detailed implementation plan",
prompt=`
Generate implementation plan and write plan.json.
@@ -432,10 +433,11 @@ Generate plan.json following the schema obtained above. Key constraints:
## Execution
1. Read schema file (cat command above)
2. Read ALL exploration files for comprehensive context
3. Synthesize findings and generate plan following schema
4. Write JSON: Write('${sessionFolder}/plan.json', jsonContent)
5. Return brief completion summary
2. Execute CLI planning using Gemini (Qwen fallback)
3. Read ALL exploration files for comprehensive context
4. Synthesize findings and generate plan following schema
5. Write JSON: Write('${sessionFolder}/plan.json', jsonContent)
6. Return brief completion summary
`
)
```