From 136a30e10267e699da00d87cf7f7a0ef9cf95393 Mon Sep 17 00:00:00 2001 From: Rezolv Date: Wed, 14 Jan 2026 09:33:54 -0500 Subject: [PATCH] feat(execute-plan): add pre-execution summary for interactive mode (#57) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks @davesienkowski — clean contribution, well-documented, follows GSD patterns. Appreciate the thoughtful approach to visibility over approval gates. --- commands/gsd/execute-plan.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/commands/gsd/execute-plan.md b/commands/gsd/execute-plan.md index 875b8a3ed..581c9096f 100644 --- a/commands/gsd/execute-plan.md +++ b/commands/gsd/execute-plan.md @@ -48,15 +48,44 @@ Plan path: $ARGUMENTS - plan_number: `02` - plan_path: full path -4. **Fill and spawn subagent** +4. **Pre-execution summary (interactive mode only)** + Check config.json for mode. Skip this step if mode=yolo. + + Parse PLAN.md to extract: + - objective: First sentence or line from `` element + - task_count: Count of `` elements within tasks + + Display friendly summary before spawning: + ``` + ════════════════════════════════════════ + EXECUTING: {phase_number}-{plan_number} {phase_name} + ════════════════════════════════════════ + + Building: {objective one-liner} + Tasks: {task_count} + Files: {comma-separated file list} + + Full plan: {plan_path} + ════════════════════════════════════════ + ``` + + No confirmation needed. Proceed to spawn after displaying. + + In yolo mode, display abbreviated version: + ``` + ⚡ Executing {phase_number}-{plan_number}: {objective one-liner} + ``` + +5. **Fill and spawn subagent** - Fill subagent-task-prompt template with extracted values - Spawn: `Task(prompt=filled_template, subagent_type="general-purpose")` -5. **Handle subagent return** +6. **Handle subagent return** - If contains "## CHECKPOINT REACHED": Execute checkpoint_handling - If contains "## PLAN COMPLETE": Verify SUMMARY exists, report success -6. **Report completion** +7. **Report completion** - Show SUMMARY path - Show commits from subagent return - Offer next steps