From 42495068ca3a93adcff7be0aedf521de8bc76f02 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Sun, 8 Feb 2026 08:12:40 -0600 Subject: [PATCH] fix(execute-phase): explicitly specify subagent_type="gsd-executor" The workflow showed the prompt content but didn't wrap it in Task() with the required subagent_type parameter. This caused the orchestrator to spawn generic task agents instead of the specialized gsd-executor. Now shows the full Task() call with subagent_type and model parameters. Fixes #455 Co-Authored-By: Claude Opus 4.5 --- get-shit-done/workflows/execute-phase.md | 54 +++++++++++++----------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/get-shit-done/workflows/execute-phase.md b/get-shit-done/workflows/execute-phase.md index 1db8ea5a6..5118ac456 100644 --- a/get-shit-done/workflows/execute-phase.md +++ b/get-shit-done/workflows/execute-phase.md @@ -94,39 +94,43 @@ Execute each wave in sequence. Within a wave: parallel if `PARALLELIZATION=true` - Bad: "Executing terrain generation plan" - Good: "Procedural terrain generator using Perlin noise — creates height maps, biome zones, and collision meshes. Required before vehicle physics can interact with ground." -2. **Spawn agents with file paths (not content):** +2. **Spawn executor agents:** Pass paths only — executors read files themselves with their fresh 200k context. This keeps orchestrator context lean (~10-15%). - Each agent prompt: - ``` - - Execute plan {plan_number} of phase {phase_number}-{phase_name}. - Commit each task atomically. Create SUMMARY.md. Update STATE.md. - + Task( + subagent_type="gsd-executor", + model="{executor_model}", + prompt=" + + Execute plan {plan_number} of phase {phase_number}-{phase_name}. + Commit each task atomically. Create SUMMARY.md. Update STATE.md. + - - @~/.claude/get-shit-done/workflows/execute-plan.md - @~/.claude/get-shit-done/templates/summary.md - @~/.claude/get-shit-done/references/checkpoints.md - @~/.claude/get-shit-done/references/tdd.md - + + @~/.claude/get-shit-done/workflows/execute-plan.md + @~/.claude/get-shit-done/templates/summary.md + @~/.claude/get-shit-done/references/checkpoints.md + @~/.claude/get-shit-done/references/tdd.md + - - Read these files at execution start using the Read tool: - - Plan: {phase_dir}/{plan_file} - - State: .planning/STATE.md - - Config: .planning/config.json (if exists) - + + Read these files at execution start using the Read tool: + - Plan: {phase_dir}/{plan_file} + - State: .planning/STATE.md + - Config: .planning/config.json (if exists) + - - - [ ] All tasks executed - - [ ] Each task committed individually - - [ ] SUMMARY.md created in plan directory - - [ ] STATE.md updated with position and decisions - + + - [ ] All tasks executed + - [ ] Each task committed individually + - [ ] SUMMARY.md created in plan directory + - [ ] STATE.md updated with position and decisions + + " + ) ``` 3. **Wait for all agents in wave to complete.**