@slowcook-ai/cli 0.11.7 → 0.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/refine/agent.d.ts.map +1 -1
- package/dist/commands/refine/agent.js +61 -10
- package/dist/commands/refine/agent.js.map +1 -1
- package/dist/commands/refine/prompts.d.ts.map +1 -1
- package/dist/commands/refine/prompts.js +5 -0
- package/dist/commands/refine/prompts.js.map +1 -1
- package/dist/commands/refine/spec-yaml.d.ts +190 -190
- package/package.json +4 -4
|
@@ -13,19 +13,19 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
13
13
|
} & {
|
|
14
14
|
sql: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
sql: string;
|
|
16
17
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
17
18
|
proposed_by: string;
|
|
18
|
-
|
|
19
|
+
rationale?: string | undefined;
|
|
19
20
|
approved_by?: string | undefined;
|
|
20
21
|
approved_at?: string | undefined;
|
|
21
|
-
rationale?: string | undefined;
|
|
22
22
|
}, {
|
|
23
|
+
sql: string;
|
|
23
24
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
24
25
|
proposed_by: string;
|
|
25
|
-
|
|
26
|
+
rationale?: string | undefined;
|
|
26
27
|
approved_by?: string | undefined;
|
|
27
28
|
approved_at?: string | undefined;
|
|
28
|
-
rationale?: string | undefined;
|
|
29
29
|
}>>;
|
|
30
30
|
ui_layout: z.ZodOptional<z.ZodObject<{
|
|
31
31
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -41,23 +41,23 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
43
43
|
proposed_by: string;
|
|
44
|
-
approved_by?: string | undefined;
|
|
45
|
-
approved_at?: string | undefined;
|
|
46
44
|
rationale?: string | undefined;
|
|
47
45
|
viewport_coverage?: string[] | undefined;
|
|
48
46
|
components_to_reuse?: string[] | undefined;
|
|
49
47
|
tokens_to_reuse?: string[] | undefined;
|
|
50
48
|
tokens_to_add?: string[] | undefined;
|
|
49
|
+
approved_by?: string | undefined;
|
|
50
|
+
approved_at?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
53
53
|
proposed_by: string;
|
|
54
|
-
approved_by?: string | undefined;
|
|
55
|
-
approved_at?: string | undefined;
|
|
56
54
|
rationale?: string | undefined;
|
|
57
55
|
viewport_coverage?: string[] | undefined;
|
|
58
56
|
components_to_reuse?: string[] | undefined;
|
|
59
57
|
tokens_to_reuse?: string[] | undefined;
|
|
60
58
|
tokens_to_add?: string[] | undefined;
|
|
59
|
+
approved_by?: string | undefined;
|
|
60
|
+
approved_at?: string | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
routes: z.ZodOptional<z.ZodObject<{
|
|
63
63
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -83,9 +83,9 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
83
83
|
path: string;
|
|
84
84
|
file: string;
|
|
85
85
|
}[];
|
|
86
|
+
rationale?: string | undefined;
|
|
86
87
|
approved_by?: string | undefined;
|
|
87
88
|
approved_at?: string | undefined;
|
|
88
|
-
rationale?: string | undefined;
|
|
89
89
|
}, {
|
|
90
90
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
91
91
|
proposed_by: string;
|
|
@@ -93,9 +93,9 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
93
93
|
path: string;
|
|
94
94
|
file: string;
|
|
95
95
|
}[];
|
|
96
|
+
rationale?: string | undefined;
|
|
96
97
|
approved_by?: string | undefined;
|
|
97
98
|
approved_at?: string | undefined;
|
|
98
|
-
rationale?: string | undefined;
|
|
99
99
|
}>>;
|
|
100
100
|
auth: z.ZodOptional<z.ZodObject<{
|
|
101
101
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -108,17 +108,17 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
110
110
|
proposed_by: string;
|
|
111
|
-
approved_by?: string | undefined;
|
|
112
|
-
approved_at?: string | undefined;
|
|
113
111
|
rationale?: string | undefined;
|
|
114
112
|
requirements?: string[] | undefined;
|
|
113
|
+
approved_by?: string | undefined;
|
|
114
|
+
approved_at?: string | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
117
117
|
proposed_by: string;
|
|
118
|
-
approved_by?: string | undefined;
|
|
119
|
-
approved_at?: string | undefined;
|
|
120
118
|
rationale?: string | undefined;
|
|
121
119
|
requirements?: string[] | undefined;
|
|
120
|
+
approved_by?: string | undefined;
|
|
121
|
+
approved_at?: string | undefined;
|
|
122
122
|
}>>;
|
|
123
123
|
perf_budget: z.ZodOptional<z.ZodObject<{
|
|
124
124
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -131,17 +131,17 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
133
133
|
proposed_by: string;
|
|
134
|
-
approved_by?: string | undefined;
|
|
135
|
-
approved_at?: string | undefined;
|
|
136
134
|
rationale?: string | undefined;
|
|
137
135
|
budgets?: Record<string, number> | undefined;
|
|
136
|
+
approved_by?: string | undefined;
|
|
137
|
+
approved_at?: string | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
140
140
|
proposed_by: string;
|
|
141
|
-
approved_by?: string | undefined;
|
|
142
|
-
approved_at?: string | undefined;
|
|
143
141
|
rationale?: string | undefined;
|
|
144
142
|
budgets?: Record<string, number> | undefined;
|
|
143
|
+
approved_by?: string | undefined;
|
|
144
|
+
approved_at?: string | undefined;
|
|
145
145
|
}>>;
|
|
146
146
|
observability: z.ZodOptional<z.ZodObject<{
|
|
147
147
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -164,25 +164,25 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
166
166
|
proposed_by: string;
|
|
167
|
-
approved_by?: string | undefined;
|
|
168
|
-
approved_at?: string | undefined;
|
|
169
167
|
rationale?: string | undefined;
|
|
170
168
|
log_events?: string[] | undefined;
|
|
171
169
|
metrics?: {
|
|
172
170
|
type: string;
|
|
173
171
|
name: string;
|
|
174
172
|
}[] | undefined;
|
|
173
|
+
approved_by?: string | undefined;
|
|
174
|
+
approved_at?: string | undefined;
|
|
175
175
|
}, {
|
|
176
176
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
177
177
|
proposed_by: string;
|
|
178
|
-
approved_by?: string | undefined;
|
|
179
|
-
approved_at?: string | undefined;
|
|
180
178
|
rationale?: string | undefined;
|
|
181
179
|
log_events?: string[] | undefined;
|
|
182
180
|
metrics?: {
|
|
183
181
|
type: string;
|
|
184
182
|
name: string;
|
|
185
183
|
}[] | undefined;
|
|
184
|
+
approved_by?: string | undefined;
|
|
185
|
+
approved_at?: string | undefined;
|
|
186
186
|
}>>;
|
|
187
187
|
infra: z.ZodOptional<z.ZodObject<{
|
|
188
188
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -197,21 +197,21 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
199
199
|
proposed_by: string;
|
|
200
|
-
approved_by?: string | undefined;
|
|
201
|
-
approved_at?: string | undefined;
|
|
202
200
|
rationale?: string | undefined;
|
|
203
201
|
runtime?: string | undefined;
|
|
204
202
|
deploy_target?: string | undefined;
|
|
205
203
|
notes?: string | undefined;
|
|
204
|
+
approved_by?: string | undefined;
|
|
205
|
+
approved_at?: string | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
208
208
|
proposed_by: string;
|
|
209
|
-
approved_by?: string | undefined;
|
|
210
|
-
approved_at?: string | undefined;
|
|
211
209
|
rationale?: string | undefined;
|
|
212
210
|
runtime?: string | undefined;
|
|
213
211
|
deploy_target?: string | undefined;
|
|
214
212
|
notes?: string | undefined;
|
|
213
|
+
approved_by?: string | undefined;
|
|
214
|
+
approved_at?: string | undefined;
|
|
215
215
|
}>>;
|
|
216
216
|
api_shape: z.ZodOptional<z.ZodObject<{
|
|
217
217
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -239,8 +239,6 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
241
241
|
proposed_by: string;
|
|
242
|
-
approved_by?: string | undefined;
|
|
243
|
-
approved_at?: string | undefined;
|
|
244
242
|
rationale?: string | undefined;
|
|
245
243
|
endpoints?: {
|
|
246
244
|
path: string;
|
|
@@ -248,11 +246,11 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
248
246
|
request_schema?: unknown;
|
|
249
247
|
responses?: Record<string, unknown> | undefined;
|
|
250
248
|
}[] | undefined;
|
|
249
|
+
approved_by?: string | undefined;
|
|
250
|
+
approved_at?: string | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
253
253
|
proposed_by: string;
|
|
254
|
-
approved_by?: string | undefined;
|
|
255
|
-
approved_at?: string | undefined;
|
|
256
254
|
rationale?: string | undefined;
|
|
257
255
|
endpoints?: {
|
|
258
256
|
path: string;
|
|
@@ -260,26 +258,28 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
260
258
|
request_schema?: unknown;
|
|
261
259
|
responses?: Record<string, unknown> | undefined;
|
|
262
260
|
}[] | undefined;
|
|
261
|
+
approved_by?: string | undefined;
|
|
262
|
+
approved_at?: string | undefined;
|
|
263
263
|
}>>;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
schema?: {
|
|
266
|
+
sql: string;
|
|
266
267
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
267
268
|
proposed_by: string;
|
|
268
|
-
|
|
269
|
+
rationale?: string | undefined;
|
|
269
270
|
approved_by?: string | undefined;
|
|
270
271
|
approved_at?: string | undefined;
|
|
271
|
-
rationale?: string | undefined;
|
|
272
272
|
} | undefined;
|
|
273
273
|
ui_layout?: {
|
|
274
274
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
275
275
|
proposed_by: string;
|
|
276
|
-
approved_by?: string | undefined;
|
|
277
|
-
approved_at?: string | undefined;
|
|
278
276
|
rationale?: string | undefined;
|
|
279
277
|
viewport_coverage?: string[] | undefined;
|
|
280
278
|
components_to_reuse?: string[] | undefined;
|
|
281
279
|
tokens_to_reuse?: string[] | undefined;
|
|
282
280
|
tokens_to_add?: string[] | undefined;
|
|
281
|
+
approved_by?: string | undefined;
|
|
282
|
+
approved_at?: string | undefined;
|
|
283
283
|
} | undefined;
|
|
284
284
|
routes?: {
|
|
285
285
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -288,53 +288,51 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
288
288
|
path: string;
|
|
289
289
|
file: string;
|
|
290
290
|
}[];
|
|
291
|
+
rationale?: string | undefined;
|
|
291
292
|
approved_by?: string | undefined;
|
|
292
293
|
approved_at?: string | undefined;
|
|
293
|
-
rationale?: string | undefined;
|
|
294
294
|
} | undefined;
|
|
295
295
|
auth?: {
|
|
296
296
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
297
297
|
proposed_by: string;
|
|
298
|
-
approved_by?: string | undefined;
|
|
299
|
-
approved_at?: string | undefined;
|
|
300
298
|
rationale?: string | undefined;
|
|
301
299
|
requirements?: string[] | undefined;
|
|
300
|
+
approved_by?: string | undefined;
|
|
301
|
+
approved_at?: string | undefined;
|
|
302
302
|
} | undefined;
|
|
303
303
|
perf_budget?: {
|
|
304
304
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
305
305
|
proposed_by: string;
|
|
306
|
-
approved_by?: string | undefined;
|
|
307
|
-
approved_at?: string | undefined;
|
|
308
306
|
rationale?: string | undefined;
|
|
309
307
|
budgets?: Record<string, number> | undefined;
|
|
308
|
+
approved_by?: string | undefined;
|
|
309
|
+
approved_at?: string | undefined;
|
|
310
310
|
} | undefined;
|
|
311
311
|
observability?: {
|
|
312
312
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
313
313
|
proposed_by: string;
|
|
314
|
-
approved_by?: string | undefined;
|
|
315
|
-
approved_at?: string | undefined;
|
|
316
314
|
rationale?: string | undefined;
|
|
317
315
|
log_events?: string[] | undefined;
|
|
318
316
|
metrics?: {
|
|
319
317
|
type: string;
|
|
320
318
|
name: string;
|
|
321
319
|
}[] | undefined;
|
|
320
|
+
approved_by?: string | undefined;
|
|
321
|
+
approved_at?: string | undefined;
|
|
322
322
|
} | undefined;
|
|
323
323
|
infra?: {
|
|
324
324
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
325
325
|
proposed_by: string;
|
|
326
|
-
approved_by?: string | undefined;
|
|
327
|
-
approved_at?: string | undefined;
|
|
328
326
|
rationale?: string | undefined;
|
|
329
327
|
runtime?: string | undefined;
|
|
330
328
|
deploy_target?: string | undefined;
|
|
331
329
|
notes?: string | undefined;
|
|
330
|
+
approved_by?: string | undefined;
|
|
331
|
+
approved_at?: string | undefined;
|
|
332
332
|
} | undefined;
|
|
333
333
|
api_shape?: {
|
|
334
334
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
335
335
|
proposed_by: string;
|
|
336
|
-
approved_by?: string | undefined;
|
|
337
|
-
approved_at?: string | undefined;
|
|
338
336
|
rationale?: string | undefined;
|
|
339
337
|
endpoints?: {
|
|
340
338
|
path: string;
|
|
@@ -342,26 +340,28 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
342
340
|
request_schema?: unknown;
|
|
343
341
|
responses?: Record<string, unknown> | undefined;
|
|
344
342
|
}[] | undefined;
|
|
343
|
+
approved_by?: string | undefined;
|
|
344
|
+
approved_at?: string | undefined;
|
|
345
345
|
} | undefined;
|
|
346
346
|
}, {
|
|
347
347
|
schema?: {
|
|
348
|
+
sql: string;
|
|
348
349
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
349
350
|
proposed_by: string;
|
|
350
|
-
|
|
351
|
+
rationale?: string | undefined;
|
|
351
352
|
approved_by?: string | undefined;
|
|
352
353
|
approved_at?: string | undefined;
|
|
353
|
-
rationale?: string | undefined;
|
|
354
354
|
} | undefined;
|
|
355
355
|
ui_layout?: {
|
|
356
356
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
357
357
|
proposed_by: string;
|
|
358
|
-
approved_by?: string | undefined;
|
|
359
|
-
approved_at?: string | undefined;
|
|
360
358
|
rationale?: string | undefined;
|
|
361
359
|
viewport_coverage?: string[] | undefined;
|
|
362
360
|
components_to_reuse?: string[] | undefined;
|
|
363
361
|
tokens_to_reuse?: string[] | undefined;
|
|
364
362
|
tokens_to_add?: string[] | undefined;
|
|
363
|
+
approved_by?: string | undefined;
|
|
364
|
+
approved_at?: string | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
routes?: {
|
|
367
367
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -370,53 +370,51 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
370
370
|
path: string;
|
|
371
371
|
file: string;
|
|
372
372
|
}[];
|
|
373
|
+
rationale?: string | undefined;
|
|
373
374
|
approved_by?: string | undefined;
|
|
374
375
|
approved_at?: string | undefined;
|
|
375
|
-
rationale?: string | undefined;
|
|
376
376
|
} | undefined;
|
|
377
377
|
auth?: {
|
|
378
378
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
379
379
|
proposed_by: string;
|
|
380
|
-
approved_by?: string | undefined;
|
|
381
|
-
approved_at?: string | undefined;
|
|
382
380
|
rationale?: string | undefined;
|
|
383
381
|
requirements?: string[] | undefined;
|
|
382
|
+
approved_by?: string | undefined;
|
|
383
|
+
approved_at?: string | undefined;
|
|
384
384
|
} | undefined;
|
|
385
385
|
perf_budget?: {
|
|
386
386
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
387
387
|
proposed_by: string;
|
|
388
|
-
approved_by?: string | undefined;
|
|
389
|
-
approved_at?: string | undefined;
|
|
390
388
|
rationale?: string | undefined;
|
|
391
389
|
budgets?: Record<string, number> | undefined;
|
|
390
|
+
approved_by?: string | undefined;
|
|
391
|
+
approved_at?: string | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
observability?: {
|
|
394
394
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
395
395
|
proposed_by: string;
|
|
396
|
-
approved_by?: string | undefined;
|
|
397
|
-
approved_at?: string | undefined;
|
|
398
396
|
rationale?: string | undefined;
|
|
399
397
|
log_events?: string[] | undefined;
|
|
400
398
|
metrics?: {
|
|
401
399
|
type: string;
|
|
402
400
|
name: string;
|
|
403
401
|
}[] | undefined;
|
|
402
|
+
approved_by?: string | undefined;
|
|
403
|
+
approved_at?: string | undefined;
|
|
404
404
|
} | undefined;
|
|
405
405
|
infra?: {
|
|
406
406
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
407
407
|
proposed_by: string;
|
|
408
|
-
approved_by?: string | undefined;
|
|
409
|
-
approved_at?: string | undefined;
|
|
410
408
|
rationale?: string | undefined;
|
|
411
409
|
runtime?: string | undefined;
|
|
412
410
|
deploy_target?: string | undefined;
|
|
413
411
|
notes?: string | undefined;
|
|
412
|
+
approved_by?: string | undefined;
|
|
413
|
+
approved_at?: string | undefined;
|
|
414
414
|
} | undefined;
|
|
415
415
|
api_shape?: {
|
|
416
416
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
417
417
|
proposed_by: string;
|
|
418
|
-
approved_by?: string | undefined;
|
|
419
|
-
approved_at?: string | undefined;
|
|
420
418
|
rationale?: string | undefined;
|
|
421
419
|
endpoints?: {
|
|
422
420
|
path: string;
|
|
@@ -424,6 +422,8 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
424
422
|
request_schema?: unknown;
|
|
425
423
|
responses?: Record<string, unknown> | undefined;
|
|
426
424
|
}[] | undefined;
|
|
425
|
+
approved_by?: string | undefined;
|
|
426
|
+
approved_at?: string | undefined;
|
|
427
427
|
} | undefined;
|
|
428
428
|
}>;
|
|
429
429
|
export declare function readIndex(repoRoot: string): SpecIndex;
|
|
@@ -457,44 +457,44 @@ export declare const schemas: {
|
|
|
457
457
|
supersedes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
458
458
|
superseded_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
status: "draft" | "active" | "superseded";
|
|
461
460
|
title: string;
|
|
461
|
+
status: "superseded" | "active" | "draft";
|
|
462
|
+
supersedes?: string[] | undefined;
|
|
463
|
+
superseded_by?: string | null | undefined;
|
|
462
464
|
source_issue?: string | undefined;
|
|
463
465
|
tags?: string[] | undefined;
|
|
464
466
|
summary?: string | undefined;
|
|
465
|
-
supersedes?: string[] | undefined;
|
|
466
|
-
superseded_by?: string | null | undefined;
|
|
467
467
|
}, {
|
|
468
|
-
status: "draft" | "active" | "superseded";
|
|
469
468
|
title: string;
|
|
469
|
+
status: "superseded" | "active" | "draft";
|
|
470
|
+
supersedes?: string[] | undefined;
|
|
471
|
+
superseded_by?: string | null | undefined;
|
|
470
472
|
source_issue?: string | undefined;
|
|
471
473
|
tags?: string[] | undefined;
|
|
472
474
|
summary?: string | undefined;
|
|
473
|
-
supersedes?: string[] | undefined;
|
|
474
|
-
superseded_by?: string | null | undefined;
|
|
475
475
|
}>>;
|
|
476
476
|
}, "strip", z.ZodTypeAny, {
|
|
477
477
|
schema_version: 1;
|
|
478
478
|
stories: Record<string, {
|
|
479
|
-
status: "draft" | "active" | "superseded";
|
|
480
479
|
title: string;
|
|
480
|
+
status: "superseded" | "active" | "draft";
|
|
481
|
+
supersedes?: string[] | undefined;
|
|
482
|
+
superseded_by?: string | null | undefined;
|
|
481
483
|
source_issue?: string | undefined;
|
|
482
484
|
tags?: string[] | undefined;
|
|
483
485
|
summary?: string | undefined;
|
|
484
|
-
supersedes?: string[] | undefined;
|
|
485
|
-
superseded_by?: string | null | undefined;
|
|
486
486
|
}>;
|
|
487
487
|
$schema?: string | undefined;
|
|
488
488
|
}, {
|
|
489
489
|
schema_version: 1;
|
|
490
490
|
stories: Record<string, {
|
|
491
|
-
status: "draft" | "active" | "superseded";
|
|
492
491
|
title: string;
|
|
492
|
+
status: "superseded" | "active" | "draft";
|
|
493
|
+
supersedes?: string[] | undefined;
|
|
494
|
+
superseded_by?: string | null | undefined;
|
|
493
495
|
source_issue?: string | undefined;
|
|
494
496
|
tags?: string[] | undefined;
|
|
495
497
|
summary?: string | undefined;
|
|
496
|
-
supersedes?: string[] | undefined;
|
|
497
|
-
superseded_by?: string | null | undefined;
|
|
498
498
|
}>;
|
|
499
499
|
$schema?: string | undefined;
|
|
500
500
|
}>;
|
|
@@ -532,11 +532,11 @@ export declare const schemas: {
|
|
|
532
532
|
note: z.ZodOptional<z.ZodString>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
534
|
id: string;
|
|
535
|
-
relationship: "
|
|
535
|
+
relationship: "overlap" | "related" | "superseded";
|
|
536
536
|
note?: string | undefined;
|
|
537
537
|
}, {
|
|
538
538
|
id: string;
|
|
539
|
-
relationship: "
|
|
539
|
+
relationship: "overlap" | "related" | "superseded";
|
|
540
540
|
note?: string | undefined;
|
|
541
541
|
}>, "many">>;
|
|
542
542
|
proposals: z.ZodOptional<z.ZodObject<{
|
|
@@ -549,19 +549,19 @@ export declare const schemas: {
|
|
|
549
549
|
} & {
|
|
550
550
|
sql: z.ZodString;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
sql: string;
|
|
552
553
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
553
554
|
proposed_by: string;
|
|
554
|
-
|
|
555
|
+
rationale?: string | undefined;
|
|
555
556
|
approved_by?: string | undefined;
|
|
556
557
|
approved_at?: string | undefined;
|
|
557
|
-
rationale?: string | undefined;
|
|
558
558
|
}, {
|
|
559
|
+
sql: string;
|
|
559
560
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
560
561
|
proposed_by: string;
|
|
561
|
-
|
|
562
|
+
rationale?: string | undefined;
|
|
562
563
|
approved_by?: string | undefined;
|
|
563
564
|
approved_at?: string | undefined;
|
|
564
|
-
rationale?: string | undefined;
|
|
565
565
|
}>>;
|
|
566
566
|
ui_layout: z.ZodOptional<z.ZodObject<{
|
|
567
567
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -577,23 +577,23 @@ export declare const schemas: {
|
|
|
577
577
|
}, "strip", z.ZodTypeAny, {
|
|
578
578
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
579
579
|
proposed_by: string;
|
|
580
|
-
approved_by?: string | undefined;
|
|
581
|
-
approved_at?: string | undefined;
|
|
582
580
|
rationale?: string | undefined;
|
|
583
581
|
viewport_coverage?: string[] | undefined;
|
|
584
582
|
components_to_reuse?: string[] | undefined;
|
|
585
583
|
tokens_to_reuse?: string[] | undefined;
|
|
586
584
|
tokens_to_add?: string[] | undefined;
|
|
585
|
+
approved_by?: string | undefined;
|
|
586
|
+
approved_at?: string | undefined;
|
|
587
587
|
}, {
|
|
588
588
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
589
589
|
proposed_by: string;
|
|
590
|
-
approved_by?: string | undefined;
|
|
591
|
-
approved_at?: string | undefined;
|
|
592
590
|
rationale?: string | undefined;
|
|
593
591
|
viewport_coverage?: string[] | undefined;
|
|
594
592
|
components_to_reuse?: string[] | undefined;
|
|
595
593
|
tokens_to_reuse?: string[] | undefined;
|
|
596
594
|
tokens_to_add?: string[] | undefined;
|
|
595
|
+
approved_by?: string | undefined;
|
|
596
|
+
approved_at?: string | undefined;
|
|
597
597
|
}>>;
|
|
598
598
|
routes: z.ZodOptional<z.ZodObject<{
|
|
599
599
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -619,9 +619,9 @@ export declare const schemas: {
|
|
|
619
619
|
path: string;
|
|
620
620
|
file: string;
|
|
621
621
|
}[];
|
|
622
|
+
rationale?: string | undefined;
|
|
622
623
|
approved_by?: string | undefined;
|
|
623
624
|
approved_at?: string | undefined;
|
|
624
|
-
rationale?: string | undefined;
|
|
625
625
|
}, {
|
|
626
626
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
627
627
|
proposed_by: string;
|
|
@@ -629,9 +629,9 @@ export declare const schemas: {
|
|
|
629
629
|
path: string;
|
|
630
630
|
file: string;
|
|
631
631
|
}[];
|
|
632
|
+
rationale?: string | undefined;
|
|
632
633
|
approved_by?: string | undefined;
|
|
633
634
|
approved_at?: string | undefined;
|
|
634
|
-
rationale?: string | undefined;
|
|
635
635
|
}>>;
|
|
636
636
|
auth: z.ZodOptional<z.ZodObject<{
|
|
637
637
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -644,17 +644,17 @@ export declare const schemas: {
|
|
|
644
644
|
}, "strip", z.ZodTypeAny, {
|
|
645
645
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
646
646
|
proposed_by: string;
|
|
647
|
-
approved_by?: string | undefined;
|
|
648
|
-
approved_at?: string | undefined;
|
|
649
647
|
rationale?: string | undefined;
|
|
650
648
|
requirements?: string[] | undefined;
|
|
649
|
+
approved_by?: string | undefined;
|
|
650
|
+
approved_at?: string | undefined;
|
|
651
651
|
}, {
|
|
652
652
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
653
653
|
proposed_by: string;
|
|
654
|
-
approved_by?: string | undefined;
|
|
655
|
-
approved_at?: string | undefined;
|
|
656
654
|
rationale?: string | undefined;
|
|
657
655
|
requirements?: string[] | undefined;
|
|
656
|
+
approved_by?: string | undefined;
|
|
657
|
+
approved_at?: string | undefined;
|
|
658
658
|
}>>;
|
|
659
659
|
perf_budget: z.ZodOptional<z.ZodObject<{
|
|
660
660
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -667,17 +667,17 @@ export declare const schemas: {
|
|
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
|
668
668
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
669
669
|
proposed_by: string;
|
|
670
|
-
approved_by?: string | undefined;
|
|
671
|
-
approved_at?: string | undefined;
|
|
672
670
|
rationale?: string | undefined;
|
|
673
671
|
budgets?: Record<string, number> | undefined;
|
|
672
|
+
approved_by?: string | undefined;
|
|
673
|
+
approved_at?: string | undefined;
|
|
674
674
|
}, {
|
|
675
675
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
676
676
|
proposed_by: string;
|
|
677
|
-
approved_by?: string | undefined;
|
|
678
|
-
approved_at?: string | undefined;
|
|
679
677
|
rationale?: string | undefined;
|
|
680
678
|
budgets?: Record<string, number> | undefined;
|
|
679
|
+
approved_by?: string | undefined;
|
|
680
|
+
approved_at?: string | undefined;
|
|
681
681
|
}>>;
|
|
682
682
|
observability: z.ZodOptional<z.ZodObject<{
|
|
683
683
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -700,25 +700,25 @@ export declare const schemas: {
|
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
701
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
702
702
|
proposed_by: string;
|
|
703
|
-
approved_by?: string | undefined;
|
|
704
|
-
approved_at?: string | undefined;
|
|
705
703
|
rationale?: string | undefined;
|
|
706
704
|
log_events?: string[] | undefined;
|
|
707
705
|
metrics?: {
|
|
708
706
|
type: string;
|
|
709
707
|
name: string;
|
|
710
708
|
}[] | undefined;
|
|
709
|
+
approved_by?: string | undefined;
|
|
710
|
+
approved_at?: string | undefined;
|
|
711
711
|
}, {
|
|
712
712
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
713
713
|
proposed_by: string;
|
|
714
|
-
approved_by?: string | undefined;
|
|
715
|
-
approved_at?: string | undefined;
|
|
716
714
|
rationale?: string | undefined;
|
|
717
715
|
log_events?: string[] | undefined;
|
|
718
716
|
metrics?: {
|
|
719
717
|
type: string;
|
|
720
718
|
name: string;
|
|
721
719
|
}[] | undefined;
|
|
720
|
+
approved_by?: string | undefined;
|
|
721
|
+
approved_at?: string | undefined;
|
|
722
722
|
}>>;
|
|
723
723
|
infra: z.ZodOptional<z.ZodObject<{
|
|
724
724
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -733,21 +733,21 @@ export declare const schemas: {
|
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
734
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
735
735
|
proposed_by: string;
|
|
736
|
-
approved_by?: string | undefined;
|
|
737
|
-
approved_at?: string | undefined;
|
|
738
736
|
rationale?: string | undefined;
|
|
739
737
|
runtime?: string | undefined;
|
|
740
738
|
deploy_target?: string | undefined;
|
|
741
739
|
notes?: string | undefined;
|
|
740
|
+
approved_by?: string | undefined;
|
|
741
|
+
approved_at?: string | undefined;
|
|
742
742
|
}, {
|
|
743
743
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
744
744
|
proposed_by: string;
|
|
745
|
-
approved_by?: string | undefined;
|
|
746
|
-
approved_at?: string | undefined;
|
|
747
745
|
rationale?: string | undefined;
|
|
748
746
|
runtime?: string | undefined;
|
|
749
747
|
deploy_target?: string | undefined;
|
|
750
748
|
notes?: string | undefined;
|
|
749
|
+
approved_by?: string | undefined;
|
|
750
|
+
approved_at?: string | undefined;
|
|
751
751
|
}>>;
|
|
752
752
|
api_shape: z.ZodOptional<z.ZodObject<{
|
|
753
753
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -775,8 +775,6 @@ export declare const schemas: {
|
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
776
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
777
777
|
proposed_by: string;
|
|
778
|
-
approved_by?: string | undefined;
|
|
779
|
-
approved_at?: string | undefined;
|
|
780
778
|
rationale?: string | undefined;
|
|
781
779
|
endpoints?: {
|
|
782
780
|
path: string;
|
|
@@ -784,11 +782,11 @@ export declare const schemas: {
|
|
|
784
782
|
request_schema?: unknown;
|
|
785
783
|
responses?: Record<string, unknown> | undefined;
|
|
786
784
|
}[] | undefined;
|
|
785
|
+
approved_by?: string | undefined;
|
|
786
|
+
approved_at?: string | undefined;
|
|
787
787
|
}, {
|
|
788
788
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
789
789
|
proposed_by: string;
|
|
790
|
-
approved_by?: string | undefined;
|
|
791
|
-
approved_at?: string | undefined;
|
|
792
790
|
rationale?: string | undefined;
|
|
793
791
|
endpoints?: {
|
|
794
792
|
path: string;
|
|
@@ -796,26 +794,28 @@ export declare const schemas: {
|
|
|
796
794
|
request_schema?: unknown;
|
|
797
795
|
responses?: Record<string, unknown> | undefined;
|
|
798
796
|
}[] | undefined;
|
|
797
|
+
approved_by?: string | undefined;
|
|
798
|
+
approved_at?: string | undefined;
|
|
799
799
|
}>>;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
801
|
schema?: {
|
|
802
|
+
sql: string;
|
|
802
803
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
803
804
|
proposed_by: string;
|
|
804
|
-
|
|
805
|
+
rationale?: string | undefined;
|
|
805
806
|
approved_by?: string | undefined;
|
|
806
807
|
approved_at?: string | undefined;
|
|
807
|
-
rationale?: string | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
ui_layout?: {
|
|
810
810
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
811
811
|
proposed_by: string;
|
|
812
|
-
approved_by?: string | undefined;
|
|
813
|
-
approved_at?: string | undefined;
|
|
814
812
|
rationale?: string | undefined;
|
|
815
813
|
viewport_coverage?: string[] | undefined;
|
|
816
814
|
components_to_reuse?: string[] | undefined;
|
|
817
815
|
tokens_to_reuse?: string[] | undefined;
|
|
818
816
|
tokens_to_add?: string[] | undefined;
|
|
817
|
+
approved_by?: string | undefined;
|
|
818
|
+
approved_at?: string | undefined;
|
|
819
819
|
} | undefined;
|
|
820
820
|
routes?: {
|
|
821
821
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -824,53 +824,51 @@ export declare const schemas: {
|
|
|
824
824
|
path: string;
|
|
825
825
|
file: string;
|
|
826
826
|
}[];
|
|
827
|
+
rationale?: string | undefined;
|
|
827
828
|
approved_by?: string | undefined;
|
|
828
829
|
approved_at?: string | undefined;
|
|
829
|
-
rationale?: string | undefined;
|
|
830
830
|
} | undefined;
|
|
831
831
|
auth?: {
|
|
832
832
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
833
833
|
proposed_by: string;
|
|
834
|
-
approved_by?: string | undefined;
|
|
835
|
-
approved_at?: string | undefined;
|
|
836
834
|
rationale?: string | undefined;
|
|
837
835
|
requirements?: string[] | undefined;
|
|
836
|
+
approved_by?: string | undefined;
|
|
837
|
+
approved_at?: string | undefined;
|
|
838
838
|
} | undefined;
|
|
839
839
|
perf_budget?: {
|
|
840
840
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
841
841
|
proposed_by: string;
|
|
842
|
-
approved_by?: string | undefined;
|
|
843
|
-
approved_at?: string | undefined;
|
|
844
842
|
rationale?: string | undefined;
|
|
845
843
|
budgets?: Record<string, number> | undefined;
|
|
844
|
+
approved_by?: string | undefined;
|
|
845
|
+
approved_at?: string | undefined;
|
|
846
846
|
} | undefined;
|
|
847
847
|
observability?: {
|
|
848
848
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
849
849
|
proposed_by: string;
|
|
850
|
-
approved_by?: string | undefined;
|
|
851
|
-
approved_at?: string | undefined;
|
|
852
850
|
rationale?: string | undefined;
|
|
853
851
|
log_events?: string[] | undefined;
|
|
854
852
|
metrics?: {
|
|
855
853
|
type: string;
|
|
856
854
|
name: string;
|
|
857
855
|
}[] | undefined;
|
|
856
|
+
approved_by?: string | undefined;
|
|
857
|
+
approved_at?: string | undefined;
|
|
858
858
|
} | undefined;
|
|
859
859
|
infra?: {
|
|
860
860
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
861
861
|
proposed_by: string;
|
|
862
|
-
approved_by?: string | undefined;
|
|
863
|
-
approved_at?: string | undefined;
|
|
864
862
|
rationale?: string | undefined;
|
|
865
863
|
runtime?: string | undefined;
|
|
866
864
|
deploy_target?: string | undefined;
|
|
867
865
|
notes?: string | undefined;
|
|
866
|
+
approved_by?: string | undefined;
|
|
867
|
+
approved_at?: string | undefined;
|
|
868
868
|
} | undefined;
|
|
869
869
|
api_shape?: {
|
|
870
870
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
871
871
|
proposed_by: string;
|
|
872
|
-
approved_by?: string | undefined;
|
|
873
|
-
approved_at?: string | undefined;
|
|
874
872
|
rationale?: string | undefined;
|
|
875
873
|
endpoints?: {
|
|
876
874
|
path: string;
|
|
@@ -878,26 +876,28 @@ export declare const schemas: {
|
|
|
878
876
|
request_schema?: unknown;
|
|
879
877
|
responses?: Record<string, unknown> | undefined;
|
|
880
878
|
}[] | undefined;
|
|
879
|
+
approved_by?: string | undefined;
|
|
880
|
+
approved_at?: string | undefined;
|
|
881
881
|
} | undefined;
|
|
882
882
|
}, {
|
|
883
883
|
schema?: {
|
|
884
|
+
sql: string;
|
|
884
885
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
885
886
|
proposed_by: string;
|
|
886
|
-
|
|
887
|
+
rationale?: string | undefined;
|
|
887
888
|
approved_by?: string | undefined;
|
|
888
889
|
approved_at?: string | undefined;
|
|
889
|
-
rationale?: string | undefined;
|
|
890
890
|
} | undefined;
|
|
891
891
|
ui_layout?: {
|
|
892
892
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
893
893
|
proposed_by: string;
|
|
894
|
-
approved_by?: string | undefined;
|
|
895
|
-
approved_at?: string | undefined;
|
|
896
894
|
rationale?: string | undefined;
|
|
897
895
|
viewport_coverage?: string[] | undefined;
|
|
898
896
|
components_to_reuse?: string[] | undefined;
|
|
899
897
|
tokens_to_reuse?: string[] | undefined;
|
|
900
898
|
tokens_to_add?: string[] | undefined;
|
|
899
|
+
approved_by?: string | undefined;
|
|
900
|
+
approved_at?: string | undefined;
|
|
901
901
|
} | undefined;
|
|
902
902
|
routes?: {
|
|
903
903
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -906,53 +906,51 @@ export declare const schemas: {
|
|
|
906
906
|
path: string;
|
|
907
907
|
file: string;
|
|
908
908
|
}[];
|
|
909
|
+
rationale?: string | undefined;
|
|
909
910
|
approved_by?: string | undefined;
|
|
910
911
|
approved_at?: string | undefined;
|
|
911
|
-
rationale?: string | undefined;
|
|
912
912
|
} | undefined;
|
|
913
913
|
auth?: {
|
|
914
914
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
915
915
|
proposed_by: string;
|
|
916
|
-
approved_by?: string | undefined;
|
|
917
|
-
approved_at?: string | undefined;
|
|
918
916
|
rationale?: string | undefined;
|
|
919
917
|
requirements?: string[] | undefined;
|
|
918
|
+
approved_by?: string | undefined;
|
|
919
|
+
approved_at?: string | undefined;
|
|
920
920
|
} | undefined;
|
|
921
921
|
perf_budget?: {
|
|
922
922
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
923
923
|
proposed_by: string;
|
|
924
|
-
approved_by?: string | undefined;
|
|
925
|
-
approved_at?: string | undefined;
|
|
926
924
|
rationale?: string | undefined;
|
|
927
925
|
budgets?: Record<string, number> | undefined;
|
|
926
|
+
approved_by?: string | undefined;
|
|
927
|
+
approved_at?: string | undefined;
|
|
928
928
|
} | undefined;
|
|
929
929
|
observability?: {
|
|
930
930
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
931
931
|
proposed_by: string;
|
|
932
|
-
approved_by?: string | undefined;
|
|
933
|
-
approved_at?: string | undefined;
|
|
934
932
|
rationale?: string | undefined;
|
|
935
933
|
log_events?: string[] | undefined;
|
|
936
934
|
metrics?: {
|
|
937
935
|
type: string;
|
|
938
936
|
name: string;
|
|
939
937
|
}[] | undefined;
|
|
938
|
+
approved_by?: string | undefined;
|
|
939
|
+
approved_at?: string | undefined;
|
|
940
940
|
} | undefined;
|
|
941
941
|
infra?: {
|
|
942
942
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
943
943
|
proposed_by: string;
|
|
944
|
-
approved_by?: string | undefined;
|
|
945
|
-
approved_at?: string | undefined;
|
|
946
944
|
rationale?: string | undefined;
|
|
947
945
|
runtime?: string | undefined;
|
|
948
946
|
deploy_target?: string | undefined;
|
|
949
947
|
notes?: string | undefined;
|
|
948
|
+
approved_by?: string | undefined;
|
|
949
|
+
approved_at?: string | undefined;
|
|
950
950
|
} | undefined;
|
|
951
951
|
api_shape?: {
|
|
952
952
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
953
953
|
proposed_by: string;
|
|
954
|
-
approved_by?: string | undefined;
|
|
955
|
-
approved_at?: string | undefined;
|
|
956
954
|
rationale?: string | undefined;
|
|
957
955
|
endpoints?: {
|
|
958
956
|
path: string;
|
|
@@ -960,15 +958,17 @@ export declare const schemas: {
|
|
|
960
958
|
request_schema?: unknown;
|
|
961
959
|
responses?: Record<string, unknown> | undefined;
|
|
962
960
|
}[] | undefined;
|
|
961
|
+
approved_by?: string | undefined;
|
|
962
|
+
approved_at?: string | undefined;
|
|
963
963
|
} | undefined;
|
|
964
964
|
}>>;
|
|
965
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
|
-
|
|
966
|
+
story_id: string;
|
|
967
967
|
title: string;
|
|
968
|
+
status: "superseded" | "active" | "draft";
|
|
969
|
+
created_at: string;
|
|
968
970
|
supersedes: string[];
|
|
969
971
|
superseded_by: string | null;
|
|
970
|
-
story_id: string;
|
|
971
|
-
created_at: string;
|
|
972
972
|
actors: {
|
|
973
973
|
name: string;
|
|
974
974
|
notes?: string | undefined;
|
|
@@ -977,37 +977,31 @@ export declare const schemas: {
|
|
|
977
977
|
invariants: string[];
|
|
978
978
|
acceptance_scenarios: string[];
|
|
979
979
|
non_goals: string[];
|
|
980
|
-
$schema?: string | undefined;
|
|
981
|
-
source_issue?: string | undefined;
|
|
982
980
|
token_budget_usd?: number | undefined;
|
|
983
981
|
estimate?: "small" | "medium" | "large" | undefined;
|
|
982
|
+
source_issue?: string | undefined;
|
|
984
983
|
refined_by?: string | undefined;
|
|
985
984
|
api_contract?: unknown[] | undefined;
|
|
986
985
|
ui_behavior?: Record<string, string> | undefined;
|
|
987
|
-
related_specs?: {
|
|
988
|
-
id: string;
|
|
989
|
-
relationship: "superseded" | "overlap" | "related";
|
|
990
|
-
note?: string | undefined;
|
|
991
|
-
}[] | undefined;
|
|
992
986
|
proposals?: {
|
|
993
987
|
schema?: {
|
|
988
|
+
sql: string;
|
|
994
989
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
995
990
|
proposed_by: string;
|
|
996
|
-
|
|
991
|
+
rationale?: string | undefined;
|
|
997
992
|
approved_by?: string | undefined;
|
|
998
993
|
approved_at?: string | undefined;
|
|
999
|
-
rationale?: string | undefined;
|
|
1000
994
|
} | undefined;
|
|
1001
995
|
ui_layout?: {
|
|
1002
996
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1003
997
|
proposed_by: string;
|
|
1004
|
-
approved_by?: string | undefined;
|
|
1005
|
-
approved_at?: string | undefined;
|
|
1006
998
|
rationale?: string | undefined;
|
|
1007
999
|
viewport_coverage?: string[] | undefined;
|
|
1008
1000
|
components_to_reuse?: string[] | undefined;
|
|
1009
1001
|
tokens_to_reuse?: string[] | undefined;
|
|
1010
1002
|
tokens_to_add?: string[] | undefined;
|
|
1003
|
+
approved_by?: string | undefined;
|
|
1004
|
+
approved_at?: string | undefined;
|
|
1011
1005
|
} | undefined;
|
|
1012
1006
|
routes?: {
|
|
1013
1007
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -1016,53 +1010,51 @@ export declare const schemas: {
|
|
|
1016
1010
|
path: string;
|
|
1017
1011
|
file: string;
|
|
1018
1012
|
}[];
|
|
1013
|
+
rationale?: string | undefined;
|
|
1019
1014
|
approved_by?: string | undefined;
|
|
1020
1015
|
approved_at?: string | undefined;
|
|
1021
|
-
rationale?: string | undefined;
|
|
1022
1016
|
} | undefined;
|
|
1023
1017
|
auth?: {
|
|
1024
1018
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1025
1019
|
proposed_by: string;
|
|
1026
|
-
approved_by?: string | undefined;
|
|
1027
|
-
approved_at?: string | undefined;
|
|
1028
1020
|
rationale?: string | undefined;
|
|
1029
1021
|
requirements?: string[] | undefined;
|
|
1022
|
+
approved_by?: string | undefined;
|
|
1023
|
+
approved_at?: string | undefined;
|
|
1030
1024
|
} | undefined;
|
|
1031
1025
|
perf_budget?: {
|
|
1032
1026
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1033
1027
|
proposed_by: string;
|
|
1034
|
-
approved_by?: string | undefined;
|
|
1035
|
-
approved_at?: string | undefined;
|
|
1036
1028
|
rationale?: string | undefined;
|
|
1037
1029
|
budgets?: Record<string, number> | undefined;
|
|
1030
|
+
approved_by?: string | undefined;
|
|
1031
|
+
approved_at?: string | undefined;
|
|
1038
1032
|
} | undefined;
|
|
1039
1033
|
observability?: {
|
|
1040
1034
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1041
1035
|
proposed_by: string;
|
|
1042
|
-
approved_by?: string | undefined;
|
|
1043
|
-
approved_at?: string | undefined;
|
|
1044
1036
|
rationale?: string | undefined;
|
|
1045
1037
|
log_events?: string[] | undefined;
|
|
1046
1038
|
metrics?: {
|
|
1047
1039
|
type: string;
|
|
1048
1040
|
name: string;
|
|
1049
1041
|
}[] | undefined;
|
|
1042
|
+
approved_by?: string | undefined;
|
|
1043
|
+
approved_at?: string | undefined;
|
|
1050
1044
|
} | undefined;
|
|
1051
1045
|
infra?: {
|
|
1052
1046
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1053
1047
|
proposed_by: string;
|
|
1054
|
-
approved_by?: string | undefined;
|
|
1055
|
-
approved_at?: string | undefined;
|
|
1056
1048
|
rationale?: string | undefined;
|
|
1057
1049
|
runtime?: string | undefined;
|
|
1058
1050
|
deploy_target?: string | undefined;
|
|
1059
1051
|
notes?: string | undefined;
|
|
1052
|
+
approved_by?: string | undefined;
|
|
1053
|
+
approved_at?: string | undefined;
|
|
1060
1054
|
} | undefined;
|
|
1061
1055
|
api_shape?: {
|
|
1062
1056
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1063
1057
|
proposed_by: string;
|
|
1064
|
-
approved_by?: string | undefined;
|
|
1065
|
-
approved_at?: string | undefined;
|
|
1066
1058
|
rationale?: string | undefined;
|
|
1067
1059
|
endpoints?: {
|
|
1068
1060
|
path: string;
|
|
@@ -1070,15 +1062,23 @@ export declare const schemas: {
|
|
|
1070
1062
|
request_schema?: unknown;
|
|
1071
1063
|
responses?: Record<string, unknown> | undefined;
|
|
1072
1064
|
}[] | undefined;
|
|
1065
|
+
approved_by?: string | undefined;
|
|
1066
|
+
approved_at?: string | undefined;
|
|
1073
1067
|
} | undefined;
|
|
1074
1068
|
} | undefined;
|
|
1069
|
+
related_specs?: {
|
|
1070
|
+
id: string;
|
|
1071
|
+
relationship: "overlap" | "related" | "superseded";
|
|
1072
|
+
note?: string | undefined;
|
|
1073
|
+
}[] | undefined;
|
|
1074
|
+
$schema?: string | undefined;
|
|
1075
1075
|
}, {
|
|
1076
|
-
|
|
1076
|
+
story_id: string;
|
|
1077
1077
|
title: string;
|
|
1078
|
+
status: "superseded" | "active" | "draft";
|
|
1079
|
+
created_at: string;
|
|
1078
1080
|
supersedes: string[];
|
|
1079
1081
|
superseded_by: string | null;
|
|
1080
|
-
story_id: string;
|
|
1081
|
-
created_at: string;
|
|
1082
1082
|
actors: {
|
|
1083
1083
|
name: string;
|
|
1084
1084
|
notes?: string | undefined;
|
|
@@ -1087,37 +1087,31 @@ export declare const schemas: {
|
|
|
1087
1087
|
invariants: string[];
|
|
1088
1088
|
acceptance_scenarios: string[];
|
|
1089
1089
|
non_goals: string[];
|
|
1090
|
-
$schema?: string | undefined;
|
|
1091
|
-
source_issue?: string | undefined;
|
|
1092
1090
|
token_budget_usd?: number | undefined;
|
|
1093
1091
|
estimate?: "small" | "medium" | "large" | undefined;
|
|
1092
|
+
source_issue?: string | undefined;
|
|
1094
1093
|
refined_by?: string | undefined;
|
|
1095
1094
|
api_contract?: unknown[] | undefined;
|
|
1096
1095
|
ui_behavior?: Record<string, string> | undefined;
|
|
1097
|
-
related_specs?: {
|
|
1098
|
-
id: string;
|
|
1099
|
-
relationship: "superseded" | "overlap" | "related";
|
|
1100
|
-
note?: string | undefined;
|
|
1101
|
-
}[] | undefined;
|
|
1102
1096
|
proposals?: {
|
|
1103
1097
|
schema?: {
|
|
1098
|
+
sql: string;
|
|
1104
1099
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1105
1100
|
proposed_by: string;
|
|
1106
|
-
|
|
1101
|
+
rationale?: string | undefined;
|
|
1107
1102
|
approved_by?: string | undefined;
|
|
1108
1103
|
approved_at?: string | undefined;
|
|
1109
|
-
rationale?: string | undefined;
|
|
1110
1104
|
} | undefined;
|
|
1111
1105
|
ui_layout?: {
|
|
1112
1106
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1113
1107
|
proposed_by: string;
|
|
1114
|
-
approved_by?: string | undefined;
|
|
1115
|
-
approved_at?: string | undefined;
|
|
1116
1108
|
rationale?: string | undefined;
|
|
1117
1109
|
viewport_coverage?: string[] | undefined;
|
|
1118
1110
|
components_to_reuse?: string[] | undefined;
|
|
1119
1111
|
tokens_to_reuse?: string[] | undefined;
|
|
1120
1112
|
tokens_to_add?: string[] | undefined;
|
|
1113
|
+
approved_by?: string | undefined;
|
|
1114
|
+
approved_at?: string | undefined;
|
|
1121
1115
|
} | undefined;
|
|
1122
1116
|
routes?: {
|
|
1123
1117
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
@@ -1126,53 +1120,51 @@ export declare const schemas: {
|
|
|
1126
1120
|
path: string;
|
|
1127
1121
|
file: string;
|
|
1128
1122
|
}[];
|
|
1123
|
+
rationale?: string | undefined;
|
|
1129
1124
|
approved_by?: string | undefined;
|
|
1130
1125
|
approved_at?: string | undefined;
|
|
1131
|
-
rationale?: string | undefined;
|
|
1132
1126
|
} | undefined;
|
|
1133
1127
|
auth?: {
|
|
1134
1128
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1135
1129
|
proposed_by: string;
|
|
1136
|
-
approved_by?: string | undefined;
|
|
1137
|
-
approved_at?: string | undefined;
|
|
1138
1130
|
rationale?: string | undefined;
|
|
1139
1131
|
requirements?: string[] | undefined;
|
|
1132
|
+
approved_by?: string | undefined;
|
|
1133
|
+
approved_at?: string | undefined;
|
|
1140
1134
|
} | undefined;
|
|
1141
1135
|
perf_budget?: {
|
|
1142
1136
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1143
1137
|
proposed_by: string;
|
|
1144
|
-
approved_by?: string | undefined;
|
|
1145
|
-
approved_at?: string | undefined;
|
|
1146
1138
|
rationale?: string | undefined;
|
|
1147
1139
|
budgets?: Record<string, number> | undefined;
|
|
1140
|
+
approved_by?: string | undefined;
|
|
1141
|
+
approved_at?: string | undefined;
|
|
1148
1142
|
} | undefined;
|
|
1149
1143
|
observability?: {
|
|
1150
1144
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1151
1145
|
proposed_by: string;
|
|
1152
|
-
approved_by?: string | undefined;
|
|
1153
|
-
approved_at?: string | undefined;
|
|
1154
1146
|
rationale?: string | undefined;
|
|
1155
1147
|
log_events?: string[] | undefined;
|
|
1156
1148
|
metrics?: {
|
|
1157
1149
|
type: string;
|
|
1158
1150
|
name: string;
|
|
1159
1151
|
}[] | undefined;
|
|
1152
|
+
approved_by?: string | undefined;
|
|
1153
|
+
approved_at?: string | undefined;
|
|
1160
1154
|
} | undefined;
|
|
1161
1155
|
infra?: {
|
|
1162
1156
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1163
1157
|
proposed_by: string;
|
|
1164
|
-
approved_by?: string | undefined;
|
|
1165
|
-
approved_at?: string | undefined;
|
|
1166
1158
|
rationale?: string | undefined;
|
|
1167
1159
|
runtime?: string | undefined;
|
|
1168
1160
|
deploy_target?: string | undefined;
|
|
1169
1161
|
notes?: string | undefined;
|
|
1162
|
+
approved_by?: string | undefined;
|
|
1163
|
+
approved_at?: string | undefined;
|
|
1170
1164
|
} | undefined;
|
|
1171
1165
|
api_shape?: {
|
|
1172
1166
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1173
1167
|
proposed_by: string;
|
|
1174
|
-
approved_by?: string | undefined;
|
|
1175
|
-
approved_at?: string | undefined;
|
|
1176
1168
|
rationale?: string | undefined;
|
|
1177
1169
|
endpoints?: {
|
|
1178
1170
|
path: string;
|
|
@@ -1180,8 +1172,16 @@ export declare const schemas: {
|
|
|
1180
1172
|
request_schema?: unknown;
|
|
1181
1173
|
responses?: Record<string, unknown> | undefined;
|
|
1182
1174
|
}[] | undefined;
|
|
1175
|
+
approved_by?: string | undefined;
|
|
1176
|
+
approved_at?: string | undefined;
|
|
1183
1177
|
} | undefined;
|
|
1184
1178
|
} | undefined;
|
|
1179
|
+
related_specs?: {
|
|
1180
|
+
id: string;
|
|
1181
|
+
relationship: "overlap" | "related" | "superseded";
|
|
1182
|
+
note?: string | undefined;
|
|
1183
|
+
}[] | undefined;
|
|
1184
|
+
$schema?: string | undefined;
|
|
1185
1185
|
}>;
|
|
1186
1186
|
SpecIndexEntry: z.ZodObject<{
|
|
1187
1187
|
title: z.ZodString;
|
|
@@ -1192,21 +1192,21 @@ export declare const schemas: {
|
|
|
1192
1192
|
supersedes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1193
1193
|
superseded_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
status: "draft" | "active" | "superseded";
|
|
1196
1195
|
title: string;
|
|
1196
|
+
status: "superseded" | "active" | "draft";
|
|
1197
|
+
supersedes?: string[] | undefined;
|
|
1198
|
+
superseded_by?: string | null | undefined;
|
|
1197
1199
|
source_issue?: string | undefined;
|
|
1198
1200
|
tags?: string[] | undefined;
|
|
1199
1201
|
summary?: string | undefined;
|
|
1200
|
-
supersedes?: string[] | undefined;
|
|
1201
|
-
superseded_by?: string | null | undefined;
|
|
1202
1202
|
}, {
|
|
1203
|
-
status: "draft" | "active" | "superseded";
|
|
1204
1203
|
title: string;
|
|
1204
|
+
status: "superseded" | "active" | "draft";
|
|
1205
|
+
supersedes?: string[] | undefined;
|
|
1206
|
+
superseded_by?: string | null | undefined;
|
|
1205
1207
|
source_issue?: string | undefined;
|
|
1206
1208
|
tags?: string[] | undefined;
|
|
1207
1209
|
summary?: string | undefined;
|
|
1208
|
-
supersedes?: string[] | undefined;
|
|
1209
|
-
superseded_by?: string | null | undefined;
|
|
1210
1210
|
}>;
|
|
1211
1211
|
};
|
|
1212
1212
|
/** Minimal helper for the agent to build a SpecIndexEntry from a Spec. */
|