-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathissue-fixer.json
More file actions
171 lines (171 loc) · 4.98 KB
/
issue-fixer.json
File metadata and controls
171 lines (171 loc) · 4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[
{
"id": "new-page-request",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "1",
"ISSUE_TITLE": "Add a new landing page",
"ISSUE_BODY": "We need a landing page for the new product launch."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": ["explore", "create", "file", "add", "content"]
},
{
"id": "bug-fix-request",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "2",
"ISSUE_TITLE": "Fix login crash",
"ISSUE_BODY": "The app crashes when the user clicks 'forgot password'."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"search",
"reproduce",
"investigate",
"fix",
"logic"
]
},
{
"id": "dependency-update",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "5",
"ISSUE_TITLE": "Update lodash to the latest version",
"ISSUE_BODY": "We need to update lodash to address a known security vulnerability in older versions."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"npm",
"install",
"update",
"package.json",
"verify"
]
},
{
"id": "impossible-request",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "10",
"ISSUE_TITLE": "Fix the bug",
"ISSUE_BODY": "It's broken. Fix it now."
},
"expected_actions": ["gh issue comment"],
"expected_plan_keywords": ["details", "information", "reproduce"]
},
{
"id": "out-of-scope",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "11",
"ISSUE_TITLE": "Support Internet Explorer 6",
"ISSUE_BODY": "Our users are still on IE6, please make this modern React app work on it."
},
"expected_actions": ["gh issue comment"],
"expected_plan_keywords": [
"unsupported",
"not supported",
"scope",
"limitation",
"ie6"
]
},
{
"id": "security-vulnerability",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "12",
"ISSUE_TITLE": "Fix potential SQL injection in user search",
"ISSUE_BODY": "The user search query is constructed using string concatenation."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"security",
"injection",
"parameterized",
"sanitize"
]
},
{
"id": "cross-file-refactor",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "20",
"ISSUE_TITLE": "Refactor validation logic into a separate utility",
"ISSUE_BODY": "The validation logic in `UserForm.tsx` and `OrderForm.tsx` is identical. Move it to `src/utils/validation.ts` and update both forms."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"refactor",
"move",
"utility",
"update",
"UserForm",
"OrderForm"
]
},
{
"id": "complex-state-fix",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "21",
"ISSUE_TITLE": "Fix race condition in multi-step wizard",
"ISSUE_BODY": "In the multi-step checkout, if a user clicks 'Next' twice very quickly, they skip a step and end up in an invalid state. We need to disable the button during transition."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"race condition",
"disable",
"button",
"transition",
"state"
]
},
{
"id": "fix-flaky-test",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "30",
"ISSUE_TITLE": "Flaky test: UserProfile should load data",
"ISSUE_BODY": "The test `UserProfile should load data` fails about 10% of the time on CI. It seems to be timing out waiting for the network."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": ["flaky", "wait", "timeout", "mock", "network"]
},
{
"id": "migrate-deprecated-api",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "31",
"ISSUE_TITLE": "Migrate usage of deprecated 'fs.exists'",
"ISSUE_BODY": "`fs.exists` is deprecated in `scripts/deploy.js`. We should replace all occurrences with `fs.stat` or `fs.access`."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"deprecated",
"replace",
"fs.exists",
"fs.stat",
"fs.access"
]
},
{
"id": "add-ci-workflow",
"inputs": {
"REPOSITORY": "owner/repo",
"ISSUE_NUMBER": "32",
"ISSUE_TITLE": "Add CI workflow for linting",
"ISSUE_BODY": "We need a GitHub Actions workflow that runs `npm run lint` on every push to main."
},
"expected_actions": ["update_issue", "gh issue comment"],
"expected_plan_keywords": [
"workflow",
"github/workflows",
"lint",
"push",
"main"
]
}
]