|
| 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 |
0 commit comments