Commit Graph

93 Commits

Author SHA1 Message Date
Lex Christopherson
238332513b fix(execute-phase): bundle phase metadata into single commit
ROADMAP.md, STATE.md, and REQUIREMENTS.md updates now commit
together as phase completion instead of separate commits.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 02:38:25 -06:00
Lex Christopherson
3b0ea3187f feat(research-phase): load REQUIREMENTS.md for focused research
Research now loads concrete requirements (e.g., "AUTH-02: User receives
email verification") to inform research domains, not just high-level
roadmap descriptions.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 01:43:30 -06:00
Lex Christopherson
bd4bd9db53 refactor: remove dead code, improve execute-phase UX, fix requirements flow
- Remove phantom status.md command (background agent model abandoned)
- Remove agent-history.md template (unused)
- Remove _archive/ directory
- Add narration to execute-phase (describe what's being built before/after waves)
- Update new-project to offer define-requirements as fast path
- Make define-requirements work without research (gather through questioning)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 01:04:41 -06:00
Lex Christopherson
1f24f7e689 docs: add staying updated section to help and README
Promote /gsd:whats-new and update command visibility.
GSD evolves fast — users should check periodically.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 00:23:29 -06:00
Lex Christopherson
365c04163c refactor: move requirements status update to commands (orchestrator)
Subagents can't determine if phase is complete. The orchestrator
(execute-plan and execute-phase commands) runs in main context,
can count plans vs summaries, and updates REQUIREMENTS.md when
phase completes.

- execute-plan: Step 2.5 updates requirements when summaries = plans
- execute-phase: Step 6 updates requirements (phase always complete)
- Removed duplicate from workflow (subagent can't run it anyway)
2026-01-15 00:20:00 -06:00
Lex Christopherson
3e9c7f77d6 refactor: combine workflow preferences into single AskUserQuestion
Mode, depth, and parallelization now asked in one call (3 questions)
instead of 3 separate interactions.
2026-01-15 00:07:41 -06:00
Lex Christopherson
fc0f861808 fix: align research-project next steps (both point to define-requirements) 2026-01-15 00:04:55 -06:00
Lex Christopherson
b708a8d361 feat: add requirements traceability to roadmap and plan-phase
- Roadmap template now includes Requirements: field for each phase
- plan-phase loads REQUIREMENTS.md and extracts phase-specific requirements
- define-requirements shows full list inline before commit (not just counts)
2026-01-15 00:04:29 -06:00
Lex Christopherson
1ccc66f16b fix: offer both define-requirements and create-roadmap as next steps
Requirements definition is recommended but not mandatory after research.
2026-01-14 23:53:41 -06:00
Lex Christopherson
194d1d88bb refactor: slim principles.md and load in core commands
Reduce principles.md from 158 to 73 lines:
- Remove duplicates (atomic_commits, tdd, deviation_rules)
- Remove version drag from claude_automates
- Keep core orientation: solo dev model, plans are prompts,
  scope control, ship fast, anti-enterprise

Add principles.md to 9 core commands so Claude always
understands what GSD is.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 23:48:44 -06:00
Lex Christopherson
d5ff9a4531 refactor: improve questioning flow in new-project
- Follow threads naturally instead of rigid step order
- Cleaner question techniques in questioning.md
- Background context checklist instead of forced checklist mode
- Updated next steps to show research flow
2026-01-14 23:30:17 -06:00
Lex Christopherson
d0488c503f feat: add define-requirements command for scoped v1 requirements
Adds /gsd:define-requirements to transform research findings into
checkable requirements before roadmap creation.

New flow:
  new-project → research-project → define-requirements → create-roadmap

New files:
- commands/gsd/define-requirements.md
- get-shit-done/workflows/define-requirements.md
- get-shit-done/templates/requirements.md

Modified:
- new-project.md: updated next steps
- research-project.md: points to define-requirements
- create-roadmap.md: requires REQUIREMENTS.md, validates coverage
- workflows/create-roadmap.md: maps phases to requirements, updates traceability

Key changes:
- Phases now map to specific requirement IDs
- 100% requirement coverage required before roadmap creation
- REQUIREMENTS.md traceability section tracks phase assignments

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 23:25:41 -06:00
Lex Christopherson
53efcfbfe1 feat: add research-project command for pre-roadmap ecosystem research
Adds /gsd:research-project to research domain ecosystem before creating roadmap.
Spawns parallel agents to investigate stack, features, architecture, and pitfalls.

New files:
- commands/gsd/research-project.md
- get-shit-done/workflows/research-project.md
- get-shit-done/templates/research-project/ (5 templates)

Modified:
- new-project.md: offers research vs direct roadmap options
- create-roadmap.md: loads research if exists
- workflows/create-roadmap.md: uses research to inform phases

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 22:59:01 -06:00
Lex Christopherson
6bffcf12be chore: delete old files 2026-01-14 16:56:06 -06:00
Lex Christopherson
aaf5bceebc refactor(execute-phase): slim command, delegate to workflow
Command now references workflow for checkpoint handling details
instead of duplicating logic. Keeps command thin as intended.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 16:30:23 -06:00
Lex Christopherson
e98bebfeeb fix(checkpoints): restore rich documentation and fix continuation pattern
- execute-plan.md: Replace broken Task(resume=...) with fresh continuation agent
- execute-phase.md: Expand checkpoint handling with full continuation flow
- checkpoints.md: Restore ~500 lines of detailed examples and anti-patterns

Checkpoint presentation formats now documented for all three types.
Templates referenced: checkpoint-return.md, continuation-prompt.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 16:26:08 -06:00
Lex Christopherson
e8199d9263 fix(execute): restore offer_next routing to orchestrator commands
The orchestrator pattern conversion (8ed6a8f) removed workflow context
loading for context efficiency but inadvertently removed the offer_next
step that presents copy/paste-ready next commands after plan/phase
completion.

Added explicit <offer_next> sections to both commands:
- execute-plan.md: routes to next plan, next phase, or milestone complete
- execute-phase.md: routes to next phase or milestone complete

Both include /clear hints and copy/paste-ready command paths.

Fixes #69

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 15:33:45 -06:00
Lex Christopherson
68f3cd162d docs(12-03): add whats-new to help command reference
- Added /gsd:whats-new to Utility Commands section
- Documents version comparison and changelog features
2026-01-14 14:06:51 -06:00
Lex Christopherson
1a55ac8539 feat(12-03): create whats-new.md command
- Reads installed version from VERSION file
- Fetches remote changelog from GitHub
- Displays version comparison and missed changes
- Provides update instructions when behind
2026-01-14 14:06:06 -06:00
Lex Christopherson
62f12794dd chore: remove dead ISSUES.md system
Remove the global ISSUES.md deferred enhancement tracking system.

- Delete /gsd:consider-issues command (never used)
- Delete issues.md template (never instantiated)
- Remove Rule 5 from deviation rules (never triggered)
- Remove all ISSUES.md, ISS-XXX, and "deferred issues" references
- Update STATE.md to track pending todos instead

The ISSUES.md system was designed to capture non-critical enhancements
during plan execution via "Rule 5", but it never fired in practice
across 100+ projects. The system added ~350 lines of dead code.

The /gsd:add-todo and /gsd:check-todos system serves the same purpose
and is actually used.

Note: UAT *-ISSUES.md files (per-plan, created by /gsd:verify-work)
are unaffected - those are a separate, active system.

Closes #56

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 12:33:18 -06:00
Lex Christopherson
00208b71af feat(debug): subagent isolation for investigation with checkpoint support
- Debug command now orchestrates: gather symptoms in main context, spawn
  investigation subagent with fresh 200k context
- Subagent template unified for both /gsd:debug (find_and_fix) and
  diagnose-issues (find_root_cause_only) flows via goal flag
- Checkpoint behavior enables subagent to pause for user input
  (human-verify, human-action, decision) with continuation agents
- Structured return formats: ROOT CAUSE FOUND, DEBUG COMPLETE,
  INVESTIGATION INCONCLUSIVE, CHECKPOINT REACHED
- diagnose-issues updated to match new template placeholders and returns

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 10:59:59 -06:00
Lex Christopherson
93fc60c185 fix: add SlashCommand to plan-fix allowed-tools
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 10:26:44 -06:00
Lex Christopherson
0e5f1ce8c7 fix: standardize debug file naming and invoke execute-plan
- Debug files from UAT use same naming as regular debug (slug only)
- UAT.md tracks link via debug_session field
- plan-fix actually invokes execute-plan when user selects it

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 10:24:51 -06:00
Lex Christopherson
d498662938 feat: add parallel diagnosis before plan-fix
After UAT finds issues, spawn parallel debug agents to investigate
root causes before planning fixes. Each agent investigates one issue
with symptoms pre-filled from UAT, finds the root cause, and returns
diagnosis.

New files:
- workflows/diagnose-issues.md: Orchestrator for parallel debug agents
- templates/debug-subagent-prompt.md: Prompt template for debug subagents

Modified:
- workflows/debug.md: Add symptoms_prefilled and diagnose-only modes
- workflows/verify-work.md: Offer diagnosis step after issues found
- templates/UAT.md: Add root_cause and debug_session fields
- commands/gsd/plan-fix.md: Use root causes for targeted fix planning

Flow: UAT → diagnose (parallel) → plan-fix (with root causes) → execute

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 10:11:28 -06:00
Lex Christopherson
9e0808b409 feat: redesign verify-work as conversational UAT with persistent state
- One test at a time instead of full checklist upfront
- Plain text responses instead of AskUserQuestion forms
- Severity inferred from description, never asked
- Persistent UAT.md survives /clear (like debug workflow)
- Single file per phase replaces per-plan ISSUES.md
- Updated plan-fix to read from UAT.md

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-14 09:56:17 -06:00
Rezolv
136a30e102 feat(execute-plan): add pre-execution summary for interactive mode (#57)
Thanks @davesienkowski — clean contribution, well-documented, follows GSD patterns. Appreciate the thoughtful approach to visibility over approval gates.
2026-01-14 08:33:54 -06:00
Lex Christopherson
d30893a834 feat: pre-compute wave numbers at plan time
Wave numbers now computed during plan-phase and stored in PLAN.md
frontmatter. Execute-phase reads wave directly instead of deriving
from depends_on at runtime.

- Add assign_waves step to plan-phase workflow
- Add wave field to frontmatter (plan-format, phase-prompt template)
- Simplify execute-phase: remove analyze_dependencies and group_into_waves
- Replace with group_by_wave that just reads frontmatter integers

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 18:10:20 -06:00
Lex Christopherson
206e74402b docs: make YOLO mode recommended default in new-project
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 17:54:19 -06:00
Lex Christopherson
cd1bede183 docs: fix brownfield flow, remove deprecated resume-task
- Fix brownfield example to use execute-phase instead of execute-plan
- Remove /gsd:resume-task command (relies on broken Task resume)
- Checkpoint continuation now uses fresh agents, not resume

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 17:49:13 -06:00
Lex Christopherson
8ed6a8fa50 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>
2026-01-13 17:38:52 -06:00
Lex Christopherson
a4c83cf275 fix(discuss-phase): remove "what's out of scope" question
Scope boundaries are implicit from the roadmap. Asking about them
creates the sensation of scope creep and interrogates the user about
constraints they didn't mention.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 17:30:39 -06:00
Lex Christopherson
0dd4cedf5a perf(execute-phase): remove subagent-only context from orchestrator
Orchestrator loads only what it needs:
- execute-phase.md workflow (orchestration)
- subagent-task-prompt.md (template to spawn agents)

Subagents load execution context themselves via template:
- execute-plan.md, summary.md, checkpoints.md, tdd.md

~80% context reduction for orchestrator (~2000 lines saved)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 17:26:18 -06:00
Lex Christopherson
c4e3023df1 fix(new-project): parallel execution is recommended, not experimental
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 17:02:41 -06:00
Lex Christopherson
46cf4b11de feat(execute-phase): add deviation rules, commit rules, and workflow references
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 17:01:10 -06:00
Lex Christopherson
e30e387c00 refactor(execute-phase): wave-based blocking execution
Replace background agents + polling with blocking Task calls.
Orchestrator stays lean (~15% context), subagents load full workflow.

- Archive old execute-phase command and workflow
- Add subagent-task-prompt.md template (orchestrator→subagent contract)
- Rewrite execute-phase with wave-based parallelization
- Dependency analysis groups plans into execution waves
- Parallel Task calls within waves, sequential across waves
- No TaskOutput polling - Task blocks until completion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 16:06:17 -06:00
Lex Christopherson
f0b4c7d853 feat: add /gsd:debug for systematic debugging with persistent state
- Creates .planning/debug/[slug].md immediately on command
- Continuous updates: file IS the debugging brain
- Clear section rules: OVERWRITE (Current Focus, Resolution) vs APPEND (Evidence, Eliminated)
- Survives /clear perfectly - resume from any interruption point
- Scientific method: evidence → hypothesis → test → eliminate or confirm
- Includes debugging reference files (mindset, hypothesis testing, investigation techniques)

Closes #53, closes #44

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 11:48:14 -06:00
Lex Christopherson
1eaec49e0d docs(new-project): mark parallel execution as experimental
Sequential execution is now the recommended default. Parallel
execution is still being refined and may not yield best results.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 09:43:00 -06:00
Lex Christopherson
f53471e608 docs: add /gsd:status to README and help
New command for monitoring background agents from parallel execution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 14:59:36 -06:00
Lex Christopherson
b810d1ddca fix(execute-phase): add one-subagent-per-plan constraint
Context isolation is the primary goal, not parallelization.
Even sequential plans spawn separate subagents for fresh 200k context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 14:34:37 -06:00
Lex Christopherson
52ce98114c feat(10): add /gsd:status for parallel agent monitoring
Simple command to check background agent status:
- Shows running/completed agents from agent-history.json
- Uses TaskOutput to poll agent status
- --wait flag blocks until all complete
- Reports time savings vs sequential execution

Inspired by PR #43 but intentionally minimal (117 lines vs 317).
Skipped task-level parallelization display (not implementing that).
2026-01-12 13:48:48 -06:00
Lex Christopherson
454def13bf fix: separate parallelization question from config creation
Moves config.json creation to its own step so the parallelization
question isn't skipped. Matches pattern used by mode and depth steps.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 13:44:17 -06:00
Lex Christopherson
27d0f08778 feat(10): add parallelization question to /gsd:new-project
- New step after depth selection
- Options: Enabled (recommended) / Disabled
- Config.json now populated with mode, depth, and parallelization
2026-01-12 13:31:56 -06:00
Lex Christopherson
31f565064d fix(10-02): sync execute-phase command with execute-plan content
- Added SlashCommand to allowed-tools
- Added references/tdd.md to execution_context
- Added execution_strategies, deviation_rules, commit_rules sections
- Updated success_criteria to include per-task commits
- Now fully aligned with execute-plan.md command structure
2026-01-12 13:24:49 -06:00
Lex Christopherson
8e8fba2793 fix(10-02): load execute-plan.md context in execute-phase command
- Command now loads both workflows (execution + orchestration)
- Agents commit tasks normally (removed DON'T COMMIT instruction)
- Orchestrator only commits metadata after all agents complete
- No duplication - single source of truth for execution logic
2026-01-12 13:23:16 -06:00
Lex Christopherson
b372905544 docs(10-03): add execute-phase command documentation
- README.md: Add execute-phase to command table and explain when to use each
- help.md: Add full usage entry with config options
2026-01-12 13:16:06 -06:00
Lex Christopherson
18a1fd17c6 feat(10-03): create execute-phase command
- New slash command for parallel phase execution
- References execute-phase.md workflow
- Requires phase number as argument
- Uses parallel agent spawning for concurrent plans
2026-01-12 13:14:53 -06:00
Lex Christopherson
4ea054b9f6 docs(10-01): update documentation mentions to execute-plan.md
- commands/gsd/resume-task.md: infrastructure mention
- get-shit-done/workflows/plan-phase.md: execution context reference
- get-shit-done/templates/agent-history.md: 2 workflow mentions
- get-shit-done/templates/summary.md: 3 workflow mentions
- get-shit-done/templates/codebase/structure.md: example workflow
2026-01-12 12:45:45 -06:00
Lex Christopherson
a6960a70c0 refactor(10-01): update @reference paths to execute-plan.md
- commands/gsd/execute-plan.md: workflow reference + process text
- commands/gsd/plan-fix.md: execution_context reference
- get-shit-done/templates/phase-prompt.md: 2 occurrences
2026-01-12 12:42:00 -06:00
Lex Christopherson
3787f50ea6 feat: add todo capture system for mid-session ideas
Adds /gsd:add-todo and /gsd:check-todos commands for capturing
ideas during work sessions without losing context.

Features:
- Capture todos from conversation context or explicit description
- Structured frontmatter (created, title, area, files)
- Area inference from file paths for grouping
- Duplicate detection before creating
- Filter todos by area
- Route to appropriate action (work now, add to phase, brainstorm)
- Git commits on capture and when starting work

Closes #48

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 11:46:01 -06:00
Lex Christopherson
9ec422accd fix: consistent zero-padding for decimal phase numbers
Decimal phases now use printf "%02d" formatting to match integer phases.
Before: 6.1-01-PLAN.md vs 06-04-PLAN.md (inconsistent)
After: 06.1-01-PLAN.md vs 06-04-PLAN.md (consistent)

Closes #51

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 10:38:31 -06:00