diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..e50fa13e6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,107 @@ +name: Bug Report +description: Report a bug in GSD +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for reporting a bug! Please fill out the sections below so we can reproduce and fix it. + + - type: input + id: version + attributes: + label: GSD version + description: Run `gsd --version` or check `package.json` + placeholder: "e.g., 2.15.0" + validations: + required: true + + - type: dropdown + id: area + attributes: + label: Affected area + options: + - Auto-mode / dispatch loop + - TUI / terminal display + - Planning / roadmap + - Phase execution + - Git / worktree isolation + - Hook orchestration + - State management + - AI provider integration + - CLI / commands + - Other + validations: + required: true + + - type: textarea + id: description + attributes: + label: What happened? + description: A clear description of the bug. + placeholder: "When I run X, Y happens instead of Z." + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What should have happened instead? + validations: + required: true + + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: Minimal steps to trigger the bug. + placeholder: | + 1. Run `gsd ...` + 2. Select option ... + 3. See error + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Error output / logs + description: Paste any error messages or relevant log output. + render: shell + + - type: dropdown + id: os + attributes: + label: Operating system + options: + - macOS + - Linux + - Windows + - Other + validations: + required: true + + - type: input + id: node-version + attributes: + label: Node.js version + description: Run `node --version` + placeholder: "e.g., v22.4.0" + + - type: dropdown + id: ai-provider + attributes: + label: AI provider (if relevant) + options: + - Anthropic (Claude) + - OpenRouter + - OpenAI-compatible + - Other + - N/A + + - type: textarea + id: context + attributes: + label: Additional context + description: Anything else — screenshots, config snippets, related issues. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..ae3a26a05 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,49 @@ +## Summary + + +- + +## Motivation + + +Closes # + +## Change type + +- [ ] `feat` — New feature or capability +- [ ] `fix` — Bug fix +- [ ] `refactor` — Code restructuring (no behavior change) +- [ ] `test` — Adding or updating tests +- [ ] `docs` — Documentation only +- [ ] `chore` — Build, CI, or tooling changes + +## Scope + +- [ ] `pi-tui` — Terminal UI +- [ ] `pi-ai` — AI/LLM layer +- [ ] `pi-agent-core` — Agent orchestration +- [ ] `pi-coding-agent` — Coding agent +- [ ] `gsd extension` — GSD workflow (`src/resources/extensions/gsd/`) +- [ ] `native` — Native bindings +- [ ] `ci/build` — Workflows, scripts, config + +## Breaking changes + +- [ ] No breaking changes +- [ ] Yes — describe below: + +## Test plan + +- [ ] Unit tests added/updated (`npm run test:unit`) +- [ ] Integration tests added/updated (`npm run test:integration`) +- [ ] Manual testing — describe steps: +- [ ] No tests needed — explain why: + +## Rollback plan + +- [ ] Safe to revert (no migrations, no state changes) +- [ ] Requires steps — describe: + +## Release context + +- **Target**: