From 1f358c55b83b4c6b1cd773992b3e846c0b8128dc Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Wed, 14 Jan 2026 10:19:22 -0600 Subject: [PATCH] fix: auto-diagnose issues instead of offering choice Diagnosis always produces better fixes and runs in parallel anyway. Removing the prompt reduces cognitive load. Co-Authored-By: Claude --- get-shit-done/workflows/verify-work.md | 39 ++++++-------------------- 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/get-shit-done/workflows/verify-work.md b/get-shit-done/workflows/verify-work.md index f9b3cbdc1..0c487833b 100644 --- a/get-shit-done/workflows/verify-work.md +++ b/get-shit-done/workflows/verify-work.md @@ -294,7 +294,7 @@ Present summary: [List from Issues section] ``` -**If issues > 0:** Proceed to `offer_diagnosis` +**If issues > 0:** Proceed to `diagnose_issues` **If issues == 0:** ``` @@ -305,45 +305,34 @@ All tests passed. Ready to continue. ``` - -**Offer to diagnose root causes before planning fixes:** + +**Diagnose root causes before planning fixes:** ``` --- -{N} issues found. Before planning fixes, diagnose root causes? +{N} issues found. Diagnosing root causes... -Diagnosis spawns parallel debug agents to investigate each issue. -Each agent finds the root cause, making fix planning more accurate. - -Diagnose now? (yes/no) +Spawning parallel debug agents to investigate each issue. ``` -Wait for user response. - -**If yes/y/diagnose:** - Load diagnose-issues workflow - Follow @~/.claude/get-shit-done/workflows/diagnose-issues.md - Spawn parallel debug agents for each issue - Collect root causes - Update UAT.md with root causes -- Return to `offer_plan_fix` +- Proceed to `offer_plan_fix` -**If no/skip/later:** -- Proceed to `offer_plan_fix` without diagnosis -- Plan-fix will work without root causes (less precise but still functional) +Diagnosis runs automatically - no user prompt. Parallel agents investigate simultaneously, so overhead is minimal and fixes are more accurate. -**Offer next steps after testing (and optional diagnosis):** +**Offer next steps after diagnosis:** -Check if UAT.md has root causes (status: "diagnosed" or root_cause fields populated). - -**If diagnosed:** ``` --- -Root causes identified. Ready to plan fixes. +## Diagnosis Complete | Issue | Root Cause | |-------|------------| @@ -355,16 +344,6 @@ Next steps: - `/gsd:plan-fix {phase}` — Create fix plan with root causes - `/gsd:verify-work {phase}` — Re-test after fixes ``` - -**If not diagnosed:** -``` ---- - -Next steps: -- `/gsd:plan-fix {phase}` — Create fix plan for issues -- `/gsd:verify-work {phase}` — Re-test after fixes -- Continue to next phase (issues logged for later) -```