Skip to content

feat: /gsd:report-bug command with severity tracking and GitHub integration#816

Open
ethan-hurst wants to merge 6 commits intogsd-build:mainfrom
ethan-hurst:main
Open

feat: /gsd:report-bug command with severity tracking and GitHub integration#816
ethan-hurst wants to merge 6 commits intogsd-build:mainfrom
ethan-hurst:main

Conversation

@ethan-hurst
Copy link
Contributor

Summary

Closes #99. Adds a dedicated /gsd:report-bug command with structured bug reporting, severity classification, diagnostic log capture, and optional GitHub issue creation.

  • Skill + workflow + template: Full bug lifecycle (report → investigate → fix → resolve)
  • CLI commands: bug list/update/resolve, init bugs, scaffold bugs
  • Severity inference: Keyword matching (critical/high/medium/low) with user confirmation
  • Diagnostic capture: Git state, log files, error output bundled automatically
  • GitHub integration: Auto-creates issues via gh CLI (graceful skip if unavailable)
  • 13 new tests across 4 suites (bug list, bug update, init bugs, scaffold bugs)
  • Docs: Registered in help, README, USER-GUIDE, CHANGELOG, STATE template, progress workflow

Test plan

  • node --test tests/commands.test.cjs — all tests pass
  • node --test tests/core.test.cjs — no regressions
  • node gsd-tools.cjs init bugs returns valid JSON
  • node gsd-tools.cjs bug list works on empty dir
  • node gsd-tools.cjs scaffold bugs creates directories

🤖 Generated with Claude Code

Ethan Hurst added 6 commits February 28, 2026 20:28
Command shipped in a92512a but was missing from all documentation.
Added to help.md (full reference + common workflows), README.md
command table, and USER-GUIDE.md command reference.
Add centralized path resolution layer (paths.cjs) that enables
milestone-scoped directories for parallel milestone work. All 11 lib
files refactored to use resolvePlanningPaths() instead of hardcoded
.planning/ paths.

Key changes:
- New paths.cjs: resolvePlanningPaths(cwd, milestoneOverride) resolves
  abs/rel paths based on ACTIVE_MILESTONE file or --milestone CLI flag
- --milestone <name> CLI flag parsed in gsd-tools.cjs
- New commands: milestone create/switch/list/status
- All init commands output milestone, is_multi_milestone, planning_base
- Legacy mode (no ACTIVE_MILESTONE) returns identical paths to before
- Auto-migration: first milestone create copies existing global state
- 25 new tests for paths and milestone commands (457 total, 0 failures)
Replace hardcoded .planning/ paths in bash commands and commit
file lists with init JSON variables ({state_path}, {roadmap_path},
{planning_base}/...). Workflows without init calls gain appropriate
init calls. Global paths (PROJECT.md, codebase/) left unchanged.
…tusline, and docs (gsd-build#291)

Phase 5: polish for concurrent milestone execution.
- Milestone-scoped commit prefixes in execute-plan.md (v2.0/08-02)
- cmdMilestoneSwitch warns about in-progress work before switching
- /gsd:switch-milestone workflow and command
- Statusline shows active milestone in cyan [v2.0]
- new-milestone.md calls milestone create for multi-milestone mode
- Help and README updated with switch-milestone and concurrent docs
…itch-warning tests (gsd-build#291)

- USER-GUIDE: add /gsd:switch-milestone, concurrent milestones section,
  multi-milestone directory layout
- CHANGELOG: add [Unreleased] entry for concurrent milestone execution
- planner-subagent-prompt.md: replace hardcoded .planning/ paths with
  milestone-aware template variables
- 4 new tests: switch in-progress warning, idle switch, same-milestone
  switch, and auto-migration on first milestone create (461 total)
…ration (gsd-build#99)

Add structured bug reporting lifecycle: report → triage → investigate → fix → resolve.

- Skill file, workflow, and bug-report template
- CLI commands: bug list/update/resolve, init bugs, scaffold bugs
- Severity inference from keywords (critical/high/medium/low)
- Diagnostic log capture (git state, error output, log files)
- Optional GitHub issue creation via gh CLI
- 13 new tests across 4 test suites
- Registered in help, README, USER-GUIDE, CHANGELOG
- STATE.md and progress workflow track active bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing: /gsd:report-bug

1 participant