@generacy-ai/config 0.4.0 → 0.6.0
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/convert-template.d.ts +2 -1
- package/dist/convert-template.d.ts.map +1 -1
- package/dist/convert-template.js +3 -2
- package/dist/convert-template.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/template-schema.d.ts +996 -62
- package/dist/template-schema.d.ts.map +1 -1
- package/dist/template-schema.js +77 -13
- package/dist/template-schema.js.map +1 -1
- package/dist/workspace-schema.d.ts +2 -2
- package/dist/workspace-schema.js +1 -1
- package/dist/workspace-schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,19 +13,29 @@ export declare const TemplateReposSchema: z.ZodObject<{
|
|
|
13
13
|
clone?: string[] | null | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* Reasoning effort levels understood by the Claude CLI (v2.1.150). Matches the
|
|
17
|
+
* `--effort <level>` flag vocabulary verbatim. Consumers that lack an effort
|
|
18
|
+
* mechanism silently drop the field at spawn time (with a warning).
|
|
19
|
+
*/
|
|
20
|
+
export declare const EffortSchema: z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>;
|
|
21
|
+
export type Effort = z.infer<typeof EffortSchema>;
|
|
22
|
+
/**
|
|
23
|
+
* A single agent selector: `{ provider?, model?, effort? }`. All fields are
|
|
24
|
+
* optional and resolve independently — a phase override may set only `model`
|
|
25
|
+
* and let `provider` fall through from a lower precedence tier.
|
|
19
26
|
*/
|
|
20
27
|
export declare const AgentEntrySchema: z.ZodObject<{
|
|
21
28
|
provider: z.ZodOptional<z.ZodString>;
|
|
22
29
|
model: z.ZodOptional<z.ZodString>;
|
|
23
|
-
|
|
30
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
|
24
32
|
provider?: string | undefined;
|
|
25
33
|
model?: string | undefined;
|
|
34
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
26
35
|
}, {
|
|
27
36
|
provider?: string | undefined;
|
|
28
37
|
model?: string | undefined;
|
|
38
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
29
39
|
}>;
|
|
30
40
|
export type AgentEntry = z.infer<typeof AgentEntrySchema>;
|
|
31
41
|
/**
|
|
@@ -37,185 +47,298 @@ export declare const WorkflowAgentEntriesSchema: z.ZodObject<{
|
|
|
37
47
|
default: z.ZodOptional<z.ZodObject<{
|
|
38
48
|
provider: z.ZodOptional<z.ZodString>;
|
|
39
49
|
model: z.ZodOptional<z.ZodString>;
|
|
40
|
-
|
|
50
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
51
|
+
}, "strict", z.ZodTypeAny, {
|
|
41
52
|
provider?: string | undefined;
|
|
42
53
|
model?: string | undefined;
|
|
54
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
43
55
|
}, {
|
|
44
56
|
provider?: string | undefined;
|
|
45
57
|
model?: string | undefined;
|
|
58
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
46
59
|
}>>;
|
|
47
60
|
phases: z.ZodOptional<z.ZodObject<{
|
|
48
61
|
specify: z.ZodOptional<z.ZodObject<{
|
|
49
62
|
provider: z.ZodOptional<z.ZodString>;
|
|
50
63
|
model: z.ZodOptional<z.ZodString>;
|
|
51
|
-
|
|
64
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
65
|
+
}, "strict", z.ZodTypeAny, {
|
|
52
66
|
provider?: string | undefined;
|
|
53
67
|
model?: string | undefined;
|
|
68
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
54
69
|
}, {
|
|
55
70
|
provider?: string | undefined;
|
|
56
71
|
model?: string | undefined;
|
|
72
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
57
73
|
}>>;
|
|
58
74
|
clarify: z.ZodOptional<z.ZodObject<{
|
|
59
75
|
provider: z.ZodOptional<z.ZodString>;
|
|
60
76
|
model: z.ZodOptional<z.ZodString>;
|
|
61
|
-
|
|
77
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
78
|
+
}, "strict", z.ZodTypeAny, {
|
|
62
79
|
provider?: string | undefined;
|
|
63
80
|
model?: string | undefined;
|
|
81
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
64
82
|
}, {
|
|
65
83
|
provider?: string | undefined;
|
|
66
84
|
model?: string | undefined;
|
|
85
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
67
86
|
}>>;
|
|
68
87
|
plan: z.ZodOptional<z.ZodObject<{
|
|
69
88
|
provider: z.ZodOptional<z.ZodString>;
|
|
70
89
|
model: z.ZodOptional<z.ZodString>;
|
|
71
|
-
|
|
90
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
91
|
+
}, "strict", z.ZodTypeAny, {
|
|
72
92
|
provider?: string | undefined;
|
|
73
93
|
model?: string | undefined;
|
|
94
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
74
95
|
}, {
|
|
75
96
|
provider?: string | undefined;
|
|
76
97
|
model?: string | undefined;
|
|
98
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
77
99
|
}>>;
|
|
78
100
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
79
101
|
provider: z.ZodOptional<z.ZodString>;
|
|
80
102
|
model: z.ZodOptional<z.ZodString>;
|
|
81
|
-
|
|
103
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
104
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
105
|
provider?: string | undefined;
|
|
83
106
|
model?: string | undefined;
|
|
107
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
84
108
|
}, {
|
|
85
109
|
provider?: string | undefined;
|
|
86
110
|
model?: string | undefined;
|
|
111
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
87
112
|
}>>;
|
|
88
113
|
implement: z.ZodOptional<z.ZodObject<{
|
|
89
114
|
provider: z.ZodOptional<z.ZodString>;
|
|
90
115
|
model: z.ZodOptional<z.ZodString>;
|
|
91
|
-
|
|
116
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
117
|
+
}, "strict", z.ZodTypeAny, {
|
|
92
118
|
provider?: string | undefined;
|
|
93
119
|
model?: string | undefined;
|
|
120
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
94
121
|
}, {
|
|
95
122
|
provider?: string | undefined;
|
|
96
123
|
model?: string | undefined;
|
|
124
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
125
|
+
}>>;
|
|
126
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
128
|
+
model: z.ZodOptional<z.ZodString>;
|
|
129
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
130
|
+
}, "strict", z.ZodTypeAny, {
|
|
131
|
+
provider?: string | undefined;
|
|
132
|
+
model?: string | undefined;
|
|
133
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
provider?: string | undefined;
|
|
136
|
+
model?: string | undefined;
|
|
137
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
97
138
|
}>>;
|
|
98
139
|
validate: z.ZodOptional<z.ZodObject<{
|
|
99
140
|
provider: z.ZodOptional<z.ZodString>;
|
|
100
141
|
model: z.ZodOptional<z.ZodString>;
|
|
101
|
-
|
|
142
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
143
|
+
}, "strict", z.ZodTypeAny, {
|
|
102
144
|
provider?: string | undefined;
|
|
103
145
|
model?: string | undefined;
|
|
146
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
104
147
|
}, {
|
|
105
148
|
provider?: string | undefined;
|
|
106
149
|
model?: string | undefined;
|
|
150
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
107
151
|
}>>;
|
|
108
|
-
|
|
152
|
+
remediate: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
154
|
+
model: z.ZodOptional<z.ZodString>;
|
|
155
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
156
|
+
}, "strict", z.ZodTypeAny, {
|
|
157
|
+
provider?: string | undefined;
|
|
158
|
+
model?: string | undefined;
|
|
159
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
provider?: string | undefined;
|
|
162
|
+
model?: string | undefined;
|
|
163
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
164
|
+
}>>;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
109
166
|
specify?: {
|
|
110
167
|
provider?: string | undefined;
|
|
111
168
|
model?: string | undefined;
|
|
169
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
112
170
|
} | undefined;
|
|
113
171
|
clarify?: {
|
|
114
172
|
provider?: string | undefined;
|
|
115
173
|
model?: string | undefined;
|
|
174
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
116
175
|
} | undefined;
|
|
117
176
|
plan?: {
|
|
118
177
|
provider?: string | undefined;
|
|
119
178
|
model?: string | undefined;
|
|
179
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
120
180
|
} | undefined;
|
|
121
181
|
tasks?: {
|
|
122
182
|
provider?: string | undefined;
|
|
123
183
|
model?: string | undefined;
|
|
184
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
124
185
|
} | undefined;
|
|
125
186
|
implement?: {
|
|
126
187
|
provider?: string | undefined;
|
|
127
188
|
model?: string | undefined;
|
|
189
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
review?: {
|
|
192
|
+
provider?: string | undefined;
|
|
193
|
+
model?: string | undefined;
|
|
194
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
128
195
|
} | undefined;
|
|
129
196
|
validate?: {
|
|
130
197
|
provider?: string | undefined;
|
|
131
198
|
model?: string | undefined;
|
|
199
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
remediate?: {
|
|
202
|
+
provider?: string | undefined;
|
|
203
|
+
model?: string | undefined;
|
|
204
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
132
205
|
} | undefined;
|
|
133
206
|
}, {
|
|
134
207
|
specify?: {
|
|
135
208
|
provider?: string | undefined;
|
|
136
209
|
model?: string | undefined;
|
|
210
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
137
211
|
} | undefined;
|
|
138
212
|
clarify?: {
|
|
139
213
|
provider?: string | undefined;
|
|
140
214
|
model?: string | undefined;
|
|
215
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
141
216
|
} | undefined;
|
|
142
217
|
plan?: {
|
|
143
218
|
provider?: string | undefined;
|
|
144
219
|
model?: string | undefined;
|
|
220
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
145
221
|
} | undefined;
|
|
146
222
|
tasks?: {
|
|
147
223
|
provider?: string | undefined;
|
|
148
224
|
model?: string | undefined;
|
|
225
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
149
226
|
} | undefined;
|
|
150
227
|
implement?: {
|
|
151
228
|
provider?: string | undefined;
|
|
152
229
|
model?: string | undefined;
|
|
230
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
review?: {
|
|
233
|
+
provider?: string | undefined;
|
|
234
|
+
model?: string | undefined;
|
|
235
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
153
236
|
} | undefined;
|
|
154
237
|
validate?: {
|
|
155
238
|
provider?: string | undefined;
|
|
156
239
|
model?: string | undefined;
|
|
240
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
remediate?: {
|
|
243
|
+
provider?: string | undefined;
|
|
244
|
+
model?: string | undefined;
|
|
245
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
157
246
|
} | undefined;
|
|
158
247
|
}>>;
|
|
159
|
-
}, "
|
|
248
|
+
}, "strict", z.ZodTypeAny, {
|
|
160
249
|
default?: {
|
|
161
250
|
provider?: string | undefined;
|
|
162
251
|
model?: string | undefined;
|
|
252
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
163
253
|
} | undefined;
|
|
164
254
|
phases?: {
|
|
165
255
|
specify?: {
|
|
166
256
|
provider?: string | undefined;
|
|
167
257
|
model?: string | undefined;
|
|
258
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
168
259
|
} | undefined;
|
|
169
260
|
clarify?: {
|
|
170
261
|
provider?: string | undefined;
|
|
171
262
|
model?: string | undefined;
|
|
263
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
172
264
|
} | undefined;
|
|
173
265
|
plan?: {
|
|
174
266
|
provider?: string | undefined;
|
|
175
267
|
model?: string | undefined;
|
|
268
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
176
269
|
} | undefined;
|
|
177
270
|
tasks?: {
|
|
178
271
|
provider?: string | undefined;
|
|
179
272
|
model?: string | undefined;
|
|
273
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
180
274
|
} | undefined;
|
|
181
275
|
implement?: {
|
|
182
276
|
provider?: string | undefined;
|
|
183
277
|
model?: string | undefined;
|
|
278
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
review?: {
|
|
281
|
+
provider?: string | undefined;
|
|
282
|
+
model?: string | undefined;
|
|
283
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
184
284
|
} | undefined;
|
|
185
285
|
validate?: {
|
|
186
286
|
provider?: string | undefined;
|
|
187
287
|
model?: string | undefined;
|
|
288
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
remediate?: {
|
|
291
|
+
provider?: string | undefined;
|
|
292
|
+
model?: string | undefined;
|
|
293
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
188
294
|
} | undefined;
|
|
189
295
|
} | undefined;
|
|
190
296
|
}, {
|
|
191
297
|
default?: {
|
|
192
298
|
provider?: string | undefined;
|
|
193
299
|
model?: string | undefined;
|
|
300
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
194
301
|
} | undefined;
|
|
195
302
|
phases?: {
|
|
196
303
|
specify?: {
|
|
197
304
|
provider?: string | undefined;
|
|
198
305
|
model?: string | undefined;
|
|
306
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
199
307
|
} | undefined;
|
|
200
308
|
clarify?: {
|
|
201
309
|
provider?: string | undefined;
|
|
202
310
|
model?: string | undefined;
|
|
311
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
203
312
|
} | undefined;
|
|
204
313
|
plan?: {
|
|
205
314
|
provider?: string | undefined;
|
|
206
315
|
model?: string | undefined;
|
|
316
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
207
317
|
} | undefined;
|
|
208
318
|
tasks?: {
|
|
209
319
|
provider?: string | undefined;
|
|
210
320
|
model?: string | undefined;
|
|
321
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
211
322
|
} | undefined;
|
|
212
323
|
implement?: {
|
|
213
324
|
provider?: string | undefined;
|
|
214
325
|
model?: string | undefined;
|
|
326
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
review?: {
|
|
329
|
+
provider?: string | undefined;
|
|
330
|
+
model?: string | undefined;
|
|
331
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
215
332
|
} | undefined;
|
|
216
333
|
validate?: {
|
|
217
334
|
provider?: string | undefined;
|
|
218
335
|
model?: string | undefined;
|
|
336
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
remediate?: {
|
|
339
|
+
provider?: string | undefined;
|
|
340
|
+
model?: string | undefined;
|
|
341
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
219
342
|
} | undefined;
|
|
220
343
|
} | undefined;
|
|
221
344
|
}>;
|
|
@@ -224,247 +347,382 @@ export type WorkflowAgentEntries = z.infer<typeof WorkflowAgentEntriesSchema>;
|
|
|
224
347
|
* Agents configuration block under `orchestrator.agents`. Structure:
|
|
225
348
|
* ```
|
|
226
349
|
* agents:
|
|
227
|
-
* default: { provider?, model? }
|
|
350
|
+
* default: { provider?, model?, effort? }
|
|
228
351
|
* workflows:
|
|
229
352
|
* <name>:
|
|
230
|
-
* default: { provider?, model? }
|
|
353
|
+
* default: { provider?, model?, effort? }
|
|
231
354
|
* phases:
|
|
232
|
-
* implement: { provider?, model? }
|
|
355
|
+
* implement: { provider?, model?, effort? }
|
|
233
356
|
* ```
|
|
234
357
|
* Workflow names are extensible (`speckit-feature`, `speckit-bugfix`, …); phase
|
|
235
|
-
* keys are closed to the `WorkflowPhase` enum.
|
|
358
|
+
* keys are closed to the `WorkflowPhase` enum. `workflows` stays a `z.record`
|
|
359
|
+
* because arbitrary workflow names are legal by design.
|
|
236
360
|
*/
|
|
237
361
|
export declare const AgentsConfigSchema: z.ZodObject<{
|
|
238
362
|
default: z.ZodOptional<z.ZodObject<{
|
|
239
363
|
provider: z.ZodOptional<z.ZodString>;
|
|
240
364
|
model: z.ZodOptional<z.ZodString>;
|
|
241
|
-
|
|
365
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
366
|
+
}, "strict", z.ZodTypeAny, {
|
|
242
367
|
provider?: string | undefined;
|
|
243
368
|
model?: string | undefined;
|
|
369
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
244
370
|
}, {
|
|
245
371
|
provider?: string | undefined;
|
|
246
372
|
model?: string | undefined;
|
|
373
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
247
374
|
}>>;
|
|
248
375
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
249
376
|
default: z.ZodOptional<z.ZodObject<{
|
|
250
377
|
provider: z.ZodOptional<z.ZodString>;
|
|
251
378
|
model: z.ZodOptional<z.ZodString>;
|
|
252
|
-
|
|
379
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
380
|
+
}, "strict", z.ZodTypeAny, {
|
|
253
381
|
provider?: string | undefined;
|
|
254
382
|
model?: string | undefined;
|
|
383
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
255
384
|
}, {
|
|
256
385
|
provider?: string | undefined;
|
|
257
386
|
model?: string | undefined;
|
|
387
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
258
388
|
}>>;
|
|
259
389
|
phases: z.ZodOptional<z.ZodObject<{
|
|
260
390
|
specify: z.ZodOptional<z.ZodObject<{
|
|
261
391
|
provider: z.ZodOptional<z.ZodString>;
|
|
262
392
|
model: z.ZodOptional<z.ZodString>;
|
|
263
|
-
|
|
393
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
394
|
+
}, "strict", z.ZodTypeAny, {
|
|
264
395
|
provider?: string | undefined;
|
|
265
396
|
model?: string | undefined;
|
|
397
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
266
398
|
}, {
|
|
267
399
|
provider?: string | undefined;
|
|
268
400
|
model?: string | undefined;
|
|
401
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
269
402
|
}>>;
|
|
270
403
|
clarify: z.ZodOptional<z.ZodObject<{
|
|
271
404
|
provider: z.ZodOptional<z.ZodString>;
|
|
272
405
|
model: z.ZodOptional<z.ZodString>;
|
|
273
|
-
|
|
406
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
407
|
+
}, "strict", z.ZodTypeAny, {
|
|
274
408
|
provider?: string | undefined;
|
|
275
409
|
model?: string | undefined;
|
|
410
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
276
411
|
}, {
|
|
277
412
|
provider?: string | undefined;
|
|
278
413
|
model?: string | undefined;
|
|
414
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
279
415
|
}>>;
|
|
280
416
|
plan: z.ZodOptional<z.ZodObject<{
|
|
281
417
|
provider: z.ZodOptional<z.ZodString>;
|
|
282
418
|
model: z.ZodOptional<z.ZodString>;
|
|
283
|
-
|
|
419
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
420
|
+
}, "strict", z.ZodTypeAny, {
|
|
284
421
|
provider?: string | undefined;
|
|
285
422
|
model?: string | undefined;
|
|
423
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
286
424
|
}, {
|
|
287
425
|
provider?: string | undefined;
|
|
288
426
|
model?: string | undefined;
|
|
427
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
289
428
|
}>>;
|
|
290
429
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
291
430
|
provider: z.ZodOptional<z.ZodString>;
|
|
292
431
|
model: z.ZodOptional<z.ZodString>;
|
|
293
|
-
|
|
432
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
433
|
+
}, "strict", z.ZodTypeAny, {
|
|
294
434
|
provider?: string | undefined;
|
|
295
435
|
model?: string | undefined;
|
|
436
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
296
437
|
}, {
|
|
297
438
|
provider?: string | undefined;
|
|
298
439
|
model?: string | undefined;
|
|
440
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
299
441
|
}>>;
|
|
300
442
|
implement: z.ZodOptional<z.ZodObject<{
|
|
301
443
|
provider: z.ZodOptional<z.ZodString>;
|
|
302
444
|
model: z.ZodOptional<z.ZodString>;
|
|
303
|
-
|
|
445
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
446
|
+
}, "strict", z.ZodTypeAny, {
|
|
304
447
|
provider?: string | undefined;
|
|
305
448
|
model?: string | undefined;
|
|
449
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
306
450
|
}, {
|
|
307
451
|
provider?: string | undefined;
|
|
308
452
|
model?: string | undefined;
|
|
453
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
454
|
+
}>>;
|
|
455
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
457
|
+
model: z.ZodOptional<z.ZodString>;
|
|
458
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
459
|
+
}, "strict", z.ZodTypeAny, {
|
|
460
|
+
provider?: string | undefined;
|
|
461
|
+
model?: string | undefined;
|
|
462
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
463
|
+
}, {
|
|
464
|
+
provider?: string | undefined;
|
|
465
|
+
model?: string | undefined;
|
|
466
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
309
467
|
}>>;
|
|
310
468
|
validate: z.ZodOptional<z.ZodObject<{
|
|
311
469
|
provider: z.ZodOptional<z.ZodString>;
|
|
312
470
|
model: z.ZodOptional<z.ZodString>;
|
|
313
|
-
|
|
471
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
472
|
+
}, "strict", z.ZodTypeAny, {
|
|
473
|
+
provider?: string | undefined;
|
|
474
|
+
model?: string | undefined;
|
|
475
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
476
|
+
}, {
|
|
477
|
+
provider?: string | undefined;
|
|
478
|
+
model?: string | undefined;
|
|
479
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
480
|
+
}>>;
|
|
481
|
+
remediate: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
483
|
+
model: z.ZodOptional<z.ZodString>;
|
|
484
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
485
|
+
}, "strict", z.ZodTypeAny, {
|
|
314
486
|
provider?: string | undefined;
|
|
315
487
|
model?: string | undefined;
|
|
488
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
316
489
|
}, {
|
|
317
490
|
provider?: string | undefined;
|
|
318
491
|
model?: string | undefined;
|
|
492
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
319
493
|
}>>;
|
|
320
|
-
}, "
|
|
494
|
+
}, "strict", z.ZodTypeAny, {
|
|
321
495
|
specify?: {
|
|
322
496
|
provider?: string | undefined;
|
|
323
497
|
model?: string | undefined;
|
|
498
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
324
499
|
} | undefined;
|
|
325
500
|
clarify?: {
|
|
326
501
|
provider?: string | undefined;
|
|
327
502
|
model?: string | undefined;
|
|
503
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
328
504
|
} | undefined;
|
|
329
505
|
plan?: {
|
|
330
506
|
provider?: string | undefined;
|
|
331
507
|
model?: string | undefined;
|
|
508
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
332
509
|
} | undefined;
|
|
333
510
|
tasks?: {
|
|
334
511
|
provider?: string | undefined;
|
|
335
512
|
model?: string | undefined;
|
|
513
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
336
514
|
} | undefined;
|
|
337
515
|
implement?: {
|
|
338
516
|
provider?: string | undefined;
|
|
339
517
|
model?: string | undefined;
|
|
518
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
519
|
+
} | undefined;
|
|
520
|
+
review?: {
|
|
521
|
+
provider?: string | undefined;
|
|
522
|
+
model?: string | undefined;
|
|
523
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
340
524
|
} | undefined;
|
|
341
525
|
validate?: {
|
|
342
526
|
provider?: string | undefined;
|
|
343
527
|
model?: string | undefined;
|
|
528
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
529
|
+
} | undefined;
|
|
530
|
+
remediate?: {
|
|
531
|
+
provider?: string | undefined;
|
|
532
|
+
model?: string | undefined;
|
|
533
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
344
534
|
} | undefined;
|
|
345
535
|
}, {
|
|
346
536
|
specify?: {
|
|
347
537
|
provider?: string | undefined;
|
|
348
538
|
model?: string | undefined;
|
|
539
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
349
540
|
} | undefined;
|
|
350
541
|
clarify?: {
|
|
351
542
|
provider?: string | undefined;
|
|
352
543
|
model?: string | undefined;
|
|
544
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
353
545
|
} | undefined;
|
|
354
546
|
plan?: {
|
|
355
547
|
provider?: string | undefined;
|
|
356
548
|
model?: string | undefined;
|
|
549
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
357
550
|
} | undefined;
|
|
358
551
|
tasks?: {
|
|
359
552
|
provider?: string | undefined;
|
|
360
553
|
model?: string | undefined;
|
|
554
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
361
555
|
} | undefined;
|
|
362
556
|
implement?: {
|
|
363
557
|
provider?: string | undefined;
|
|
364
558
|
model?: string | undefined;
|
|
559
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
560
|
+
} | undefined;
|
|
561
|
+
review?: {
|
|
562
|
+
provider?: string | undefined;
|
|
563
|
+
model?: string | undefined;
|
|
564
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
365
565
|
} | undefined;
|
|
366
566
|
validate?: {
|
|
367
567
|
provider?: string | undefined;
|
|
368
568
|
model?: string | undefined;
|
|
569
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
remediate?: {
|
|
572
|
+
provider?: string | undefined;
|
|
573
|
+
model?: string | undefined;
|
|
574
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
369
575
|
} | undefined;
|
|
370
576
|
}>>;
|
|
371
|
-
}, "
|
|
577
|
+
}, "strict", z.ZodTypeAny, {
|
|
372
578
|
default?: {
|
|
373
579
|
provider?: string | undefined;
|
|
374
580
|
model?: string | undefined;
|
|
581
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
375
582
|
} | undefined;
|
|
376
583
|
phases?: {
|
|
377
584
|
specify?: {
|
|
378
585
|
provider?: string | undefined;
|
|
379
586
|
model?: string | undefined;
|
|
587
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
380
588
|
} | undefined;
|
|
381
589
|
clarify?: {
|
|
382
590
|
provider?: string | undefined;
|
|
383
591
|
model?: string | undefined;
|
|
592
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
384
593
|
} | undefined;
|
|
385
594
|
plan?: {
|
|
386
595
|
provider?: string | undefined;
|
|
387
596
|
model?: string | undefined;
|
|
597
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
388
598
|
} | undefined;
|
|
389
599
|
tasks?: {
|
|
390
600
|
provider?: string | undefined;
|
|
391
601
|
model?: string | undefined;
|
|
602
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
392
603
|
} | undefined;
|
|
393
604
|
implement?: {
|
|
394
605
|
provider?: string | undefined;
|
|
395
606
|
model?: string | undefined;
|
|
607
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
608
|
+
} | undefined;
|
|
609
|
+
review?: {
|
|
610
|
+
provider?: string | undefined;
|
|
611
|
+
model?: string | undefined;
|
|
612
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
396
613
|
} | undefined;
|
|
397
614
|
validate?: {
|
|
398
615
|
provider?: string | undefined;
|
|
399
616
|
model?: string | undefined;
|
|
617
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
remediate?: {
|
|
620
|
+
provider?: string | undefined;
|
|
621
|
+
model?: string | undefined;
|
|
622
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
400
623
|
} | undefined;
|
|
401
624
|
} | undefined;
|
|
402
625
|
}, {
|
|
403
626
|
default?: {
|
|
404
627
|
provider?: string | undefined;
|
|
405
628
|
model?: string | undefined;
|
|
629
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
406
630
|
} | undefined;
|
|
407
631
|
phases?: {
|
|
408
632
|
specify?: {
|
|
409
633
|
provider?: string | undefined;
|
|
410
634
|
model?: string | undefined;
|
|
635
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
411
636
|
} | undefined;
|
|
412
637
|
clarify?: {
|
|
413
638
|
provider?: string | undefined;
|
|
414
639
|
model?: string | undefined;
|
|
640
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
415
641
|
} | undefined;
|
|
416
642
|
plan?: {
|
|
417
643
|
provider?: string | undefined;
|
|
418
644
|
model?: string | undefined;
|
|
645
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
419
646
|
} | undefined;
|
|
420
647
|
tasks?: {
|
|
421
648
|
provider?: string | undefined;
|
|
422
649
|
model?: string | undefined;
|
|
650
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
423
651
|
} | undefined;
|
|
424
652
|
implement?: {
|
|
425
653
|
provider?: string | undefined;
|
|
426
654
|
model?: string | undefined;
|
|
655
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
review?: {
|
|
658
|
+
provider?: string | undefined;
|
|
659
|
+
model?: string | undefined;
|
|
660
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
427
661
|
} | undefined;
|
|
428
662
|
validate?: {
|
|
429
663
|
provider?: string | undefined;
|
|
430
664
|
model?: string | undefined;
|
|
665
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
666
|
+
} | undefined;
|
|
667
|
+
remediate?: {
|
|
668
|
+
provider?: string | undefined;
|
|
669
|
+
model?: string | undefined;
|
|
670
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
431
671
|
} | undefined;
|
|
432
672
|
} | undefined;
|
|
433
673
|
}>>>;
|
|
434
|
-
}, "
|
|
674
|
+
}, "strict", z.ZodTypeAny, {
|
|
435
675
|
default?: {
|
|
436
676
|
provider?: string | undefined;
|
|
437
677
|
model?: string | undefined;
|
|
678
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
438
679
|
} | undefined;
|
|
439
680
|
workflows?: Record<string, {
|
|
440
681
|
default?: {
|
|
441
682
|
provider?: string | undefined;
|
|
442
683
|
model?: string | undefined;
|
|
684
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
443
685
|
} | undefined;
|
|
444
686
|
phases?: {
|
|
445
687
|
specify?: {
|
|
446
688
|
provider?: string | undefined;
|
|
447
689
|
model?: string | undefined;
|
|
690
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
448
691
|
} | undefined;
|
|
449
692
|
clarify?: {
|
|
450
693
|
provider?: string | undefined;
|
|
451
694
|
model?: string | undefined;
|
|
695
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
452
696
|
} | undefined;
|
|
453
697
|
plan?: {
|
|
454
698
|
provider?: string | undefined;
|
|
455
699
|
model?: string | undefined;
|
|
700
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
456
701
|
} | undefined;
|
|
457
702
|
tasks?: {
|
|
458
703
|
provider?: string | undefined;
|
|
459
704
|
model?: string | undefined;
|
|
705
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
460
706
|
} | undefined;
|
|
461
707
|
implement?: {
|
|
462
708
|
provider?: string | undefined;
|
|
463
709
|
model?: string | undefined;
|
|
710
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
review?: {
|
|
713
|
+
provider?: string | undefined;
|
|
714
|
+
model?: string | undefined;
|
|
715
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
464
716
|
} | undefined;
|
|
465
717
|
validate?: {
|
|
466
718
|
provider?: string | undefined;
|
|
467
719
|
model?: string | undefined;
|
|
720
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
721
|
+
} | undefined;
|
|
722
|
+
remediate?: {
|
|
723
|
+
provider?: string | undefined;
|
|
724
|
+
model?: string | undefined;
|
|
725
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
468
726
|
} | undefined;
|
|
469
727
|
} | undefined;
|
|
470
728
|
}> | undefined;
|
|
@@ -472,41 +730,131 @@ export declare const AgentsConfigSchema: z.ZodObject<{
|
|
|
472
730
|
default?: {
|
|
473
731
|
provider?: string | undefined;
|
|
474
732
|
model?: string | undefined;
|
|
733
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
475
734
|
} | undefined;
|
|
476
735
|
workflows?: Record<string, {
|
|
477
736
|
default?: {
|
|
478
737
|
provider?: string | undefined;
|
|
479
738
|
model?: string | undefined;
|
|
739
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
480
740
|
} | undefined;
|
|
481
741
|
phases?: {
|
|
482
742
|
specify?: {
|
|
483
743
|
provider?: string | undefined;
|
|
484
744
|
model?: string | undefined;
|
|
745
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
485
746
|
} | undefined;
|
|
486
747
|
clarify?: {
|
|
487
748
|
provider?: string | undefined;
|
|
488
749
|
model?: string | undefined;
|
|
750
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
489
751
|
} | undefined;
|
|
490
752
|
plan?: {
|
|
491
753
|
provider?: string | undefined;
|
|
492
754
|
model?: string | undefined;
|
|
755
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
493
756
|
} | undefined;
|
|
494
757
|
tasks?: {
|
|
495
758
|
provider?: string | undefined;
|
|
496
759
|
model?: string | undefined;
|
|
760
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
497
761
|
} | undefined;
|
|
498
762
|
implement?: {
|
|
499
763
|
provider?: string | undefined;
|
|
500
764
|
model?: string | undefined;
|
|
765
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
766
|
+
} | undefined;
|
|
767
|
+
review?: {
|
|
768
|
+
provider?: string | undefined;
|
|
769
|
+
model?: string | undefined;
|
|
770
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
501
771
|
} | undefined;
|
|
502
772
|
validate?: {
|
|
503
773
|
provider?: string | undefined;
|
|
504
774
|
model?: string | undefined;
|
|
775
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
776
|
+
} | undefined;
|
|
777
|
+
remediate?: {
|
|
778
|
+
provider?: string | undefined;
|
|
779
|
+
model?: string | undefined;
|
|
780
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
505
781
|
} | undefined;
|
|
506
782
|
} | undefined;
|
|
507
783
|
}> | undefined;
|
|
508
784
|
}>;
|
|
509
785
|
export type AgentsConfig = z.infer<typeof AgentsConfigSchema>;
|
|
786
|
+
/**
|
|
787
|
+
* Per-workflow review-phase tuning under `orchestrator.workflows.<name>.review`.
|
|
788
|
+
* All fields optional and resolve independently — a workflow may override only
|
|
789
|
+
* `blockingSeverity` and inherit `profile`/`failThenPass` from the built-in
|
|
790
|
+
* default. `.strict()` rejects unknown keys at parse time.
|
|
791
|
+
*/
|
|
792
|
+
export declare const WorkflowReviewSchema: z.ZodObject<{
|
|
793
|
+
profile: z.ZodOptional<z.ZodEnum<["standard", "verification"]>>;
|
|
794
|
+
blockingSeverity: z.ZodOptional<z.ZodEnum<["critical", "major", "minor"]>>;
|
|
795
|
+
failThenPass: z.ZodOptional<z.ZodBoolean>;
|
|
796
|
+
}, "strict", z.ZodTypeAny, {
|
|
797
|
+
profile?: "standard" | "verification" | undefined;
|
|
798
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
799
|
+
failThenPass?: boolean | undefined;
|
|
800
|
+
}, {
|
|
801
|
+
profile?: "standard" | "verification" | undefined;
|
|
802
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
803
|
+
failThenPass?: boolean | undefined;
|
|
804
|
+
}>;
|
|
805
|
+
export type WorkflowReview = z.infer<typeof WorkflowReviewSchema>;
|
|
806
|
+
/**
|
|
807
|
+
* Per-workflow orchestrator overrides under `orchestrator.workflows.<name>`.
|
|
808
|
+
* Lets a target repo vary `validateCommand` / `preValidateCommand` /
|
|
809
|
+
* `maxRemediations` / `review` / `ciWaitTimeoutMs` per workflow (e.g.
|
|
810
|
+
* `speckit-feature` vs `speckit-bugfix`). All fields optional; `.strict()`
|
|
811
|
+
* rejects unknown keys.
|
|
812
|
+
*/
|
|
813
|
+
export declare const WorkflowOverrideSchema: z.ZodObject<{
|
|
814
|
+
validateCommand: z.ZodOptional<z.ZodString>;
|
|
815
|
+
preValidateCommand: z.ZodOptional<z.ZodString>;
|
|
816
|
+
maxRemediations: z.ZodOptional<z.ZodNumber>;
|
|
817
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
818
|
+
profile: z.ZodOptional<z.ZodEnum<["standard", "verification"]>>;
|
|
819
|
+
blockingSeverity: z.ZodOptional<z.ZodEnum<["critical", "major", "minor"]>>;
|
|
820
|
+
failThenPass: z.ZodOptional<z.ZodBoolean>;
|
|
821
|
+
}, "strict", z.ZodTypeAny, {
|
|
822
|
+
profile?: "standard" | "verification" | undefined;
|
|
823
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
824
|
+
failThenPass?: boolean | undefined;
|
|
825
|
+
}, {
|
|
826
|
+
profile?: "standard" | "verification" | undefined;
|
|
827
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
828
|
+
failThenPass?: boolean | undefined;
|
|
829
|
+
}>>;
|
|
830
|
+
/**
|
|
831
|
+
* Per-workflow override for the CI-green wait budget (ms). `.min(30_000)`
|
|
832
|
+
* mirrors the `WorkerConfigSchema.ciWaitTimeoutMs` cluster floor so an
|
|
833
|
+
* override cannot undercut it. Absent → falls through to the cluster value.
|
|
834
|
+
*/
|
|
835
|
+
ciWaitTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
836
|
+
}, "strict", z.ZodTypeAny, {
|
|
837
|
+
review?: {
|
|
838
|
+
profile?: "standard" | "verification" | undefined;
|
|
839
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
840
|
+
failThenPass?: boolean | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
validateCommand?: string | undefined;
|
|
843
|
+
preValidateCommand?: string | undefined;
|
|
844
|
+
maxRemediations?: number | undefined;
|
|
845
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
846
|
+
}, {
|
|
847
|
+
review?: {
|
|
848
|
+
profile?: "standard" | "verification" | undefined;
|
|
849
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
850
|
+
failThenPass?: boolean | undefined;
|
|
851
|
+
} | undefined;
|
|
852
|
+
validateCommand?: string | undefined;
|
|
853
|
+
preValidateCommand?: string | undefined;
|
|
854
|
+
maxRemediations?: number | undefined;
|
|
855
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
856
|
+
}>;
|
|
857
|
+
export type WorkflowOverride = z.infer<typeof WorkflowOverrideSchema>;
|
|
510
858
|
export declare const OrchestratorSettingsSchema: z.ZodObject<{
|
|
511
859
|
labelMonitor: z.ZodOptional<z.ZodBoolean>;
|
|
512
860
|
webhookSetup: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -533,233 +881,367 @@ export declare const OrchestratorSettingsSchema: z.ZodObject<{
|
|
|
533
881
|
default: z.ZodOptional<z.ZodObject<{
|
|
534
882
|
provider: z.ZodOptional<z.ZodString>;
|
|
535
883
|
model: z.ZodOptional<z.ZodString>;
|
|
536
|
-
|
|
884
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
885
|
+
}, "strict", z.ZodTypeAny, {
|
|
537
886
|
provider?: string | undefined;
|
|
538
887
|
model?: string | undefined;
|
|
888
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
539
889
|
}, {
|
|
540
890
|
provider?: string | undefined;
|
|
541
891
|
model?: string | undefined;
|
|
892
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
542
893
|
}>>;
|
|
543
894
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
544
895
|
default: z.ZodOptional<z.ZodObject<{
|
|
545
896
|
provider: z.ZodOptional<z.ZodString>;
|
|
546
897
|
model: z.ZodOptional<z.ZodString>;
|
|
547
|
-
|
|
898
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
899
|
+
}, "strict", z.ZodTypeAny, {
|
|
548
900
|
provider?: string | undefined;
|
|
549
901
|
model?: string | undefined;
|
|
902
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
550
903
|
}, {
|
|
551
904
|
provider?: string | undefined;
|
|
552
905
|
model?: string | undefined;
|
|
906
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
553
907
|
}>>;
|
|
554
908
|
phases: z.ZodOptional<z.ZodObject<{
|
|
555
909
|
specify: z.ZodOptional<z.ZodObject<{
|
|
556
910
|
provider: z.ZodOptional<z.ZodString>;
|
|
557
911
|
model: z.ZodOptional<z.ZodString>;
|
|
558
|
-
|
|
912
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
913
|
+
}, "strict", z.ZodTypeAny, {
|
|
559
914
|
provider?: string | undefined;
|
|
560
915
|
model?: string | undefined;
|
|
916
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
561
917
|
}, {
|
|
562
918
|
provider?: string | undefined;
|
|
563
919
|
model?: string | undefined;
|
|
920
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
564
921
|
}>>;
|
|
565
922
|
clarify: z.ZodOptional<z.ZodObject<{
|
|
566
923
|
provider: z.ZodOptional<z.ZodString>;
|
|
567
924
|
model: z.ZodOptional<z.ZodString>;
|
|
568
|
-
|
|
925
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
926
|
+
}, "strict", z.ZodTypeAny, {
|
|
569
927
|
provider?: string | undefined;
|
|
570
928
|
model?: string | undefined;
|
|
929
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
571
930
|
}, {
|
|
572
931
|
provider?: string | undefined;
|
|
573
932
|
model?: string | undefined;
|
|
933
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
574
934
|
}>>;
|
|
575
935
|
plan: z.ZodOptional<z.ZodObject<{
|
|
576
936
|
provider: z.ZodOptional<z.ZodString>;
|
|
577
937
|
model: z.ZodOptional<z.ZodString>;
|
|
578
|
-
|
|
938
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
939
|
+
}, "strict", z.ZodTypeAny, {
|
|
579
940
|
provider?: string | undefined;
|
|
580
941
|
model?: string | undefined;
|
|
942
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
581
943
|
}, {
|
|
582
944
|
provider?: string | undefined;
|
|
583
945
|
model?: string | undefined;
|
|
946
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
584
947
|
}>>;
|
|
585
948
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
586
949
|
provider: z.ZodOptional<z.ZodString>;
|
|
587
950
|
model: z.ZodOptional<z.ZodString>;
|
|
588
|
-
|
|
951
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
952
|
+
}, "strict", z.ZodTypeAny, {
|
|
589
953
|
provider?: string | undefined;
|
|
590
954
|
model?: string | undefined;
|
|
955
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
591
956
|
}, {
|
|
592
957
|
provider?: string | undefined;
|
|
593
958
|
model?: string | undefined;
|
|
959
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
594
960
|
}>>;
|
|
595
961
|
implement: z.ZodOptional<z.ZodObject<{
|
|
596
962
|
provider: z.ZodOptional<z.ZodString>;
|
|
597
963
|
model: z.ZodOptional<z.ZodString>;
|
|
598
|
-
|
|
964
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
965
|
+
}, "strict", z.ZodTypeAny, {
|
|
966
|
+
provider?: string | undefined;
|
|
967
|
+
model?: string | undefined;
|
|
968
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
969
|
+
}, {
|
|
970
|
+
provider?: string | undefined;
|
|
971
|
+
model?: string | undefined;
|
|
972
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
973
|
+
}>>;
|
|
974
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
975
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
976
|
+
model: z.ZodOptional<z.ZodString>;
|
|
977
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
978
|
+
}, "strict", z.ZodTypeAny, {
|
|
599
979
|
provider?: string | undefined;
|
|
600
980
|
model?: string | undefined;
|
|
981
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
601
982
|
}, {
|
|
602
983
|
provider?: string | undefined;
|
|
603
984
|
model?: string | undefined;
|
|
985
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
604
986
|
}>>;
|
|
605
987
|
validate: z.ZodOptional<z.ZodObject<{
|
|
606
988
|
provider: z.ZodOptional<z.ZodString>;
|
|
607
989
|
model: z.ZodOptional<z.ZodString>;
|
|
608
|
-
|
|
990
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
991
|
+
}, "strict", z.ZodTypeAny, {
|
|
992
|
+
provider?: string | undefined;
|
|
993
|
+
model?: string | undefined;
|
|
994
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
provider?: string | undefined;
|
|
997
|
+
model?: string | undefined;
|
|
998
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
999
|
+
}>>;
|
|
1000
|
+
remediate: z.ZodOptional<z.ZodObject<{
|
|
1001
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1004
|
+
}, "strict", z.ZodTypeAny, {
|
|
609
1005
|
provider?: string | undefined;
|
|
610
1006
|
model?: string | undefined;
|
|
1007
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
611
1008
|
}, {
|
|
612
1009
|
provider?: string | undefined;
|
|
613
1010
|
model?: string | undefined;
|
|
1011
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
614
1012
|
}>>;
|
|
615
|
-
}, "
|
|
1013
|
+
}, "strict", z.ZodTypeAny, {
|
|
616
1014
|
specify?: {
|
|
617
1015
|
provider?: string | undefined;
|
|
618
1016
|
model?: string | undefined;
|
|
1017
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
619
1018
|
} | undefined;
|
|
620
1019
|
clarify?: {
|
|
621
1020
|
provider?: string | undefined;
|
|
622
1021
|
model?: string | undefined;
|
|
1022
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
623
1023
|
} | undefined;
|
|
624
1024
|
plan?: {
|
|
625
1025
|
provider?: string | undefined;
|
|
626
1026
|
model?: string | undefined;
|
|
1027
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
627
1028
|
} | undefined;
|
|
628
1029
|
tasks?: {
|
|
629
1030
|
provider?: string | undefined;
|
|
630
1031
|
model?: string | undefined;
|
|
1032
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
631
1033
|
} | undefined;
|
|
632
1034
|
implement?: {
|
|
633
1035
|
provider?: string | undefined;
|
|
634
1036
|
model?: string | undefined;
|
|
1037
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1038
|
+
} | undefined;
|
|
1039
|
+
review?: {
|
|
1040
|
+
provider?: string | undefined;
|
|
1041
|
+
model?: string | undefined;
|
|
1042
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
635
1043
|
} | undefined;
|
|
636
1044
|
validate?: {
|
|
637
1045
|
provider?: string | undefined;
|
|
638
1046
|
model?: string | undefined;
|
|
1047
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
remediate?: {
|
|
1050
|
+
provider?: string | undefined;
|
|
1051
|
+
model?: string | undefined;
|
|
1052
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
639
1053
|
} | undefined;
|
|
640
1054
|
}, {
|
|
641
1055
|
specify?: {
|
|
642
1056
|
provider?: string | undefined;
|
|
643
1057
|
model?: string | undefined;
|
|
1058
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
644
1059
|
} | undefined;
|
|
645
1060
|
clarify?: {
|
|
646
1061
|
provider?: string | undefined;
|
|
647
1062
|
model?: string | undefined;
|
|
1063
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
648
1064
|
} | undefined;
|
|
649
1065
|
plan?: {
|
|
650
1066
|
provider?: string | undefined;
|
|
651
1067
|
model?: string | undefined;
|
|
1068
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
652
1069
|
} | undefined;
|
|
653
1070
|
tasks?: {
|
|
654
1071
|
provider?: string | undefined;
|
|
655
1072
|
model?: string | undefined;
|
|
1073
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
656
1074
|
} | undefined;
|
|
657
1075
|
implement?: {
|
|
658
1076
|
provider?: string | undefined;
|
|
659
1077
|
model?: string | undefined;
|
|
1078
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
review?: {
|
|
1081
|
+
provider?: string | undefined;
|
|
1082
|
+
model?: string | undefined;
|
|
1083
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
660
1084
|
} | undefined;
|
|
661
1085
|
validate?: {
|
|
662
1086
|
provider?: string | undefined;
|
|
663
1087
|
model?: string | undefined;
|
|
1088
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1089
|
+
} | undefined;
|
|
1090
|
+
remediate?: {
|
|
1091
|
+
provider?: string | undefined;
|
|
1092
|
+
model?: string | undefined;
|
|
1093
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
664
1094
|
} | undefined;
|
|
665
1095
|
}>>;
|
|
666
|
-
}, "
|
|
1096
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
1097
|
default?: {
|
|
668
1098
|
provider?: string | undefined;
|
|
669
1099
|
model?: string | undefined;
|
|
1100
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
670
1101
|
} | undefined;
|
|
671
1102
|
phases?: {
|
|
672
1103
|
specify?: {
|
|
673
1104
|
provider?: string | undefined;
|
|
674
1105
|
model?: string | undefined;
|
|
1106
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
675
1107
|
} | undefined;
|
|
676
1108
|
clarify?: {
|
|
677
1109
|
provider?: string | undefined;
|
|
678
1110
|
model?: string | undefined;
|
|
1111
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
679
1112
|
} | undefined;
|
|
680
1113
|
plan?: {
|
|
681
1114
|
provider?: string | undefined;
|
|
682
1115
|
model?: string | undefined;
|
|
1116
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
683
1117
|
} | undefined;
|
|
684
1118
|
tasks?: {
|
|
685
1119
|
provider?: string | undefined;
|
|
686
1120
|
model?: string | undefined;
|
|
1121
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
687
1122
|
} | undefined;
|
|
688
1123
|
implement?: {
|
|
689
1124
|
provider?: string | undefined;
|
|
690
1125
|
model?: string | undefined;
|
|
1126
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1127
|
+
} | undefined;
|
|
1128
|
+
review?: {
|
|
1129
|
+
provider?: string | undefined;
|
|
1130
|
+
model?: string | undefined;
|
|
1131
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
691
1132
|
} | undefined;
|
|
692
1133
|
validate?: {
|
|
693
1134
|
provider?: string | undefined;
|
|
694
1135
|
model?: string | undefined;
|
|
1136
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1137
|
+
} | undefined;
|
|
1138
|
+
remediate?: {
|
|
1139
|
+
provider?: string | undefined;
|
|
1140
|
+
model?: string | undefined;
|
|
1141
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
695
1142
|
} | undefined;
|
|
696
1143
|
} | undefined;
|
|
697
1144
|
}, {
|
|
698
1145
|
default?: {
|
|
699
1146
|
provider?: string | undefined;
|
|
700
1147
|
model?: string | undefined;
|
|
1148
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
701
1149
|
} | undefined;
|
|
702
1150
|
phases?: {
|
|
703
1151
|
specify?: {
|
|
704
1152
|
provider?: string | undefined;
|
|
705
1153
|
model?: string | undefined;
|
|
1154
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
706
1155
|
} | undefined;
|
|
707
1156
|
clarify?: {
|
|
708
1157
|
provider?: string | undefined;
|
|
709
1158
|
model?: string | undefined;
|
|
1159
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
710
1160
|
} | undefined;
|
|
711
1161
|
plan?: {
|
|
712
1162
|
provider?: string | undefined;
|
|
713
1163
|
model?: string | undefined;
|
|
1164
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
714
1165
|
} | undefined;
|
|
715
1166
|
tasks?: {
|
|
716
1167
|
provider?: string | undefined;
|
|
717
1168
|
model?: string | undefined;
|
|
1169
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
718
1170
|
} | undefined;
|
|
719
1171
|
implement?: {
|
|
720
1172
|
provider?: string | undefined;
|
|
721
1173
|
model?: string | undefined;
|
|
1174
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1175
|
+
} | undefined;
|
|
1176
|
+
review?: {
|
|
1177
|
+
provider?: string | undefined;
|
|
1178
|
+
model?: string | undefined;
|
|
1179
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
722
1180
|
} | undefined;
|
|
723
1181
|
validate?: {
|
|
724
1182
|
provider?: string | undefined;
|
|
725
1183
|
model?: string | undefined;
|
|
1184
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
remediate?: {
|
|
1187
|
+
provider?: string | undefined;
|
|
1188
|
+
model?: string | undefined;
|
|
1189
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
726
1190
|
} | undefined;
|
|
727
1191
|
} | undefined;
|
|
728
1192
|
}>>>;
|
|
729
|
-
}, "
|
|
1193
|
+
}, "strict", z.ZodTypeAny, {
|
|
730
1194
|
default?: {
|
|
731
1195
|
provider?: string | undefined;
|
|
732
1196
|
model?: string | undefined;
|
|
1197
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
733
1198
|
} | undefined;
|
|
734
1199
|
workflows?: Record<string, {
|
|
735
1200
|
default?: {
|
|
736
1201
|
provider?: string | undefined;
|
|
737
1202
|
model?: string | undefined;
|
|
1203
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
738
1204
|
} | undefined;
|
|
739
1205
|
phases?: {
|
|
740
1206
|
specify?: {
|
|
741
1207
|
provider?: string | undefined;
|
|
742
1208
|
model?: string | undefined;
|
|
1209
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
743
1210
|
} | undefined;
|
|
744
1211
|
clarify?: {
|
|
745
1212
|
provider?: string | undefined;
|
|
746
1213
|
model?: string | undefined;
|
|
1214
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
747
1215
|
} | undefined;
|
|
748
1216
|
plan?: {
|
|
749
1217
|
provider?: string | undefined;
|
|
750
1218
|
model?: string | undefined;
|
|
1219
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
751
1220
|
} | undefined;
|
|
752
1221
|
tasks?: {
|
|
753
1222
|
provider?: string | undefined;
|
|
754
1223
|
model?: string | undefined;
|
|
1224
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
755
1225
|
} | undefined;
|
|
756
1226
|
implement?: {
|
|
757
1227
|
provider?: string | undefined;
|
|
758
1228
|
model?: string | undefined;
|
|
1229
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1230
|
+
} | undefined;
|
|
1231
|
+
review?: {
|
|
1232
|
+
provider?: string | undefined;
|
|
1233
|
+
model?: string | undefined;
|
|
1234
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
759
1235
|
} | undefined;
|
|
760
1236
|
validate?: {
|
|
761
1237
|
provider?: string | undefined;
|
|
762
1238
|
model?: string | undefined;
|
|
1239
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1240
|
+
} | undefined;
|
|
1241
|
+
remediate?: {
|
|
1242
|
+
provider?: string | undefined;
|
|
1243
|
+
model?: string | undefined;
|
|
1244
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
763
1245
|
} | undefined;
|
|
764
1246
|
} | undefined;
|
|
765
1247
|
}> | undefined;
|
|
@@ -767,130 +1249,262 @@ export declare const OrchestratorSettingsSchema: z.ZodObject<{
|
|
|
767
1249
|
default?: {
|
|
768
1250
|
provider?: string | undefined;
|
|
769
1251
|
model?: string | undefined;
|
|
1252
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
770
1253
|
} | undefined;
|
|
771
1254
|
workflows?: Record<string, {
|
|
772
1255
|
default?: {
|
|
773
1256
|
provider?: string | undefined;
|
|
774
1257
|
model?: string | undefined;
|
|
1258
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
775
1259
|
} | undefined;
|
|
776
1260
|
phases?: {
|
|
777
1261
|
specify?: {
|
|
778
1262
|
provider?: string | undefined;
|
|
779
1263
|
model?: string | undefined;
|
|
1264
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
780
1265
|
} | undefined;
|
|
781
1266
|
clarify?: {
|
|
782
1267
|
provider?: string | undefined;
|
|
783
1268
|
model?: string | undefined;
|
|
1269
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
784
1270
|
} | undefined;
|
|
785
1271
|
plan?: {
|
|
786
1272
|
provider?: string | undefined;
|
|
787
1273
|
model?: string | undefined;
|
|
1274
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
788
1275
|
} | undefined;
|
|
789
1276
|
tasks?: {
|
|
790
1277
|
provider?: string | undefined;
|
|
791
1278
|
model?: string | undefined;
|
|
1279
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
792
1280
|
} | undefined;
|
|
793
1281
|
implement?: {
|
|
794
1282
|
provider?: string | undefined;
|
|
795
1283
|
model?: string | undefined;
|
|
1284
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1285
|
+
} | undefined;
|
|
1286
|
+
review?: {
|
|
1287
|
+
provider?: string | undefined;
|
|
1288
|
+
model?: string | undefined;
|
|
1289
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
796
1290
|
} | undefined;
|
|
797
1291
|
validate?: {
|
|
798
1292
|
provider?: string | undefined;
|
|
799
1293
|
model?: string | undefined;
|
|
1294
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
remediate?: {
|
|
1297
|
+
provider?: string | undefined;
|
|
1298
|
+
model?: string | undefined;
|
|
1299
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
800
1300
|
} | undefined;
|
|
801
1301
|
} | undefined;
|
|
802
1302
|
}> | undefined;
|
|
803
1303
|
}>>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Per-workflow overrides for `validateCommand` / `preValidateCommand` /
|
|
1306
|
+
* `maxRemediations` / `review`. Keyed by workflow name (`speckit-feature`,
|
|
1307
|
+
* `speckit-bugfix`, …). Resolved workflow-level > repo-level > cluster default
|
|
1308
|
+
* by `resolveWorkflowOverrides` in the orchestrator. See `WorkflowOverrideSchema`.
|
|
1309
|
+
*/
|
|
1310
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1311
|
+
validateCommand: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
preValidateCommand: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
maxRemediations: z.ZodOptional<z.ZodNumber>;
|
|
1314
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
1315
|
+
profile: z.ZodOptional<z.ZodEnum<["standard", "verification"]>>;
|
|
1316
|
+
blockingSeverity: z.ZodOptional<z.ZodEnum<["critical", "major", "minor"]>>;
|
|
1317
|
+
failThenPass: z.ZodOptional<z.ZodBoolean>;
|
|
1318
|
+
}, "strict", z.ZodTypeAny, {
|
|
1319
|
+
profile?: "standard" | "verification" | undefined;
|
|
1320
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1321
|
+
failThenPass?: boolean | undefined;
|
|
1322
|
+
}, {
|
|
1323
|
+
profile?: "standard" | "verification" | undefined;
|
|
1324
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1325
|
+
failThenPass?: boolean | undefined;
|
|
1326
|
+
}>>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Per-workflow override for the CI-green wait budget (ms). `.min(30_000)`
|
|
1329
|
+
* mirrors the `WorkerConfigSchema.ciWaitTimeoutMs` cluster floor so an
|
|
1330
|
+
* override cannot undercut it. Absent → falls through to the cluster value.
|
|
1331
|
+
*/
|
|
1332
|
+
ciWaitTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1333
|
+
}, "strict", z.ZodTypeAny, {
|
|
1334
|
+
review?: {
|
|
1335
|
+
profile?: "standard" | "verification" | undefined;
|
|
1336
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1337
|
+
failThenPass?: boolean | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
validateCommand?: string | undefined;
|
|
1340
|
+
preValidateCommand?: string | undefined;
|
|
1341
|
+
maxRemediations?: number | undefined;
|
|
1342
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
1343
|
+
}, {
|
|
1344
|
+
review?: {
|
|
1345
|
+
profile?: "standard" | "verification" | undefined;
|
|
1346
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1347
|
+
failThenPass?: boolean | undefined;
|
|
1348
|
+
} | undefined;
|
|
1349
|
+
validateCommand?: string | undefined;
|
|
1350
|
+
preValidateCommand?: string | undefined;
|
|
1351
|
+
maxRemediations?: number | undefined;
|
|
1352
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
1353
|
+
}>>>;
|
|
804
1354
|
}, "strip", z.ZodTypeAny, {
|
|
1355
|
+
workflows?: Record<string, {
|
|
1356
|
+
review?: {
|
|
1357
|
+
profile?: "standard" | "verification" | undefined;
|
|
1358
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1359
|
+
failThenPass?: boolean | undefined;
|
|
1360
|
+
} | undefined;
|
|
1361
|
+
validateCommand?: string | undefined;
|
|
1362
|
+
preValidateCommand?: string | undefined;
|
|
1363
|
+
maxRemediations?: number | undefined;
|
|
1364
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
1365
|
+
}> | undefined;
|
|
1366
|
+
validateCommand?: string | undefined;
|
|
1367
|
+
preValidateCommand?: string | undefined;
|
|
805
1368
|
labelMonitor?: boolean | undefined;
|
|
806
1369
|
webhookSetup?: boolean | undefined;
|
|
807
1370
|
smeeChannelUrl?: string | undefined;
|
|
808
|
-
validateCommand?: string | undefined;
|
|
809
|
-
preValidateCommand?: string | undefined;
|
|
810
1371
|
agents?: {
|
|
811
1372
|
default?: {
|
|
812
1373
|
provider?: string | undefined;
|
|
813
1374
|
model?: string | undefined;
|
|
1375
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
814
1376
|
} | undefined;
|
|
815
1377
|
workflows?: Record<string, {
|
|
816
1378
|
default?: {
|
|
817
1379
|
provider?: string | undefined;
|
|
818
1380
|
model?: string | undefined;
|
|
1381
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
819
1382
|
} | undefined;
|
|
820
1383
|
phases?: {
|
|
821
1384
|
specify?: {
|
|
822
1385
|
provider?: string | undefined;
|
|
823
1386
|
model?: string | undefined;
|
|
1387
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
824
1388
|
} | undefined;
|
|
825
1389
|
clarify?: {
|
|
826
1390
|
provider?: string | undefined;
|
|
827
1391
|
model?: string | undefined;
|
|
1392
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
828
1393
|
} | undefined;
|
|
829
1394
|
plan?: {
|
|
830
1395
|
provider?: string | undefined;
|
|
831
1396
|
model?: string | undefined;
|
|
1397
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
832
1398
|
} | undefined;
|
|
833
1399
|
tasks?: {
|
|
834
1400
|
provider?: string | undefined;
|
|
835
1401
|
model?: string | undefined;
|
|
1402
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
836
1403
|
} | undefined;
|
|
837
1404
|
implement?: {
|
|
838
1405
|
provider?: string | undefined;
|
|
839
1406
|
model?: string | undefined;
|
|
1407
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
review?: {
|
|
1410
|
+
provider?: string | undefined;
|
|
1411
|
+
model?: string | undefined;
|
|
1412
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
840
1413
|
} | undefined;
|
|
841
1414
|
validate?: {
|
|
842
1415
|
provider?: string | undefined;
|
|
843
1416
|
model?: string | undefined;
|
|
1417
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
remediate?: {
|
|
1420
|
+
provider?: string | undefined;
|
|
1421
|
+
model?: string | undefined;
|
|
1422
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
844
1423
|
} | undefined;
|
|
845
1424
|
} | undefined;
|
|
846
1425
|
}> | undefined;
|
|
847
1426
|
} | undefined;
|
|
848
1427
|
}, {
|
|
1428
|
+
workflows?: Record<string, {
|
|
1429
|
+
review?: {
|
|
1430
|
+
profile?: "standard" | "verification" | undefined;
|
|
1431
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1432
|
+
failThenPass?: boolean | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
validateCommand?: string | undefined;
|
|
1435
|
+
preValidateCommand?: string | undefined;
|
|
1436
|
+
maxRemediations?: number | undefined;
|
|
1437
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
1438
|
+
}> | undefined;
|
|
1439
|
+
validateCommand?: string | undefined;
|
|
1440
|
+
preValidateCommand?: string | undefined;
|
|
849
1441
|
labelMonitor?: boolean | undefined;
|
|
850
1442
|
webhookSetup?: boolean | undefined;
|
|
851
1443
|
smeeChannelUrl?: string | undefined;
|
|
852
|
-
validateCommand?: string | undefined;
|
|
853
|
-
preValidateCommand?: string | undefined;
|
|
854
1444
|
agents?: {
|
|
855
1445
|
default?: {
|
|
856
1446
|
provider?: string | undefined;
|
|
857
1447
|
model?: string | undefined;
|
|
1448
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
858
1449
|
} | undefined;
|
|
859
1450
|
workflows?: Record<string, {
|
|
860
1451
|
default?: {
|
|
861
1452
|
provider?: string | undefined;
|
|
862
1453
|
model?: string | undefined;
|
|
1454
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
863
1455
|
} | undefined;
|
|
864
1456
|
phases?: {
|
|
865
1457
|
specify?: {
|
|
866
1458
|
provider?: string | undefined;
|
|
867
1459
|
model?: string | undefined;
|
|
1460
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
868
1461
|
} | undefined;
|
|
869
1462
|
clarify?: {
|
|
870
1463
|
provider?: string | undefined;
|
|
871
1464
|
model?: string | undefined;
|
|
1465
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
872
1466
|
} | undefined;
|
|
873
1467
|
plan?: {
|
|
874
1468
|
provider?: string | undefined;
|
|
875
1469
|
model?: string | undefined;
|
|
1470
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
876
1471
|
} | undefined;
|
|
877
1472
|
tasks?: {
|
|
878
1473
|
provider?: string | undefined;
|
|
879
1474
|
model?: string | undefined;
|
|
1475
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
880
1476
|
} | undefined;
|
|
881
1477
|
implement?: {
|
|
882
1478
|
provider?: string | undefined;
|
|
883
1479
|
model?: string | undefined;
|
|
1480
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1481
|
+
} | undefined;
|
|
1482
|
+
review?: {
|
|
1483
|
+
provider?: string | undefined;
|
|
1484
|
+
model?: string | undefined;
|
|
1485
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
884
1486
|
} | undefined;
|
|
885
1487
|
validate?: {
|
|
886
1488
|
provider?: string | undefined;
|
|
887
1489
|
model?: string | undefined;
|
|
1490
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1491
|
+
} | undefined;
|
|
1492
|
+
remediate?: {
|
|
1493
|
+
provider?: string | undefined;
|
|
1494
|
+
model?: string | undefined;
|
|
1495
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
888
1496
|
} | undefined;
|
|
889
1497
|
} | undefined;
|
|
890
1498
|
}> | undefined;
|
|
891
1499
|
} | undefined;
|
|
892
1500
|
}>;
|
|
893
1501
|
export declare const TemplateConfigSchema: z.ZodObject<{
|
|
1502
|
+
/**
|
|
1503
|
+
* Target branch for every workspace repo. Omit for "no preference" — setup
|
|
1504
|
+
* then leaves existing checkouts on their current branch and clones new repos
|
|
1505
|
+
* on the remote default.
|
|
1506
|
+
*/
|
|
1507
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
894
1508
|
project: z.ZodOptional<z.ZodObject<{
|
|
895
1509
|
org_name: z.ZodOptional<z.ZodString>;
|
|
896
1510
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -937,233 +1551,367 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
937
1551
|
default: z.ZodOptional<z.ZodObject<{
|
|
938
1552
|
provider: z.ZodOptional<z.ZodString>;
|
|
939
1553
|
model: z.ZodOptional<z.ZodString>;
|
|
940
|
-
|
|
1554
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1555
|
+
}, "strict", z.ZodTypeAny, {
|
|
941
1556
|
provider?: string | undefined;
|
|
942
1557
|
model?: string | undefined;
|
|
1558
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
943
1559
|
}, {
|
|
944
1560
|
provider?: string | undefined;
|
|
945
1561
|
model?: string | undefined;
|
|
1562
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
946
1563
|
}>>;
|
|
947
1564
|
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
948
1565
|
default: z.ZodOptional<z.ZodObject<{
|
|
949
1566
|
provider: z.ZodOptional<z.ZodString>;
|
|
950
1567
|
model: z.ZodOptional<z.ZodString>;
|
|
951
|
-
|
|
1568
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1569
|
+
}, "strict", z.ZodTypeAny, {
|
|
952
1570
|
provider?: string | undefined;
|
|
953
1571
|
model?: string | undefined;
|
|
1572
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
954
1573
|
}, {
|
|
955
1574
|
provider?: string | undefined;
|
|
956
1575
|
model?: string | undefined;
|
|
1576
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
957
1577
|
}>>;
|
|
958
1578
|
phases: z.ZodOptional<z.ZodObject<{
|
|
959
1579
|
specify: z.ZodOptional<z.ZodObject<{
|
|
960
1580
|
provider: z.ZodOptional<z.ZodString>;
|
|
961
1581
|
model: z.ZodOptional<z.ZodString>;
|
|
962
|
-
|
|
1582
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1583
|
+
}, "strict", z.ZodTypeAny, {
|
|
963
1584
|
provider?: string | undefined;
|
|
964
1585
|
model?: string | undefined;
|
|
1586
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
965
1587
|
}, {
|
|
966
1588
|
provider?: string | undefined;
|
|
967
1589
|
model?: string | undefined;
|
|
1590
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
968
1591
|
}>>;
|
|
969
1592
|
clarify: z.ZodOptional<z.ZodObject<{
|
|
970
1593
|
provider: z.ZodOptional<z.ZodString>;
|
|
971
1594
|
model: z.ZodOptional<z.ZodString>;
|
|
972
|
-
|
|
1595
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1596
|
+
}, "strict", z.ZodTypeAny, {
|
|
973
1597
|
provider?: string | undefined;
|
|
974
1598
|
model?: string | undefined;
|
|
1599
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
975
1600
|
}, {
|
|
976
1601
|
provider?: string | undefined;
|
|
977
1602
|
model?: string | undefined;
|
|
1603
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
978
1604
|
}>>;
|
|
979
1605
|
plan: z.ZodOptional<z.ZodObject<{
|
|
980
1606
|
provider: z.ZodOptional<z.ZodString>;
|
|
981
1607
|
model: z.ZodOptional<z.ZodString>;
|
|
982
|
-
|
|
1608
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1609
|
+
}, "strict", z.ZodTypeAny, {
|
|
983
1610
|
provider?: string | undefined;
|
|
984
1611
|
model?: string | undefined;
|
|
1612
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
985
1613
|
}, {
|
|
986
1614
|
provider?: string | undefined;
|
|
987
1615
|
model?: string | undefined;
|
|
1616
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
988
1617
|
}>>;
|
|
989
1618
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
990
1619
|
provider: z.ZodOptional<z.ZodString>;
|
|
991
1620
|
model: z.ZodOptional<z.ZodString>;
|
|
992
|
-
|
|
1621
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1622
|
+
}, "strict", z.ZodTypeAny, {
|
|
993
1623
|
provider?: string | undefined;
|
|
994
1624
|
model?: string | undefined;
|
|
1625
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
995
1626
|
}, {
|
|
996
1627
|
provider?: string | undefined;
|
|
997
1628
|
model?: string | undefined;
|
|
1629
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
998
1630
|
}>>;
|
|
999
1631
|
implement: z.ZodOptional<z.ZodObject<{
|
|
1000
1632
|
provider: z.ZodOptional<z.ZodString>;
|
|
1001
1633
|
model: z.ZodOptional<z.ZodString>;
|
|
1002
|
-
|
|
1634
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1635
|
+
}, "strict", z.ZodTypeAny, {
|
|
1636
|
+
provider?: string | undefined;
|
|
1637
|
+
model?: string | undefined;
|
|
1638
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1639
|
+
}, {
|
|
1640
|
+
provider?: string | undefined;
|
|
1641
|
+
model?: string | undefined;
|
|
1642
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1643
|
+
}>>;
|
|
1644
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
1645
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1647
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1648
|
+
}, "strict", z.ZodTypeAny, {
|
|
1003
1649
|
provider?: string | undefined;
|
|
1004
1650
|
model?: string | undefined;
|
|
1651
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1005
1652
|
}, {
|
|
1006
1653
|
provider?: string | undefined;
|
|
1007
1654
|
model?: string | undefined;
|
|
1655
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1008
1656
|
}>>;
|
|
1009
1657
|
validate: z.ZodOptional<z.ZodObject<{
|
|
1010
1658
|
provider: z.ZodOptional<z.ZodString>;
|
|
1011
1659
|
model: z.ZodOptional<z.ZodString>;
|
|
1012
|
-
|
|
1660
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1661
|
+
}, "strict", z.ZodTypeAny, {
|
|
1013
1662
|
provider?: string | undefined;
|
|
1014
1663
|
model?: string | undefined;
|
|
1664
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1015
1665
|
}, {
|
|
1016
1666
|
provider?: string | undefined;
|
|
1017
1667
|
model?: string | undefined;
|
|
1668
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1018
1669
|
}>>;
|
|
1019
|
-
|
|
1670
|
+
remediate: z.ZodOptional<z.ZodObject<{
|
|
1671
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
|
|
1674
|
+
}, "strict", z.ZodTypeAny, {
|
|
1675
|
+
provider?: string | undefined;
|
|
1676
|
+
model?: string | undefined;
|
|
1677
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1678
|
+
}, {
|
|
1679
|
+
provider?: string | undefined;
|
|
1680
|
+
model?: string | undefined;
|
|
1681
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1682
|
+
}>>;
|
|
1683
|
+
}, "strict", z.ZodTypeAny, {
|
|
1020
1684
|
specify?: {
|
|
1021
1685
|
provider?: string | undefined;
|
|
1022
1686
|
model?: string | undefined;
|
|
1687
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1023
1688
|
} | undefined;
|
|
1024
1689
|
clarify?: {
|
|
1025
1690
|
provider?: string | undefined;
|
|
1026
1691
|
model?: string | undefined;
|
|
1692
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1027
1693
|
} | undefined;
|
|
1028
1694
|
plan?: {
|
|
1029
1695
|
provider?: string | undefined;
|
|
1030
1696
|
model?: string | undefined;
|
|
1697
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1031
1698
|
} | undefined;
|
|
1032
1699
|
tasks?: {
|
|
1033
1700
|
provider?: string | undefined;
|
|
1034
1701
|
model?: string | undefined;
|
|
1702
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1035
1703
|
} | undefined;
|
|
1036
1704
|
implement?: {
|
|
1037
1705
|
provider?: string | undefined;
|
|
1038
1706
|
model?: string | undefined;
|
|
1707
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
review?: {
|
|
1710
|
+
provider?: string | undefined;
|
|
1711
|
+
model?: string | undefined;
|
|
1712
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1039
1713
|
} | undefined;
|
|
1040
1714
|
validate?: {
|
|
1041
1715
|
provider?: string | undefined;
|
|
1042
1716
|
model?: string | undefined;
|
|
1717
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1718
|
+
} | undefined;
|
|
1719
|
+
remediate?: {
|
|
1720
|
+
provider?: string | undefined;
|
|
1721
|
+
model?: string | undefined;
|
|
1722
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1043
1723
|
} | undefined;
|
|
1044
1724
|
}, {
|
|
1045
1725
|
specify?: {
|
|
1046
1726
|
provider?: string | undefined;
|
|
1047
1727
|
model?: string | undefined;
|
|
1728
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1048
1729
|
} | undefined;
|
|
1049
1730
|
clarify?: {
|
|
1050
1731
|
provider?: string | undefined;
|
|
1051
1732
|
model?: string | undefined;
|
|
1733
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1052
1734
|
} | undefined;
|
|
1053
1735
|
plan?: {
|
|
1054
1736
|
provider?: string | undefined;
|
|
1055
1737
|
model?: string | undefined;
|
|
1738
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1056
1739
|
} | undefined;
|
|
1057
1740
|
tasks?: {
|
|
1058
1741
|
provider?: string | undefined;
|
|
1059
1742
|
model?: string | undefined;
|
|
1743
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1060
1744
|
} | undefined;
|
|
1061
1745
|
implement?: {
|
|
1062
1746
|
provider?: string | undefined;
|
|
1063
1747
|
model?: string | undefined;
|
|
1748
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
review?: {
|
|
1751
|
+
provider?: string | undefined;
|
|
1752
|
+
model?: string | undefined;
|
|
1753
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1064
1754
|
} | undefined;
|
|
1065
1755
|
validate?: {
|
|
1066
1756
|
provider?: string | undefined;
|
|
1067
1757
|
model?: string | undefined;
|
|
1758
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
remediate?: {
|
|
1761
|
+
provider?: string | undefined;
|
|
1762
|
+
model?: string | undefined;
|
|
1763
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1068
1764
|
} | undefined;
|
|
1069
1765
|
}>>;
|
|
1070
|
-
}, "
|
|
1766
|
+
}, "strict", z.ZodTypeAny, {
|
|
1071
1767
|
default?: {
|
|
1072
1768
|
provider?: string | undefined;
|
|
1073
1769
|
model?: string | undefined;
|
|
1770
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1074
1771
|
} | undefined;
|
|
1075
1772
|
phases?: {
|
|
1076
1773
|
specify?: {
|
|
1077
1774
|
provider?: string | undefined;
|
|
1078
1775
|
model?: string | undefined;
|
|
1776
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1079
1777
|
} | undefined;
|
|
1080
1778
|
clarify?: {
|
|
1081
1779
|
provider?: string | undefined;
|
|
1082
1780
|
model?: string | undefined;
|
|
1781
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1083
1782
|
} | undefined;
|
|
1084
1783
|
plan?: {
|
|
1085
1784
|
provider?: string | undefined;
|
|
1086
1785
|
model?: string | undefined;
|
|
1786
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1087
1787
|
} | undefined;
|
|
1088
1788
|
tasks?: {
|
|
1089
1789
|
provider?: string | undefined;
|
|
1090
1790
|
model?: string | undefined;
|
|
1791
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1091
1792
|
} | undefined;
|
|
1092
1793
|
implement?: {
|
|
1093
1794
|
provider?: string | undefined;
|
|
1094
1795
|
model?: string | undefined;
|
|
1796
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1797
|
+
} | undefined;
|
|
1798
|
+
review?: {
|
|
1799
|
+
provider?: string | undefined;
|
|
1800
|
+
model?: string | undefined;
|
|
1801
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1095
1802
|
} | undefined;
|
|
1096
1803
|
validate?: {
|
|
1097
1804
|
provider?: string | undefined;
|
|
1098
1805
|
model?: string | undefined;
|
|
1806
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1807
|
+
} | undefined;
|
|
1808
|
+
remediate?: {
|
|
1809
|
+
provider?: string | undefined;
|
|
1810
|
+
model?: string | undefined;
|
|
1811
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1099
1812
|
} | undefined;
|
|
1100
1813
|
} | undefined;
|
|
1101
1814
|
}, {
|
|
1102
1815
|
default?: {
|
|
1103
1816
|
provider?: string | undefined;
|
|
1104
1817
|
model?: string | undefined;
|
|
1818
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1105
1819
|
} | undefined;
|
|
1106
1820
|
phases?: {
|
|
1107
1821
|
specify?: {
|
|
1108
1822
|
provider?: string | undefined;
|
|
1109
1823
|
model?: string | undefined;
|
|
1824
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1110
1825
|
} | undefined;
|
|
1111
1826
|
clarify?: {
|
|
1112
1827
|
provider?: string | undefined;
|
|
1113
1828
|
model?: string | undefined;
|
|
1829
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1114
1830
|
} | undefined;
|
|
1115
1831
|
plan?: {
|
|
1116
1832
|
provider?: string | undefined;
|
|
1117
1833
|
model?: string | undefined;
|
|
1834
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1118
1835
|
} | undefined;
|
|
1119
1836
|
tasks?: {
|
|
1120
1837
|
provider?: string | undefined;
|
|
1121
1838
|
model?: string | undefined;
|
|
1839
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1122
1840
|
} | undefined;
|
|
1123
1841
|
implement?: {
|
|
1124
1842
|
provider?: string | undefined;
|
|
1125
1843
|
model?: string | undefined;
|
|
1844
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1845
|
+
} | undefined;
|
|
1846
|
+
review?: {
|
|
1847
|
+
provider?: string | undefined;
|
|
1848
|
+
model?: string | undefined;
|
|
1849
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1126
1850
|
} | undefined;
|
|
1127
1851
|
validate?: {
|
|
1128
1852
|
provider?: string | undefined;
|
|
1129
1853
|
model?: string | undefined;
|
|
1854
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1855
|
+
} | undefined;
|
|
1856
|
+
remediate?: {
|
|
1857
|
+
provider?: string | undefined;
|
|
1858
|
+
model?: string | undefined;
|
|
1859
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1130
1860
|
} | undefined;
|
|
1131
1861
|
} | undefined;
|
|
1132
1862
|
}>>>;
|
|
1133
|
-
}, "
|
|
1863
|
+
}, "strict", z.ZodTypeAny, {
|
|
1134
1864
|
default?: {
|
|
1135
1865
|
provider?: string | undefined;
|
|
1136
1866
|
model?: string | undefined;
|
|
1867
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1137
1868
|
} | undefined;
|
|
1138
1869
|
workflows?: Record<string, {
|
|
1139
1870
|
default?: {
|
|
1140
1871
|
provider?: string | undefined;
|
|
1141
1872
|
model?: string | undefined;
|
|
1873
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1142
1874
|
} | undefined;
|
|
1143
1875
|
phases?: {
|
|
1144
1876
|
specify?: {
|
|
1145
1877
|
provider?: string | undefined;
|
|
1146
1878
|
model?: string | undefined;
|
|
1879
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1147
1880
|
} | undefined;
|
|
1148
1881
|
clarify?: {
|
|
1149
1882
|
provider?: string | undefined;
|
|
1150
1883
|
model?: string | undefined;
|
|
1884
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1151
1885
|
} | undefined;
|
|
1152
1886
|
plan?: {
|
|
1153
1887
|
provider?: string | undefined;
|
|
1154
1888
|
model?: string | undefined;
|
|
1889
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1155
1890
|
} | undefined;
|
|
1156
1891
|
tasks?: {
|
|
1157
1892
|
provider?: string | undefined;
|
|
1158
1893
|
model?: string | undefined;
|
|
1894
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1159
1895
|
} | undefined;
|
|
1160
1896
|
implement?: {
|
|
1161
1897
|
provider?: string | undefined;
|
|
1162
1898
|
model?: string | undefined;
|
|
1899
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1900
|
+
} | undefined;
|
|
1901
|
+
review?: {
|
|
1902
|
+
provider?: string | undefined;
|
|
1903
|
+
model?: string | undefined;
|
|
1904
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1163
1905
|
} | undefined;
|
|
1164
1906
|
validate?: {
|
|
1165
1907
|
provider?: string | undefined;
|
|
1166
1908
|
model?: string | undefined;
|
|
1909
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
remediate?: {
|
|
1912
|
+
provider?: string | undefined;
|
|
1913
|
+
model?: string | undefined;
|
|
1914
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1167
1915
|
} | undefined;
|
|
1168
1916
|
} | undefined;
|
|
1169
1917
|
}> | undefined;
|
|
@@ -1171,124 +1919,250 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
1171
1919
|
default?: {
|
|
1172
1920
|
provider?: string | undefined;
|
|
1173
1921
|
model?: string | undefined;
|
|
1922
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1174
1923
|
} | undefined;
|
|
1175
1924
|
workflows?: Record<string, {
|
|
1176
1925
|
default?: {
|
|
1177
1926
|
provider?: string | undefined;
|
|
1178
1927
|
model?: string | undefined;
|
|
1928
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1179
1929
|
} | undefined;
|
|
1180
1930
|
phases?: {
|
|
1181
1931
|
specify?: {
|
|
1182
1932
|
provider?: string | undefined;
|
|
1183
1933
|
model?: string | undefined;
|
|
1934
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1184
1935
|
} | undefined;
|
|
1185
1936
|
clarify?: {
|
|
1186
1937
|
provider?: string | undefined;
|
|
1187
1938
|
model?: string | undefined;
|
|
1939
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1188
1940
|
} | undefined;
|
|
1189
1941
|
plan?: {
|
|
1190
1942
|
provider?: string | undefined;
|
|
1191
1943
|
model?: string | undefined;
|
|
1944
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1192
1945
|
} | undefined;
|
|
1193
1946
|
tasks?: {
|
|
1194
1947
|
provider?: string | undefined;
|
|
1195
1948
|
model?: string | undefined;
|
|
1949
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1196
1950
|
} | undefined;
|
|
1197
1951
|
implement?: {
|
|
1198
1952
|
provider?: string | undefined;
|
|
1199
1953
|
model?: string | undefined;
|
|
1954
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1955
|
+
} | undefined;
|
|
1956
|
+
review?: {
|
|
1957
|
+
provider?: string | undefined;
|
|
1958
|
+
model?: string | undefined;
|
|
1959
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1200
1960
|
} | undefined;
|
|
1201
1961
|
validate?: {
|
|
1202
1962
|
provider?: string | undefined;
|
|
1203
1963
|
model?: string | undefined;
|
|
1964
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1965
|
+
} | undefined;
|
|
1966
|
+
remediate?: {
|
|
1967
|
+
provider?: string | undefined;
|
|
1968
|
+
model?: string | undefined;
|
|
1969
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1204
1970
|
} | undefined;
|
|
1205
1971
|
} | undefined;
|
|
1206
1972
|
}> | undefined;
|
|
1207
1973
|
}>>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Per-workflow overrides for `validateCommand` / `preValidateCommand` /
|
|
1976
|
+
* `maxRemediations` / `review`. Keyed by workflow name (`speckit-feature`,
|
|
1977
|
+
* `speckit-bugfix`, …). Resolved workflow-level > repo-level > cluster default
|
|
1978
|
+
* by `resolveWorkflowOverrides` in the orchestrator. See `WorkflowOverrideSchema`.
|
|
1979
|
+
*/
|
|
1980
|
+
workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1981
|
+
validateCommand: z.ZodOptional<z.ZodString>;
|
|
1982
|
+
preValidateCommand: z.ZodOptional<z.ZodString>;
|
|
1983
|
+
maxRemediations: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
1985
|
+
profile: z.ZodOptional<z.ZodEnum<["standard", "verification"]>>;
|
|
1986
|
+
blockingSeverity: z.ZodOptional<z.ZodEnum<["critical", "major", "minor"]>>;
|
|
1987
|
+
failThenPass: z.ZodOptional<z.ZodBoolean>;
|
|
1988
|
+
}, "strict", z.ZodTypeAny, {
|
|
1989
|
+
profile?: "standard" | "verification" | undefined;
|
|
1990
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1991
|
+
failThenPass?: boolean | undefined;
|
|
1992
|
+
}, {
|
|
1993
|
+
profile?: "standard" | "verification" | undefined;
|
|
1994
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
1995
|
+
failThenPass?: boolean | undefined;
|
|
1996
|
+
}>>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Per-workflow override for the CI-green wait budget (ms). `.min(30_000)`
|
|
1999
|
+
* mirrors the `WorkerConfigSchema.ciWaitTimeoutMs` cluster floor so an
|
|
2000
|
+
* override cannot undercut it. Absent → falls through to the cluster value.
|
|
2001
|
+
*/
|
|
2002
|
+
ciWaitTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
+
}, "strict", z.ZodTypeAny, {
|
|
2004
|
+
review?: {
|
|
2005
|
+
profile?: "standard" | "verification" | undefined;
|
|
2006
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2007
|
+
failThenPass?: boolean | undefined;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
validateCommand?: string | undefined;
|
|
2010
|
+
preValidateCommand?: string | undefined;
|
|
2011
|
+
maxRemediations?: number | undefined;
|
|
2012
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2013
|
+
}, {
|
|
2014
|
+
review?: {
|
|
2015
|
+
profile?: "standard" | "verification" | undefined;
|
|
2016
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2017
|
+
failThenPass?: boolean | undefined;
|
|
2018
|
+
} | undefined;
|
|
2019
|
+
validateCommand?: string | undefined;
|
|
2020
|
+
preValidateCommand?: string | undefined;
|
|
2021
|
+
maxRemediations?: number | undefined;
|
|
2022
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2023
|
+
}>>>;
|
|
1208
2024
|
}, "strip", z.ZodTypeAny, {
|
|
2025
|
+
workflows?: Record<string, {
|
|
2026
|
+
review?: {
|
|
2027
|
+
profile?: "standard" | "verification" | undefined;
|
|
2028
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2029
|
+
failThenPass?: boolean | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
validateCommand?: string | undefined;
|
|
2032
|
+
preValidateCommand?: string | undefined;
|
|
2033
|
+
maxRemediations?: number | undefined;
|
|
2034
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2035
|
+
}> | undefined;
|
|
2036
|
+
validateCommand?: string | undefined;
|
|
2037
|
+
preValidateCommand?: string | undefined;
|
|
1209
2038
|
labelMonitor?: boolean | undefined;
|
|
1210
2039
|
webhookSetup?: boolean | undefined;
|
|
1211
2040
|
smeeChannelUrl?: string | undefined;
|
|
1212
|
-
validateCommand?: string | undefined;
|
|
1213
|
-
preValidateCommand?: string | undefined;
|
|
1214
2041
|
agents?: {
|
|
1215
2042
|
default?: {
|
|
1216
2043
|
provider?: string | undefined;
|
|
1217
2044
|
model?: string | undefined;
|
|
2045
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1218
2046
|
} | undefined;
|
|
1219
2047
|
workflows?: Record<string, {
|
|
1220
2048
|
default?: {
|
|
1221
2049
|
provider?: string | undefined;
|
|
1222
2050
|
model?: string | undefined;
|
|
2051
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1223
2052
|
} | undefined;
|
|
1224
2053
|
phases?: {
|
|
1225
2054
|
specify?: {
|
|
1226
2055
|
provider?: string | undefined;
|
|
1227
2056
|
model?: string | undefined;
|
|
2057
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1228
2058
|
} | undefined;
|
|
1229
2059
|
clarify?: {
|
|
1230
2060
|
provider?: string | undefined;
|
|
1231
2061
|
model?: string | undefined;
|
|
2062
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1232
2063
|
} | undefined;
|
|
1233
2064
|
plan?: {
|
|
1234
2065
|
provider?: string | undefined;
|
|
1235
2066
|
model?: string | undefined;
|
|
2067
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1236
2068
|
} | undefined;
|
|
1237
2069
|
tasks?: {
|
|
1238
2070
|
provider?: string | undefined;
|
|
1239
2071
|
model?: string | undefined;
|
|
2072
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1240
2073
|
} | undefined;
|
|
1241
2074
|
implement?: {
|
|
1242
2075
|
provider?: string | undefined;
|
|
1243
2076
|
model?: string | undefined;
|
|
2077
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2078
|
+
} | undefined;
|
|
2079
|
+
review?: {
|
|
2080
|
+
provider?: string | undefined;
|
|
2081
|
+
model?: string | undefined;
|
|
2082
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1244
2083
|
} | undefined;
|
|
1245
2084
|
validate?: {
|
|
1246
2085
|
provider?: string | undefined;
|
|
1247
2086
|
model?: string | undefined;
|
|
2087
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2088
|
+
} | undefined;
|
|
2089
|
+
remediate?: {
|
|
2090
|
+
provider?: string | undefined;
|
|
2091
|
+
model?: string | undefined;
|
|
2092
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1248
2093
|
} | undefined;
|
|
1249
2094
|
} | undefined;
|
|
1250
2095
|
}> | undefined;
|
|
1251
2096
|
} | undefined;
|
|
1252
2097
|
}, {
|
|
2098
|
+
workflows?: Record<string, {
|
|
2099
|
+
review?: {
|
|
2100
|
+
profile?: "standard" | "verification" | undefined;
|
|
2101
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2102
|
+
failThenPass?: boolean | undefined;
|
|
2103
|
+
} | undefined;
|
|
2104
|
+
validateCommand?: string | undefined;
|
|
2105
|
+
preValidateCommand?: string | undefined;
|
|
2106
|
+
maxRemediations?: number | undefined;
|
|
2107
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2108
|
+
}> | undefined;
|
|
2109
|
+
validateCommand?: string | undefined;
|
|
2110
|
+
preValidateCommand?: string | undefined;
|
|
1253
2111
|
labelMonitor?: boolean | undefined;
|
|
1254
2112
|
webhookSetup?: boolean | undefined;
|
|
1255
2113
|
smeeChannelUrl?: string | undefined;
|
|
1256
|
-
validateCommand?: string | undefined;
|
|
1257
|
-
preValidateCommand?: string | undefined;
|
|
1258
2114
|
agents?: {
|
|
1259
2115
|
default?: {
|
|
1260
2116
|
provider?: string | undefined;
|
|
1261
2117
|
model?: string | undefined;
|
|
2118
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1262
2119
|
} | undefined;
|
|
1263
2120
|
workflows?: Record<string, {
|
|
1264
2121
|
default?: {
|
|
1265
2122
|
provider?: string | undefined;
|
|
1266
2123
|
model?: string | undefined;
|
|
2124
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1267
2125
|
} | undefined;
|
|
1268
2126
|
phases?: {
|
|
1269
2127
|
specify?: {
|
|
1270
2128
|
provider?: string | undefined;
|
|
1271
2129
|
model?: string | undefined;
|
|
2130
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1272
2131
|
} | undefined;
|
|
1273
2132
|
clarify?: {
|
|
1274
2133
|
provider?: string | undefined;
|
|
1275
2134
|
model?: string | undefined;
|
|
2135
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1276
2136
|
} | undefined;
|
|
1277
2137
|
plan?: {
|
|
1278
2138
|
provider?: string | undefined;
|
|
1279
2139
|
model?: string | undefined;
|
|
2140
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1280
2141
|
} | undefined;
|
|
1281
2142
|
tasks?: {
|
|
1282
2143
|
provider?: string | undefined;
|
|
1283
2144
|
model?: string | undefined;
|
|
2145
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1284
2146
|
} | undefined;
|
|
1285
2147
|
implement?: {
|
|
1286
2148
|
provider?: string | undefined;
|
|
1287
2149
|
model?: string | undefined;
|
|
2150
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2151
|
+
} | undefined;
|
|
2152
|
+
review?: {
|
|
2153
|
+
provider?: string | undefined;
|
|
2154
|
+
model?: string | undefined;
|
|
2155
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1288
2156
|
} | undefined;
|
|
1289
2157
|
validate?: {
|
|
1290
2158
|
provider?: string | undefined;
|
|
1291
2159
|
model?: string | undefined;
|
|
2160
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2161
|
+
} | undefined;
|
|
2162
|
+
remediate?: {
|
|
2163
|
+
provider?: string | undefined;
|
|
2164
|
+
model?: string | undefined;
|
|
2165
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1292
2166
|
} | undefined;
|
|
1293
2167
|
} | undefined;
|
|
1294
2168
|
}> | undefined;
|
|
@@ -1300,49 +2174,79 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
1300
2174
|
dev: string[];
|
|
1301
2175
|
clone: string[];
|
|
1302
2176
|
};
|
|
2177
|
+
branch?: string | undefined;
|
|
1303
2178
|
project?: z.objectOutputType<{
|
|
1304
2179
|
org_name: z.ZodOptional<z.ZodString>;
|
|
1305
2180
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1306
2181
|
orchestrator?: {
|
|
2182
|
+
workflows?: Record<string, {
|
|
2183
|
+
review?: {
|
|
2184
|
+
profile?: "standard" | "verification" | undefined;
|
|
2185
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2186
|
+
failThenPass?: boolean | undefined;
|
|
2187
|
+
} | undefined;
|
|
2188
|
+
validateCommand?: string | undefined;
|
|
2189
|
+
preValidateCommand?: string | undefined;
|
|
2190
|
+
maxRemediations?: number | undefined;
|
|
2191
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2192
|
+
}> | undefined;
|
|
2193
|
+
validateCommand?: string | undefined;
|
|
2194
|
+
preValidateCommand?: string | undefined;
|
|
1307
2195
|
labelMonitor?: boolean | undefined;
|
|
1308
2196
|
webhookSetup?: boolean | undefined;
|
|
1309
2197
|
smeeChannelUrl?: string | undefined;
|
|
1310
|
-
validateCommand?: string | undefined;
|
|
1311
|
-
preValidateCommand?: string | undefined;
|
|
1312
2198
|
agents?: {
|
|
1313
2199
|
default?: {
|
|
1314
2200
|
provider?: string | undefined;
|
|
1315
2201
|
model?: string | undefined;
|
|
2202
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1316
2203
|
} | undefined;
|
|
1317
2204
|
workflows?: Record<string, {
|
|
1318
2205
|
default?: {
|
|
1319
2206
|
provider?: string | undefined;
|
|
1320
2207
|
model?: string | undefined;
|
|
2208
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1321
2209
|
} | undefined;
|
|
1322
2210
|
phases?: {
|
|
1323
2211
|
specify?: {
|
|
1324
2212
|
provider?: string | undefined;
|
|
1325
2213
|
model?: string | undefined;
|
|
2214
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1326
2215
|
} | undefined;
|
|
1327
2216
|
clarify?: {
|
|
1328
2217
|
provider?: string | undefined;
|
|
1329
2218
|
model?: string | undefined;
|
|
2219
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1330
2220
|
} | undefined;
|
|
1331
2221
|
plan?: {
|
|
1332
2222
|
provider?: string | undefined;
|
|
1333
2223
|
model?: string | undefined;
|
|
2224
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1334
2225
|
} | undefined;
|
|
1335
2226
|
tasks?: {
|
|
1336
2227
|
provider?: string | undefined;
|
|
1337
2228
|
model?: string | undefined;
|
|
2229
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1338
2230
|
} | undefined;
|
|
1339
2231
|
implement?: {
|
|
1340
2232
|
provider?: string | undefined;
|
|
1341
2233
|
model?: string | undefined;
|
|
2234
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2235
|
+
} | undefined;
|
|
2236
|
+
review?: {
|
|
2237
|
+
provider?: string | undefined;
|
|
2238
|
+
model?: string | undefined;
|
|
2239
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1342
2240
|
} | undefined;
|
|
1343
2241
|
validate?: {
|
|
1344
2242
|
provider?: string | undefined;
|
|
1345
2243
|
model?: string | undefined;
|
|
2244
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2245
|
+
} | undefined;
|
|
2246
|
+
remediate?: {
|
|
2247
|
+
provider?: string | undefined;
|
|
2248
|
+
model?: string | undefined;
|
|
2249
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1346
2250
|
} | undefined;
|
|
1347
2251
|
} | undefined;
|
|
1348
2252
|
}> | undefined;
|
|
@@ -1354,49 +2258,79 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
1354
2258
|
dev?: string[] | null | undefined;
|
|
1355
2259
|
clone?: string[] | null | undefined;
|
|
1356
2260
|
};
|
|
2261
|
+
branch?: string | undefined;
|
|
1357
2262
|
project?: z.objectInputType<{
|
|
1358
2263
|
org_name: z.ZodOptional<z.ZodString>;
|
|
1359
2264
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1360
2265
|
orchestrator?: {
|
|
2266
|
+
workflows?: Record<string, {
|
|
2267
|
+
review?: {
|
|
2268
|
+
profile?: "standard" | "verification" | undefined;
|
|
2269
|
+
blockingSeverity?: "critical" | "major" | "minor" | undefined;
|
|
2270
|
+
failThenPass?: boolean | undefined;
|
|
2271
|
+
} | undefined;
|
|
2272
|
+
validateCommand?: string | undefined;
|
|
2273
|
+
preValidateCommand?: string | undefined;
|
|
2274
|
+
maxRemediations?: number | undefined;
|
|
2275
|
+
ciWaitTimeoutMs?: number | undefined;
|
|
2276
|
+
}> | undefined;
|
|
2277
|
+
validateCommand?: string | undefined;
|
|
2278
|
+
preValidateCommand?: string | undefined;
|
|
1361
2279
|
labelMonitor?: boolean | undefined;
|
|
1362
2280
|
webhookSetup?: boolean | undefined;
|
|
1363
2281
|
smeeChannelUrl?: string | undefined;
|
|
1364
|
-
validateCommand?: string | undefined;
|
|
1365
|
-
preValidateCommand?: string | undefined;
|
|
1366
2282
|
agents?: {
|
|
1367
2283
|
default?: {
|
|
1368
2284
|
provider?: string | undefined;
|
|
1369
2285
|
model?: string | undefined;
|
|
2286
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1370
2287
|
} | undefined;
|
|
1371
2288
|
workflows?: Record<string, {
|
|
1372
2289
|
default?: {
|
|
1373
2290
|
provider?: string | undefined;
|
|
1374
2291
|
model?: string | undefined;
|
|
2292
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1375
2293
|
} | undefined;
|
|
1376
2294
|
phases?: {
|
|
1377
2295
|
specify?: {
|
|
1378
2296
|
provider?: string | undefined;
|
|
1379
2297
|
model?: string | undefined;
|
|
2298
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1380
2299
|
} | undefined;
|
|
1381
2300
|
clarify?: {
|
|
1382
2301
|
provider?: string | undefined;
|
|
1383
2302
|
model?: string | undefined;
|
|
2303
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1384
2304
|
} | undefined;
|
|
1385
2305
|
plan?: {
|
|
1386
2306
|
provider?: string | undefined;
|
|
1387
2307
|
model?: string | undefined;
|
|
2308
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1388
2309
|
} | undefined;
|
|
1389
2310
|
tasks?: {
|
|
1390
2311
|
provider?: string | undefined;
|
|
1391
2312
|
model?: string | undefined;
|
|
2313
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1392
2314
|
} | undefined;
|
|
1393
2315
|
implement?: {
|
|
1394
2316
|
provider?: string | undefined;
|
|
1395
2317
|
model?: string | undefined;
|
|
2318
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2319
|
+
} | undefined;
|
|
2320
|
+
review?: {
|
|
2321
|
+
provider?: string | undefined;
|
|
2322
|
+
model?: string | undefined;
|
|
2323
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1396
2324
|
} | undefined;
|
|
1397
2325
|
validate?: {
|
|
1398
2326
|
provider?: string | undefined;
|
|
1399
2327
|
model?: string | undefined;
|
|
2328
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
remediate?: {
|
|
2331
|
+
provider?: string | undefined;
|
|
2332
|
+
model?: string | undefined;
|
|
2333
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1400
2334
|
} | undefined;
|
|
1401
2335
|
} | undefined;
|
|
1402
2336
|
}> | undefined;
|