Commit Graph

531 Commits

Author SHA1 Message Date
Lex Christopherson
563bcdf765 feat(01-02): implement gsd-executor spawn for quick mode
- Add Step 6 with gsd-executor Task spawn
- Include plan reference and constraints
- Verify SUMMARY.md creation after executor returns
- Note wave execution support for multi-plan cases
2026-01-19 15:59:29 -06:00
Lex Christopherson
58bd646219 feat(01-02): implement gsd-planner spawn for quick mode
- Add Step 5 with gsd-planner Task spawn
- Include quick mode context and constraints
- Verify PLAN.md creation after planner returns
2026-01-19 15:59:29 -06:00
Lex Christopherson
2b36394f35 feat(01-01): create quick.md command file with structure
- Add frontmatter with name, description, allowed-tools
- Include objective explaining quick mode purpose
- Add process section with steps 1-7 (orchestration deferred to Plan 02)
- Include success criteria for full quick task flow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:59:29 -06:00
Lex Christopherson
6d0a9a0543 docs(01): research phase domain
Phase 1: Core Command
- Standard stack identified (gsd-planner quick mode, gsd-executor)
- Architecture patterns documented (.planning/quick/ structure, STATE.md table)
- Pitfalls catalogued (ROADMAP updates, decimal phases, flags - all rejected by CONTEXT.md)
2026-01-19 15:59:29 -06:00
Lex Christopherson
ae43baccd2 docs(01): capture phase context
Phase 01: Core Command
- Implementation decisions documented
- Phase boundary established
- Quick tasks use .planning/quick/ directory structure

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:59:29 -06:00
Santeri Helminen
c033a85e4a fix(hooks): update check now finds VERSION in local project installs (#166)
The update check script always looked for VERSION in ~/.claude/get-shit-done/,
but GSD can be installed locally in ./.claude/get-shit-done/. This caused
false "update available" notifications when using local installations.

Changes:
- Check project directory first, then fall back to global
- Remove unused execSync import
2026-01-19 14:52:36 -06:00
superresistant
3fb6bfbb50 fix(hooks): prevent console window flash on Windows (#167)
On Windows, the detached spawn option creates a visible console window.
Combined with npm (which is a .cmd batch file), this causes a brief
window flash that steals focus from the user's terminal.

- Remove detached: true (not needed, child.unref() handles non-blocking)
- Add windowsHide: true to both spawn() and inner execSync()
2026-01-19 14:50:30 -06:00
Joshua Shanks
99362f1e5f fix: clamp progress bar value to 0-100 range (#176)
Prevents visual glitches if context usage reports unexpected values
outside the expected 0-100 percentage range.
2026-01-19 14:47:49 -06:00
Joshua Shanks
80414a785b fix: validate empty --config-dir value (#177)
Reject --config-dir= with empty value with a clear error message
instead of silently failing. Helps users catch typos.
2026-01-19 14:45:33 -06:00
Joshua Shanks
4b7d1e16e6 chore: add homepage and bugs fields to package.json (#178)
Improves npm discoverability and helps users find documentation
and report issues directly from the npm package page.
2026-01-19 14:44:53 -06:00
Joshua Shanks
76cba3bff1 fix: use consistent allowed-tools YAML format (#179)
Convert inline array format to list format in discuss-phase.md
to match all other command files in the codebase.

Before: allowed-tools: [Read, Write, Bash, ...]
After:  allowed-tools:
          - Read
          - Write
          - Bash
          ...
2026-01-19 14:44:16 -06:00
Lex Christopherson
92b48937e0 fix: correct agent name in research-phase heading
The heading said gsd-researcher but the actual Task call uses
gsd-phase-researcher. Aligns with PR #180's cleanup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:31 -06:00
Lex Christopherson
d21f2d9092 docs: create roadmap (3 phases)
Phases:
1. Core Command: CMD-01-05, EXEC-01-04, STATE-01-03
2. Resume Integration: RESUME-01-02
3. Documentation: DOCS-01-03

All v1 requirements mapped to phases.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Lex Christopherson
535b316e17 docs: define v1 requirements
17 requirements across 5 categories
0 requirements deferred to v2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Lex Christopherson
eac1503139 chore: add project config
Mode: yolo
Depth: quick
Parallelization: enabled

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Lex Christopherson
922debfcb1 docs: initialize project
Fast-path /gsd:quick command — same guarantees, 50-70% fewer tokens for simple tasks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Lex Christopherson
6ad1d0a318 fix(agents): remove hardcoded 2025 year from search query examples
Researcher agents were using literal "2025" in query template examples,
causing Claude to copy them verbatim instead of using the actual current
year. Changed to [current year] placeholder with explicit instruction to
check today's date.

Fixes #164

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Lex Christopherson
694bd1510e feat: add gsd-meta subagent for instant GSD expertise
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:40:19 -06:00
Joshua Shanks
a6f7ff2e65 fix: remove dead gsd-researcher agent references (#180)
Remove mentions of non-existent gsd-researcher agent from
discovery-phase.md and fix step numbering.

The agent was removed/renamed but the workflow still referenced
its "verification protocols".
2026-01-19 14:40:11 -06:00
Joshua Shanks
ac1f7580d8 docs: integrate unused reference files (#181)
Add proper @-references to three reference files that existed
but were never loaded:

- git-integration.md -> execute-plan.md
- continuation-format.md -> resume-project.md
- verification-patterns.md -> verify-phase.md
2026-01-19 14:38:53 -06:00
Lex Christopherson
8c92967eb9 1.6.4 2026-01-17 11:18:05 -06:00
Lex Christopherson
7df504b863 docs: update changelog for v1.6.4 2026-01-17 11:18:01 -06:00
Lex Christopherson
c233f71163 fix(install): handle non-TTY stdin and verify file installation
Fixes #119 - Installation on WSL2 via npx would report success but
files weren't actually copied due to stdin handling issues.

Changes:
- Detect non-TTY stdin and fall back to global install automatically
- Handle premature readline close events
- Verify each component exists after copying before showing success
- Exit with error if any critical component fails to install
- Show workaround command when installation fails

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 08:42:42 -06:00
Lex Christopherson
6c435b3dd8 fix(install): clean up orphaned gsd-notify.sh from previous versions
Users who installed before the hook was removed have stranded files
and hook registrations. Installer now removes both:
- The orphaned file (hooks/gsd-notify.sh)
- The hook registration in settings.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 08:37:06 -06:00
Lex Christopherson
079eca524f 1.6.3 2026-01-17 02:04:40 -06:00
Lex Christopherson
dfcd0a4f06 docs: update changelog for v1.6.3 2026-01-17 02:04:35 -06:00
Lex Christopherson
200e004781 feat(execute-phase): add --gaps-only flag for gap closure execution
After verify-work diagnoses issues and creates fix plans, the next
command now explicitly signals intent with --gaps-only. This eliminates
redundant state discovery where execute-phase had to figure out why it
was being asked to run on an already-complete phase.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 02:03:29 -06:00
Lex Christopherson
9654a8b370 1.6.2 2026-01-17 01:12:25 -06:00
Lex Christopherson
96fffdf554 docs: update changelog for v1.6.2 2026-01-17 01:12:22 -06:00
Lex Christopherson
bc047f46ee docs: restructure README with improved workflow clarity
- Rewrite "How It Works" with 6 clear steps: init → discuss → plan → execute → verify → complete
- Emphasize discuss-phase as where users shape implementation (feeds research + planning)
- Emphasize verify-work as where users confirm features actually work (auto-diagnoses failures)
- Add brownfield callout at top of How It Works instead of separate section
- Move discuss-phase, verify-work, new-milestone into Core Workflow commands
- Replace "Subagent Execution" with "Multi-Agent Orchestration" explaining thin orchestrator pattern
- Highlight 30-40% context usage even after thousands of lines of code
2026-01-17 01:10:41 -06:00
Lex Christopherson
0c96b30901 refactor: defer phase directory creation to discuss/plan-phase
Phase directories are now created on-demand when discuss-phase or
plan-phase first touches a phase, rather than upfront by roadmapper.

Prevents duplicate folders when roadmapper names phases differently
than what discuss/plan-phase derives from the roadmap.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 00:45:48 -06:00
Lex Christopherson
17f4f54b6f 1.6.1 2026-01-17 00:42:58 -06:00
Lex Christopherson
7293a52d21 docs: update changelog for v1.6.1 2026-01-17 00:42:54 -06:00
Lex Christopherson
acd62c0f6e feat(installer): clean install removes orphaned files
- Wipe commands/gsd/ and get-shit-done/ before copying
- Delete only gsd-*.md agents (preserves user agents)
- Add confirmation step to /gsd:update with changelog preview
- Warn users about clean install behavior before updating
2026-01-17 00:42:09 -06:00
Lex Christopherson
bfa92e980f 1.6.0 2026-01-17 00:30:16 -06:00
Lex Christopherson
c424d1982b docs: update changelog for v1.6.0 2026-01-17 00:30:11 -06:00
Lex Christopherson
c54071ccb8 refactor: unify milestone flow, remove deprecated commands
Consolidate /gsd:new-milestone to mirror /gsd:new-project:
- questioning → research (optional) → requirements → roadmap

BREAKING CHANGES:
- Remove /gsd:discuss-milestone (consolidated into new-milestone)
- Remove /gsd:create-roadmap (integrated into project/milestone flows)
- Remove /gsd:define-requirements (integrated into project/milestone flows)
- Remove /gsd:research-project (integrated into project/milestone flows)

Deleted files:
- commands/gsd/{discuss-milestone,create-roadmap,define-requirements,research-project}.md
- get-shit-done/workflows/{discuss-milestone,create-roadmap,define-requirements}.md
- get-shit-done/templates/milestone-context.md

Updated references in:
- progress.md, complete-milestone.md, help.md
- complete-milestone workflow, continuation-format.md
- questioning.md, requirements.md template, SUMMARY.md template
- gsd-project-researcher.md, gsd-roadmapper.md
- README.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 00:28:41 -06:00
Lex Christopherson
54f2d5600b feat(verify-work): add offer_next section with routing templates
Add structured next-step routing consistent with other GSD commands.
Four routes: pass+continue, pass+milestone, issues+ready, issues+blocked.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 00:13:45 -06:00
Lex Christopherson
94740e363b 1.5.30 2026-01-17 00:03:34 -06:00
Lex Christopherson
0f5357e4aa docs: update changelog for v1.5.30 2026-01-17 00:03:30 -06:00
Lex Christopherson
8d199427a8 fix(offer-next): remove code blocks from output templates for proper markdown rendering
Commands with <offer_next> sections were outputting backticks literally
instead of rendering them as inline code. Removed code block wrappers
and added explicit 'Output this markdown directly' instruction.

Affected: plan-phase, execute-phase, audit-milestone
2026-01-17 00:01:30 -06:00
Lex Christopherson
cfe237d439 fix(routing): recommend discuss-phase before plan-phase in all next-step suggestions
Updated routing in:
- new-project.md
- create-roadmap.md (command and workflow)
- progress.md (routes B and C)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 23:18:32 -06:00
Lex Christopherson
60ebda93b1 fix(execute-phase): recommend discuss-phase before plan-phase
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 23:17:28 -06:00
Lex Christopherson
8cb55ffd39 1.5.29 2026-01-16 22:57:35 -06:00
Lex Christopherson
819042a76e docs: update changelog for v1.5.29 2026-01-16 22:57:31 -06:00
Lex Christopherson
967734df21 fix: Windows hook support via Node.js conversion
- Convert statusline.sh and gsd-check-update.sh to Node.js
- Remove gsd-notify.sh (blocking popups, not true toasts)
- Remove --force-notify and --no-notify flags from installer
- Use `node` command for cross-platform hook execution

Fixes #114

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 22:56:26 -06:00
Lex Christopherson
7c60722b71 refactor(discuss-phase): domain-aware gray areas and deeper probing
- Remove useless "None — you decide" skip option
- Generate phase-specific gray areas based on domain analysis
  (UI features, CLI tools, APIs, organization tasks, etc.)
- Increase probing depth: 4 questions per area before check
- Make context.md categories flexible (emerge from discussion)
- Add CLI and organization examples to context template

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 22:44:15 -06:00
Lex Christopherson
567bdd2e2c fix: normalize phase input at command entry points
Commands accept both padded (08) and unpadded (8) phase numbers.
Normalization happens in step 1/2 before any directory lookups.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 22:17:51 -06:00
Lex Christopherson
3d9449cd25 1.5.28 2026-01-16 19:02:23 -06:00
Lex Christopherson
d4cd848ef7 docs: update changelog for v1.5.28 2026-01-16 19:02:13 -06:00