Commit Graph

116 Commits

Author SHA1 Message Date
Lex Christopherson
85f0ea5c58 feat: TDD features use dedicated plans for full context quality
TDD requires 2-3 execution cycles (RED → GREEN → REFACTOR), each with
file reads, test runs, and potential debugging. This consumes 40-50%
of context for a single feature. Dedicated TDD plans ensure full
quality throughout the cycle.

- TDD plans use `type: tdd` frontmatter with `<feature>` element
- One feature per TDD plan (batching defeats the purpose)
- Target ~40% context usage for TDD plans
- Standard plans handle non-TDD work with 2-3 tasks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 21:55:36 -06:00
Lex Christopherson
7bc80699f3 1.3.20 2026-01-05 16:09:23 -06:00
Lex Christopherson
875ac900a2 feat: implement per-task atomic commits for better AI observability
- Each task commits immediately after completion (feat/fix/test/refactor)
- Plan completion commits metadata only (docs: SUMMARY + STATE + ROADMAP)
- Git history becomes primary context source for future Claude sessions
- Better bisect granularity, failure recovery, and revert capabilities

Changes:
- execute-phase.md: Added <task_commit> protocol and per-task commit flow
- execute-plan.md: Updated commit rules and success criteria
- git-integration.md: New task-completion format, strategy rationale
- tdd.md: Aligned TDD commits with standard task commit pattern
- summary.md: Added Task Commits section with commit hashes
- README.md: Rewrote git history section with atomic commit benefits
- scope-estimation.md: Clarified commit counts per plan
- principles.md: Added <atomic_commits> section explaining strategy

Each plan now produces 3-4 commits (2-3 task commits + 1 metadata commit)
instead of single monolithic commit. Optimizes observability for solo
developer + Claude Code workflow.
2026-01-05 16:09:14 -06:00
Lex Christopherson
a6df00ab2a 1.3.19 2026-01-05 12:16:54 -06:00
Lex Christopherson
f34fd45a18 feat(08-01): clarify create-milestone.md file locations with explicit instructions
- Added "File to update: .planning/ROADMAP.md" directive to update_roadmap step
- Structured update process as numbered steps (1. Milestones section, 2. Phase details, 3. Progress table)
- Verified complete-milestone.md archival logic already correct
- Pattern established: active milestone → ROADMAP.md, shipped milestone → milestones/vX.Y-ROADMAP.md
2026-01-05 12:15:48 -06:00
Lex Christopherson
3d50d568b1 1.3.18 2026-01-05 09:54:01 -06:00
Lex Christopherson
b26cbe69d0 feat(06-02): Intelligent context assembly via frontmatter dependency graph
- Replaced vague summary scanning with frontmatter-based intelligent selection
- Build dependency graph from requires/provides/affects with transitive closure
- Auto-select 2-4 relevant phases via affects field, subsystem matching, requires chains
- Extract context from frontmatter before reading full summaries
- Inject assembled context package into PLAN.md automatically

Planning transformed: "Claude guesses" → "System assembles optimal context"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 09:45:26 -06:00
Lex Christopherson
3307c05f54 feat(06-01): YAML frontmatter schema with dependency graph metadata enabling automatic context assembly
- Added comprehensive YAML frontmatter schema to summary.md template
- Frontmatter includes dependency graph (requires/provides/affects), subsystem, tech tracking, key files
- Added frontmatter population guidance to execute-phase.md
- Enables intelligent summary selection via dependency graph scanning

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 09:43:02 -06:00
Lex Christopherson
add2b05dd2 1.3.17 2026-01-04 20:07:23 -06:00
Lex Christopherson
35739c84de fix: clarify depth controls compression, not inflation
Depth sets a ceiling on compression, not a floor on expansion.
Small phases stay small even in comprehensive mode.

