Commit Graph

459 Commits

Author SHA1 Message Date
Lex Christopherson
fac3c95285 docs: update changelog for v1.5.23 2026-01-16 13:20:17 -06:00
Lex Christopherson
339e0613d8 fix: consistent zero-padding and file naming across agents
- plan-phase.md: zero-pad phase number in mkdir
- roadmapper: explicit zero-padding instruction with printf
- discuss-phase workflow: use PADDED_PHASE in file paths
- planner: fix {plan}-PLAN.md -> {phase}-{plan}-PLAN.md
- researcher: fix double-path bug in git add command
- researcher: add CONTEXT.md loading from discuss-phase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 13:17:26 -06:00
Lex Christopherson
d1df08cfbc feat(researcher): add upstream CONTEXT.md awareness
Researcher now reads and respects user decisions from discuss-phase:
- Locked decisions constrain research scope
- Claude's discretion areas get options explored
- Deferred ideas ignored

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 13:16:06 -06:00
Lex Christopherson
15d4e27075 fix(next-steps): remove /gsd:research-phase from workflow suggestions
Research is now integrated into /gsd:plan-phase by default.
Remove standalone research command from "Also available" sections.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 13:14:01 -06:00
Lex Christopherson
35989f20d7 feat(hooks): add cross-platform completion notification hook
Alerts user when Claude stops (task complete, needs input, etc.)
with context about what completed. Works on Mac (osascript alert),
Linux (notify-send/zenity), and Windows (PowerShell MessageBox).

Follows same optional install pattern as statusline:
- Prompts in interactive mode if existing hook detected
- --force-notify to replace existing
- --no-notify to skip installation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 13:02:01 -06:00
Lex Christopherson
0bcb9c85aa 1.5.22 2026-01-16 12:54:57 -06:00
Lex Christopherson
982e6a6953 docs: update changelog for v1.5.22 2026-01-16 12:54:53 -06:00
Lex Christopherson
7a451e6410 feat(statusline): show update indicator when new GSD version available
Adds SessionStart hook that checks npm in background, caches result.
Statusline shows "⬆ /gsd:update │" when update available.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:53:45 -06:00
Lex Christopherson
2569be698d fix(planner): update ROADMAP.md placeholders after planning
Fixes #82

When add-phase or insert-phase creates placeholder entries in ROADMAP.md,
plan-phase now finalizes them:
- Goal: derives from CONTEXT.md/RESEARCH.md if placeholder
- Plans: updates count and adds checkbox list of plan files
- Commits ROADMAP.md alongside PLAN.md files
2026-01-16 12:51:39 -06:00
Lex Christopherson
511b7cb3ff 1.5.21 2026-01-16 12:43:30 -06:00
Lex Christopherson
7d5618db45 docs: update changelog for v1.5.21 2026-01-16 12:43:23 -06:00
Lex Christopherson
c8034418dd docs(readme): add optional discuss-phase before plan-phase
Clarifies that users can run /gsd:discuss-phase first to specify
UI/UX/behavior decisions before planning. Creates CONTEXT.md that
guides the planner. Optional if defaults are acceptable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:41:04 -06:00
Lex Christopherson
a5d8b4d9d3 docs(roadmapper): add anti-enterprise guidance
Prevents roadmap bloat from corporate PM patterns like
stakeholder phases, documentation sprints, etc.
2026-01-16 12:39:56 -06:00
Lex Christopherson
d9625ed320 fix(planner): don't surface user_setup in planning output
User setup info belongs in plan frontmatter only. The execute-plan
workflow surfaces it at the right time (after automation completes).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:29:15 -06:00
Lex Christopherson
8c6e503c84 fix(planner): restore {phase}-{plan}-PLAN.md naming convention
Was incorrectly simplified to {phase}-NN during agent consolidation,
causing plans to be named 01-PLAN.md instead of 01-01-PLAN.md
2026-01-16 12:23:07 -06:00
Lex Christopherson
ccd49d88b2 docs(readme): simplify workflow to new-project → plan → execute loop
- Collapse 5-step flow into 4 clear phases
- Show /gsd:new-project as single ~10min initialization flow
- Document research → plan → verify loop in plan-phase
- Document parallel waves + verification in execute-phase
- Remove deprecated commands: execute-plan, research-project,
  define-requirements, create-roadmap, research-phase,
  list-phase-assumptions
- Reorganize commands table with Core Workflow at top
- Simplify brownfield section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:22:18 -06:00
Lex Christopherson
2b797ed4b8 fix(verify-work): add checkpoint box with clear action prompt
Closes #106 - Users didn't know what to type when presented with
test expectations. Now uses GSD checkpoint box format with explicit
"Type 'pass' or describe what's wrong" instruction.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:03:33 -06:00
Lex Christopherson
1f8c112fe2 fix: remove commit capability from project researcher agent
Researchers are always spawned in parallel (4 at once). Committing is
now exclusively handled by the orchestrator or synthesizer agent after
all researchers complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:54:37 -06:00
Lex Christopherson
3ca4f0a4fa fix: synthesizer commits all research files together
Researchers now skip commit step when spawned in parallel.
Synthesizer agent commits STACK.md, FEATURES.md, ARCHITECTURE.md,
PITFALLS.md, and SUMMARY.md in one atomic commit.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:52:10 -06:00
Lex Christopherson
daa54737cf feat: add GSD brand system for consistent UI
Add ui-brand.md reference with visual patterns:
- Stage banners with GSD ► prefix
- Checkpoint boxes (62-char width)
- Status symbols vocabulary
- Next Up routing blocks

Update orchestrators to use branded output.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:51:57 -06:00
Lex Christopherson
6ae0923c29 fix: add explicit roadmap approval gate before committing
- Present proposed roadmap nicely inline (table + phase details)
- Use AskUserQuestion to confirm before committing
- Options: Approve, Adjust phases, Review full file
- Loop on adjustments until user approves

Previously, roadmap was committed immediately without user review.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:27:51 -06:00
Lex Christopherson
1d155e978b feat: add gsd-research-synthesizer agent for SUMMARY.md creation
- Create dedicated synthesizer agent to handle research synthesis
- Move SUMMARY.md creation from main orchestrator to subagent
- Reduces main context usage (~2000+ lines of research output)
- Synthesizer reads 4 research files and produces unified summary

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:26:19 -06:00
Lex Christopherson
18351fe3e4 feat: unify project initialization into single /gsd:new-project flow
Consolidates 4 separate commands into one unified flow:
- /gsd:new-project now handles: questioning → research → requirements → roadmap
- Creates gsd-roadmapper agent for heavy lifting (goal-backward, coverage validation)
- Adds atomic commits after each stage for crash recovery
- Deprecates standalone research-project, define-requirements, create-roadmap
  (kept for mid-project use)

Fixes from audit:
- Add requirements quality criteria (specific, user-centric, atomic, independent)
- Add milestone context to research prompts (greenfield vs subsequent)
- Add quality gates per research dimension
- Add template references for consistent output format

Removes deprecated gsd-researcher.md (replaced by project/phase researchers)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:15:58 -06:00
Lex Christopherson
ff009cddab 1.5.20 2026-01-16 10:30:47 -06:00
Lex Christopherson
8a943d143d docs: update changelog for v1.5.20 2026-01-16 10:30:42 -06:00
Lex Christopherson
9875df57ab fix: remove premature research likelihood predictions from roadmap
Research decisions made at roadmap creation time are:
- Premature: Can't know if research is needed before discuss-phase
- Redundant: --skip-research flag exists for explicit control
- Counterproductive: Gives Claude an excuse to skip research entirely

Removed:
- Research: Likely/Unlikely fields from roadmap template
- detect_research_needs step from create-roadmap workflow
- "If roadmap flagged Research: Likely" checks from gsd-planner

Research now always runs during plan-phase unless:
- RESEARCH.md already exists (silent reuse)
- --skip-research flag passed
- --gaps flag passed (gap closure mode)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 10:27:23 -06:00
Lex Christopherson
29589efaf7 1.5.19 2026-01-16 10:13:23 -06:00
Lex Christopherson
641fa0274c docs: update changelog for v1.5.19 2026-01-16 10:13:18 -06:00
Lex Christopherson
a7249ebe83 feat(discuss-phase): intelligent gray area analysis with scope guardrails
- Analyze phase to identify gray areas by category (UI, UX, Behavior, etc.)
- Present multi-select for user to choose which areas to discuss
- Deep-dive each selected area with focused questioning loop
- Explicit scope guardrail: clarify HOW, never expand WHAT
- Capture deferred ideas without acting on them
- Downstream awareness: CONTEXT.md feeds researcher and planner agents
- Template restructured for decisions (domain, decisions, discretion, deferred)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 10:11:17 -06:00
Lex Christopherson
2144960c6c feat: integrate research into plan-phase with specialized agents
Split gsd-researcher into two specialized agents:
- gsd-phase-researcher: tailored for phase research before planning
- gsd-project-researcher: tailored for ecosystem research before roadmap

Updated /gsd:plan-phase to auto-research before planning:
- Research runs if no RESEARCH.md exists (silent use if exists)
- --research flag forces re-research
- --skip-research flag bypasses research entirely
- Researchers commit their output

This enables single-command workflow: /gsd:plan-phase does
research → plan → verify in one orchestrated flow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 10:10:22 -06:00
Lex Christopherson
cf904b3cd5 1.5.18 2026-01-16 09:18:58 -06:00
Lex Christopherson
2a5cf29ef4 docs: update changelog for v1.5.18 2026-01-16 09:18:53 -06:00
Lex Christopherson
e9628c6728 chore: remove Phase 99 throwaway test files 2026-01-16 09:17:42 -06:00
Lex Christopherson
806a13707b docs(gsd-planner): restore task sizing and specificity examples
Adds back guidance that was lost during consolidation:
- Task sizing heuristic (15-60 min target)
- Signals for too large / too small tasks
- Specificity side-by-side examples table
- "The test" for checking task clarity
2026-01-16 09:15:45 -06:00
Lex Christopherson
280baed097 docs(16): complete plan verification loop phase 2026-01-16 09:06:25 -06:00
Lex Christopherson
bb217e471a docs(16-03): complete planner revision mode plan
Tasks completed: 3/3
- Add revision_mode section with 6-step process
- Update role section for revision mode
- Add REVISION COMPLETE return format

