From 97c03e72306af357531c2ce144db1c95f698f98a Mon Sep 17 00:00:00 2001 From: Daniel Smolsky Date: Sun, 15 Mar 2026 23:59:54 -0400 Subject: [PATCH] Add GitHub issue templates for bug reports and feature requests --- .github/ISSUE_TEMPLATE/bug_report.yml | 93 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.yml | 38 +++++++++ 3 files changed, 132 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..6449a339 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,93 @@ +name: Bug Report +description: Report a bug with DCP. Please include debug logs. +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug! To help us investigate, please include debug context logs. + + **How to get debug logs:** + 1. In your `dcp.jsonc`, add `"debug": true` + 2. Send a message in your opencode session to trigger a new log + 3. Navigate to `~/.config/opencode/logs/dcp/context/{last session ID}/{last timestamp}.json` + 4. Attach or paste the relevant portion of the log below + + Debug can be enabled after experiencing the bug — you'll just have to send another message in your opencode session to trigger a new log json generation. + + - type: textarea + id: description + attributes: + label: Bug Description + description: A clear and concise description of the bug. + placeholder: Describe what happened... + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What did you expect to happen? + placeholder: Describe what you expected... + validations: + required: true + + - type: textarea + id: debug-logs + attributes: + label: Debug Context Logs + description: | + Paste the relevant portion of your debug context log JSON here. + Navigate to `~/.config/opencode/logs/dcp/context/{session ID}/{timestamp}.json` + render: json + validations: + required: true + + - type: textarea + id: tool-call + attributes: + label: Tool Call Details + description: If applicable, describe what the tool call looked like and what the error was. + placeholder: "e.g. compress was called with startId: m0001, endId: m0010, and returned..." + validations: + required: false + + - type: input + id: dcp-version + attributes: + label: DCP Version + description: Which version of `@tarquinen/opencode-dcp` are you using? + placeholder: "e.g. 3.0.4" + validations: + required: true + + - type: input + id: opencode-version + attributes: + label: Opencode Version + description: Which version of opencode are you using? + placeholder: "e.g. 0.1.50" + validations: + required: true + + - type: dropdown + id: model + attributes: + label: Model + description: Which model are you using? + options: + - Claude Sonnet 4 + - Claude Opus 4 + - Other (specify in description) + validations: + required: true + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Any other context, screenshots, or information that might help. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..0086358d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..f53cfcd4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,38 @@ +name: Feature Request +description: Suggest a new feature or improvement for DCP. +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: Problem + description: What problem does this feature solve? What's the motivation? + placeholder: "I'm always frustrated when..." + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: Describe the solution you'd like. + placeholder: Describe your ideal solution... + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Any alternative solutions or features you've considered? + validations: + required: false + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Any other context, examples, or references. + validations: + required: false