|
| 1 | +name: Bug report |
| 2 | +description: Something is broken or behaving unexpectedly. |
| 3 | +title: "bug: <one-line summary>" |
| 4 | +labels: ["bug", "triage"] |
| 5 | + |
| 6 | +body: |
| 7 | + - type: markdown |
| 8 | + attributes: |
| 9 | + value: | |
| 10 | + Thanks for taking the time to file a bug report. Please fill in as much |
| 11 | + of the form as you can — the more we know, the faster we can fix it. |
| 12 | +
|
| 13 | + Before submitting: |
| 14 | + - Search [existing issues](https://github.com/GrayCodeAI/sight/issues) to avoid duplicates. |
| 15 | + - If this is a security issue, please **do not** file a public issue. See `SECURITY.md`. |
| 16 | +
|
| 17 | + - type: textarea |
| 18 | + id: what-happened |
| 19 | + attributes: |
| 20 | + label: What happened? |
| 21 | + description: A clear, concise description of the bug. |
| 22 | + placeholder: When I call sight.Review(...) on diff X, I expected Y but got Z. |
| 23 | + validations: |
| 24 | + required: true |
| 25 | + |
| 26 | + - type: dropdown |
| 27 | + id: surface |
| 28 | + attributes: |
| 29 | + label: Surface |
| 30 | + description: How are you using sight? |
| 31 | + options: |
| 32 | + - "Library API (`sight.Review`, `sight.Describe`, `sight.Improve`)" |
| 33 | + - "MCP (`sight_review`, `sight_describe`, `sight_improve` tools)" |
| 34 | + - "SARIF output" |
| 35 | + - "Static rules / convention checks" |
| 36 | + - "Eval framework" |
| 37 | + validations: |
| 38 | + required: true |
| 39 | + |
| 40 | + - type: textarea |
| 41 | + id: reproduce |
| 42 | + attributes: |
| 43 | + label: Steps to reproduce |
| 44 | + description: Minimal Go snippet, MCP call, or diff that reliably reproduces the problem. |
| 45 | + render: go |
| 46 | + placeholder: | |
| 47 | + diff := `--- a/foo.go |
| 48 | + +++ b/foo.go |
| 49 | + @@ ... @@` |
| 50 | + result, err := sight.Review(ctx, diff, sight.WithProvider(p), sight.Thorough) |
| 51 | + // ^ wrong finding category / missed finding / panic / etc. |
| 52 | + validations: |
| 53 | + required: true |
| 54 | + |
| 55 | + - type: textarea |
| 56 | + id: expected |
| 57 | + attributes: |
| 58 | + label: Expected behavior |
| 59 | + description: What did you expect to happen instead? |
| 60 | + validations: |
| 61 | + required: true |
| 62 | + |
| 63 | + - type: textarea |
| 64 | + id: false-positive |
| 65 | + attributes: |
| 66 | + label: If this is a false positive / false negative |
| 67 | + description: | |
| 68 | + Paste the relevant finding (or the missing one), and explain why you |
| 69 | + think the verdict is wrong. Include the snippet of code that |
| 70 | + triggered (or should have triggered) it. |
| 71 | +
|
| 72 | + - type: input |
| 73 | + id: sight-version |
| 74 | + attributes: |
| 75 | + label: sight version |
| 76 | + description: Output of `sight version` (or the git SHA you built from). |
| 77 | + placeholder: "0.2.0" |
| 78 | + validations: |
| 79 | + required: true |
| 80 | + |
| 81 | + - type: input |
| 82 | + id: go-version |
| 83 | + attributes: |
| 84 | + label: Go version |
| 85 | + description: Output of `go version`. |
| 86 | + placeholder: "go version go1.26.1 darwin/arm64" |
| 87 | + validations: |
| 88 | + required: true |
| 89 | + |
| 90 | + - type: input |
| 91 | + id: provider |
| 92 | + attributes: |
| 93 | + label: LLM provider used |
| 94 | + description: Which provider/model? (Anthropic Claude Opus, OpenAI GPT-5, local Ollama, mock, etc.) |
| 95 | + placeholder: "anthropic claude-opus-4-20250514" |
| 96 | + |
| 97 | + - type: textarea |
| 98 | + id: logs |
| 99 | + attributes: |
| 100 | + label: Logs / output |
| 101 | + description: | |
| 102 | + Paste relevant output. **Redact any secrets, API keys, proprietary |
| 103 | + code, and identifying repo paths first.** |
| 104 | + render: shell |
| 105 | + |
| 106 | + - type: checkboxes |
| 107 | + id: confirm |
| 108 | + attributes: |
| 109 | + label: Confirmation |
| 110 | + options: |
| 111 | + - label: I searched existing issues and did not find a duplicate. |
| 112 | + required: true |
| 113 | + - label: I redacted any secrets, API keys, or private code from logs. |
| 114 | + required: true |
0 commit comments