perf(execute-plan): convert to orchestrator pattern

execute-plan.md command now spawns subagent instead of executing directly:
- Loads only subagent-task-prompt template (~100 lines vs ~2200)
- Subagent loads full execute-plan workflow, summary, checkpoints, tdd
- Handles checkpoint returns with resume flow
- ~80% context reduction for orchestrator

Also updated subagent-task-prompt.md description to clarify it's used by
both execute-phase (parallel) and execute-plan (single) orchestrators.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-13 17:38:52 -06:00
parent 965d936709
commit 8ed6a8fa50
2 changed files with 66 additions and 92 deletions

View File

@@ -1,6 +1,6 @@
# Subagent Task Prompt Template
Template for spawning plan execution agents from execute-phase orchestrator.
Template for spawning plan execution agents. Used by execute-phase (parallel) and execute-plan (single) orchestrators.
---