You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: project context injection, prompt templates, doctor improvements
- buildProjectContext() injects repo/framework/build/test info into worker+audit prompts
- Prompt template {{projectContext}} variable support
- Doctor section improvements and test cleanup
- Recorded fixture update from smoke test run
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/__test__/fixtures/recorded-sub-issue-flow.ts
+50-32Lines changed: 50 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* Recorded API responses from sub-issue decomposition smoke test.
3
3
* Auto-generated — do not edit manually.
4
4
* Re-generate by running: npx vitest run src/__test__/smoke-linear-api.test.ts
5
-
* Last recorded: 2026-02-22T03:36:11.793Z
5
+
* Last recorded: 2026-02-22T03:40:54.418Z
6
6
*/
7
7
8
8
exportconstRECORDED={
@@ -44,20 +44,20 @@ export const RECORDED = {
44
44
}
45
45
],
46
46
"createParent": {
47
-
"id": "764cdfd0-5f9f-435b-b992-4f3fd81efd35",
48
-
"identifier": "UAT-424"
47
+
"id": "933fa3c0-981a-4d9e-8b2c-7c5c4d5b4349",
48
+
"identifier": "UAT-438"
49
49
},
50
50
"createSubIssue1": {
51
-
"id": "929dee88-1963-4656-86ad-351465c288f2",
52
-
"identifier": "UAT-425"
51
+
"id": "4caa7593-5a51-4795-b98c-29e532589dfe",
52
+
"identifier": "UAT-439"
53
53
},
54
54
"createSubIssue2": {
55
-
"id": "e8213391-5b46-4868-a445-5b1ab2800d40",
56
-
"identifier": "UAT-426"
55
+
"id": "0519065b-95eb-4752-966b-2099bbc5f3d1",
56
+
"identifier": "UAT-440"
57
57
},
58
58
"subIssue1Details": {
59
-
"id": "929dee88-1963-4656-86ad-351465c288f2",
60
-
"identifier": "UAT-425",
59
+
"id": "4caa7593-5a51-4795-b98c-29e532589dfe",
60
+
"identifier": "UAT-439",
61
61
"title": "[SMOKE TEST] Sub-Issue 1: Backend API",
62
62
"description": "Implement the backend search API endpoint.\n\nGiven a search query, when the API is called, then matching results are returned.",
63
63
"estimate": 2,
@@ -83,16 +83,16 @@ export const RECORDED = {
83
83
},
84
84
"project": null,
85
85
"parent": {
86
-
"id": "764cdfd0-5f9f-435b-b992-4f3fd81efd35",
87
-
"identifier": "UAT-424"
86
+
"id": "933fa3c0-981a-4d9e-8b2c-7c5c4d5b4349",
87
+
"identifier": "UAT-438"
88
88
},
89
89
"relations": {
90
90
"nodes": []
91
91
}
92
92
},
93
93
"subIssue2Details": {
94
-
"id": "e8213391-5b46-4868-a445-5b1ab2800d40",
95
-
"identifier": "UAT-426",
94
+
"id": "0519065b-95eb-4752-966b-2099bbc5f3d1",
95
+
"identifier": "UAT-440",
96
96
"title": "[SMOKE TEST] Sub-Issue 2: Frontend UI",
97
97
"description": "Build the frontend search UI component.\n\nGiven the search page loads, when the user types a query, then results display in real-time.",
"description": "Auto-generated by smoke test to verify sub-issue decomposition.\n\nThis parent issue should have two sub-issues created under it.\n\nCreated: 2026-02-22T03:36:10.360Z",
132
+
"description": "Auto-generated by smoke test to verify sub-issue decomposition.\n\nThis parent issue should have two sub-issues created under it.\n\nCreated: 2026-02-22T03:40:52.229Z",
133
133
"estimate": null,
134
134
"state": {
135
135
"name": "Backlog",
@@ -149,7 +149,13 @@ export const RECORDED = {
149
149
"issueEstimationType": "tShirt"
150
150
},
151
151
"comments": {
152
-
"nodes": []
152
+
"nodes": [
153
+
{
154
+
"body": "This thread is for an agent session with ctclaw.",
155
+
"user": null,
156
+
"createdAt": "2026-02-22T03:40:53.165Z"
157
+
}
158
+
]
153
159
},
154
160
"project": null,
155
161
"parent": null,
@@ -158,11 +164,11 @@ export const RECORDED = {
158
164
}
159
165
},
160
166
"createRelation": {
161
-
"id": "3879ad86-7f68-4e6e-a9a5-d139a7a1ca40"
167
+
"id": "185dfd6c-362e-48a4-b717-e900407ced84"
162
168
},
163
169
"subIssue1WithRelation": {
164
-
"id": "929dee88-1963-4656-86ad-351465c288f2",
165
-
"identifier": "UAT-425",
170
+
"id": "4caa7593-5a51-4795-b98c-29e532589dfe",
171
+
"identifier": "UAT-439",
166
172
"title": "[SMOKE TEST] Sub-Issue 1: Backend API",
167
173
"description": "Implement the backend search API endpoint.\n\nGiven a search query, when the API is called, then matching results are returned.",
168
174
"estimate": 2,
@@ -184,29 +190,35 @@ export const RECORDED = {
184
190
"issueEstimationType": "tShirt"
185
191
},
186
192
"comments": {
187
-
"nodes": []
193
+
"nodes": [
194
+
{
195
+
"body": "This thread is for an agent session with ctclaw.",
196
+
"user": null,
197
+
"createdAt": "2026-02-22T03:40:53.603Z"
198
+
}
199
+
]
188
200
},
189
201
"project": null,
190
202
"parent": {
191
-
"id": "764cdfd0-5f9f-435b-b992-4f3fd81efd35",
192
-
"identifier": "UAT-424"
203
+
"id": "933fa3c0-981a-4d9e-8b2c-7c5c4d5b4349",
204
+
"identifier": "UAT-438"
193
205
},
194
206
"relations": {
195
207
"nodes": [
196
208
{
197
209
"type": "blocks",
198
210
"relatedIssue": {
199
-
"id": "e8213391-5b46-4868-a445-5b1ab2800d40",
200
-
"identifier": "UAT-426",
211
+
"id": "0519065b-95eb-4752-966b-2099bbc5f3d1",
212
+
"identifier": "UAT-440",
201
213
"title": "[SMOKE TEST] Sub-Issue 2: Frontend UI"
202
214
}
203
215
}
204
216
]
205
217
}
206
218
},
207
219
"subIssue2WithRelation": {
208
-
"id": "e8213391-5b46-4868-a445-5b1ab2800d40",
209
-
"identifier": "UAT-426",
220
+
"id": "0519065b-95eb-4752-966b-2099bbc5f3d1",
221
+
"identifier": "UAT-440",
210
222
"title": "[SMOKE TEST] Sub-Issue 2: Frontend UI",
211
223
"description": "Build the frontend search UI component.\n\nGiven the search page loads, when the user types a query, then results display in real-time.",
212
224
"estimate": 3,
@@ -228,12 +240,18 @@ export const RECORDED = {
228
240
"issueEstimationType": "tShirt"
229
241
},
230
242
"comments": {
231
-
"nodes": []
243
+
"nodes": [
244
+
{
245
+
"body": "This thread is for an agent session with ctclaw.",
0 commit comments