Skip to content

Commit 97c03e7

Browse files
committed
Add GitHub issue templates for bug reports and feature requests
1 parent 81f3340 commit 97c03e7

3 files changed

Lines changed: 132 additions & 0 deletions

File tree

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Bug Report
2+
description: Report a bug with DCP. Please include debug logs.
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! To help us investigate, please include debug context logs.
10+
11+
**How to get debug logs:**
12+
1. In your `dcp.jsonc`, add `"debug": true`
13+
2. Send a message in your opencode session to trigger a new log
14+
3. Navigate to `~/.config/opencode/logs/dcp/context/{last session ID}/{last timestamp}.json`
15+
4. Attach or paste the relevant portion of the log below
16+
17+
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.
18+
19+
- type: textarea
20+
id: description
21+
attributes:
22+
label: Bug Description
23+
description: A clear and concise description of the bug.
24+
placeholder: Describe what happened...
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: expected
30+
attributes:
31+
label: Expected Behavior
32+
description: What did you expect to happen?
33+
placeholder: Describe what you expected...
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: debug-logs
39+
attributes:
40+
label: Debug Context Logs
41+
description: |
42+
Paste the relevant portion of your debug context log JSON here.
43+
Navigate to `~/.config/opencode/logs/dcp/context/{session ID}/{timestamp}.json`
44+
render: json
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: tool-call
50+
attributes:
51+
label: Tool Call Details
52+
description: If applicable, describe what the tool call looked like and what the error was.
53+
placeholder: "e.g. compress was called with startId: m0001, endId: m0010, and returned..."
54+
validations:
55+
required: false
56+
57+
- type: input
58+
id: dcp-version
59+
attributes:
60+
label: DCP Version
61+
description: Which version of `@tarquinen/opencode-dcp` are you using?
62+
placeholder: "e.g. 3.0.4"
63+
validations:
64+
required: true
65+
66+
- type: input
67+
id: opencode-version
68+
attributes:
69+
label: Opencode Version
70+
description: Which version of opencode are you using?
71+
placeholder: "e.g. 0.1.50"
72+
validations:
73+
required: true
74+
75+
- type: dropdown
76+
id: model
77+
attributes:
78+
label: Model
79+
description: Which model are you using?
80+
options:
81+
- Claude Sonnet 4
82+
- Claude Opus 4
83+
- Other (specify in description)
84+
validations:
85+
required: true
86+
87+
- type: textarea
88+
id: additional
89+
attributes:
90+
label: Additional Context
91+
description: Any other context, screenshots, or information that might help.
92+
validations:
93+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Feature Request
2+
description: Suggest a new feature or improvement for DCP.
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem
10+
description: What problem does this feature solve? What's the motivation?
11+
placeholder: "I'm always frustrated when..."
12+
validations:
13+
required: true
14+
15+
- type: textarea
16+
id: solution
17+
attributes:
18+
label: Proposed Solution
19+
description: Describe the solution you'd like.
20+
placeholder: Describe your ideal solution...
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: alternatives
26+
attributes:
27+
label: Alternatives Considered
28+
description: Any alternative solutions or features you've considered?
29+
validations:
30+
required: false
31+
32+
- type: textarea
33+
id: additional
34+
attributes:
35+
label: Additional Context
36+
description: Any other context, examples, or references.
37+
validations:
38+
required: false

0 commit comments

Comments
 (0)