root commited on
Commit
30c3c2f
·
1 Parent(s): bde2f3a

docs(issues): add YAML issue forms (bug, feature) + config

Browse files

- .forgejo/ISSUE_TEMPLATE/bug.yml
- .forgejo/ISSUE_TEMPLATE/feature.yml
- .forgejo/ISSUE_TEMPLATE/config.yml: blank_issues_enabled=false,
contact_links to discussions (Q&A, Feature Requests, Announcements)

Discussions per repo land in a separate follow-up commit.

.forgejo/ISSUE_TEMPLATE/bug.yml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Bug Report
2
+ description: Report a defect or unexpected behavior
3
+ title: "[Bug]: "
4
+ labels: ["bug", "triage"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for reporting a bug. Please fill in the sections below.
10
+
11
+ - type: input
12
+ id: version
13
+ attributes:
14
+ label: Version
15
+ description: Tag, branch, or commit SHA where the bug reproduces
16
+ placeholder: "v1.2.3 or main@abc1234"
17
+ validations:
18
+ required: true
19
+
20
+ - type: dropdown
21
+ id: severity
22
+ attributes:
23
+ label: Severity
24
+ description: How bad is the impact?
25
+ options:
26
+ - Critical (data loss, security, total outage)
27
+ - High (major feature broken, no workaround)
28
+ - Medium (feature broken, workaround exists)
29
+ - Low (minor, cosmetic)
30
+ validations:
31
+ required: true
32
+
33
+ - type: textarea
34
+ id: summary
35
+ attributes:
36
+ label: What happened?
37
+ description: Clear, factual description of the bug
38
+ placeholder: |
39
+ Expected: ...
40
+ Actual: ...
41
+ validations:
42
+ required: true
43
+
44
+ - type: textarea
45
+ id: repro
46
+ attributes:
47
+ label: Steps to reproduce
48
+ description: Numbered steps. Include URLs, commands, inputs.
49
+ placeholder: |
50
+ 1. Go to /scanner/scan
51
+ 2. Enter address 0x...
52
+ 3. Click "Analyze"
53
+ 4. See "undefined" instead of risk score
54
+ render: shell
55
+ validations:
56
+ required: true
57
+
58
+ - type: textarea
59
+ id: logs
60
+ attributes:
61
+ label: Logs / errors / stack trace
62
+ description: Paste relevant output. Use a code block.
63
+ render: shell
64
+ placeholder: |
65
+ ```
66
+ 2026-07-02T10:00:00 ERROR ...
67
+ ```
68
+
69
+ - type: input
70
+ id: env
71
+ attributes:
72
+ label: Environment
73
+ description: OS, browser, runtime version, etc.
74
+ placeholder: "macOS 14.5, Chrome 125, Node 22.3"
75
+
76
+ - type: checkboxes
77
+ id: checks
78
+ attributes:
79
+ label: Pre-submit checks
80
+ options:
81
+ - label: I searched existing issues and didn't find a duplicate
82
+ required: true
83
+ - label: I can reproduce this on `main` HEAD
84
+ required: false
85
+ - label: I'm willing to submit a PR
86
+ required: false
.forgejo/ISSUE_TEMPLATE/config.yml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Q&A
4
+ url: https://git.rugmunch.io/RugMunchMedia/rmi-backend/discussions/new?category=q-a
5
+ about: Use this for questions and troubleshooting
6
+ - name: Feature Requests
7
+ url: https://git.rugmunch.io/RugMunchMedia/rmi-backend/discussions/new?category=feature-requests
8
+ about: Suggest a new feature or improvement (preview / brainstorm)
9
+ - name: Announcements
10
+ url: https://git.rugmunch.io/RugMunchMedia/rmi-backend/discussions/new?category=announcements
11
+ about: Stay up to date on releases and changes
.forgejo/ISSUE_TEMPLATE/feature.yml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Feature Request
2
+ description: Propose a new feature or improvement
3
+ title: "[Feature]: "
4
+ labels: ["enhancement", "triage"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Use this for new features or improvements. For bugs, use the Bug Report template.
10
+
11
+ - type: dropdown
12
+ id: area
13
+ attributes:
14
+ label: Area
15
+ description: Which product / surface does this affect?
16
+ options:
17
+ - RMI (scanner / dashboard)
18
+ - Pry (crawler)
19
+ - WalletPress
20
+ - RugCharts
21
+ - RugMaps
22
+ - x402 Gateway
23
+ - Infra / CI / tooling
24
+ - Other
25
+ validations:
26
+ required: true
27
+
28
+ - type: textarea
29
+ id: problem
30
+ attributes:
31
+ label: Problem / motivation
32
+ description: What user pain or gap does this address? Why is it worth building?
33
+ placeholder: |
34
+ As a <user type>, I want to <action>, so that <outcome>.
35
+ validations:
36
+ required: true
37
+
38
+ - type: textarea
39
+ id: proposal
40
+ attributes:
41
+ label: Proposed solution
42
+ description: How would you build it? API, UI, data model.
43
+ placeholder: |
44
+ - Add new endpoint POST /api/v1/...
45
+ - Add new column `risk_score` to `tokens` table
46
+ - Add new React component `RiskBadge`
47
+
48
+ - type: textarea
49
+ id: alternatives
50
+ attributes:
51
+ label: Alternatives considered
52
+ description: Other ways to solve this. Why this approach?
53
+
54
+ - type: textarea
55
+ id: scope
56
+ attributes:
57
+ label: Acceptance criteria
58
+ description: How do we know it's done? Checklist.
59
+ placeholder: |
60
+ - [ ] Endpoint returns <expected shape>
61
+ - [ ] Tests cover happy + edge cases
62
+ - [ ] Docs updated
63
+ - [ ] No new lint errors
64
+
65
+ - type: checkboxes
66
+ id: effort
67
+ attributes:
68
+ label: Effort estimate
69
+ options:
70
+ - Small (< 1 day)
71
+ - Medium (1-3 days)
72
+ - Large (1-2 weeks)
73
+ - XL (2+ weeks, breaking change)
74
+
75
+ - type: checkboxes
76
+ id: checks
77
+ attributes:
78
+ label: Pre-submit checks
79
+ options:
80
+ - label: I searched existing issues and didn't find a duplicate
81
+ required: true
82
+ - label: I'm willing to submit a PR
83
+ required: false