@slowcook-ai/cli 0.11.9 → 0.11.12
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 +19 -0
- package/dist/commands/refine/agent.d.ts.map +1 -1
- package/dist/commands/refine/agent.js +155 -7
- package/dist/commands/refine/agent.js.map +1 -1
- package/dist/commands/refine/index.d.ts.map +1 -1
- package/dist/commands/refine/index.js +11 -0
- package/dist/commands/refine/index.js.map +1 -1
- package/dist/commands/refine/prompts.d.ts.map +1 -1
- package/dist/commands/refine/prompts.js +14 -1
- package/dist/commands/refine/prompts.js.map +1 -1
- package/dist/commands/refine/proposals-synth.js +64 -12
- package/dist/commands/refine/proposals-synth.js.map +1 -1
- package/dist/commands/refine/spec-yaml.d.ts +230 -230
- package/package.json +5 -5
|
@@ -16,16 +16,16 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
16
16
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
17
17
|
proposed_by: string;
|
|
18
18
|
sql: string;
|
|
19
|
+
rationale?: string | undefined;
|
|
19
20
|
approved_by?: string | undefined;
|
|
20
21
|
approved_at?: string | undefined;
|
|
21
|
-
rationale?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
24
24
|
proposed_by: string;
|
|
25
25
|
sql: string;
|
|
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
|
-
notes?: string | undefined;
|
|
201
|
-
approved_by?: string | undefined;
|
|
202
|
-
approved_at?: string | undefined;
|
|
203
200
|
rationale?: string | undefined;
|
|
204
201
|
runtime?: string | undefined;
|
|
205
202
|
deploy_target?: string | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
208
|
-
proposed_by: string;
|
|
209
203
|
notes?: string | undefined;
|
|
210
204
|
approved_by?: string | undefined;
|
|
211
205
|
approved_at?: string | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
208
|
+
proposed_by: string;
|
|
212
209
|
rationale?: string | undefined;
|
|
213
210
|
runtime?: string | undefined;
|
|
214
211
|
deploy_target?: string | undefined;
|
|
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,81 +258,81 @@ 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
|
+
routes?: {
|
|
266
266
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
267
267
|
proposed_by: string;
|
|
268
|
-
|
|
268
|
+
paths: {
|
|
269
|
+
path: string;
|
|
270
|
+
file: string;
|
|
271
|
+
}[];
|
|
272
|
+
rationale?: string | undefined;
|
|
269
273
|
approved_by?: string | undefined;
|
|
270
274
|
approved_at?: string | undefined;
|
|
271
|
-
rationale?: string | undefined;
|
|
272
275
|
} | undefined;
|
|
273
|
-
|
|
276
|
+
auth?: {
|
|
274
277
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
275
278
|
proposed_by: string;
|
|
279
|
+
rationale?: string | undefined;
|
|
280
|
+
requirements?: string[] | undefined;
|
|
276
281
|
approved_by?: string | undefined;
|
|
277
282
|
approved_at?: string | undefined;
|
|
278
|
-
rationale?: string | undefined;
|
|
279
|
-
viewport_coverage?: string[] | undefined;
|
|
280
|
-
components_to_reuse?: string[] | undefined;
|
|
281
|
-
tokens_to_reuse?: string[] | undefined;
|
|
282
|
-
tokens_to_add?: string[] | undefined;
|
|
283
283
|
} | undefined;
|
|
284
|
-
|
|
284
|
+
schema?: {
|
|
285
285
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
286
286
|
proposed_by: string;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
file: string;
|
|
290
|
-
}[];
|
|
287
|
+
sql: string;
|
|
288
|
+
rationale?: string | undefined;
|
|
291
289
|
approved_by?: string | undefined;
|
|
292
290
|
approved_at?: string | undefined;
|
|
293
|
-
rationale?: string | undefined;
|
|
294
291
|
} | undefined;
|
|
295
|
-
|
|
292
|
+
ui_layout?: {
|
|
296
293
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
297
294
|
proposed_by: string;
|
|
295
|
+
rationale?: string | undefined;
|
|
296
|
+
viewport_coverage?: string[] | undefined;
|
|
297
|
+
components_to_reuse?: string[] | undefined;
|
|
298
|
+
tokens_to_reuse?: string[] | undefined;
|
|
299
|
+
tokens_to_add?: string[] | undefined;
|
|
298
300
|
approved_by?: string | undefined;
|
|
299
301
|
approved_at?: string | undefined;
|
|
300
|
-
rationale?: string | undefined;
|
|
301
|
-
requirements?: 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
|
-
notes?: string | undefined;
|
|
327
|
-
approved_by?: string | undefined;
|
|
328
|
-
approved_at?: string | undefined;
|
|
329
326
|
rationale?: string | undefined;
|
|
330
327
|
runtime?: string | undefined;
|
|
331
328
|
deploy_target?: string | undefined;
|
|
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,81 +340,81 @@ 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
|
+
routes?: {
|
|
348
348
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
349
349
|
proposed_by: string;
|
|
350
|
-
|
|
350
|
+
paths: {
|
|
351
|
+
path: string;
|
|
352
|
+
file: string;
|
|
353
|
+
}[];
|
|
354
|
+
rationale?: string | undefined;
|
|
351
355
|
approved_by?: string | undefined;
|
|
352
356
|
approved_at?: string | undefined;
|
|
353
|
-
rationale?: string | undefined;
|
|
354
357
|
} | undefined;
|
|
355
|
-
|
|
358
|
+
auth?: {
|
|
356
359
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
357
360
|
proposed_by: string;
|
|
361
|
+
rationale?: string | undefined;
|
|
362
|
+
requirements?: string[] | undefined;
|
|
358
363
|
approved_by?: string | undefined;
|
|
359
364
|
approved_at?: string | undefined;
|
|
360
|
-
rationale?: string | undefined;
|
|
361
|
-
viewport_coverage?: string[] | undefined;
|
|
362
|
-
components_to_reuse?: string[] | undefined;
|
|
363
|
-
tokens_to_reuse?: string[] | undefined;
|
|
364
|
-
tokens_to_add?: string[] | undefined;
|
|
365
365
|
} | undefined;
|
|
366
|
-
|
|
366
|
+
schema?: {
|
|
367
367
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
368
368
|
proposed_by: string;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
file: string;
|
|
372
|
-
}[];
|
|
369
|
+
sql: string;
|
|
370
|
+
rationale?: string | undefined;
|
|
373
371
|
approved_by?: string | undefined;
|
|
374
372
|
approved_at?: string | undefined;
|
|
375
|
-
rationale?: string | undefined;
|
|
376
373
|
} | undefined;
|
|
377
|
-
|
|
374
|
+
ui_layout?: {
|
|
378
375
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
379
376
|
proposed_by: string;
|
|
377
|
+
rationale?: string | undefined;
|
|
378
|
+
viewport_coverage?: string[] | undefined;
|
|
379
|
+
components_to_reuse?: string[] | undefined;
|
|
380
|
+
tokens_to_reuse?: string[] | undefined;
|
|
381
|
+
tokens_to_add?: string[] | undefined;
|
|
380
382
|
approved_by?: string | undefined;
|
|
381
383
|
approved_at?: string | undefined;
|
|
382
|
-
rationale?: string | undefined;
|
|
383
|
-
requirements?: 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
|
-
notes?: string | undefined;
|
|
409
|
-
approved_by?: string | undefined;
|
|
410
|
-
approved_at?: string | undefined;
|
|
411
408
|
rationale?: string | undefined;
|
|
412
409
|
runtime?: string | undefined;
|
|
413
410
|
deploy_target?: string | undefined;
|
|
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,16 +457,16 @@ 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
|
-
title: string;
|
|
461
460
|
status: "superseded" | "active" | "draft";
|
|
461
|
+
title: string;
|
|
462
462
|
supersedes?: string[] | undefined;
|
|
463
463
|
superseded_by?: string | null | undefined;
|
|
464
464
|
source_issue?: string | undefined;
|
|
465
465
|
tags?: string[] | undefined;
|
|
466
466
|
summary?: string | undefined;
|
|
467
467
|
}, {
|
|
468
|
-
title: string;
|
|
469
468
|
status: "superseded" | "active" | "draft";
|
|
469
|
+
title: string;
|
|
470
470
|
supersedes?: string[] | undefined;
|
|
471
471
|
superseded_by?: string | null | undefined;
|
|
472
472
|
source_issue?: string | undefined;
|
|
@@ -476,8 +476,8 @@ export declare const schemas: {
|
|
|
476
476
|
}, "strip", z.ZodTypeAny, {
|
|
477
477
|
schema_version: 1;
|
|
478
478
|
stories: Record<string, {
|
|
479
|
-
title: string;
|
|
480
479
|
status: "superseded" | "active" | "draft";
|
|
480
|
+
title: string;
|
|
481
481
|
supersedes?: string[] | undefined;
|
|
482
482
|
superseded_by?: string | null | undefined;
|
|
483
483
|
source_issue?: string | undefined;
|
|
@@ -488,8 +488,8 @@ export declare const schemas: {
|
|
|
488
488
|
}, {
|
|
489
489
|
schema_version: 1;
|
|
490
490
|
stories: Record<string, {
|
|
491
|
-
title: string;
|
|
492
491
|
status: "superseded" | "active" | "draft";
|
|
492
|
+
title: string;
|
|
493
493
|
supersedes?: string[] | undefined;
|
|
494
494
|
superseded_by?: string | null | undefined;
|
|
495
495
|
source_issue?: string | undefined;
|
|
@@ -552,16 +552,16 @@ export declare const schemas: {
|
|
|
552
552
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
553
553
|
proposed_by: string;
|
|
554
554
|
sql: string;
|
|
555
|
+
rationale?: string | undefined;
|
|
555
556
|
approved_by?: string | undefined;
|
|
556
557
|
approved_at?: string | undefined;
|
|
557
|
-
rationale?: string | undefined;
|
|
558
558
|
}, {
|
|
559
559
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
560
560
|
proposed_by: string;
|
|
561
561
|
sql: string;
|
|
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
|
-
notes?: string | undefined;
|
|
737
|
-
approved_by?: string | undefined;
|
|
738
|
-
approved_at?: string | undefined;
|
|
739
736
|
rationale?: string | undefined;
|
|
740
737
|
runtime?: string | undefined;
|
|
741
738
|
deploy_target?: string | undefined;
|
|
742
|
-
}, {
|
|
743
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
744
|
-
proposed_by: string;
|
|
745
739
|
notes?: string | undefined;
|
|
746
740
|
approved_by?: string | undefined;
|
|
747
741
|
approved_at?: string | undefined;
|
|
742
|
+
}, {
|
|
743
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
744
|
+
proposed_by: string;
|
|
748
745
|
rationale?: string | undefined;
|
|
749
746
|
runtime?: string | undefined;
|
|
750
747
|
deploy_target?: string | undefined;
|
|
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,81 +794,81 @@ 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
|
+
routes?: {
|
|
802
802
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
803
803
|
proposed_by: string;
|
|
804
|
-
|
|
804
|
+
paths: {
|
|
805
|
+
path: string;
|
|
806
|
+
file: string;
|
|
807
|
+
}[];
|
|
808
|
+
rationale?: string | undefined;
|
|
805
809
|
approved_by?: string | undefined;
|
|
806
810
|
approved_at?: string | undefined;
|
|
807
|
-
rationale?: string | undefined;
|
|
808
811
|
} | undefined;
|
|
809
|
-
|
|
812
|
+
auth?: {
|
|
810
813
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
811
814
|
proposed_by: string;
|
|
815
|
+
rationale?: string | undefined;
|
|
816
|
+
requirements?: string[] | undefined;
|
|
812
817
|
approved_by?: string | undefined;
|
|
813
818
|
approved_at?: string | undefined;
|
|
814
|
-
rationale?: string | undefined;
|
|
815
|
-
viewport_coverage?: string[] | undefined;
|
|
816
|
-
components_to_reuse?: string[] | undefined;
|
|
817
|
-
tokens_to_reuse?: string[] | undefined;
|
|
818
|
-
tokens_to_add?: string[] | undefined;
|
|
819
819
|
} | undefined;
|
|
820
|
-
|
|
820
|
+
schema?: {
|
|
821
821
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
822
822
|
proposed_by: string;
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
file: string;
|
|
826
|
-
}[];
|
|
823
|
+
sql: string;
|
|
824
|
+
rationale?: string | undefined;
|
|
827
825
|
approved_by?: string | undefined;
|
|
828
826
|
approved_at?: string | undefined;
|
|
829
|
-
rationale?: string | undefined;
|
|
830
827
|
} | undefined;
|
|
831
|
-
|
|
828
|
+
ui_layout?: {
|
|
832
829
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
833
830
|
proposed_by: string;
|
|
831
|
+
rationale?: string | undefined;
|
|
832
|
+
viewport_coverage?: string[] | undefined;
|
|
833
|
+
components_to_reuse?: string[] | undefined;
|
|
834
|
+
tokens_to_reuse?: string[] | undefined;
|
|
835
|
+
tokens_to_add?: string[] | undefined;
|
|
834
836
|
approved_by?: string | undefined;
|
|
835
837
|
approved_at?: string | undefined;
|
|
836
|
-
rationale?: string | undefined;
|
|
837
|
-
requirements?: 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
|
-
notes?: string | undefined;
|
|
863
|
-
approved_by?: string | undefined;
|
|
864
|
-
approved_at?: string | undefined;
|
|
865
862
|
rationale?: string | undefined;
|
|
866
863
|
runtime?: string | undefined;
|
|
867
864
|
deploy_target?: string | undefined;
|
|
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,81 +876,81 @@ 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
|
+
routes?: {
|
|
884
884
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
885
885
|
proposed_by: string;
|
|
886
|
-
|
|
886
|
+
paths: {
|
|
887
|
+
path: string;
|
|
888
|
+
file: string;
|
|
889
|
+
}[];
|
|
890
|
+
rationale?: string | undefined;
|
|
887
891
|
approved_by?: string | undefined;
|
|
888
892
|
approved_at?: string | undefined;
|
|
889
|
-
rationale?: string | undefined;
|
|
890
893
|
} | undefined;
|
|
891
|
-
|
|
894
|
+
auth?: {
|
|
892
895
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
893
896
|
proposed_by: string;
|
|
897
|
+
rationale?: string | undefined;
|
|
898
|
+
requirements?: string[] | undefined;
|
|
894
899
|
approved_by?: string | undefined;
|
|
895
900
|
approved_at?: string | undefined;
|
|
896
|
-
rationale?: string | undefined;
|
|
897
|
-
viewport_coverage?: string[] | undefined;
|
|
898
|
-
components_to_reuse?: string[] | undefined;
|
|
899
|
-
tokens_to_reuse?: string[] | undefined;
|
|
900
|
-
tokens_to_add?: string[] | undefined;
|
|
901
901
|
} | undefined;
|
|
902
|
-
|
|
902
|
+
schema?: {
|
|
903
903
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
904
904
|
proposed_by: string;
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
file: string;
|
|
908
|
-
}[];
|
|
905
|
+
sql: string;
|
|
906
|
+
rationale?: string | undefined;
|
|
909
907
|
approved_by?: string | undefined;
|
|
910
908
|
approved_at?: string | undefined;
|
|
911
|
-
rationale?: string | undefined;
|
|
912
909
|
} | undefined;
|
|
913
|
-
|
|
910
|
+
ui_layout?: {
|
|
914
911
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
915
912
|
proposed_by: string;
|
|
913
|
+
rationale?: string | undefined;
|
|
914
|
+
viewport_coverage?: string[] | undefined;
|
|
915
|
+
components_to_reuse?: string[] | undefined;
|
|
916
|
+
tokens_to_reuse?: string[] | undefined;
|
|
917
|
+
tokens_to_add?: string[] | undefined;
|
|
916
918
|
approved_by?: string | undefined;
|
|
917
919
|
approved_at?: string | undefined;
|
|
918
|
-
rationale?: string | undefined;
|
|
919
|
-
requirements?: 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
|
-
notes?: string | undefined;
|
|
945
|
-
approved_by?: string | undefined;
|
|
946
|
-
approved_at?: string | undefined;
|
|
947
944
|
rationale?: string | undefined;
|
|
948
945
|
runtime?: string | undefined;
|
|
949
946
|
deploy_target?: string | undefined;
|
|
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,12 +958,14 @@ 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
|
+
status: "superseded" | "active" | "draft";
|
|
966
967
|
story_id: string;
|
|
967
968
|
title: string;
|
|
968
|
-
status: "superseded" | "active" | "draft";
|
|
969
969
|
created_at: string;
|
|
970
970
|
supersedes: string[];
|
|
971
971
|
superseded_by: string | null;
|
|
@@ -984,79 +984,77 @@ export declare const schemas: {
|
|
|
984
984
|
api_contract?: unknown[] | undefined;
|
|
985
985
|
ui_behavior?: Record<string, string> | undefined;
|
|
986
986
|
proposals?: {
|
|
987
|
-
|
|
987
|
+
routes?: {
|
|
988
988
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
989
989
|
proposed_by: string;
|
|
990
|
-
|
|
990
|
+
paths: {
|
|
991
|
+
path: string;
|
|
992
|
+
file: string;
|
|
993
|
+
}[];
|
|
994
|
+
rationale?: string | undefined;
|
|
991
995
|
approved_by?: string | undefined;
|
|
992
996
|
approved_at?: string | undefined;
|
|
993
|
-
rationale?: string | undefined;
|
|
994
997
|
} | undefined;
|
|
995
|
-
|
|
998
|
+
auth?: {
|
|
996
999
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
997
1000
|
proposed_by: string;
|
|
1001
|
+
rationale?: string | undefined;
|
|
1002
|
+
requirements?: string[] | undefined;
|
|
998
1003
|
approved_by?: string | undefined;
|
|
999
1004
|
approved_at?: string | undefined;
|
|
1000
|
-
rationale?: string | undefined;
|
|
1001
|
-
viewport_coverage?: string[] | undefined;
|
|
1002
|
-
components_to_reuse?: string[] | undefined;
|
|
1003
|
-
tokens_to_reuse?: string[] | undefined;
|
|
1004
|
-
tokens_to_add?: string[] | undefined;
|
|
1005
1005
|
} | undefined;
|
|
1006
|
-
|
|
1006
|
+
schema?: {
|
|
1007
1007
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1008
1008
|
proposed_by: string;
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
file: string;
|
|
1012
|
-
}[];
|
|
1009
|
+
sql: string;
|
|
1010
|
+
rationale?: string | undefined;
|
|
1013
1011
|
approved_by?: string | undefined;
|
|
1014
1012
|
approved_at?: string | undefined;
|
|
1015
|
-
rationale?: string | undefined;
|
|
1016
1013
|
} | undefined;
|
|
1017
|
-
|
|
1014
|
+
ui_layout?: {
|
|
1018
1015
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1019
1016
|
proposed_by: string;
|
|
1017
|
+
rationale?: string | undefined;
|
|
1018
|
+
viewport_coverage?: string[] | undefined;
|
|
1019
|
+
components_to_reuse?: string[] | undefined;
|
|
1020
|
+
tokens_to_reuse?: string[] | undefined;
|
|
1021
|
+
tokens_to_add?: string[] | undefined;
|
|
1020
1022
|
approved_by?: string | undefined;
|
|
1021
1023
|
approved_at?: string | undefined;
|
|
1022
|
-
rationale?: string | undefined;
|
|
1023
|
-
requirements?: string[] | undefined;
|
|
1024
1024
|
} | undefined;
|
|
1025
1025
|
perf_budget?: {
|
|
1026
1026
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1027
1027
|
proposed_by: string;
|
|
1028
|
-
approved_by?: string | undefined;
|
|
1029
|
-
approved_at?: string | undefined;
|
|
1030
1028
|
rationale?: string | undefined;
|
|
1031
1029
|
budgets?: Record<string, number> | undefined;
|
|
1030
|
+
approved_by?: string | undefined;
|
|
1031
|
+
approved_at?: string | undefined;
|
|
1032
1032
|
} | undefined;
|
|
1033
1033
|
observability?: {
|
|
1034
1034
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1035
1035
|
proposed_by: string;
|
|
1036
|
-
approved_by?: string | undefined;
|
|
1037
|
-
approved_at?: string | undefined;
|
|
1038
1036
|
rationale?: string | undefined;
|
|
1039
1037
|
log_events?: string[] | undefined;
|
|
1040
1038
|
metrics?: {
|
|
1041
1039
|
type: string;
|
|
1042
1040
|
name: string;
|
|
1043
1041
|
}[] | undefined;
|
|
1042
|
+
approved_by?: string | undefined;
|
|
1043
|
+
approved_at?: string | undefined;
|
|
1044
1044
|
} | undefined;
|
|
1045
1045
|
infra?: {
|
|
1046
1046
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1047
1047
|
proposed_by: string;
|
|
1048
|
-
notes?: string | undefined;
|
|
1049
|
-
approved_by?: string | undefined;
|
|
1050
|
-
approved_at?: string | undefined;
|
|
1051
1048
|
rationale?: string | undefined;
|
|
1052
1049
|
runtime?: string | undefined;
|
|
1053
1050
|
deploy_target?: string | undefined;
|
|
1051
|
+
notes?: string | undefined;
|
|
1052
|
+
approved_by?: string | undefined;
|
|
1053
|
+
approved_at?: string | undefined;
|
|
1054
1054
|
} | undefined;
|
|
1055
1055
|
api_shape?: {
|
|
1056
1056
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1057
1057
|
proposed_by: string;
|
|
1058
|
-
approved_by?: string | undefined;
|
|
1059
|
-
approved_at?: string | undefined;
|
|
1060
1058
|
rationale?: string | undefined;
|
|
1061
1059
|
endpoints?: {
|
|
1062
1060
|
path: string;
|
|
@@ -1064,6 +1062,8 @@ export declare const schemas: {
|
|
|
1064
1062
|
request_schema?: unknown;
|
|
1065
1063
|
responses?: Record<string, unknown> | undefined;
|
|
1066
1064
|
}[] | undefined;
|
|
1065
|
+
approved_by?: string | undefined;
|
|
1066
|
+
approved_at?: string | undefined;
|
|
1067
1067
|
} | undefined;
|
|
1068
1068
|
} | undefined;
|
|
1069
1069
|
related_specs?: {
|
|
@@ -1073,9 +1073,9 @@ export declare const schemas: {
|
|
|
1073
1073
|
}[] | undefined;
|
|
1074
1074
|
$schema?: string | undefined;
|
|
1075
1075
|
}, {
|
|
1076
|
+
status: "superseded" | "active" | "draft";
|
|
1076
1077
|
story_id: string;
|
|
1077
1078
|
title: string;
|
|
1078
|
-
status: "superseded" | "active" | "draft";
|
|
1079
1079
|
created_at: string;
|
|
1080
1080
|
supersedes: string[];
|
|
1081
1081
|
superseded_by: string | null;
|
|
@@ -1094,79 +1094,77 @@ export declare const schemas: {
|
|
|
1094
1094
|
api_contract?: unknown[] | undefined;
|
|
1095
1095
|
ui_behavior?: Record<string, string> | undefined;
|
|
1096
1096
|
proposals?: {
|
|
1097
|
-
|
|
1097
|
+
routes?: {
|
|
1098
1098
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1099
1099
|
proposed_by: string;
|
|
1100
|
-
|
|
1100
|
+
paths: {
|
|
1101
|
+
path: string;
|
|
1102
|
+
file: string;
|
|
1103
|
+
}[];
|
|
1104
|
+
rationale?: string | undefined;
|
|
1101
1105
|
approved_by?: string | undefined;
|
|
1102
1106
|
approved_at?: string | undefined;
|
|
1103
|
-
rationale?: string | undefined;
|
|
1104
1107
|
} | undefined;
|
|
1105
|
-
|
|
1108
|
+
auth?: {
|
|
1106
1109
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1107
1110
|
proposed_by: string;
|
|
1111
|
+
rationale?: string | undefined;
|
|
1112
|
+
requirements?: string[] | undefined;
|
|
1108
1113
|
approved_by?: string | undefined;
|
|
1109
1114
|
approved_at?: string | undefined;
|
|
1110
|
-
rationale?: string | undefined;
|
|
1111
|
-
viewport_coverage?: string[] | undefined;
|
|
1112
|
-
components_to_reuse?: string[] | undefined;
|
|
1113
|
-
tokens_to_reuse?: string[] | undefined;
|
|
1114
|
-
tokens_to_add?: string[] | undefined;
|
|
1115
1115
|
} | undefined;
|
|
1116
|
-
|
|
1116
|
+
schema?: {
|
|
1117
1117
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1118
1118
|
proposed_by: string;
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
file: string;
|
|
1122
|
-
}[];
|
|
1119
|
+
sql: string;
|
|
1120
|
+
rationale?: string | undefined;
|
|
1123
1121
|
approved_by?: string | undefined;
|
|
1124
1122
|
approved_at?: string | undefined;
|
|
1125
|
-
rationale?: string | undefined;
|
|
1126
1123
|
} | undefined;
|
|
1127
|
-
|
|
1124
|
+
ui_layout?: {
|
|
1128
1125
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1129
1126
|
proposed_by: string;
|
|
1127
|
+
rationale?: string | undefined;
|
|
1128
|
+
viewport_coverage?: string[] | undefined;
|
|
1129
|
+
components_to_reuse?: string[] | undefined;
|
|
1130
|
+
tokens_to_reuse?: string[] | undefined;
|
|
1131
|
+
tokens_to_add?: string[] | undefined;
|
|
1130
1132
|
approved_by?: string | undefined;
|
|
1131
1133
|
approved_at?: string | undefined;
|
|
1132
|
-
rationale?: string | undefined;
|
|
1133
|
-
requirements?: string[] | undefined;
|
|
1134
1134
|
} | undefined;
|
|
1135
1135
|
perf_budget?: {
|
|
1136
1136
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1137
1137
|
proposed_by: string;
|
|
1138
|
-
approved_by?: string | undefined;
|
|
1139
|
-
approved_at?: string | undefined;
|
|
1140
1138
|
rationale?: string | undefined;
|
|
1141
1139
|
budgets?: Record<string, number> | undefined;
|
|
1140
|
+
approved_by?: string | undefined;
|
|
1141
|
+
approved_at?: string | undefined;
|
|
1142
1142
|
} | undefined;
|
|
1143
1143
|
observability?: {
|
|
1144
1144
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1145
1145
|
proposed_by: string;
|
|
1146
|
-
approved_by?: string | undefined;
|
|
1147
|
-
approved_at?: string | undefined;
|
|
1148
1146
|
rationale?: string | undefined;
|
|
1149
1147
|
log_events?: string[] | undefined;
|
|
1150
1148
|
metrics?: {
|
|
1151
1149
|
type: string;
|
|
1152
1150
|
name: string;
|
|
1153
1151
|
}[] | undefined;
|
|
1152
|
+
approved_by?: string | undefined;
|
|
1153
|
+
approved_at?: string | undefined;
|
|
1154
1154
|
} | undefined;
|
|
1155
1155
|
infra?: {
|
|
1156
1156
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1157
1157
|
proposed_by: string;
|
|
1158
|
-
notes?: string | undefined;
|
|
1159
|
-
approved_by?: string | undefined;
|
|
1160
|
-
approved_at?: string | undefined;
|
|
1161
1158
|
rationale?: string | undefined;
|
|
1162
1159
|
runtime?: string | undefined;
|
|
1163
1160
|
deploy_target?: string | undefined;
|
|
1161
|
+
notes?: string | undefined;
|
|
1162
|
+
approved_by?: string | undefined;
|
|
1163
|
+
approved_at?: string | undefined;
|
|
1164
1164
|
} | undefined;
|
|
1165
1165
|
api_shape?: {
|
|
1166
1166
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1167
1167
|
proposed_by: string;
|
|
1168
|
-
approved_by?: string | undefined;
|
|
1169
|
-
approved_at?: string | undefined;
|
|
1170
1168
|
rationale?: string | undefined;
|
|
1171
1169
|
endpoints?: {
|
|
1172
1170
|
path: string;
|
|
@@ -1174,6 +1172,8 @@ export declare const schemas: {
|
|
|
1174
1172
|
request_schema?: unknown;
|
|
1175
1173
|
responses?: Record<string, unknown> | undefined;
|
|
1176
1174
|
}[] | undefined;
|
|
1175
|
+
approved_by?: string | undefined;
|
|
1176
|
+
approved_at?: string | undefined;
|
|
1177
1177
|
} | undefined;
|
|
1178
1178
|
} | undefined;
|
|
1179
1179
|
related_specs?: {
|
|
@@ -1192,16 +1192,16 @@ 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
|
-
title: string;
|
|
1196
1195
|
status: "superseded" | "active" | "draft";
|
|
1196
|
+
title: string;
|
|
1197
1197
|
supersedes?: string[] | undefined;
|
|
1198
1198
|
superseded_by?: string | null | undefined;
|
|
1199
1199
|
source_issue?: string | undefined;
|
|
1200
1200
|
tags?: string[] | undefined;
|
|
1201
1201
|
summary?: string | undefined;
|
|
1202
1202
|
}, {
|
|
1203
|
-
title: string;
|
|
1204
1203
|
status: "superseded" | "active" | "draft";
|
|
1204
|
+
title: string;
|
|
1205
1205
|
supersedes?: string[] | undefined;
|
|
1206
1206
|
superseded_by?: string | null | undefined;
|
|
1207
1207
|
source_issue?: string | undefined;
|