From a906e2ad354fbf4721caf0bd3d1d0a95717f6832 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Tue, 16 Dec 2025 08:20:15 -0600 Subject: [PATCH] refactor: use tags for yolo/interactive branching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cleaner conditional structure in execute-phase and transition workflows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- get-shit-done/workflows/execute-phase.md | 31 +++++++++--------------- get-shit-done/workflows/transition.md | 28 +++++++++------------ 2 files changed, 24 insertions(+), 35 deletions(-) diff --git a/get-shit-done/workflows/execute-phase.md b/get-shit-done/workflows/execute-phase.md index 9a73beb2b..24e0e782c 100644 --- a/get-shit-done/workflows/execute-phase.md +++ b/get-shit-done/workflows/execute-phase.md @@ -1055,17 +1055,11 @@ Resume file: [path to .continue-here if exists, else "None"] -Before proceeding, check SUMMARY.md content: - -**Check workflow config for gate behavior:** - -- If `mode: "yolo"` → auto-approve (but still log issues) -- If `mode: "interactive"` → prompt user +Before proceeding, check SUMMARY.md content. If "Issues Encountered" is NOT "None": -**If auto-approved:** - + ``` ⚡ Auto-approved: Issues acknowledgment ⚠️ Note: Issues were encountered during execution: @@ -1075,9 +1069,11 @@ If "Issues Encountered" is NOT "None": ``` Continue without waiting. + -**If prompting:** -Present issues and wait for acknowledgment. + +Present issues and wait for acknowledgment before proceeding. + @@ -1192,15 +1188,9 @@ Use AskUserQuestion: -**Check workflow config for gate behavior:** - -- If `mode: "yolo"` → auto-continue to next action -- If `mode: "interactive"` → prompt user - **If more plans in this phase:** -**If auto-approved:** - + ``` Plan {phase}-{plan} complete. Summary: .planning/phases/XX-name/{phase}-{plan}-SUMMARY.md @@ -1211,9 +1201,9 @@ Summary: .planning/phases/XX-name/{phase}-{plan}-SUMMARY.md ``` Loop back to identify_plan step automatically. + -**If prompting:** - + ``` Plan {phase}-{plan} complete. Summary: .planning/phases/XX-name/{phase}-{plan}-SUMMARY.md @@ -1226,6 +1216,9 @@ What's next? 3. Done for now ``` +Wait for user selection. + + **If phase complete (last plan done):** First, check if this is also the last phase in the milestone (milestone complete): diff --git a/get-shit-done/workflows/transition.md b/get-shit-done/workflows/transition.md index ef15c0afc..e8eed5f74 100644 --- a/get-shit-done/workflows/transition.md +++ b/get-shit-done/workflows/transition.md @@ -373,18 +373,9 @@ Re-read the ROADMAP file: - If next phase exists: offer to plan it - If no next phase (milestone 100% complete): offer to complete milestone with parsed version -**Check workflow config for gate behavior:** - -Read config (already parsed). - -- If `mode: "yolo"` → auto-continue -- If `mode: "interactive"` → prompt user -- If `mode: "custom"` → check `gates.confirm_transition` (reused for continuation) - **If next phase exists:** -**If auto-approved:** - + ``` Phase [X] marked complete. @@ -394,9 +385,9 @@ Next: Phase [X+1] - [Name] ``` Exit skill and invoke SlashCommand("/gsd:plan-phase [X+1]") + -**If prompting:** - + ``` Phase [X] marked complete. @@ -409,10 +400,12 @@ What would you like to do? 4. Take a break (done for now) ``` +Wait for user selection. + + **If no next phase (milestone 100% complete):** -**If auto-approved:** - + ``` Phase [X] marked complete. @@ -422,9 +415,9 @@ Phase [X] marked complete. ``` Exit skill and invoke SlashCommand("/gsd:complete-milestone [version]") + -**If prompting:** - + ``` Phase [X] marked complete. @@ -436,6 +429,9 @@ What would you like to do? 3. Take a break (done for now) ``` +Wait for user selection. + +