- Comprehensive auth = 8 plans (work warrants it)
- Comprehensive "add favicon" = 1 plan (that's all it is)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 20:07:22 -06:00
Lex Christopherson
ef775f8f61 1.3.16 2026-01-04 18:32:15 -06:00
Lex Christopherson
484134e63c feat: add depth parameter for planning thoroughness
Adds depth setting (quick/standard/comprehensive) to control how many
phases and plans get created. Tasks per plan stays constant at 2-3.

- Quick: 3-5 phases, 1-3 plans each
- Standard: 5-8 phases, 3-5 plans each
- Comprehensive: 8-12 phases, 5-10 plans each

Depth increases plan COUNT, never plan SIZE. More plans = more
thoroughness with same quality per plan.

Files changed:
- new-project.md: depth question after mode
- config.json: depth field added
- create-roadmap.md: depth-aware phase guidance
- plan-phase.md: depth-aware plan splitting
- scope-estimation.md: depth calibration section
- create-milestone.md: removed hardcoded 3-6 limit
- new-milestone.md: removed hardcoded 3-6 limit
- roadmap.md template: depth-aware guidance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 18:31:59 -06:00
Lex Christopherson
b04034267d feat: add /gsd:auto command for autonomous execution
Reads STATE.md, determines next action, executes via SlashCommand.
All checkpoints auto-approved in yolo mode. No human intervention.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 09:45:18 -06:00
Lex Christopherson
729fb40a5d 1.3.15 2026-01-01 08:39:27 -06:00
Lex Christopherson
507b28cf08 fix: load tdd.md reference directly in commands
TDD context was only loaded indirectly through workflows.
Now explicitly loaded in plan-phase and execute-plan commands.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 08:39:20 -06:00
Lex Christopherson
ee9d0db815 1.3.14 2025-12-31 11:45:03 -06:00
Lex Christopherson
5390b33bd2 feat(05-tdd): TDD integration with detection, annotation, and execution flow
- Add references/tdd.md with detection heuristics, red-green-refactor cycle
- Add tdd_annotation section to plan-format.md with task structure
- Expand plan-phase.md with TDD detection and annotation guidance
- Add tdd_execution section to execute-phase.md with commit patterns
- TDD-aware task routing in execute step

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 11:40:56 -06:00
Lex Christopherson
51f395080c 1.3.13 2025-12-29 13:39:07 -06:00
Lex Christopherson
86878b9721 fix: restore deterministic bash commands, remove redundant decision_gate
- Remove decision_gate step (redundant after confirm_breakdown approval)
- Restore explicit bash commands in load_codebase_context, identify_phase,
  read_project_history, and gather_phase_context for consistent behavior

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:39:00 -06:00
Lex Christopherson
9164faa776 1.3.12 2025-12-29 12:53:20 -06:00
Lex Christopherson
1609618e88 revert: restore plan-format.md - output template, not instructional content 2025-12-29 12:50:45 -06:00
Lex Christopherson
1de0ddaf74 1.3.11 - 70%% context reduction for plan-phase 2025-12-29 12:32:13 -06:00
Lex Christopherson
df1f138478 feat(04-02): 70% context reduction for plan-phase (scope-estimation 74%, plan-phase.md 66%)
- scope-estimation.md: 451 → 115 lines (removed ASCII art, collapsed anti-patterns)
- plan-phase.md workflow: 864 → 290 lines (condensed discovery tree, removed verbose examples)
- Total Phase 4 context reduction: 101KB → 30KB (exceeds 37% target)
2025-12-29 12:18:08 -06:00
Lex Christopherson
5d16432887 feat(04-01): merge cli-automation into checkpoints, compress plan-format
- Consolidated checkpoints.md with automation reference (287 lines from 1,121)
- Compressed plan-format.md to reference card (127 lines from 397)
- Deleted cli-automation.md (merged into checkpoints.md)
- Updated plan-phase.md to remove stale reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 12:07:39 -06:00
Lex Christopherson
d6913f3fd9 1.3.10 2025-12-29 11:39:48 -06:00
Lex Christopherson
f24203dc91 fix: explicit plan count check in offer_next step
Adds bash logic to count PLAN vs SUMMARY files before deciding
whether to offer next plan or next phase. Fixes bug where GSD
would skip remaining plans in a phase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 11:39:42 -06:00
Lex Christopherson
fe48ea574e 1.3.9 2025-12-27 10:03:38 -06:00
Lex Christopherson
31597a9481 feat: evolutionary PROJECT.md system
PROJECT.md evolves throughout project lifecycle:
- Requirements have states: Validated, Active, Out of Scope
- Decisions track outcomes: Good, Revisit, Pending
- Phase transitions update requirements and log decisions
- Milestone completions trigger full PROJECT.md review

STATE.md now references PROJECT.md (not a copy):
- Claude reads PROJECT.md directly for full context
- Smaller STATE.md footprint (~100 lines)
- Project Reference section with core value and focus

Brownfield projects infer Validated requirements from existing code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 10:03:29 -06:00
Lex Christopherson
8ebae044fc 1.3.8 2025-12-18 09:26:26 -06:00
Lex Christopherson
00623e53d8 docs: add brownfield/existing projects section to README
- Explains map-codebase as starting point
- Lists 7 codebase documents created
- Shows workflow: map → new-project → continue as normal
- Keeps it concise, doesn't repeat greenfield content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 09:26:26 -06:00
Lex Christopherson
5e496e7d7b 1.3.7 2025-12-18 09:18:54 -06:00
Lex Christopherson
c11b744f27 fix: improve incremental codebase map updates
- Remove arbitrary ">3 files" threshold
- Add specific update actions per change type
- Add explicit skip conditions (bug fixes, content changes)
- Clarify update format: single targeted edits, not section rewrites
- Add "file renamed/moved" case to update paths

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 09:18:54 -06:00
Lex Christopherson
a990e37c40 1.3.6 2025-12-18 08:49:36 -06:00
Lex Christopherson
b1f9d5741d feat: add file paths to codebase mapping output
- Agent prompts now explicitly require file paths in findings
- Templates updated with backtick-formatted path examples
- CONCERNS.md examples show Files: field for every issue
- ARCHITECTURE.md now welcomes file paths as concrete examples
- Makes codebase docs actionable for Claude during planning

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 08:49:32 -06:00
Lex Christopherson
e409c7f722 1.3.5 2025-12-17 15:11:40 -06:00
Lex Christopherson
dccde98f64 fix: remove arbitrary 100-line limit from codebase mapping
The limit was causing loss of useful context, especially code examples
in TESTING.md and CONVENTIONS.md. Document quality > arbitrary brevity.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 15:11:30 -06:00
Lex Christopherson
5ba0dd5e9a chore: bump to 1.3.4 2025-12-17 13:03:49 -06:00
Lex Christopherson
c3273a50c1 fix: use inline code for Next Up commands (avoids nesting ambiguity) 2025-12-17 13:03:48 -06:00
Lex Christopherson
347e7bec61 chore: bump to 1.3.3 2025-12-17 11:16:55 -06:00
Lex Christopherson
8697c5fdae fix: check PROJECT.md not .planning/ dir for existing project 2025-12-17 11:16:54 -06:00
Lex Christopherson
77c1845325 chore: bump to 1.3.2 2025-12-17 11:13:36 -06:00
Lex Christopherson
21387f8f11 feat: add git commit step to map-codebase workflow 2025-12-17 11:13:30 -06:00
Lex Christopherson
852b3a2047 chore: bump to 1.3.1 (docs update) 2025-12-17 11:09:25 -06:00
Lex Christopherson
cff834a027 docs: add /gsd:map-codebase to help and README 2025-12-17 11:09:12 -06:00
Lex Christopherson
86aeaffccb chore: bump version to 1.3.0 (brownfield support) 2025-12-17 11:02:07 -06:00
Lex Christopherson
8d2f307451 feat(03-01): brownfield integration into GSD workflows
- new-project.md detects existing code, offers /gsd:map-codebase first
- plan-phase loads relevant codebase context based on phase type
- execute-phase updates codebase map incrementally after execution

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 10:37:57 -06:00
Lex Christopherson
8a0dcd668e feat(02-02): implement parallel Explore agent orchestration
- spawn_agents: 4 parallel agents with Task tool patterns
- collect_results: TaskOutput tool for aggregating agent findings
- write_documents: template filling logic with 100-line limit
- offer_next: GSD-style completion output

Phase 2 complete: /gsd:map-codebase fully specified
2025-12-17 10:08:14 -06:00
Lex Christopherson
cfde291637 feat(02-01): /gsd:map-codebase command and workflow skeleton
- commands/gsd/map-codebase.md: slash command entry point
- get-shit-done/workflows/map-codebase.md: workflow with 6 process steps
- Documents 4 parallel Explore agents and 7 output files
- Agent orchestration to be implemented in plan 02-02
2025-12-17 10:04:17 -06:00
Lex Christopherson
c2359cdaf3 refactor: remove research-project command
Pre-roadmap research was over-engineered theater:
- 3 parallel subagents producing fragmented output
- Files with unclear consumption points
- Duplicated what research-phase does better (just-in-time)

Deleted:
- commands/gsd/research-project.md
- get-shit-done/workflows/research-project.md
- get-shit-done/templates/project-research.md
- get-shit-done/references/research-subagent-prompts.md

Phase-level research (/gsd:research-phase) remains for niche domains.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 10:01:02 -06:00
Lex Christopherson
65825928cc feat(01-03): codebase map templates for integrations and concerns
- integrations.md: external APIs, databases, auth, monitoring services
- concerns.md: actionable warnings for tech debt, security, performance

Phase 1 complete: all 7 codebase map templates created
2025-12-17 09:54:33 -06:00