SUMMARY: .planning/phases/16-plan-verification-loop/16-03-SUMMARY.md
2026-01-16 09:02:34 -06:00
Lex Christopherson
ce10c9e6d1 docs(16-02): update success criteria with verification loop steps
- Plans created (PLANNING COMPLETE or CHECKPOINT handled)
- gsd-plan-checker spawned (unless --skip-verify)
- Verification passed OR user override OR max iterations with user decision
- User sees status between agent spawns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 09:00:22 -06:00
Lex Christopherson
ace3b3655a docs(16-03): add REVISION COMPLETE format to structured_returns
- Return format for orchestrator after revision mode completes
- Changes table, files updated, unaddressed issues sections
- Ready for re-verification note
2026-01-16 09:00:11 -06:00
Lex Christopherson
fb0ba88428 feat(16-02): add planner -> checker verification loop to plan-phase
- Steps 1-7: Validate, parse, spawn planner (existing flow)
- Step 8: Spawn gsd-plan-checker with verification_context
- Step 9: Handle checker return (passed | issues)
- Step 10: Revision loop (max 3 iterations)
- Step 11: Present final status with verification outcome

User sees ping-pong between planner and checker in main context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:59:59 -06:00
Lex Christopherson
8420752585 docs(16-03): update role section to document revision mode
- Add revision mode spawning to orchestrator list
- Add revision responsibility to core responsibilities
2026-01-16 08:59:44 -06:00
Lex Christopherson
6b31a920dd feat(16-03): add revision_mode section to gsd-planner
- 6-step revision process for handling checker feedback
- Strategy table mapping issue dimensions to revision actions
- Surgeon mindset: minimal targeted updates to existing plans
- Return format for revision summary
2026-01-16 08:59:20 -06:00
Lex Christopherson
58df1ba1e1 chore(16-02): update plan-phase.md frontmatter for verification loop
- Remove context: fork (orchestrator stays in main context)
- Add --skip-verify flag to argument-hint
- Add Task tool to allowed-tools for spawning checker

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:58:55 -06:00
Lex Christopherson
b838692c53 docs(16-01): complete gsd-plan-checker plan
Tasks completed: 2/2
- Create gsd-plan-checker agent with six verification dimensions
- Examples included for common failure modes

SUMMARY: .planning/phases/16-plan-verification-loop/16-01-SUMMARY.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:58:01 -06:00
Lex Christopherson
47eab1a2b0 feat(16-01): create gsd-plan-checker agent
Goal-backward plan verification before execution:
- Six verification dimensions (coverage, completeness, dependencies, links, scope, derivation)
- Structured issue reporting for planner feedback
- Examples covering common failure modes

agents/gsd-plan-checker.md (744 lines)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:56:31 -06:00
Lex Christopherson
96cd23c750 docs(16): create phase plan
Phase 16: Plan Verification Loop
- 3 plan(s) in 2 wave(s)
- Wave 1: 16-01 (create gsd-plan-checker agent)
- Wave 2: 16-02, 16-03 (parallel - orchestrator + planner revision)
- Ready for execution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:52:31 -06:00
Lex Christopherson
70fa2ad740 feat(15-02): create planner-subagent-prompt.md template
- Context-only template for spawning gsd-planner
- Contains planning_context, downstream_consumer, quality_gate sections
- Includes continuation template for checkpoints
- Follows debug-subagent-prompt.md pattern
2026-01-16 07:48:56 -06:00
Lex Christopherson
e8d66e3bf9 docs(15-02): deprecate workflows/plan-phase.md
- Replaced 868-line workflow with deprecation notice
- Points to agents/gsd-planner.md for methodology
- Documents historical content for reference
- Kept file for git history
2026-01-16 07:48:33 -06:00
Lex Christopherson
a52d1fdf12 docs(15-03): add clarifying note to phase-prompt template
Note clarifies relationship with gsd-planner agent:
- Planning methodology is in agents/gsd-planner.md
- This template defines the PLAN.md output format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 07:48:18 -06:00
Lex Christopherson
0585752d74 refactor(15-02): /gsd:plan-phase to thin orchestrator
- Reduced from 103 to 189 lines (thin orchestrator, not workflow)
- Added agent: gsd-planner frontmatter
- Removed all workflow/reference inclusions
- Orchestrator now: validate, parse, spawn agent, handle returns
- Planning methodology delegated to gsd-planner agent
2026-01-16 07:48:16 -06:00
Lex Christopherson
7ba0af81ba chore(15-03): deprecate planning-specific reference files
- principles.md: redirects to <philosophy> section
- plan-format.md: redirects to <plan_format> section
- scope-estimation.md: redirects to <scope_estimation> section
- goal-backward.md: redirects to <goal_backward> section

All content preserved in agents/gsd-planner.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 07:47:59 -06:00