@claudexor/schema 2.1.2 → 3.0.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/agent-capabilities.d.ts +32 -24
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +20 -11
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +166 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +63 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +5 -5
- package/dist/budget.d.ts +4 -4
- package/dist/config.d.ts +59 -41
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -6
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/control-operation-responses.d.ts +190 -97
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +380 -215
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +54 -8
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-thread-apply.d.ts +5 -5
- package/dist/control-trust.d.ts +6 -6
- package/dist/control.d.ts +769 -323
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +164 -71
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +400 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +109 -4
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +78 -14
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +53 -20
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +3 -3
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +32 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +46 -11
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +4 -4
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +2 -2
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +137 -47
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +65 -16
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +66 -7
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +29 -2
- package/dist/operation.js.map +1 -1
- package/dist/output-schema.d.ts +40 -0
- package/dist/output-schema.d.ts.map +1 -0
- package/dist/output-schema.js +109 -0
- package/dist/output-schema.js.map +1 -0
- package/dist/plan.d.ts +206 -0
- package/dist/plan.d.ts.map +1 -0
- package/dist/plan.js +107 -0
- package/dist/plan.js.map +1 -0
- package/dist/primitives.d.ts +14 -10
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +14 -11
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +75 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +17 -0
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +119 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +22 -0
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +4 -4
- package/dist/readiness.d.ts +14 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-strategy.d.ts +17 -0
- package/dist/run-strategy.d.ts.map +1 -0
- package/dist/run-strategy.js +47 -0
- package/dist/run-strategy.js.map +1 -0
- package/dist/setup.d.ts +160 -160
- package/dist/status-projection.d.ts +78 -0
- package/dist/status-projection.d.ts.map +1 -0
- package/dist/status-projection.js +171 -0
- package/dist/status-projection.js.map +1 -0
- package/dist/task.d.ts +48 -316
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -60
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +89 -89
- package/dist/thread.d.ts +167 -32
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +92 -28
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +4 -6
- package/generated/ApplyEligibility.schema.json +1 -1
- package/generated/BudgetLease.schema.json +1 -2
- package/generated/ConformanceReport.schema.json +1 -2
- package/generated/ContinuityDisclosure.schema.json +74 -0
- package/generated/ControlApplyRequest.schema.json +1 -2
- package/generated/ControlCredentialProfileUpdateRequest.schema.json +20 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +126 -2
- package/generated/ControlDeliveryResponse.schema.json +0 -1
- package/generated/ControlHandshakeResponse.schema.json +31 -3
- package/generated/ControlHarnessListResponse.schema.json +11 -6
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -0
- package/generated/ControlOperationCatalog.schema.json +16 -1
- package/generated/ControlOperationDescriptor.schema.json +15 -0
- package/generated/ControlProject.schema.json +35 -0
- package/generated/ControlProjectListResponse.schema.json +35 -0
- package/generated/ControlProjectOutputsResponse.schema.json +57 -0
- package/generated/ControlQueuedRunInfo.schema.json +2 -11
- package/generated/ControlQuotaResponse.schema.json +42 -0
- package/generated/ControlRunAgainDraft.schema.json +37 -35
- package/generated/ControlRunDecisionRequest.schema.json +0 -1
- package/generated/ControlRunDetail.schema.json +305 -213
- package/generated/ControlRunListResponse.schema.json +88 -27
- package/generated/ControlRunStartRequest.schema.json +37 -35
- package/generated/ControlRunStartResponse.schema.json +2 -11
- package/generated/ControlRunSummary.schema.json +88 -27
- package/generated/ControlSettingsSnapshot.schema.json +6 -11
- package/generated/ControlSettingsUpdateRequest.schema.json +5 -10
- package/generated/ControlThread.schema.json +21 -3
- package/generated/ControlThreadApplyResponse.schema.json +0 -1
- package/generated/ControlThreadCreateRequest.schema.json +12 -3
- package/generated/ControlThreadDetail.schema.json +174 -16
- package/generated/ControlThreadListResponse.schema.json +60 -3
- package/generated/ControlThreadTurnRequest.schema.json +40 -34
- package/generated/ControlThreadUpdateRequest.schema.json +19 -0
- package/generated/DecisionRecord.schema.json +73 -33
- package/generated/GateResult.schema.json +1 -2
- package/generated/GlobalConfig.schema.json +7 -12
- package/generated/HarnessManifest.schema.json +11 -6
- package/generated/HarnessStatusDto.schema.json +11 -6
- package/generated/LaneCheckpoint.schema.json +59 -0
- package/generated/McpRunHandleResult.schema.json +234 -0
- package/generated/McpRunToolResult.schema.json +124 -2
- package/generated/RoutePrimaryDivergedPayload.schema.json +56 -0
- package/generated/RunEvent.schema.json +10 -5
- package/generated/RunTelemetry.schema.json +2 -4
- package/generated/TaskContract.schema.json +3 -135
- package/generated/Thread.schema.json +21 -3
- package/generated/ThreadTurn.schema.json +88 -0
- package/package.json +2 -2
- package/dist/control-spec.d.ts +0 -592
- package/dist/control-spec.d.ts.map +0 -1
- package/dist/control-spec.js +0 -85
- package/dist/control-spec.js.map +0 -1
- package/dist/orchestrate.d.ts +0 -556
- package/dist/orchestrate.d.ts.map +0 -1
- package/dist/orchestrate.js +0 -356
- package/dist/orchestrate.js.map +0 -1
- package/dist/spec.d.ts +0 -678
- package/dist/spec.d.ts.map +0 -1
- package/dist/spec.js +0 -186
- package/dist/spec.js.map +0 -1
- package/generated/ControlSpecAnswersRequest.schema.json +0 -74
- package/generated/ControlSpecQuestionsRequest.schema.json +0 -206
- package/generated/ControlSpecSession.schema.json +0 -249
- package/generated/ControlSpecSessionListResponse.schema.json +0 -261
- package/generated/OrchestrateContract.schema.json +0 -119
- package/generated/OrchestratePlan.schema.json +0 -264
- package/generated/OrchestratePlanProgress.schema.json +0 -164
- package/generated/SessionReboundLineage.schema.json +0 -73
- package/generated/SpecPack.schema.json +0 -483
package/dist/task.d.ts
CHANGED
|
@@ -1,32 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const SuccessCriterion: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
text: z.ZodString;
|
|
5
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
id: string;
|
|
8
|
-
text: string;
|
|
9
|
-
required: boolean;
|
|
10
|
-
}, {
|
|
11
|
-
id: string;
|
|
12
|
-
text: string;
|
|
13
|
-
required?: boolean | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type SuccessCriterion = z.infer<typeof SuccessCriterion>;
|
|
16
2
|
export declare const TestCommandInvocation: z.ZodObject<{
|
|
17
3
|
program: z.ZodString;
|
|
18
4
|
args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
19
5
|
cwd: z.ZodOptional<z.ZodString>;
|
|
20
6
|
envAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
21
7
|
}, "strict", z.ZodTypeAny, {
|
|
22
|
-
program: string;
|
|
23
8
|
args: string[];
|
|
9
|
+
program: string;
|
|
24
10
|
envAllowlist: string[];
|
|
25
11
|
cwd?: string | undefined;
|
|
26
12
|
}, {
|
|
27
13
|
program: string;
|
|
28
|
-
cwd?: string | undefined;
|
|
29
14
|
args?: string[] | undefined;
|
|
15
|
+
cwd?: string | undefined;
|
|
30
16
|
envAllowlist?: string[] | undefined;
|
|
31
17
|
}>;
|
|
32
18
|
export type TestCommandInvocation = z.infer<typeof TestCommandInvocation>;
|
|
@@ -98,9 +84,9 @@ export declare const TestCommand: z.ZodObject<{
|
|
|
98
84
|
}>>>;
|
|
99
85
|
}, "strict", z.ZodTypeAny, {
|
|
100
86
|
id: string;
|
|
87
|
+
args: string[];
|
|
101
88
|
required: boolean;
|
|
102
89
|
program: string;
|
|
103
|
-
args: string[];
|
|
104
90
|
envAllowlist: string[];
|
|
105
91
|
trust_required: boolean;
|
|
106
92
|
trust_grant: {
|
|
@@ -117,9 +103,9 @@ export declare const TestCommand: z.ZodObject<{
|
|
|
117
103
|
}, {
|
|
118
104
|
id: string;
|
|
119
105
|
program: string;
|
|
106
|
+
args?: string[] | undefined;
|
|
120
107
|
cwd?: string | undefined;
|
|
121
108
|
required?: boolean | undefined;
|
|
122
|
-
args?: string[] | undefined;
|
|
123
109
|
envAllowlist?: string[] | undefined;
|
|
124
110
|
trust_required?: boolean | undefined;
|
|
125
111
|
trust_grant?: {
|
|
@@ -223,54 +209,6 @@ export declare const ConvergencePredicate: z.ZodObject<{
|
|
|
223
209
|
require_no_accepted_needs_human_open?: boolean | undefined;
|
|
224
210
|
}>;
|
|
225
211
|
export type ConvergencePredicate = z.infer<typeof ConvergencePredicate>;
|
|
226
|
-
/** One node of the spec-derived task graph; edges are `depends_on`. */
|
|
227
|
-
export declare const TaskGraphNode: z.ZodObject<{
|
|
228
|
-
id: z.ZodString;
|
|
229
|
-
title: z.ZodDefault<z.ZodString>;
|
|
230
|
-
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
231
|
-
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
id: string;
|
|
233
|
-
title: string;
|
|
234
|
-
depends_on: string[];
|
|
235
|
-
}, {
|
|
236
|
-
id: string;
|
|
237
|
-
title?: string | undefined;
|
|
238
|
-
depends_on?: string[] | undefined;
|
|
239
|
-
}>;
|
|
240
|
-
export type TaskGraphNode = z.infer<typeof TaskGraphNode>;
|
|
241
|
-
/** A topologically-ordered task graph built from a frozen SpecPack's tasks. */
|
|
242
|
-
export declare const TaskGraph: z.ZodObject<{
|
|
243
|
-
nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
244
|
-
id: z.ZodString;
|
|
245
|
-
title: z.ZodDefault<z.ZodString>;
|
|
246
|
-
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
247
|
-
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
id: string;
|
|
249
|
-
title: string;
|
|
250
|
-
depends_on: string[];
|
|
251
|
-
}, {
|
|
252
|
-
id: string;
|
|
253
|
-
title?: string | undefined;
|
|
254
|
-
depends_on?: string[] | undefined;
|
|
255
|
-
}>, "many">>;
|
|
256
|
-
/** Topological execution order (node ids); empty when there are no tasks. */
|
|
257
|
-
order: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
258
|
-
}, "strip", z.ZodTypeAny, {
|
|
259
|
-
nodes: {
|
|
260
|
-
id: string;
|
|
261
|
-
title: string;
|
|
262
|
-
depends_on: string[];
|
|
263
|
-
}[];
|
|
264
|
-
order: string[];
|
|
265
|
-
}, {
|
|
266
|
-
nodes?: {
|
|
267
|
-
id: string;
|
|
268
|
-
title?: string | undefined;
|
|
269
|
-
depends_on?: string[] | undefined;
|
|
270
|
-
}[] | undefined;
|
|
271
|
-
order?: string[] | undefined;
|
|
272
|
-
}>;
|
|
273
|
-
export type TaskGraph = z.infer<typeof TaskGraph>;
|
|
274
212
|
/**
|
|
275
213
|
* Immutable contract describing a single run. Built once, hashed, never mutated.
|
|
276
214
|
*/
|
|
@@ -295,11 +233,11 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
295
233
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
296
234
|
}>;
|
|
297
235
|
mode: z.ZodObject<{
|
|
298
|
-
kind: z.ZodEnum<["ask", "plan", "
|
|
236
|
+
kind: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
299
237
|
}, "strip", z.ZodTypeAny, {
|
|
300
|
-
kind: "ask" | "plan" | "
|
|
238
|
+
kind: "ask" | "plan" | "agent";
|
|
301
239
|
}, {
|
|
302
|
-
kind: "ask" | "plan" | "
|
|
240
|
+
kind: "ask" | "plan" | "agent";
|
|
303
241
|
}>;
|
|
304
242
|
user_intent: z.ZodObject<{
|
|
305
243
|
raw: z.ZodString;
|
|
@@ -312,8 +250,8 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
312
250
|
normalized?: string | undefined;
|
|
313
251
|
}>;
|
|
314
252
|
/** Caller-supplied per-run system-level instructions layered onto every
|
|
315
|
-
* TASK-PRODUCING lane's prompt (primary, candidate, planner, explorer
|
|
316
|
-
*
|
|
253
|
+
* TASK-PRODUCING lane's prompt (primary, candidate, planner, explorer)
|
|
254
|
+
* — never reviewers, synthesis, or the auth smoke. */
|
|
317
255
|
instructions: z.ZodOptional<z.ZodString>;
|
|
318
256
|
/** Caller-supplied JSON Schema the run's final ANSWER must conform to,
|
|
319
257
|
* already normalized/strictified at the engine boundary. Mandatory when
|
|
@@ -333,67 +271,6 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
333
271
|
* (specific beats general); a lane whose manifest lacks max_turns support
|
|
334
272
|
* discloses the ignored knob instead of silently dropping it. */
|
|
335
273
|
max_turns: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
336
|
-
spec: z.ZodOptional<z.ZodObject<{
|
|
337
|
-
id: z.ZodOptional<z.ZodString>;
|
|
338
|
-
hash: z.ZodOptional<z.ZodString>;
|
|
339
|
-
path: z.ZodOptional<z.ZodString>;
|
|
340
|
-
}, "strip", z.ZodTypeAny, {
|
|
341
|
-
path?: string | undefined;
|
|
342
|
-
hash?: string | undefined;
|
|
343
|
-
id?: string | undefined;
|
|
344
|
-
}, {
|
|
345
|
-
path?: string | undefined;
|
|
346
|
-
hash?: string | undefined;
|
|
347
|
-
id?: string | undefined;
|
|
348
|
-
}>>;
|
|
349
|
-
success_criteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
350
|
-
id: z.ZodString;
|
|
351
|
-
text: z.ZodString;
|
|
352
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
-
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
id: string;
|
|
355
|
-
text: string;
|
|
356
|
-
required: boolean;
|
|
357
|
-
}, {
|
|
358
|
-
id: string;
|
|
359
|
-
text: string;
|
|
360
|
-
required?: boolean | undefined;
|
|
361
|
-
}>, "many">>;
|
|
362
|
-
non_goals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
363
|
-
forbidden_approaches: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
364
|
-
decided_tradeoffs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
365
|
-
/** Spec-derived task graph; null until a frozen SpecPack with tasks is resolved. */
|
|
366
|
-
task_graph: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
367
|
-
nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
368
|
-
id: z.ZodString;
|
|
369
|
-
title: z.ZodDefault<z.ZodString>;
|
|
370
|
-
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
371
|
-
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
id: string;
|
|
373
|
-
title: string;
|
|
374
|
-
depends_on: string[];
|
|
375
|
-
}, {
|
|
376
|
-
id: string;
|
|
377
|
-
title?: string | undefined;
|
|
378
|
-
depends_on?: string[] | undefined;
|
|
379
|
-
}>, "many">>;
|
|
380
|
-
/** Topological execution order (node ids); empty when there are no tasks. */
|
|
381
|
-
order: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
382
|
-
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
nodes: {
|
|
384
|
-
id: string;
|
|
385
|
-
title: string;
|
|
386
|
-
depends_on: string[];
|
|
387
|
-
}[];
|
|
388
|
-
order: string[];
|
|
389
|
-
}, {
|
|
390
|
-
nodes?: {
|
|
391
|
-
id: string;
|
|
392
|
-
title?: string | undefined;
|
|
393
|
-
depends_on?: string[] | undefined;
|
|
394
|
-
}[] | undefined;
|
|
395
|
-
order?: string[] | undefined;
|
|
396
|
-
}>>>;
|
|
397
274
|
constraints: z.ZodDefault<z.ZodObject<{
|
|
398
275
|
/** Globs whose changes escalate risk to a human-approval gate (wired into
|
|
399
276
|
* classifyRisk/requireHuman). These are spec/config-owned and cannot be
|
|
@@ -481,9 +358,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
481
358
|
}>>>;
|
|
482
359
|
}, "strict", z.ZodTypeAny, {
|
|
483
360
|
id: string;
|
|
361
|
+
args: string[];
|
|
484
362
|
required: boolean;
|
|
485
363
|
program: string;
|
|
486
|
-
args: string[];
|
|
487
364
|
envAllowlist: string[];
|
|
488
365
|
trust_required: boolean;
|
|
489
366
|
trust_grant: {
|
|
@@ -500,9 +377,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
500
377
|
}, {
|
|
501
378
|
id: string;
|
|
502
379
|
program: string;
|
|
380
|
+
args?: string[] | undefined;
|
|
503
381
|
cwd?: string | undefined;
|
|
504
382
|
required?: boolean | undefined;
|
|
505
|
-
args?: string[] | undefined;
|
|
506
383
|
envAllowlist?: string[] | undefined;
|
|
507
384
|
trust_required?: boolean | undefined;
|
|
508
385
|
trust_grant?: {
|
|
@@ -519,9 +396,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
519
396
|
}, "strip", z.ZodTypeAny, {
|
|
520
397
|
commands: {
|
|
521
398
|
id: string;
|
|
399
|
+
args: string[];
|
|
522
400
|
required: boolean;
|
|
523
401
|
program: string;
|
|
524
|
-
args: string[];
|
|
525
402
|
envAllowlist: string[];
|
|
526
403
|
trust_required: boolean;
|
|
527
404
|
trust_grant: {
|
|
@@ -540,9 +417,9 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
540
417
|
commands?: {
|
|
541
418
|
id: string;
|
|
542
419
|
program: string;
|
|
420
|
+
args?: string[] | undefined;
|
|
543
421
|
cwd?: string | undefined;
|
|
544
422
|
required?: boolean | undefined;
|
|
545
|
-
args?: string[] | undefined;
|
|
546
423
|
envAllowlist?: string[] | undefined;
|
|
547
424
|
trust_required?: boolean | undefined;
|
|
548
425
|
trust_grant?: {
|
|
@@ -664,7 +541,7 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
664
541
|
}, "strip", z.ZodTypeAny, {
|
|
665
542
|
created_at: string;
|
|
666
543
|
mode: {
|
|
667
|
-
kind: "ask" | "plan" | "
|
|
544
|
+
kind: "ask" | "plan" | "agent";
|
|
668
545
|
};
|
|
669
546
|
schema_version: 2;
|
|
670
547
|
constraints: {
|
|
@@ -700,28 +577,12 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
700
577
|
raw: string;
|
|
701
578
|
normalized?: string | undefined;
|
|
702
579
|
};
|
|
703
|
-
success_criteria: {
|
|
704
|
-
id: string;
|
|
705
|
-
text: string;
|
|
706
|
-
required: boolean;
|
|
707
|
-
}[];
|
|
708
|
-
non_goals: string[];
|
|
709
|
-
forbidden_approaches: string[];
|
|
710
|
-
decided_tradeoffs: string[];
|
|
711
|
-
task_graph: {
|
|
712
|
-
nodes: {
|
|
713
|
-
id: string;
|
|
714
|
-
title: string;
|
|
715
|
-
depends_on: string[];
|
|
716
|
-
}[];
|
|
717
|
-
order: string[];
|
|
718
|
-
} | null;
|
|
719
580
|
tests: {
|
|
720
581
|
commands: {
|
|
721
582
|
id: string;
|
|
583
|
+
args: string[];
|
|
722
584
|
required: boolean;
|
|
723
585
|
program: string;
|
|
724
|
-
args: string[];
|
|
725
586
|
envAllowlist: string[];
|
|
726
587
|
trust_required: boolean;
|
|
727
588
|
trust_grant: {
|
|
@@ -760,16 +621,11 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
760
621
|
require_final_diff_stable_after_review: boolean;
|
|
761
622
|
require_no_accepted_needs_human_open: boolean;
|
|
762
623
|
};
|
|
763
|
-
spec?: {
|
|
764
|
-
path?: string | undefined;
|
|
765
|
-
hash?: string | undefined;
|
|
766
|
-
id?: string | undefined;
|
|
767
|
-
} | undefined;
|
|
768
624
|
instructions?: string | undefined;
|
|
769
625
|
}, {
|
|
770
626
|
created_at: string;
|
|
771
627
|
mode: {
|
|
772
|
-
kind: "ask" | "plan" | "
|
|
628
|
+
kind: "ask" | "plan" | "agent";
|
|
773
629
|
};
|
|
774
630
|
schema_version: 2;
|
|
775
631
|
repo: {
|
|
@@ -783,11 +639,6 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
783
639
|
raw: string;
|
|
784
640
|
normalized?: string | undefined;
|
|
785
641
|
};
|
|
786
|
-
spec?: {
|
|
787
|
-
path?: string | undefined;
|
|
788
|
-
hash?: string | undefined;
|
|
789
|
-
id?: string | undefined;
|
|
790
|
-
} | undefined;
|
|
791
642
|
instructions?: string | undefined;
|
|
792
643
|
constraints?: {
|
|
793
644
|
protected_paths?: string[] | undefined;
|
|
@@ -811,29 +662,13 @@ export declare const TaskContract: z.ZodObject<{
|
|
|
811
662
|
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
812
663
|
output_schema?: Record<string, unknown> | null | undefined;
|
|
813
664
|
credential_profile_id?: string | null | undefined;
|
|
814
|
-
success_criteria?: {
|
|
815
|
-
id: string;
|
|
816
|
-
text: string;
|
|
817
|
-
required?: boolean | undefined;
|
|
818
|
-
}[] | undefined;
|
|
819
|
-
non_goals?: string[] | undefined;
|
|
820
|
-
forbidden_approaches?: string[] | undefined;
|
|
821
|
-
decided_tradeoffs?: string[] | undefined;
|
|
822
|
-
task_graph?: {
|
|
823
|
-
nodes?: {
|
|
824
|
-
id: string;
|
|
825
|
-
title?: string | undefined;
|
|
826
|
-
depends_on?: string[] | undefined;
|
|
827
|
-
}[] | undefined;
|
|
828
|
-
order?: string[] | undefined;
|
|
829
|
-
} | null | undefined;
|
|
830
665
|
tests?: {
|
|
831
666
|
commands?: {
|
|
832
667
|
id: string;
|
|
833
668
|
program: string;
|
|
669
|
+
args?: string[] | undefined;
|
|
834
670
|
cwd?: string | undefined;
|
|
835
671
|
required?: boolean | undefined;
|
|
836
|
-
args?: string[] | undefined;
|
|
837
672
|
envAllowlist?: string[] | undefined;
|
|
838
673
|
trust_required?: boolean | undefined;
|
|
839
674
|
trust_grant?: {
|
|
@@ -920,9 +755,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
920
755
|
}>>>;
|
|
921
756
|
}, "strict", z.ZodTypeAny, {
|
|
922
757
|
id: string;
|
|
758
|
+
args: string[];
|
|
923
759
|
required: boolean;
|
|
924
760
|
program: string;
|
|
925
|
-
args: string[];
|
|
926
761
|
envAllowlist: string[];
|
|
927
762
|
trust_required: boolean;
|
|
928
763
|
trust_grant: {
|
|
@@ -939,9 +774,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
939
774
|
}, {
|
|
940
775
|
id: string;
|
|
941
776
|
program: string;
|
|
777
|
+
args?: string[] | undefined;
|
|
942
778
|
cwd?: string | undefined;
|
|
943
779
|
required?: boolean | undefined;
|
|
944
|
-
args?: string[] | undefined;
|
|
945
780
|
envAllowlist?: string[] | undefined;
|
|
946
781
|
trust_required?: boolean | undefined;
|
|
947
782
|
trust_grant?: {
|
|
@@ -995,9 +830,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
995
830
|
}>>>;
|
|
996
831
|
}, "strict", z.ZodTypeAny, {
|
|
997
832
|
id: string;
|
|
833
|
+
args: string[];
|
|
998
834
|
required: boolean;
|
|
999
835
|
program: string;
|
|
1000
|
-
args: string[];
|
|
1001
836
|
envAllowlist: string[];
|
|
1002
837
|
trust_required: boolean;
|
|
1003
838
|
trust_grant: {
|
|
@@ -1014,9 +849,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1014
849
|
}, {
|
|
1015
850
|
id: string;
|
|
1016
851
|
program: string;
|
|
852
|
+
args?: string[] | undefined;
|
|
1017
853
|
cwd?: string | undefined;
|
|
1018
854
|
required?: boolean | undefined;
|
|
1019
|
-
args?: string[] | undefined;
|
|
1020
855
|
envAllowlist?: string[] | undefined;
|
|
1021
856
|
trust_required?: boolean | undefined;
|
|
1022
857
|
trust_grant?: {
|
|
@@ -1070,9 +905,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1070
905
|
}>>>;
|
|
1071
906
|
}, "strict", z.ZodTypeAny, {
|
|
1072
907
|
id: string;
|
|
908
|
+
args: string[];
|
|
1073
909
|
required: boolean;
|
|
1074
910
|
program: string;
|
|
1075
|
-
args: string[];
|
|
1076
911
|
envAllowlist: string[];
|
|
1077
912
|
trust_required: boolean;
|
|
1078
913
|
trust_grant: {
|
|
@@ -1089,9 +924,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1089
924
|
}, {
|
|
1090
925
|
id: string;
|
|
1091
926
|
program: string;
|
|
927
|
+
args?: string[] | undefined;
|
|
1092
928
|
cwd?: string | undefined;
|
|
1093
929
|
required?: boolean | undefined;
|
|
1094
|
-
args?: string[] | undefined;
|
|
1095
930
|
envAllowlist?: string[] | undefined;
|
|
1096
931
|
trust_required?: boolean | undefined;
|
|
1097
932
|
trust_grant?: {
|
|
@@ -1147,9 +982,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1147
982
|
}>>>;
|
|
1148
983
|
}, "strict", z.ZodTypeAny, {
|
|
1149
984
|
id: string;
|
|
985
|
+
args: string[];
|
|
1150
986
|
required: boolean;
|
|
1151
987
|
program: string;
|
|
1152
|
-
args: string[];
|
|
1153
988
|
envAllowlist: string[];
|
|
1154
989
|
trust_required: boolean;
|
|
1155
990
|
trust_grant: {
|
|
@@ -1166,9 +1001,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1166
1001
|
}, {
|
|
1167
1002
|
id: string;
|
|
1168
1003
|
program: string;
|
|
1004
|
+
args?: string[] | undefined;
|
|
1169
1005
|
cwd?: string | undefined;
|
|
1170
1006
|
required?: boolean | undefined;
|
|
1171
|
-
args?: string[] | undefined;
|
|
1172
1007
|
envAllowlist?: string[] | undefined;
|
|
1173
1008
|
trust_required?: boolean | undefined;
|
|
1174
1009
|
trust_grant?: {
|
|
@@ -1222,9 +1057,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1222
1057
|
}>>>;
|
|
1223
1058
|
}, "strict", z.ZodTypeAny, {
|
|
1224
1059
|
id: string;
|
|
1060
|
+
args: string[];
|
|
1225
1061
|
required: boolean;
|
|
1226
1062
|
program: string;
|
|
1227
|
-
args: string[];
|
|
1228
1063
|
envAllowlist: string[];
|
|
1229
1064
|
trust_required: boolean;
|
|
1230
1065
|
trust_grant: {
|
|
@@ -1241,9 +1076,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1241
1076
|
}, {
|
|
1242
1077
|
id: string;
|
|
1243
1078
|
program: string;
|
|
1079
|
+
args?: string[] | undefined;
|
|
1244
1080
|
cwd?: string | undefined;
|
|
1245
1081
|
required?: boolean | undefined;
|
|
1246
|
-
args?: string[] | undefined;
|
|
1247
1082
|
envAllowlist?: string[] | undefined;
|
|
1248
1083
|
trust_required?: boolean | undefined;
|
|
1249
1084
|
trust_grant?: {
|
|
@@ -1297,9 +1132,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1297
1132
|
}>>>;
|
|
1298
1133
|
}, "strict", z.ZodTypeAny, {
|
|
1299
1134
|
id: string;
|
|
1135
|
+
args: string[];
|
|
1300
1136
|
required: boolean;
|
|
1301
1137
|
program: string;
|
|
1302
|
-
args: string[];
|
|
1303
1138
|
envAllowlist: string[];
|
|
1304
1139
|
trust_required: boolean;
|
|
1305
1140
|
trust_grant: {
|
|
@@ -1316,9 +1151,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1316
1151
|
}, {
|
|
1317
1152
|
id: string;
|
|
1318
1153
|
program: string;
|
|
1154
|
+
args?: string[] | undefined;
|
|
1319
1155
|
cwd?: string | undefined;
|
|
1320
1156
|
required?: boolean | undefined;
|
|
1321
|
-
args?: string[] | undefined;
|
|
1322
1157
|
envAllowlist?: string[] | undefined;
|
|
1323
1158
|
trust_required?: boolean | undefined;
|
|
1324
1159
|
trust_grant?: {
|
|
@@ -1374,9 +1209,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1374
1209
|
}>>>;
|
|
1375
1210
|
}, "strict", z.ZodTypeAny, {
|
|
1376
1211
|
id: string;
|
|
1212
|
+
args: string[];
|
|
1377
1213
|
required: boolean;
|
|
1378
1214
|
program: string;
|
|
1379
|
-
args: string[];
|
|
1380
1215
|
envAllowlist: string[];
|
|
1381
1216
|
trust_required: boolean;
|
|
1382
1217
|
trust_grant: {
|
|
@@ -1393,9 +1228,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1393
1228
|
}, {
|
|
1394
1229
|
id: string;
|
|
1395
1230
|
program: string;
|
|
1231
|
+
args?: string[] | undefined;
|
|
1396
1232
|
cwd?: string | undefined;
|
|
1397
1233
|
required?: boolean | undefined;
|
|
1398
|
-
args?: string[] | undefined;
|
|
1399
1234
|
envAllowlist?: string[] | undefined;
|
|
1400
1235
|
trust_required?: boolean | undefined;
|
|
1401
1236
|
trust_grant?: {
|
|
@@ -1449,9 +1284,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1449
1284
|
}>>>;
|
|
1450
1285
|
}, "strict", z.ZodTypeAny, {
|
|
1451
1286
|
id: string;
|
|
1287
|
+
args: string[];
|
|
1452
1288
|
required: boolean;
|
|
1453
1289
|
program: string;
|
|
1454
|
-
args: string[];
|
|
1455
1290
|
envAllowlist: string[];
|
|
1456
1291
|
trust_required: boolean;
|
|
1457
1292
|
trust_grant: {
|
|
@@ -1468,9 +1303,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1468
1303
|
}, {
|
|
1469
1304
|
id: string;
|
|
1470
1305
|
program: string;
|
|
1306
|
+
args?: string[] | undefined;
|
|
1471
1307
|
cwd?: string | undefined;
|
|
1472
1308
|
required?: boolean | undefined;
|
|
1473
|
-
args?: string[] | undefined;
|
|
1474
1309
|
envAllowlist?: string[] | undefined;
|
|
1475
1310
|
trust_required?: boolean | undefined;
|
|
1476
1311
|
trust_grant?: {
|
|
@@ -1524,9 +1359,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1524
1359
|
}>>>;
|
|
1525
1360
|
}, "strict", z.ZodTypeAny, {
|
|
1526
1361
|
id: string;
|
|
1362
|
+
args: string[];
|
|
1527
1363
|
required: boolean;
|
|
1528
1364
|
program: string;
|
|
1529
|
-
args: string[];
|
|
1530
1365
|
envAllowlist: string[];
|
|
1531
1366
|
trust_required: boolean;
|
|
1532
1367
|
trust_grant: {
|
|
@@ -1543,9 +1378,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1543
1378
|
}, {
|
|
1544
1379
|
id: string;
|
|
1545
1380
|
program: string;
|
|
1381
|
+
args?: string[] | undefined;
|
|
1546
1382
|
cwd?: string | undefined;
|
|
1547
1383
|
required?: boolean | undefined;
|
|
1548
|
-
args?: string[] | undefined;
|
|
1549
1384
|
envAllowlist?: string[] | undefined;
|
|
1550
1385
|
trust_required?: boolean | undefined;
|
|
1551
1386
|
trust_grant?: {
|
|
@@ -1581,11 +1416,11 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1581
1416
|
dirty_policy?: "refuse" | "snapshot" | undefined;
|
|
1582
1417
|
}>;
|
|
1583
1418
|
mode: z.ZodObject<{
|
|
1584
|
-
kind: z.ZodEnum<["ask", "plan", "
|
|
1419
|
+
kind: z.ZodEnum<["ask", "plan", "agent"]>;
|
|
1585
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1586
|
-
kind: "ask" | "plan" | "
|
|
1421
|
+
kind: "ask" | "plan" | "agent";
|
|
1587
1422
|
}, {
|
|
1588
|
-
kind: "ask" | "plan" | "
|
|
1423
|
+
kind: "ask" | "plan" | "agent";
|
|
1589
1424
|
}>;
|
|
1590
1425
|
user_intent: z.ZodObject<{
|
|
1591
1426
|
raw: z.ZodString;
|
|
@@ -1598,8 +1433,8 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1598
1433
|
normalized?: string | undefined;
|
|
1599
1434
|
}>;
|
|
1600
1435
|
/** Caller-supplied per-run system-level instructions layered onto every
|
|
1601
|
-
* TASK-PRODUCING lane's prompt (primary, candidate, planner, explorer
|
|
1602
|
-
*
|
|
1436
|
+
* TASK-PRODUCING lane's prompt (primary, candidate, planner, explorer)
|
|
1437
|
+
* — never reviewers, synthesis, or the auth smoke. */
|
|
1603
1438
|
instructions: z.ZodOptional<z.ZodString>;
|
|
1604
1439
|
/** Caller-supplied JSON Schema the run's final ANSWER must conform to,
|
|
1605
1440
|
* already normalized/strictified at the engine boundary. Mandatory when
|
|
@@ -1619,67 +1454,6 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1619
1454
|
* (specific beats general); a lane whose manifest lacks max_turns support
|
|
1620
1455
|
* discloses the ignored knob instead of silently dropping it. */
|
|
1621
1456
|
max_turns: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1622
|
-
spec: z.ZodOptional<z.ZodObject<{
|
|
1623
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1624
|
-
hash: z.ZodOptional<z.ZodString>;
|
|
1625
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1626
|
-
}, "strip", z.ZodTypeAny, {
|
|
1627
|
-
path?: string | undefined;
|
|
1628
|
-
hash?: string | undefined;
|
|
1629
|
-
id?: string | undefined;
|
|
1630
|
-
}, {
|
|
1631
|
-
path?: string | undefined;
|
|
1632
|
-
hash?: string | undefined;
|
|
1633
|
-
id?: string | undefined;
|
|
1634
|
-
}>>;
|
|
1635
|
-
success_criteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1636
|
-
id: z.ZodString;
|
|
1637
|
-
text: z.ZodString;
|
|
1638
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
1639
|
-
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
id: string;
|
|
1641
|
-
text: string;
|
|
1642
|
-
required: boolean;
|
|
1643
|
-
}, {
|
|
1644
|
-
id: string;
|
|
1645
|
-
text: string;
|
|
1646
|
-
required?: boolean | undefined;
|
|
1647
|
-
}>, "many">>;
|
|
1648
|
-
non_goals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1649
|
-
forbidden_approaches: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1650
|
-
decided_tradeoffs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1651
|
-
/** Spec-derived task graph; null until a frozen SpecPack with tasks is resolved. */
|
|
1652
|
-
task_graph: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1653
|
-
nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1654
|
-
id: z.ZodString;
|
|
1655
|
-
title: z.ZodDefault<z.ZodString>;
|
|
1656
|
-
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1657
|
-
}, "strip", z.ZodTypeAny, {
|
|
1658
|
-
id: string;
|
|
1659
|
-
title: string;
|
|
1660
|
-
depends_on: string[];
|
|
1661
|
-
}, {
|
|
1662
|
-
id: string;
|
|
1663
|
-
title?: string | undefined;
|
|
1664
|
-
depends_on?: string[] | undefined;
|
|
1665
|
-
}>, "many">>;
|
|
1666
|
-
/** Topological execution order (node ids); empty when there are no tasks. */
|
|
1667
|
-
order: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1668
|
-
}, "strip", z.ZodTypeAny, {
|
|
1669
|
-
nodes: {
|
|
1670
|
-
id: string;
|
|
1671
|
-
title: string;
|
|
1672
|
-
depends_on: string[];
|
|
1673
|
-
}[];
|
|
1674
|
-
order: string[];
|
|
1675
|
-
}, {
|
|
1676
|
-
nodes?: {
|
|
1677
|
-
id: string;
|
|
1678
|
-
title?: string | undefined;
|
|
1679
|
-
depends_on?: string[] | undefined;
|
|
1680
|
-
}[] | undefined;
|
|
1681
|
-
order?: string[] | undefined;
|
|
1682
|
-
}>>>;
|
|
1683
1457
|
constraints: z.ZodDefault<z.ZodObject<{
|
|
1684
1458
|
/** Globs whose changes escalate risk to a human-approval gate (wired into
|
|
1685
1459
|
* classifyRisk/requireHuman). These are spec/config-owned and cannot be
|
|
@@ -1767,9 +1541,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1767
1541
|
}>>>;
|
|
1768
1542
|
}, "strict", z.ZodTypeAny, {
|
|
1769
1543
|
id: string;
|
|
1544
|
+
args: string[];
|
|
1770
1545
|
required: boolean;
|
|
1771
1546
|
program: string;
|
|
1772
|
-
args: string[];
|
|
1773
1547
|
envAllowlist: string[];
|
|
1774
1548
|
trust_required: boolean;
|
|
1775
1549
|
trust_grant: {
|
|
@@ -1786,9 +1560,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1786
1560
|
}, {
|
|
1787
1561
|
id: string;
|
|
1788
1562
|
program: string;
|
|
1563
|
+
args?: string[] | undefined;
|
|
1789
1564
|
cwd?: string | undefined;
|
|
1790
1565
|
required?: boolean | undefined;
|
|
1791
|
-
args?: string[] | undefined;
|
|
1792
1566
|
envAllowlist?: string[] | undefined;
|
|
1793
1567
|
trust_required?: boolean | undefined;
|
|
1794
1568
|
trust_grant?: {
|
|
@@ -1805,9 +1579,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1805
1579
|
}, "strip", z.ZodTypeAny, {
|
|
1806
1580
|
commands: {
|
|
1807
1581
|
id: string;
|
|
1582
|
+
args: string[];
|
|
1808
1583
|
required: boolean;
|
|
1809
1584
|
program: string;
|
|
1810
|
-
args: string[];
|
|
1811
1585
|
envAllowlist: string[];
|
|
1812
1586
|
trust_required: boolean;
|
|
1813
1587
|
trust_grant: {
|
|
@@ -1826,9 +1600,9 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1826
1600
|
commands?: {
|
|
1827
1601
|
id: string;
|
|
1828
1602
|
program: string;
|
|
1603
|
+
args?: string[] | undefined;
|
|
1829
1604
|
cwd?: string | undefined;
|
|
1830
1605
|
required?: boolean | undefined;
|
|
1831
|
-
args?: string[] | undefined;
|
|
1832
1606
|
envAllowlist?: string[] | undefined;
|
|
1833
1607
|
trust_required?: boolean | undefined;
|
|
1834
1608
|
trust_grant?: {
|
|
@@ -1950,7 +1724,7 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1950
1724
|
}, "strip", z.ZodTypeAny, {
|
|
1951
1725
|
created_at: string;
|
|
1952
1726
|
mode: {
|
|
1953
|
-
kind: "ask" | "plan" | "
|
|
1727
|
+
kind: "ask" | "plan" | "agent";
|
|
1954
1728
|
};
|
|
1955
1729
|
schema_version: 2;
|
|
1956
1730
|
constraints: {
|
|
@@ -1986,28 +1760,12 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
1986
1760
|
raw: string;
|
|
1987
1761
|
normalized?: string | undefined;
|
|
1988
1762
|
};
|
|
1989
|
-
success_criteria: {
|
|
1990
|
-
id: string;
|
|
1991
|
-
text: string;
|
|
1992
|
-
required: boolean;
|
|
1993
|
-
}[];
|
|
1994
|
-
non_goals: string[];
|
|
1995
|
-
forbidden_approaches: string[];
|
|
1996
|
-
decided_tradeoffs: string[];
|
|
1997
|
-
task_graph: {
|
|
1998
|
-
nodes: {
|
|
1999
|
-
id: string;
|
|
2000
|
-
title: string;
|
|
2001
|
-
depends_on: string[];
|
|
2002
|
-
}[];
|
|
2003
|
-
order: string[];
|
|
2004
|
-
} | null;
|
|
2005
1763
|
tests: {
|
|
2006
1764
|
commands: {
|
|
2007
1765
|
id: string;
|
|
1766
|
+
args: string[];
|
|
2008
1767
|
required: boolean;
|
|
2009
1768
|
program: string;
|
|
2010
|
-
args: string[];
|
|
2011
1769
|
envAllowlist: string[];
|
|
2012
1770
|
trust_required: boolean;
|
|
2013
1771
|
trust_grant: {
|
|
@@ -2046,16 +1804,11 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
2046
1804
|
require_final_diff_stable_after_review: boolean;
|
|
2047
1805
|
require_no_accepted_needs_human_open: boolean;
|
|
2048
1806
|
};
|
|
2049
|
-
spec?: {
|
|
2050
|
-
path?: string | undefined;
|
|
2051
|
-
hash?: string | undefined;
|
|
2052
|
-
id?: string | undefined;
|
|
2053
|
-
} | undefined;
|
|
2054
1807
|
instructions?: string | undefined;
|
|
2055
1808
|
}, {
|
|
2056
1809
|
created_at: string;
|
|
2057
1810
|
mode: {
|
|
2058
|
-
kind: "ask" | "plan" | "
|
|
1811
|
+
kind: "ask" | "plan" | "agent";
|
|
2059
1812
|
};
|
|
2060
1813
|
schema_version: 2;
|
|
2061
1814
|
repo: {
|
|
@@ -2069,11 +1822,6 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
2069
1822
|
raw: string;
|
|
2070
1823
|
normalized?: string | undefined;
|
|
2071
1824
|
};
|
|
2072
|
-
spec?: {
|
|
2073
|
-
path?: string | undefined;
|
|
2074
|
-
hash?: string | undefined;
|
|
2075
|
-
id?: string | undefined;
|
|
2076
|
-
} | undefined;
|
|
2077
1825
|
instructions?: string | undefined;
|
|
2078
1826
|
constraints?: {
|
|
2079
1827
|
protected_paths?: string[] | undefined;
|
|
@@ -2097,29 +1845,13 @@ export declare const FrozenTaskContractArtifact: z.ZodPipeline<z.ZodObject<{
|
|
|
2097
1845
|
auth_preference?: "auto" | "subscription" | "api_key" | undefined;
|
|
2098
1846
|
output_schema?: Record<string, unknown> | null | undefined;
|
|
2099
1847
|
credential_profile_id?: string | null | undefined;
|
|
2100
|
-
success_criteria?: {
|
|
2101
|
-
id: string;
|
|
2102
|
-
text: string;
|
|
2103
|
-
required?: boolean | undefined;
|
|
2104
|
-
}[] | undefined;
|
|
2105
|
-
non_goals?: string[] | undefined;
|
|
2106
|
-
forbidden_approaches?: string[] | undefined;
|
|
2107
|
-
decided_tradeoffs?: string[] | undefined;
|
|
2108
|
-
task_graph?: {
|
|
2109
|
-
nodes?: {
|
|
2110
|
-
id: string;
|
|
2111
|
-
title?: string | undefined;
|
|
2112
|
-
depends_on?: string[] | undefined;
|
|
2113
|
-
}[] | undefined;
|
|
2114
|
-
order?: string[] | undefined;
|
|
2115
|
-
} | null | undefined;
|
|
2116
1848
|
tests?: {
|
|
2117
1849
|
commands?: {
|
|
2118
1850
|
id: string;
|
|
2119
1851
|
program: string;
|
|
1852
|
+
args?: string[] | undefined;
|
|
2120
1853
|
cwd?: string | undefined;
|
|
2121
1854
|
required?: boolean | undefined;
|
|
2122
|
-
args?: string[] | undefined;
|
|
2123
1855
|
envAllowlist?: string[] | undefined;
|
|
2124
1856
|
trust_required?: boolean | undefined;
|
|
2125
1857
|
trust_grant?: {
|