@slowcook-ai/cli 0.19.0-alpha.18 → 0.19.0-alpha.40
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/cli.js +28 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/brand/index.d.ts +58 -0
- package/dist/commands/brand/index.d.ts.map +1 -0
- package/dist/commands/brand/index.js +257 -0
- package/dist/commands/brand/index.js.map +1 -0
- package/dist/commands/budget/index.d.ts +2 -0
- package/dist/commands/budget/index.d.ts.map +1 -0
- package/dist/commands/budget/index.js +252 -0
- package/dist/commands/budget/index.js.map +1 -0
- package/dist/commands/dev-env/config.d.ts +136 -0
- package/dist/commands/dev-env/config.d.ts.map +1 -0
- package/dist/commands/dev-env/config.js +96 -0
- package/dist/commands/dev-env/config.js.map +1 -0
- package/dist/commands/dev-env/index.d.ts +27 -0
- package/dist/commands/dev-env/index.d.ts.map +1 -0
- package/dist/commands/dev-env/index.js +226 -0
- package/dist/commands/dev-env/index.js.map +1 -0
- package/dist/commands/dev-env/init.d.ts +28 -0
- package/dist/commands/dev-env/init.d.ts.map +1 -0
- package/dist/commands/dev-env/init.js +135 -0
- package/dist/commands/dev-env/init.js.map +1 -0
- package/dist/commands/eval/index.d.ts.map +1 -1
- package/dist/commands/eval/index.js +15 -1
- package/dist/commands/eval/index.js.map +1 -1
- package/dist/commands/init/mock-vite.d.ts +54 -0
- package/dist/commands/init/mock-vite.d.ts.map +1 -0
- package/dist/commands/init/mock-vite.js +611 -0
- package/dist/commands/init/mock-vite.js.map +1 -0
- package/dist/commands/init/mock.d.ts +6 -0
- package/dist/commands/init/mock.d.ts.map +1 -1
- package/dist/commands/init/mock.js +20 -4
- package/dist/commands/init/mock.js.map +1 -1
- package/dist/commands/plate/agent.d.ts +7 -0
- package/dist/commands/plate/agent.d.ts.map +1 -1
- package/dist/commands/plate/agent.js +1 -1
- package/dist/commands/plate/agent.js.map +1 -1
- package/dist/commands/plate/index.d.ts.map +1 -1
- package/dist/commands/plate/index.js +6 -0
- package/dist/commands/plate/index.js.map +1 -1
- package/dist/commands/refine/agent.d.ts +12 -0
- package/dist/commands/refine/agent.d.ts.map +1 -1
- package/dist/commands/refine/agent.js +173 -13
- package/dist/commands/refine/agent.js.map +1 -1
- package/dist/commands/refine/brownfield-answer.d.ts +81 -0
- package/dist/commands/refine/brownfield-answer.d.ts.map +1 -0
- package/dist/commands/refine/brownfield-answer.js +231 -0
- package/dist/commands/refine/brownfield-answer.js.map +1 -0
- package/dist/commands/refine/context.d.ts.map +1 -1
- package/dist/commands/refine/context.js +18 -0
- package/dist/commands/refine/context.js.map +1 -1
- package/dist/commands/refine/history-index.d.ts +29 -0
- package/dist/commands/refine/history-index.d.ts.map +1 -1
- package/dist/commands/refine/history-index.js +63 -0
- package/dist/commands/refine/history-index.js.map +1 -1
- package/dist/commands/refine/index.d.ts.map +1 -1
- package/dist/commands/refine/index.js +32 -1
- package/dist/commands/refine/index.js.map +1 -1
- package/dist/commands/refine/proposals-synth.d.ts +50 -1
- package/dist/commands/refine/proposals-synth.d.ts.map +1 -1
- package/dist/commands/refine/proposals-synth.js +199 -35
- package/dist/commands/refine/proposals-synth.js.map +1 -1
- package/dist/commands/refine/spec-yaml.d.ts +274 -250
- package/dist/commands/refine/spec-yaml.d.ts.map +1 -1
- package/dist/commands/refine/spec-yaml.js +10 -0
- package/dist/commands/refine/spec-yaml.js.map +1 -1
- package/dist/commands/run-mock/index.d.ts.map +1 -1
- package/dist/commands/run-mock/index.js +7 -1
- package/dist/commands/run-mock/index.js.map +1 -1
- package/dist/commands/testgen/agent.d.ts.map +1 -1
- package/dist/commands/testgen/agent.js +34 -9
- package/dist/commands/testgen/agent.js.map +1 -1
- package/dist/commands/vibe/agent.d.ts +7 -0
- package/dist/commands/vibe/agent.d.ts.map +1 -1
- package/dist/commands/vibe/agent.js +2 -2
- package/dist/commands/vibe/agent.js.map +1 -1
- package/dist/commands/vibe/index.d.ts.map +1 -1
- package/dist/commands/vibe/index.js +7 -1
- package/dist/commands/vibe/index.js.map +1 -1
- package/dist/cost-store.d.ts +52 -0
- package/dist/cost-store.d.ts.map +1 -0
- package/dist/cost-store.js +108 -0
- package/dist/cost-store.js.map +1 -0
- package/dist/lib/budget.d.ts +123 -0
- package/dist/lib/budget.d.ts.map +1 -0
- package/dist/lib/budget.js +225 -0
- package/dist/lib/budget.js.map +1 -0
- package/dist/lib/mock-shape.d.ts +44 -0
- package/dist/lib/mock-shape.d.ts.map +1 -0
- package/dist/lib/mock-shape.js +77 -0
- package/dist/lib/mock-shape.js.map +1 -0
- package/package.json +4 -4
|
@@ -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;
|
|
20
19
|
approved_by?: string | undefined;
|
|
21
20
|
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;
|
|
27
26
|
approved_by?: string | undefined;
|
|
28
27
|
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
|
-
rationale?: string | undefined;
|
|
45
|
-
tokens_to_reuse?: string[] | undefined;
|
|
46
|
-
tokens_to_add?: string[] | undefined;
|
|
47
|
-
components_to_reuse?: string[] | undefined;
|
|
48
44
|
approved_by?: string | undefined;
|
|
49
45
|
approved_at?: string | undefined;
|
|
46
|
+
rationale?: string | undefined;
|
|
50
47
|
viewport_coverage?: string[] | undefined;
|
|
48
|
+
components_to_reuse?: string[] | undefined;
|
|
49
|
+
tokens_to_reuse?: string[] | undefined;
|
|
50
|
+
tokens_to_add?: string[] | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
53
53
|
proposed_by: string;
|
|
54
|
-
rationale?: string | undefined;
|
|
55
|
-
tokens_to_reuse?: string[] | undefined;
|
|
56
|
-
tokens_to_add?: string[] | undefined;
|
|
57
|
-
components_to_reuse?: string[] | undefined;
|
|
58
54
|
approved_by?: string | undefined;
|
|
59
55
|
approved_at?: string | undefined;
|
|
56
|
+
rationale?: string | undefined;
|
|
60
57
|
viewport_coverage?: string[] | undefined;
|
|
58
|
+
components_to_reuse?: string[] | undefined;
|
|
59
|
+
tokens_to_reuse?: string[] | undefined;
|
|
60
|
+
tokens_to_add?: 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;
|
|
87
86
|
approved_by?: string | undefined;
|
|
88
87
|
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;
|
|
97
96
|
approved_by?: string | undefined;
|
|
98
97
|
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
|
-
rationale?: string | undefined;
|
|
112
|
-
requirements?: string[] | undefined;
|
|
113
111
|
approved_by?: string | undefined;
|
|
114
112
|
approved_at?: string | undefined;
|
|
113
|
+
rationale?: string | undefined;
|
|
114
|
+
requirements?: string[] | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
117
117
|
proposed_by: string;
|
|
118
|
-
rationale?: string | undefined;
|
|
119
|
-
requirements?: string[] | undefined;
|
|
120
118
|
approved_by?: string | undefined;
|
|
121
119
|
approved_at?: string | undefined;
|
|
120
|
+
rationale?: string | undefined;
|
|
121
|
+
requirements?: 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,16 +131,16 @@ 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
|
-
rationale?: string | undefined;
|
|
135
134
|
approved_by?: string | undefined;
|
|
136
135
|
approved_at?: string | undefined;
|
|
136
|
+
rationale?: string | undefined;
|
|
137
137
|
budgets?: Record<string, number> | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
140
140
|
proposed_by: string;
|
|
141
|
-
rationale?: string | undefined;
|
|
142
141
|
approved_by?: string | undefined;
|
|
143
142
|
approved_at?: string | undefined;
|
|
143
|
+
rationale?: string | undefined;
|
|
144
144
|
budgets?: Record<string, number> | undefined;
|
|
145
145
|
}>>;
|
|
146
146
|
observability: z.ZodOptional<z.ZodObject<{
|
|
@@ -155,33 +155,33 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
155
155
|
name: z.ZodString;
|
|
156
156
|
type: z.ZodString;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
name: string;
|
|
159
158
|
type: string;
|
|
160
|
-
}, {
|
|
161
159
|
name: string;
|
|
160
|
+
}, {
|
|
162
161
|
type: string;
|
|
162
|
+
name: string;
|
|
163
163
|
}>, "many">>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
166
166
|
proposed_by: string;
|
|
167
|
-
rationale?: string | undefined;
|
|
168
167
|
approved_by?: string | undefined;
|
|
169
168
|
approved_at?: string | undefined;
|
|
169
|
+
rationale?: string | undefined;
|
|
170
170
|
log_events?: string[] | undefined;
|
|
171
171
|
metrics?: {
|
|
172
|
-
name: string;
|
|
173
172
|
type: string;
|
|
173
|
+
name: string;
|
|
174
174
|
}[] | undefined;
|
|
175
175
|
}, {
|
|
176
176
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
177
177
|
proposed_by: string;
|
|
178
|
-
rationale?: string | undefined;
|
|
179
178
|
approved_by?: string | undefined;
|
|
180
179
|
approved_at?: string | undefined;
|
|
180
|
+
rationale?: string | undefined;
|
|
181
181
|
log_events?: string[] | undefined;
|
|
182
182
|
metrics?: {
|
|
183
|
-
name: string;
|
|
184
183
|
type: string;
|
|
184
|
+
name: string;
|
|
185
185
|
}[] | undefined;
|
|
186
186
|
}>>;
|
|
187
187
|
infra: z.ZodOptional<z.ZodObject<{
|
|
@@ -197,18 +197,18 @@ 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
|
-
rationale?: string | undefined;
|
|
201
200
|
approved_by?: string | undefined;
|
|
202
201
|
approved_at?: string | undefined;
|
|
202
|
+
rationale?: string | undefined;
|
|
203
203
|
runtime?: string | undefined;
|
|
204
204
|
deploy_target?: string | undefined;
|
|
205
205
|
notes?: string | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
208
208
|
proposed_by: string;
|
|
209
|
-
rationale?: string | undefined;
|
|
210
209
|
approved_by?: string | undefined;
|
|
211
210
|
approved_at?: string | undefined;
|
|
211
|
+
rationale?: string | undefined;
|
|
212
212
|
runtime?: string | undefined;
|
|
213
213
|
deploy_target?: string | undefined;
|
|
214
214
|
notes?: string | undefined;
|
|
@@ -239,9 +239,9 @@ 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
|
-
rationale?: string | undefined;
|
|
243
242
|
approved_by?: string | undefined;
|
|
244
243
|
approved_at?: string | undefined;
|
|
244
|
+
rationale?: string | undefined;
|
|
245
245
|
endpoints?: {
|
|
246
246
|
path: string;
|
|
247
247
|
method: string;
|
|
@@ -251,9 +251,9 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
251
251
|
}, {
|
|
252
252
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
253
253
|
proposed_by: string;
|
|
254
|
-
rationale?: string | undefined;
|
|
255
254
|
approved_by?: string | undefined;
|
|
256
255
|
approved_at?: string | undefined;
|
|
256
|
+
rationale?: string | undefined;
|
|
257
257
|
endpoints?: {
|
|
258
258
|
path: string;
|
|
259
259
|
method: string;
|
|
@@ -304,97 +304,87 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
306
306
|
proposed_by: string;
|
|
307
|
+
approved_by?: string | undefined;
|
|
308
|
+
approved_at?: string | undefined;
|
|
307
309
|
rationale?: string | undefined;
|
|
308
310
|
by_domain?: Record<string, {
|
|
309
311
|
seed: Record<string, unknown>;
|
|
310
312
|
}> | undefined;
|
|
311
|
-
approved_by?: string | undefined;
|
|
312
|
-
approved_at?: string | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
315
315
|
proposed_by: string;
|
|
316
|
+
approved_by?: string | undefined;
|
|
317
|
+
approved_at?: string | undefined;
|
|
316
318
|
rationale?: string | undefined;
|
|
317
319
|
by_domain?: Record<string, {
|
|
318
320
|
seed: Record<string, unknown>;
|
|
319
321
|
}> | undefined;
|
|
320
|
-
approved_by?: string | undefined;
|
|
321
|
-
approved_at?: string | undefined;
|
|
322
322
|
}>>;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
routes?: {
|
|
325
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
326
|
-
proposed_by: string;
|
|
327
|
-
paths: {
|
|
328
|
-
path: string;
|
|
329
|
-
file: string;
|
|
330
|
-
}[];
|
|
331
|
-
rationale?: string | undefined;
|
|
332
|
-
approved_by?: string | undefined;
|
|
333
|
-
approved_at?: string | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
auth?: {
|
|
336
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
337
|
-
proposed_by: string;
|
|
338
|
-
rationale?: string | undefined;
|
|
339
|
-
requirements?: string[] | undefined;
|
|
340
|
-
approved_by?: string | undefined;
|
|
341
|
-
approved_at?: string | undefined;
|
|
342
|
-
} | undefined;
|
|
343
324
|
schema?: {
|
|
344
325
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
345
326
|
proposed_by: string;
|
|
346
327
|
sql: string;
|
|
347
|
-
rationale?: string | undefined;
|
|
348
328
|
approved_by?: string | undefined;
|
|
349
329
|
approved_at?: string | undefined;
|
|
330
|
+
rationale?: string | undefined;
|
|
350
331
|
} | undefined;
|
|
351
332
|
ui_layout?: {
|
|
352
333
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
353
334
|
proposed_by: string;
|
|
335
|
+
approved_by?: string | undefined;
|
|
336
|
+
approved_at?: string | undefined;
|
|
354
337
|
rationale?: string | undefined;
|
|
338
|
+
viewport_coverage?: string[] | undefined;
|
|
339
|
+
components_to_reuse?: string[] | undefined;
|
|
355
340
|
tokens_to_reuse?: string[] | undefined;
|
|
356
341
|
tokens_to_add?: string[] | undefined;
|
|
357
|
-
|
|
342
|
+
} | undefined;
|
|
343
|
+
routes?: {
|
|
344
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
345
|
+
proposed_by: string;
|
|
346
|
+
paths: {
|
|
347
|
+
path: string;
|
|
348
|
+
file: string;
|
|
349
|
+
}[];
|
|
358
350
|
approved_by?: string | undefined;
|
|
359
351
|
approved_at?: string | undefined;
|
|
360
|
-
|
|
352
|
+
rationale?: string | undefined;
|
|
361
353
|
} | undefined;
|
|
362
|
-
|
|
354
|
+
auth?: {
|
|
363
355
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
364
356
|
proposed_by: string;
|
|
365
|
-
rationale?: string | undefined;
|
|
366
|
-
by_domain?: Record<string, {
|
|
367
|
-
seed: Record<string, unknown>;
|
|
368
|
-
}> | undefined;
|
|
369
357
|
approved_by?: string | undefined;
|
|
370
358
|
approved_at?: string | undefined;
|
|
359
|
+
rationale?: string | undefined;
|
|
360
|
+
requirements?: string[] | undefined;
|
|
371
361
|
} | undefined;
|
|
372
362
|
perf_budget?: {
|
|
373
363
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
374
364
|
proposed_by: string;
|
|
375
|
-
rationale?: string | undefined;
|
|
376
365
|
approved_by?: string | undefined;
|
|
377
366
|
approved_at?: string | undefined;
|
|
367
|
+
rationale?: string | undefined;
|
|
378
368
|
budgets?: Record<string, number> | undefined;
|
|
379
369
|
} | undefined;
|
|
380
370
|
observability?: {
|
|
381
371
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
382
372
|
proposed_by: string;
|
|
383
|
-
rationale?: string | undefined;
|
|
384
373
|
approved_by?: string | undefined;
|
|
385
374
|
approved_at?: string | undefined;
|
|
375
|
+
rationale?: string | undefined;
|
|
386
376
|
log_events?: string[] | undefined;
|
|
387
377
|
metrics?: {
|
|
388
|
-
name: string;
|
|
389
378
|
type: string;
|
|
379
|
+
name: string;
|
|
390
380
|
}[] | undefined;
|
|
391
381
|
} | undefined;
|
|
392
382
|
infra?: {
|
|
393
383
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
394
384
|
proposed_by: string;
|
|
395
|
-
rationale?: string | undefined;
|
|
396
385
|
approved_by?: string | undefined;
|
|
397
386
|
approved_at?: string | undefined;
|
|
387
|
+
rationale?: string | undefined;
|
|
398
388
|
runtime?: string | undefined;
|
|
399
389
|
deploy_target?: string | undefined;
|
|
400
390
|
notes?: string | undefined;
|
|
@@ -402,9 +392,9 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
402
392
|
api_shape?: {
|
|
403
393
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
404
394
|
proposed_by: string;
|
|
405
|
-
rationale?: string | undefined;
|
|
406
395
|
approved_by?: string | undefined;
|
|
407
396
|
approved_at?: string | undefined;
|
|
397
|
+
rationale?: string | undefined;
|
|
408
398
|
endpoints?: {
|
|
409
399
|
path: string;
|
|
410
400
|
method: string;
|
|
@@ -412,81 +402,81 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
412
402
|
responses?: Record<string, unknown> | undefined;
|
|
413
403
|
}[] | undefined;
|
|
414
404
|
} | undefined;
|
|
415
|
-
|
|
416
|
-
routes?: {
|
|
405
|
+
fixtures?: {
|
|
417
406
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
418
407
|
proposed_by: string;
|
|
419
|
-
paths: {
|
|
420
|
-
path: string;
|
|
421
|
-
file: string;
|
|
422
|
-
}[];
|
|
423
|
-
rationale?: string | undefined;
|
|
424
408
|
approved_by?: string | undefined;
|
|
425
409
|
approved_at?: string | undefined;
|
|
426
|
-
} | undefined;
|
|
427
|
-
auth?: {
|
|
428
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
429
|
-
proposed_by: string;
|
|
430
410
|
rationale?: string | undefined;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
411
|
+
by_domain?: Record<string, {
|
|
412
|
+
seed: Record<string, unknown>;
|
|
413
|
+
}> | undefined;
|
|
434
414
|
} | undefined;
|
|
415
|
+
}, {
|
|
435
416
|
schema?: {
|
|
436
417
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
437
418
|
proposed_by: string;
|
|
438
419
|
sql: string;
|
|
439
|
-
rationale?: string | undefined;
|
|
440
420
|
approved_by?: string | undefined;
|
|
441
421
|
approved_at?: string | undefined;
|
|
422
|
+
rationale?: string | undefined;
|
|
442
423
|
} | undefined;
|
|
443
424
|
ui_layout?: {
|
|
444
425
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
445
426
|
proposed_by: string;
|
|
427
|
+
approved_by?: string | undefined;
|
|
428
|
+
approved_at?: string | undefined;
|
|
446
429
|
rationale?: string | undefined;
|
|
430
|
+
viewport_coverage?: string[] | undefined;
|
|
431
|
+
components_to_reuse?: string[] | undefined;
|
|
447
432
|
tokens_to_reuse?: string[] | undefined;
|
|
448
433
|
tokens_to_add?: string[] | undefined;
|
|
449
|
-
|
|
434
|
+
} | undefined;
|
|
435
|
+
routes?: {
|
|
436
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
437
|
+
proposed_by: string;
|
|
438
|
+
paths: {
|
|
439
|
+
path: string;
|
|
440
|
+
file: string;
|
|
441
|
+
}[];
|
|
450
442
|
approved_by?: string | undefined;
|
|
451
443
|
approved_at?: string | undefined;
|
|
452
|
-
|
|
444
|
+
rationale?: string | undefined;
|
|
453
445
|
} | undefined;
|
|
454
|
-
|
|
446
|
+
auth?: {
|
|
455
447
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
456
448
|
proposed_by: string;
|
|
457
|
-
rationale?: string | undefined;
|
|
458
|
-
by_domain?: Record<string, {
|
|
459
|
-
seed: Record<string, unknown>;
|
|
460
|
-
}> | undefined;
|
|
461
449
|
approved_by?: string | undefined;
|
|
462
450
|
approved_at?: string | undefined;
|
|
451
|
+
rationale?: string | undefined;
|
|
452
|
+
requirements?: string[] | undefined;
|
|
463
453
|
} | undefined;
|
|
464
454
|
perf_budget?: {
|
|
465
455
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
466
456
|
proposed_by: string;
|
|
467
|
-
rationale?: string | undefined;
|
|
468
457
|
approved_by?: string | undefined;
|
|
469
458
|
approved_at?: string | undefined;
|
|
459
|
+
rationale?: string | undefined;
|
|
470
460
|
budgets?: Record<string, number> | undefined;
|
|
471
461
|
} | undefined;
|
|
472
462
|
observability?: {
|
|
473
463
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
474
464
|
proposed_by: string;
|
|
475
|
-
rationale?: string | undefined;
|
|
476
465
|
approved_by?: string | undefined;
|
|
477
466
|
approved_at?: string | undefined;
|
|
467
|
+
rationale?: string | undefined;
|
|
478
468
|
log_events?: string[] | undefined;
|
|
479
469
|
metrics?: {
|
|
480
|
-
name: string;
|
|
481
470
|
type: string;
|
|
471
|
+
name: string;
|
|
482
472
|
}[] | undefined;
|
|
483
473
|
} | undefined;
|
|
484
474
|
infra?: {
|
|
485
475
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
486
476
|
proposed_by: string;
|
|
487
|
-
rationale?: string | undefined;
|
|
488
477
|
approved_by?: string | undefined;
|
|
489
478
|
approved_at?: string | undefined;
|
|
479
|
+
rationale?: string | undefined;
|
|
490
480
|
runtime?: string | undefined;
|
|
491
481
|
deploy_target?: string | undefined;
|
|
492
482
|
notes?: string | undefined;
|
|
@@ -494,9 +484,9 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
494
484
|
api_shape?: {
|
|
495
485
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
496
486
|
proposed_by: string;
|
|
497
|
-
rationale?: string | undefined;
|
|
498
487
|
approved_by?: string | undefined;
|
|
499
488
|
approved_at?: string | undefined;
|
|
489
|
+
rationale?: string | undefined;
|
|
500
490
|
endpoints?: {
|
|
501
491
|
path: string;
|
|
502
492
|
method: string;
|
|
@@ -504,6 +494,16 @@ export declare const SpecProposalsSchema: z.ZodObject<{
|
|
|
504
494
|
responses?: Record<string, unknown> | undefined;
|
|
505
495
|
}[] | undefined;
|
|
506
496
|
} | undefined;
|
|
497
|
+
fixtures?: {
|
|
498
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
499
|
+
proposed_by: string;
|
|
500
|
+
approved_by?: string | undefined;
|
|
501
|
+
approved_at?: string | undefined;
|
|
502
|
+
rationale?: string | undefined;
|
|
503
|
+
by_domain?: Record<string, {
|
|
504
|
+
seed: Record<string, unknown>;
|
|
505
|
+
}> | undefined;
|
|
506
|
+
} | undefined;
|
|
507
507
|
}>;
|
|
508
508
|
export declare function readIndex(repoRoot: string): SpecIndex;
|
|
509
509
|
export declare function writeIndex(repoRoot: string, index: SpecIndex): void;
|
|
@@ -631,16 +631,16 @@ export declare const schemas: {
|
|
|
631
631
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
632
632
|
proposed_by: string;
|
|
633
633
|
sql: string;
|
|
634
|
-
rationale?: string | undefined;
|
|
635
634
|
approved_by?: string | undefined;
|
|
636
635
|
approved_at?: string | undefined;
|
|
636
|
+
rationale?: string | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
639
639
|
proposed_by: string;
|
|
640
640
|
sql: string;
|
|
641
|
-
rationale?: string | undefined;
|
|
642
641
|
approved_by?: string | undefined;
|
|
643
642
|
approved_at?: string | undefined;
|
|
643
|
+
rationale?: string | undefined;
|
|
644
644
|
}>>;
|
|
645
645
|
ui_layout: z.ZodOptional<z.ZodObject<{
|
|
646
646
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -656,23 +656,23 @@ export declare const schemas: {
|
|
|
656
656
|
}, "strip", z.ZodTypeAny, {
|
|
657
657
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
658
658
|
proposed_by: string;
|
|
659
|
-
rationale?: string | undefined;
|
|
660
|
-
tokens_to_reuse?: string[] | undefined;
|
|
661
|
-
tokens_to_add?: string[] | undefined;
|
|
662
|
-
components_to_reuse?: string[] | undefined;
|
|
663
659
|
approved_by?: string | undefined;
|
|
664
660
|
approved_at?: string | undefined;
|
|
661
|
+
rationale?: string | undefined;
|
|
665
662
|
viewport_coverage?: string[] | undefined;
|
|
663
|
+
components_to_reuse?: string[] | undefined;
|
|
664
|
+
tokens_to_reuse?: string[] | undefined;
|
|
665
|
+
tokens_to_add?: string[] | undefined;
|
|
666
666
|
}, {
|
|
667
667
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
668
668
|
proposed_by: string;
|
|
669
|
-
rationale?: string | undefined;
|
|
670
|
-
tokens_to_reuse?: string[] | undefined;
|
|
671
|
-
tokens_to_add?: string[] | undefined;
|
|
672
|
-
components_to_reuse?: string[] | undefined;
|
|
673
669
|
approved_by?: string | undefined;
|
|
674
670
|
approved_at?: string | undefined;
|
|
671
|
+
rationale?: string | undefined;
|
|
675
672
|
viewport_coverage?: string[] | undefined;
|
|
673
|
+
components_to_reuse?: string[] | undefined;
|
|
674
|
+
tokens_to_reuse?: string[] | undefined;
|
|
675
|
+
tokens_to_add?: string[] | undefined;
|
|
676
676
|
}>>;
|
|
677
677
|
routes: z.ZodOptional<z.ZodObject<{
|
|
678
678
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -698,9 +698,9 @@ export declare const schemas: {
|
|
|
698
698
|
path: string;
|
|
699
699
|
file: string;
|
|
700
700
|
}[];
|
|
701
|
-
rationale?: string | undefined;
|
|
702
701
|
approved_by?: string | undefined;
|
|
703
702
|
approved_at?: string | undefined;
|
|
703
|
+
rationale?: string | undefined;
|
|
704
704
|
}, {
|
|
705
705
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
706
706
|
proposed_by: string;
|
|
@@ -708,9 +708,9 @@ export declare const schemas: {
|
|
|
708
708
|
path: string;
|
|
709
709
|
file: string;
|
|
710
710
|
}[];
|
|
711
|
-
rationale?: string | undefined;
|
|
712
711
|
approved_by?: string | undefined;
|
|
713
712
|
approved_at?: string | undefined;
|
|
713
|
+
rationale?: string | undefined;
|
|
714
714
|
}>>;
|
|
715
715
|
auth: z.ZodOptional<z.ZodObject<{
|
|
716
716
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -723,17 +723,17 @@ export declare const schemas: {
|
|
|
723
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
724
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
725
725
|
proposed_by: string;
|
|
726
|
-
rationale?: string | undefined;
|
|
727
|
-
requirements?: string[] | undefined;
|
|
728
726
|
approved_by?: string | undefined;
|
|
729
727
|
approved_at?: string | undefined;
|
|
728
|
+
rationale?: string | undefined;
|
|
729
|
+
requirements?: string[] | undefined;
|
|
730
730
|
}, {
|
|
731
731
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
732
732
|
proposed_by: string;
|
|
733
|
-
rationale?: string | undefined;
|
|
734
|
-
requirements?: string[] | undefined;
|
|
735
733
|
approved_by?: string | undefined;
|
|
736
734
|
approved_at?: string | undefined;
|
|
735
|
+
rationale?: string | undefined;
|
|
736
|
+
requirements?: string[] | undefined;
|
|
737
737
|
}>>;
|
|
738
738
|
perf_budget: z.ZodOptional<z.ZodObject<{
|
|
739
739
|
status: z.ZodEnum<["pending", "approved", "rejected", "deferred", "blocked_on_clarification"]>;
|
|
@@ -746,16 +746,16 @@ export declare const schemas: {
|
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
747
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
748
748
|
proposed_by: string;
|
|
749
|
-
rationale?: string | undefined;
|
|
750
749
|
approved_by?: string | undefined;
|
|
751
750
|
approved_at?: string | undefined;
|
|
751
|
+
rationale?: string | undefined;
|
|
752
752
|
budgets?: Record<string, number> | undefined;
|
|
753
753
|
}, {
|
|
754
754
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
755
755
|
proposed_by: string;
|
|
756
|
-
rationale?: string | undefined;
|
|
757
756
|
approved_by?: string | undefined;
|
|
758
757
|
approved_at?: string | undefined;
|
|
758
|
+
rationale?: string | undefined;
|
|
759
759
|
budgets?: Record<string, number> | undefined;
|
|
760
760
|
}>>;
|
|
761
761
|
observability: z.ZodOptional<z.ZodObject<{
|
|
@@ -770,33 +770,33 @@ export declare const schemas: {
|
|
|
770
770
|
name: z.ZodString;
|
|
771
771
|
type: z.ZodString;
|
|
772
772
|
}, "strip", z.ZodTypeAny, {
|
|
773
|
-
name: string;
|
|
774
773
|
type: string;
|
|
775
|
-
}, {
|
|
776
774
|
name: string;
|
|
775
|
+
}, {
|
|
777
776
|
type: string;
|
|
777
|
+
name: string;
|
|
778
778
|
}>, "many">>;
|
|
779
779
|
}, "strip", z.ZodTypeAny, {
|
|
780
780
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
781
781
|
proposed_by: string;
|
|
782
|
-
rationale?: string | undefined;
|
|
783
782
|
approved_by?: string | undefined;
|
|
784
783
|
approved_at?: string | undefined;
|
|
784
|
+
rationale?: string | undefined;
|
|
785
785
|
log_events?: string[] | undefined;
|
|
786
786
|
metrics?: {
|
|
787
|
-
name: string;
|
|
788
787
|
type: string;
|
|
788
|
+
name: string;
|
|
789
789
|
}[] | undefined;
|
|
790
790
|
}, {
|
|
791
791
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
792
792
|
proposed_by: string;
|
|
793
|
-
rationale?: string | undefined;
|
|
794
793
|
approved_by?: string | undefined;
|
|
795
794
|
approved_at?: string | undefined;
|
|
795
|
+
rationale?: string | undefined;
|
|
796
796
|
log_events?: string[] | undefined;
|
|
797
797
|
metrics?: {
|
|
798
|
-
name: string;
|
|
799
798
|
type: string;
|
|
799
|
+
name: string;
|
|
800
800
|
}[] | undefined;
|
|
801
801
|
}>>;
|
|
802
802
|
infra: z.ZodOptional<z.ZodObject<{
|
|
@@ -812,18 +812,18 @@ export declare const schemas: {
|
|
|
812
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
813
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
814
814
|
proposed_by: string;
|
|
815
|
-
rationale?: string | undefined;
|
|
816
815
|
approved_by?: string | undefined;
|
|
817
816
|
approved_at?: string | undefined;
|
|
817
|
+
rationale?: string | undefined;
|
|
818
818
|
runtime?: string | undefined;
|
|
819
819
|
deploy_target?: string | undefined;
|
|
820
820
|
notes?: string | undefined;
|
|
821
821
|
}, {
|
|
822
822
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
823
823
|
proposed_by: string;
|
|
824
|
-
rationale?: string | undefined;
|
|
825
824
|
approved_by?: string | undefined;
|
|
826
825
|
approved_at?: string | undefined;
|
|
826
|
+
rationale?: string | undefined;
|
|
827
827
|
runtime?: string | undefined;
|
|
828
828
|
deploy_target?: string | undefined;
|
|
829
829
|
notes?: string | undefined;
|
|
@@ -854,9 +854,9 @@ export declare const schemas: {
|
|
|
854
854
|
}, "strip", z.ZodTypeAny, {
|
|
855
855
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
856
856
|
proposed_by: string;
|
|
857
|
-
rationale?: string | undefined;
|
|
858
857
|
approved_by?: string | undefined;
|
|
859
858
|
approved_at?: string | undefined;
|
|
859
|
+
rationale?: string | undefined;
|
|
860
860
|
endpoints?: {
|
|
861
861
|
path: string;
|
|
862
862
|
method: string;
|
|
@@ -866,9 +866,9 @@ export declare const schemas: {
|
|
|
866
866
|
}, {
|
|
867
867
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
868
868
|
proposed_by: string;
|
|
869
|
-
rationale?: string | undefined;
|
|
870
869
|
approved_by?: string | undefined;
|
|
871
870
|
approved_at?: string | undefined;
|
|
871
|
+
rationale?: string | undefined;
|
|
872
872
|
endpoints?: {
|
|
873
873
|
path: string;
|
|
874
874
|
method: string;
|
|
@@ -919,97 +919,87 @@ export declare const schemas: {
|
|
|
919
919
|
}, "strip", z.ZodTypeAny, {
|
|
920
920
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
921
921
|
proposed_by: string;
|
|
922
|
+
approved_by?: string | undefined;
|
|
923
|
+
approved_at?: string | undefined;
|
|
922
924
|
rationale?: string | undefined;
|
|
923
925
|
by_domain?: Record<string, {
|
|
924
926
|
seed: Record<string, unknown>;
|
|
925
927
|
}> | undefined;
|
|
926
|
-
approved_by?: string | undefined;
|
|
927
|
-
approved_at?: string | undefined;
|
|
928
928
|
}, {
|
|
929
929
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
930
930
|
proposed_by: string;
|
|
931
|
+
approved_by?: string | undefined;
|
|
932
|
+
approved_at?: string | undefined;
|
|
931
933
|
rationale?: string | undefined;
|
|
932
934
|
by_domain?: Record<string, {
|
|
933
935
|
seed: Record<string, unknown>;
|
|
934
936
|
}> | undefined;
|
|
935
|
-
approved_by?: string | undefined;
|
|
936
|
-
approved_at?: string | undefined;
|
|
937
937
|
}>>;
|
|
938
938
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
routes?: {
|
|
940
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
941
|
-
proposed_by: string;
|
|
942
|
-
paths: {
|
|
943
|
-
path: string;
|
|
944
|
-
file: string;
|
|
945
|
-
}[];
|
|
946
|
-
rationale?: string | undefined;
|
|
947
|
-
approved_by?: string | undefined;
|
|
948
|
-
approved_at?: string | undefined;
|
|
949
|
-
} | undefined;
|
|
950
|
-
auth?: {
|
|
951
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
952
|
-
proposed_by: string;
|
|
953
|
-
rationale?: string | undefined;
|
|
954
|
-
requirements?: string[] | undefined;
|
|
955
|
-
approved_by?: string | undefined;
|
|
956
|
-
approved_at?: string | undefined;
|
|
957
|
-
} | undefined;
|
|
958
939
|
schema?: {
|
|
959
940
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
960
941
|
proposed_by: string;
|
|
961
942
|
sql: string;
|
|
962
|
-
rationale?: string | undefined;
|
|
963
943
|
approved_by?: string | undefined;
|
|
964
944
|
approved_at?: string | undefined;
|
|
945
|
+
rationale?: string | undefined;
|
|
965
946
|
} | undefined;
|
|
966
947
|
ui_layout?: {
|
|
967
948
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
968
949
|
proposed_by: string;
|
|
950
|
+
approved_by?: string | undefined;
|
|
951
|
+
approved_at?: string | undefined;
|
|
969
952
|
rationale?: string | undefined;
|
|
953
|
+
viewport_coverage?: string[] | undefined;
|
|
954
|
+
components_to_reuse?: string[] | undefined;
|
|
970
955
|
tokens_to_reuse?: string[] | undefined;
|
|
971
956
|
tokens_to_add?: string[] | undefined;
|
|
972
|
-
|
|
957
|
+
} | undefined;
|
|
958
|
+
routes?: {
|
|
959
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
960
|
+
proposed_by: string;
|
|
961
|
+
paths: {
|
|
962
|
+
path: string;
|
|
963
|
+
file: string;
|
|
964
|
+
}[];
|
|
973
965
|
approved_by?: string | undefined;
|
|
974
966
|
approved_at?: string | undefined;
|
|
975
|
-
|
|
967
|
+
rationale?: string | undefined;
|
|
976
968
|
} | undefined;
|
|
977
|
-
|
|
969
|
+
auth?: {
|
|
978
970
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
979
971
|
proposed_by: string;
|
|
980
|
-
rationale?: string | undefined;
|
|
981
|
-
by_domain?: Record<string, {
|
|
982
|
-
seed: Record<string, unknown>;
|
|
983
|
-
}> | undefined;
|
|
984
972
|
approved_by?: string | undefined;
|
|
985
973
|
approved_at?: string | undefined;
|
|
974
|
+
rationale?: string | undefined;
|
|
975
|
+
requirements?: string[] | undefined;
|
|
986
976
|
} | undefined;
|
|
987
977
|
perf_budget?: {
|
|
988
978
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
989
979
|
proposed_by: string;
|
|
990
|
-
rationale?: string | undefined;
|
|
991
980
|
approved_by?: string | undefined;
|
|
992
981
|
approved_at?: string | undefined;
|
|
982
|
+
rationale?: string | undefined;
|
|
993
983
|
budgets?: Record<string, number> | undefined;
|
|
994
984
|
} | undefined;
|
|
995
985
|
observability?: {
|
|
996
986
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
997
987
|
proposed_by: string;
|
|
998
|
-
rationale?: string | undefined;
|
|
999
988
|
approved_by?: string | undefined;
|
|
1000
989
|
approved_at?: string | undefined;
|
|
990
|
+
rationale?: string | undefined;
|
|
1001
991
|
log_events?: string[] | undefined;
|
|
1002
992
|
metrics?: {
|
|
1003
|
-
name: string;
|
|
1004
993
|
type: string;
|
|
994
|
+
name: string;
|
|
1005
995
|
}[] | undefined;
|
|
1006
996
|
} | undefined;
|
|
1007
997
|
infra?: {
|
|
1008
998
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1009
999
|
proposed_by: string;
|
|
1010
|
-
rationale?: string | undefined;
|
|
1011
1000
|
approved_by?: string | undefined;
|
|
1012
1001
|
approved_at?: string | undefined;
|
|
1002
|
+
rationale?: string | undefined;
|
|
1013
1003
|
runtime?: string | undefined;
|
|
1014
1004
|
deploy_target?: string | undefined;
|
|
1015
1005
|
notes?: string | undefined;
|
|
@@ -1017,9 +1007,9 @@ export declare const schemas: {
|
|
|
1017
1007
|
api_shape?: {
|
|
1018
1008
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1019
1009
|
proposed_by: string;
|
|
1020
|
-
rationale?: string | undefined;
|
|
1021
1010
|
approved_by?: string | undefined;
|
|
1022
1011
|
approved_at?: string | undefined;
|
|
1012
|
+
rationale?: string | undefined;
|
|
1023
1013
|
endpoints?: {
|
|
1024
1014
|
path: string;
|
|
1025
1015
|
method: string;
|
|
@@ -1027,81 +1017,81 @@ export declare const schemas: {
|
|
|
1027
1017
|
responses?: Record<string, unknown> | undefined;
|
|
1028
1018
|
}[] | undefined;
|
|
1029
1019
|
} | undefined;
|
|
1030
|
-
|
|
1031
|
-
routes?: {
|
|
1020
|
+
fixtures?: {
|
|
1032
1021
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1033
1022
|
proposed_by: string;
|
|
1034
|
-
paths: {
|
|
1035
|
-
path: string;
|
|
1036
|
-
file: string;
|
|
1037
|
-
}[];
|
|
1038
|
-
rationale?: string | undefined;
|
|
1039
1023
|
approved_by?: string | undefined;
|
|
1040
1024
|
approved_at?: string | undefined;
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
auth?: {
|
|
1043
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1044
|
-
proposed_by: string;
|
|
1045
1025
|
rationale?: string | undefined;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1026
|
+
by_domain?: Record<string, {
|
|
1027
|
+
seed: Record<string, unknown>;
|
|
1028
|
+
}> | undefined;
|
|
1049
1029
|
} | undefined;
|
|
1030
|
+
}, {
|
|
1050
1031
|
schema?: {
|
|
1051
1032
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1052
1033
|
proposed_by: string;
|
|
1053
1034
|
sql: string;
|
|
1054
|
-
rationale?: string | undefined;
|
|
1055
1035
|
approved_by?: string | undefined;
|
|
1056
1036
|
approved_at?: string | undefined;
|
|
1037
|
+
rationale?: string | undefined;
|
|
1057
1038
|
} | undefined;
|
|
1058
1039
|
ui_layout?: {
|
|
1059
1040
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1060
1041
|
proposed_by: string;
|
|
1042
|
+
approved_by?: string | undefined;
|
|
1043
|
+
approved_at?: string | undefined;
|
|
1061
1044
|
rationale?: string | undefined;
|
|
1045
|
+
viewport_coverage?: string[] | undefined;
|
|
1046
|
+
components_to_reuse?: string[] | undefined;
|
|
1062
1047
|
tokens_to_reuse?: string[] | undefined;
|
|
1063
1048
|
tokens_to_add?: string[] | undefined;
|
|
1064
|
-
|
|
1049
|
+
} | undefined;
|
|
1050
|
+
routes?: {
|
|
1051
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1052
|
+
proposed_by: string;
|
|
1053
|
+
paths: {
|
|
1054
|
+
path: string;
|
|
1055
|
+
file: string;
|
|
1056
|
+
}[];
|
|
1065
1057
|
approved_by?: string | undefined;
|
|
1066
1058
|
approved_at?: string | undefined;
|
|
1067
|
-
|
|
1059
|
+
rationale?: string | undefined;
|
|
1068
1060
|
} | undefined;
|
|
1069
|
-
|
|
1061
|
+
auth?: {
|
|
1070
1062
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1071
1063
|
proposed_by: string;
|
|
1072
|
-
rationale?: string | undefined;
|
|
1073
|
-
by_domain?: Record<string, {
|
|
1074
|
-
seed: Record<string, unknown>;
|
|
1075
|
-
}> | undefined;
|
|
1076
1064
|
approved_by?: string | undefined;
|
|
1077
1065
|
approved_at?: string | undefined;
|
|
1066
|
+
rationale?: string | undefined;
|
|
1067
|
+
requirements?: string[] | undefined;
|
|
1078
1068
|
} | undefined;
|
|
1079
1069
|
perf_budget?: {
|
|
1080
1070
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1081
1071
|
proposed_by: string;
|
|
1082
|
-
rationale?: string | undefined;
|
|
1083
1072
|
approved_by?: string | undefined;
|
|
1084
1073
|
approved_at?: string | undefined;
|
|
1074
|
+
rationale?: string | undefined;
|
|
1085
1075
|
budgets?: Record<string, number> | undefined;
|
|
1086
1076
|
} | undefined;
|
|
1087
1077
|
observability?: {
|
|
1088
1078
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1089
1079
|
proposed_by: string;
|
|
1090
|
-
rationale?: string | undefined;
|
|
1091
1080
|
approved_by?: string | undefined;
|
|
1092
1081
|
approved_at?: string | undefined;
|
|
1082
|
+
rationale?: string | undefined;
|
|
1093
1083
|
log_events?: string[] | undefined;
|
|
1094
1084
|
metrics?: {
|
|
1095
|
-
name: string;
|
|
1096
1085
|
type: string;
|
|
1086
|
+
name: string;
|
|
1097
1087
|
}[] | undefined;
|
|
1098
1088
|
} | undefined;
|
|
1099
1089
|
infra?: {
|
|
1100
1090
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1101
1091
|
proposed_by: string;
|
|
1102
|
-
rationale?: string | undefined;
|
|
1103
1092
|
approved_by?: string | undefined;
|
|
1104
1093
|
approved_at?: string | undefined;
|
|
1094
|
+
rationale?: string | undefined;
|
|
1105
1095
|
runtime?: string | undefined;
|
|
1106
1096
|
deploy_target?: string | undefined;
|
|
1107
1097
|
notes?: string | undefined;
|
|
@@ -1109,9 +1099,9 @@ export declare const schemas: {
|
|
|
1109
1099
|
api_shape?: {
|
|
1110
1100
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1111
1101
|
proposed_by: string;
|
|
1112
|
-
rationale?: string | undefined;
|
|
1113
1102
|
approved_by?: string | undefined;
|
|
1114
1103
|
approved_at?: string | undefined;
|
|
1104
|
+
rationale?: string | undefined;
|
|
1115
1105
|
endpoints?: {
|
|
1116
1106
|
path: string;
|
|
1117
1107
|
method: string;
|
|
@@ -1119,14 +1109,40 @@ export declare const schemas: {
|
|
|
1119
1109
|
responses?: Record<string, unknown> | undefined;
|
|
1120
1110
|
}[] | undefined;
|
|
1121
1111
|
} | undefined;
|
|
1112
|
+
fixtures?: {
|
|
1113
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1114
|
+
proposed_by: string;
|
|
1115
|
+
approved_by?: string | undefined;
|
|
1116
|
+
approved_at?: string | undefined;
|
|
1117
|
+
rationale?: string | undefined;
|
|
1118
|
+
by_domain?: Record<string, {
|
|
1119
|
+
seed: Record<string, unknown>;
|
|
1120
|
+
}> | undefined;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
}>>;
|
|
1123
|
+
/**
|
|
1124
|
+
* 0.19.0-α.34 (sc#67) — canonical story cost. Aggregated from the
|
|
1125
|
+
* `specs/story-<id>.cost.jsonl` sidecar by `applyCostToSpec`. Optional
|
|
1126
|
+
* because older specs predate this and the sidecar is the
|
|
1127
|
+
* source-of-truth — the spec field is a glance-readable mirror.
|
|
1128
|
+
*/
|
|
1129
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1130
|
+
total_usd: z.ZodNumber;
|
|
1131
|
+
last_updated: z.ZodString;
|
|
1132
|
+
}, "strip", z.ZodTypeAny, {
|
|
1133
|
+
total_usd: number;
|
|
1134
|
+
last_updated: string;
|
|
1135
|
+
}, {
|
|
1136
|
+
total_usd: number;
|
|
1137
|
+
last_updated: string;
|
|
1122
1138
|
}>>;
|
|
1123
1139
|
}, "strip", z.ZodTypeAny, {
|
|
1124
1140
|
status: "draft" | "active" | "superseded";
|
|
1125
|
-
created_at: string;
|
|
1126
1141
|
title: string;
|
|
1127
1142
|
supersedes: string[];
|
|
1128
1143
|
superseded_by: string | null;
|
|
1129
1144
|
story_id: string;
|
|
1145
|
+
created_at: string;
|
|
1130
1146
|
actors: {
|
|
1131
1147
|
name: string;
|
|
1132
1148
|
notes?: string | undefined;
|
|
@@ -1135,8 +1151,8 @@ export declare const schemas: {
|
|
|
1135
1151
|
invariants: string[];
|
|
1136
1152
|
acceptance_scenarios: string[];
|
|
1137
1153
|
non_goals: string[];
|
|
1138
|
-
source_issue?: string | undefined;
|
|
1139
1154
|
$schema?: string | undefined;
|
|
1155
|
+
source_issue?: string | undefined;
|
|
1140
1156
|
token_budget_usd?: number | undefined;
|
|
1141
1157
|
estimate?: "small" | "medium" | "large" | undefined;
|
|
1142
1158
|
refined_by?: string | undefined;
|
|
@@ -1148,80 +1164,70 @@ export declare const schemas: {
|
|
|
1148
1164
|
note?: string | undefined;
|
|
1149
1165
|
}[] | undefined;
|
|
1150
1166
|
proposals?: {
|
|
1151
|
-
routes?: {
|
|
1152
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1153
|
-
proposed_by: string;
|
|
1154
|
-
paths: {
|
|
1155
|
-
path: string;
|
|
1156
|
-
file: string;
|
|
1157
|
-
}[];
|
|
1158
|
-
rationale?: string | undefined;
|
|
1159
|
-
approved_by?: string | undefined;
|
|
1160
|
-
approved_at?: string | undefined;
|
|
1161
|
-
} | undefined;
|
|
1162
|
-
auth?: {
|
|
1163
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1164
|
-
proposed_by: string;
|
|
1165
|
-
rationale?: string | undefined;
|
|
1166
|
-
requirements?: string[] | undefined;
|
|
1167
|
-
approved_by?: string | undefined;
|
|
1168
|
-
approved_at?: string | undefined;
|
|
1169
|
-
} | undefined;
|
|
1170
1167
|
schema?: {
|
|
1171
1168
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1172
1169
|
proposed_by: string;
|
|
1173
1170
|
sql: string;
|
|
1174
|
-
rationale?: string | undefined;
|
|
1175
1171
|
approved_by?: string | undefined;
|
|
1176
1172
|
approved_at?: string | undefined;
|
|
1173
|
+
rationale?: string | undefined;
|
|
1177
1174
|
} | undefined;
|
|
1178
1175
|
ui_layout?: {
|
|
1179
1176
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1180
1177
|
proposed_by: string;
|
|
1178
|
+
approved_by?: string | undefined;
|
|
1179
|
+
approved_at?: string | undefined;
|
|
1181
1180
|
rationale?: string | undefined;
|
|
1181
|
+
viewport_coverage?: string[] | undefined;
|
|
1182
|
+
components_to_reuse?: string[] | undefined;
|
|
1182
1183
|
tokens_to_reuse?: string[] | undefined;
|
|
1183
1184
|
tokens_to_add?: string[] | undefined;
|
|
1184
|
-
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
routes?: {
|
|
1187
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1188
|
+
proposed_by: string;
|
|
1189
|
+
paths: {
|
|
1190
|
+
path: string;
|
|
1191
|
+
file: string;
|
|
1192
|
+
}[];
|
|
1185
1193
|
approved_by?: string | undefined;
|
|
1186
1194
|
approved_at?: string | undefined;
|
|
1187
|
-
|
|
1195
|
+
rationale?: string | undefined;
|
|
1188
1196
|
} | undefined;
|
|
1189
|
-
|
|
1197
|
+
auth?: {
|
|
1190
1198
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1191
1199
|
proposed_by: string;
|
|
1192
|
-
rationale?: string | undefined;
|
|
1193
|
-
by_domain?: Record<string, {
|
|
1194
|
-
seed: Record<string, unknown>;
|
|
1195
|
-
}> | undefined;
|
|
1196
1200
|
approved_by?: string | undefined;
|
|
1197
1201
|
approved_at?: string | undefined;
|
|
1202
|
+
rationale?: string | undefined;
|
|
1203
|
+
requirements?: string[] | undefined;
|
|
1198
1204
|
} | undefined;
|
|
1199
1205
|
perf_budget?: {
|
|
1200
1206
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1201
1207
|
proposed_by: string;
|
|
1202
|
-
rationale?: string | undefined;
|
|
1203
1208
|
approved_by?: string | undefined;
|
|
1204
1209
|
approved_at?: string | undefined;
|
|
1210
|
+
rationale?: string | undefined;
|
|
1205
1211
|
budgets?: Record<string, number> | undefined;
|
|
1206
1212
|
} | undefined;
|
|
1207
1213
|
observability?: {
|
|
1208
1214
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1209
1215
|
proposed_by: string;
|
|
1210
|
-
rationale?: string | undefined;
|
|
1211
1216
|
approved_by?: string | undefined;
|
|
1212
1217
|
approved_at?: string | undefined;
|
|
1218
|
+
rationale?: string | undefined;
|
|
1213
1219
|
log_events?: string[] | undefined;
|
|
1214
1220
|
metrics?: {
|
|
1215
|
-
name: string;
|
|
1216
1221
|
type: string;
|
|
1222
|
+
name: string;
|
|
1217
1223
|
}[] | undefined;
|
|
1218
1224
|
} | undefined;
|
|
1219
1225
|
infra?: {
|
|
1220
1226
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1221
1227
|
proposed_by: string;
|
|
1222
|
-
rationale?: string | undefined;
|
|
1223
1228
|
approved_by?: string | undefined;
|
|
1224
1229
|
approved_at?: string | undefined;
|
|
1230
|
+
rationale?: string | undefined;
|
|
1225
1231
|
runtime?: string | undefined;
|
|
1226
1232
|
deploy_target?: string | undefined;
|
|
1227
1233
|
notes?: string | undefined;
|
|
@@ -1229,9 +1235,9 @@ export declare const schemas: {
|
|
|
1229
1235
|
api_shape?: {
|
|
1230
1236
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1231
1237
|
proposed_by: string;
|
|
1232
|
-
rationale?: string | undefined;
|
|
1233
1238
|
approved_by?: string | undefined;
|
|
1234
1239
|
approved_at?: string | undefined;
|
|
1240
|
+
rationale?: string | undefined;
|
|
1235
1241
|
endpoints?: {
|
|
1236
1242
|
path: string;
|
|
1237
1243
|
method: string;
|
|
@@ -1239,14 +1245,28 @@ export declare const schemas: {
|
|
|
1239
1245
|
responses?: Record<string, unknown> | undefined;
|
|
1240
1246
|
}[] | undefined;
|
|
1241
1247
|
} | undefined;
|
|
1248
|
+
fixtures?: {
|
|
1249
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1250
|
+
proposed_by: string;
|
|
1251
|
+
approved_by?: string | undefined;
|
|
1252
|
+
approved_at?: string | undefined;
|
|
1253
|
+
rationale?: string | undefined;
|
|
1254
|
+
by_domain?: Record<string, {
|
|
1255
|
+
seed: Record<string, unknown>;
|
|
1256
|
+
}> | undefined;
|
|
1257
|
+
} | undefined;
|
|
1258
|
+
} | undefined;
|
|
1259
|
+
cost?: {
|
|
1260
|
+
total_usd: number;
|
|
1261
|
+
last_updated: string;
|
|
1242
1262
|
} | undefined;
|
|
1243
1263
|
}, {
|
|
1244
1264
|
status: "draft" | "active" | "superseded";
|
|
1245
|
-
created_at: string;
|
|
1246
1265
|
title: string;
|
|
1247
1266
|
supersedes: string[];
|
|
1248
1267
|
superseded_by: string | null;
|
|
1249
1268
|
story_id: string;
|
|
1269
|
+
created_at: string;
|
|
1250
1270
|
actors: {
|
|
1251
1271
|
name: string;
|
|
1252
1272
|
notes?: string | undefined;
|
|
@@ -1255,8 +1275,8 @@ export declare const schemas: {
|
|
|
1255
1275
|
invariants: string[];
|
|
1256
1276
|
acceptance_scenarios: string[];
|
|
1257
1277
|
non_goals: string[];
|
|
1258
|
-
source_issue?: string | undefined;
|
|
1259
1278
|
$schema?: string | undefined;
|
|
1279
|
+
source_issue?: string | undefined;
|
|
1260
1280
|
token_budget_usd?: number | undefined;
|
|
1261
1281
|
estimate?: "small" | "medium" | "large" | undefined;
|
|
1262
1282
|
refined_by?: string | undefined;
|
|
@@ -1268,80 +1288,70 @@ export declare const schemas: {
|
|
|
1268
1288
|
note?: string | undefined;
|
|
1269
1289
|
}[] | undefined;
|
|
1270
1290
|
proposals?: {
|
|
1271
|
-
routes?: {
|
|
1272
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1273
|
-
proposed_by: string;
|
|
1274
|
-
paths: {
|
|
1275
|
-
path: string;
|
|
1276
|
-
file: string;
|
|
1277
|
-
}[];
|
|
1278
|
-
rationale?: string | undefined;
|
|
1279
|
-
approved_by?: string | undefined;
|
|
1280
|
-
approved_at?: string | undefined;
|
|
1281
|
-
} | undefined;
|
|
1282
|
-
auth?: {
|
|
1283
|
-
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1284
|
-
proposed_by: string;
|
|
1285
|
-
rationale?: string | undefined;
|
|
1286
|
-
requirements?: string[] | undefined;
|
|
1287
|
-
approved_by?: string | undefined;
|
|
1288
|
-
approved_at?: string | undefined;
|
|
1289
|
-
} | undefined;
|
|
1290
1291
|
schema?: {
|
|
1291
1292
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1292
1293
|
proposed_by: string;
|
|
1293
1294
|
sql: string;
|
|
1294
|
-
rationale?: string | undefined;
|
|
1295
1295
|
approved_by?: string | undefined;
|
|
1296
1296
|
approved_at?: string | undefined;
|
|
1297
|
+
rationale?: string | undefined;
|
|
1297
1298
|
} | undefined;
|
|
1298
1299
|
ui_layout?: {
|
|
1299
1300
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1300
1301
|
proposed_by: string;
|
|
1302
|
+
approved_by?: string | undefined;
|
|
1303
|
+
approved_at?: string | undefined;
|
|
1301
1304
|
rationale?: string | undefined;
|
|
1305
|
+
viewport_coverage?: string[] | undefined;
|
|
1306
|
+
components_to_reuse?: string[] | undefined;
|
|
1302
1307
|
tokens_to_reuse?: string[] | undefined;
|
|
1303
1308
|
tokens_to_add?: string[] | undefined;
|
|
1304
|
-
|
|
1309
|
+
} | undefined;
|
|
1310
|
+
routes?: {
|
|
1311
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1312
|
+
proposed_by: string;
|
|
1313
|
+
paths: {
|
|
1314
|
+
path: string;
|
|
1315
|
+
file: string;
|
|
1316
|
+
}[];
|
|
1305
1317
|
approved_by?: string | undefined;
|
|
1306
1318
|
approved_at?: string | undefined;
|
|
1307
|
-
|
|
1319
|
+
rationale?: string | undefined;
|
|
1308
1320
|
} | undefined;
|
|
1309
|
-
|
|
1321
|
+
auth?: {
|
|
1310
1322
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1311
1323
|
proposed_by: string;
|
|
1312
|
-
rationale?: string | undefined;
|
|
1313
|
-
by_domain?: Record<string, {
|
|
1314
|
-
seed: Record<string, unknown>;
|
|
1315
|
-
}> | undefined;
|
|
1316
1324
|
approved_by?: string | undefined;
|
|
1317
1325
|
approved_at?: string | undefined;
|
|
1326
|
+
rationale?: string | undefined;
|
|
1327
|
+
requirements?: string[] | undefined;
|
|
1318
1328
|
} | undefined;
|
|
1319
1329
|
perf_budget?: {
|
|
1320
1330
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1321
1331
|
proposed_by: string;
|
|
1322
|
-
rationale?: string | undefined;
|
|
1323
1332
|
approved_by?: string | undefined;
|
|
1324
1333
|
approved_at?: string | undefined;
|
|
1334
|
+
rationale?: string | undefined;
|
|
1325
1335
|
budgets?: Record<string, number> | undefined;
|
|
1326
1336
|
} | undefined;
|
|
1327
1337
|
observability?: {
|
|
1328
1338
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1329
1339
|
proposed_by: string;
|
|
1330
|
-
rationale?: string | undefined;
|
|
1331
1340
|
approved_by?: string | undefined;
|
|
1332
1341
|
approved_at?: string | undefined;
|
|
1342
|
+
rationale?: string | undefined;
|
|
1333
1343
|
log_events?: string[] | undefined;
|
|
1334
1344
|
metrics?: {
|
|
1335
|
-
name: string;
|
|
1336
1345
|
type: string;
|
|
1346
|
+
name: string;
|
|
1337
1347
|
}[] | undefined;
|
|
1338
1348
|
} | undefined;
|
|
1339
1349
|
infra?: {
|
|
1340
1350
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1341
1351
|
proposed_by: string;
|
|
1342
|
-
rationale?: string | undefined;
|
|
1343
1352
|
approved_by?: string | undefined;
|
|
1344
1353
|
approved_at?: string | undefined;
|
|
1354
|
+
rationale?: string | undefined;
|
|
1345
1355
|
runtime?: string | undefined;
|
|
1346
1356
|
deploy_target?: string | undefined;
|
|
1347
1357
|
notes?: string | undefined;
|
|
@@ -1349,9 +1359,9 @@ export declare const schemas: {
|
|
|
1349
1359
|
api_shape?: {
|
|
1350
1360
|
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1351
1361
|
proposed_by: string;
|
|
1352
|
-
rationale?: string | undefined;
|
|
1353
1362
|
approved_by?: string | undefined;
|
|
1354
1363
|
approved_at?: string | undefined;
|
|
1364
|
+
rationale?: string | undefined;
|
|
1355
1365
|
endpoints?: {
|
|
1356
1366
|
path: string;
|
|
1357
1367
|
method: string;
|
|
@@ -1359,6 +1369,20 @@ export declare const schemas: {
|
|
|
1359
1369
|
responses?: Record<string, unknown> | undefined;
|
|
1360
1370
|
}[] | undefined;
|
|
1361
1371
|
} | undefined;
|
|
1372
|
+
fixtures?: {
|
|
1373
|
+
status: "pending" | "approved" | "rejected" | "deferred" | "blocked_on_clarification";
|
|
1374
|
+
proposed_by: string;
|
|
1375
|
+
approved_by?: string | undefined;
|
|
1376
|
+
approved_at?: string | undefined;
|
|
1377
|
+
rationale?: string | undefined;
|
|
1378
|
+
by_domain?: Record<string, {
|
|
1379
|
+
seed: Record<string, unknown>;
|
|
1380
|
+
}> | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
cost?: {
|
|
1384
|
+
total_usd: number;
|
|
1385
|
+
last_updated: string;
|
|
1362
1386
|
} | undefined;
|
|
1363
1387
|
}>;
|
|
1364
1388
|
SpecIndexEntry: z.ZodObject<{
|