@oisincoveney/pipeline 3.24.2 → 4.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/README.md +14 -2
- package/defaults/pipeline.yaml +23 -5
- package/defaults/profiles.yaml +104 -21
- package/dist/argo-graph.js +90 -88
- package/dist/argo-submit.d.ts +110 -138
- package/dist/argo-submit.js +363 -378
- package/dist/argo-workflow.d.ts +156 -177
- package/dist/argo-workflow.js +96 -138
- package/dist/backlog.js +5 -4
- package/dist/bench/eval-report.js +21 -12
- package/dist/claude-settings-config.js +23 -31
- package/dist/claude-user-config.js +6 -16
- package/dist/cli/bootstrap-commands.js +3 -3
- package/dist/cli/doctor.d.ts +1 -1
- package/dist/cli/doctor.js +176 -171
- package/dist/cli/factory-commands.js +13 -13
- package/dist/cli/format.js +92 -86
- package/dist/cli/loop-commands.js +21 -21
- package/dist/cli/mcp-gateway-commands.js +12 -12
- package/dist/cli/plan-commands.js +85 -116
- package/dist/cli/program.d.ts +3 -3
- package/dist/cli/program.js +41 -43
- package/dist/cli/run-command.d.ts +1 -1
- package/dist/cli/run-command.js +25 -25
- package/dist/cli/run-commands.js +31 -29
- package/dist/cli/run-resolver.d.ts +1 -1
- package/dist/cli/run-resolver.js +30 -32
- package/dist/cli/run-service.d.ts +2 -3
- package/dist/cli/run-service.js +229 -239
- package/dist/cli/submit-options.js +85 -83
- package/dist/cluster-doctor.js +147 -175
- package/dist/codex-config.js +24 -30
- package/dist/commands/bench-command.js +9 -7
- package/dist/commands/coordinator-command.js +35 -0
- package/dist/commands/pipeline-command.js +13 -7
- package/dist/commands/runner-command-command.js +39 -24
- package/dist/commands/runner-node-command.js +31 -0
- package/dist/commands/ticket/complete.js +29 -33
- package/dist/commands/ticket/create.js +84 -82
- package/dist/commands/ticket/graph-check.js +11 -11
- package/dist/commands/ticket/next.js +36 -36
- package/dist/commands/ticket/sequence.js +11 -12
- package/dist/commands/ticket/shared.d.ts +5 -2
- package/dist/commands/ticket/shared.js +63 -66
- package/dist/commands/ticket/start.js +58 -67
- package/dist/commands/ticket-command.js +2 -2
- package/dist/config/defaults.d.ts +139 -140
- package/dist/config/defaults.js +81 -80
- package/dist/config/lint.js +52 -64
- package/dist/config/load.d.ts +4 -5
- package/dist/config/load.js +64 -74
- package/dist/config/schema/catalog.d.ts +2 -1
- package/dist/config/schema/catalog.js +3 -2
- package/dist/config/schema/mcp.js +46 -52
- package/dist/config/schemas.d.ts +382 -528
- package/dist/config/schemas.js +400 -398
- package/dist/config/validate.d.ts +1 -2
- package/dist/config/validate.js +236 -201
- package/dist/config.d.ts +2 -2
- package/dist/context/repo-map.js +105 -119
- package/dist/coordinator/composition.js +169 -0
- package/dist/coordinator/config.js +71 -0
- package/dist/coordinator/run-owner.js +64 -0
- package/dist/coordinator/wave-advance.js +148 -0
- package/dist/coordinator/wave-scheduler.js +50 -0
- package/dist/credentials/broker.d.ts +6 -8
- package/dist/credentials/broker.js +17 -16
- package/dist/credentials/codex-config.js +15 -19
- package/dist/credentials/file-targets.js +9 -15
- package/dist/credentials/local-codex-auth-sync.js +55 -58
- package/dist/credentials/opencode-config.js +28 -32
- package/dist/credentials/runner.js +13 -13
- package/dist/effect-sync-errors.js +28 -0
- package/dist/factory/create-experiment.js +285 -121
- package/dist/factory/exec.js +10 -12
- package/dist/factory/git-credentials.js +4 -4
- package/dist/factory/stamp-answers.js +10 -11
- package/dist/factory/template-update.js +65 -44
- package/dist/factory-lane.d.ts +26 -40
- package/dist/factory-lane.js +26 -25
- package/dist/gates.js +3 -3
- package/dist/git-remote-url.js +17 -19
- package/dist/hooks.d.ts +26 -26
- package/dist/hooks.js +20 -22
- package/dist/index.d.ts +4 -3
- package/dist/index.js +27 -36
- package/dist/install-commands/claude-code.js +100 -92
- package/dist/install-commands/host-selection.js +3 -6
- package/dist/install-commands/opencode.js +264 -259
- package/dist/install-commands/planner.js +163 -181
- package/dist/install-commands/result-format.js +1 -3
- package/dist/install-commands/shared.js +25 -42
- package/dist/install-commands/writer.js +22 -25
- package/dist/install-commands.js +8 -8
- package/dist/jscpd-output.js +29 -0
- package/dist/json-config-merge.js +14 -20
- package/dist/json-line-values.js +17 -6
- package/dist/loop/argo-poll.d.ts +0 -1
- package/dist/loop/argo-poll.js +15 -95
- package/dist/loop/backlog-records.js +1 -3
- package/dist/loop/controller-deps.js +150 -161
- package/dist/loop/controller.js +164 -186
- package/dist/loop/gh-checks.js +62 -61
- package/dist/loop/gh-runner.js +22 -25
- package/dist/loop/loop-command.js +66 -58
- package/dist/loop/loop-controller-entrypoint.js +29 -30
- package/dist/loop/merge.js +36 -40
- package/dist/loop/run-terminal-poll.js +69 -0
- package/dist/mcp/gateway-config.js +25 -29
- package/dist/mcp/gateway-doctor.js +77 -119
- package/dist/mcp/gateway-reconcile.js +17 -22
- package/dist/mcp/gateway-runtime.js +1 -3
- package/dist/mcp/host-config.js +37 -40
- package/dist/mcp/host-renderers.js +10 -18
- package/dist/mcp/repo-local-backends.js +51 -54
- package/dist/mcp/toolhive-vmcp.js +39 -39
- package/dist/model-resolver.js +29 -33
- package/dist/moka-global-config.d.ts +78 -55
- package/dist/moka-global-config.js +93 -92
- package/dist/moka-submit.d.ts +2179 -866
- package/dist/moka-submit.js +97 -99
- package/dist/opencode-project-config.js +34 -40
- package/dist/package-assets.js +1 -3
- package/dist/path-refs.js +2 -2
- package/dist/pipeline-init.js +25 -25
- package/dist/pipeline-runtime.d.ts +15 -14
- package/dist/pipeline-runtime.js +51 -50
- package/dist/planned-node.js +6 -3
- package/dist/planning/compile.d.ts +5 -5
- package/dist/planning/compile.js +140 -139
- package/dist/planning/dependency-refs.js +5 -5
- package/dist/planning/generate.d.ts +1296 -1296
- package/dist/planning/generate.js +307 -314
- package/dist/planning/graph.d.ts +0 -1
- package/dist/planning/graph.js +131 -149
- package/dist/remote/argo/model.d.ts +104 -122
- package/dist/remote/argo/model.js +205 -197
- package/dist/remote/argo/policy.js +39 -47
- package/dist/remote/argo/storage.js +81 -85
- package/dist/remote/jobs/execution-identity.js +70 -0
- package/dist/remote/jobs/job-outcome.js +108 -0
- package/dist/remote/jobs/manifest.js +96 -0
- package/dist/remote/jobs/model.d.ts +158 -0
- package/dist/remote/jobs/model.js +162 -0
- package/dist/remote/jobs/node-bootstrap.js +213 -0
- package/dist/remote/jobs/policy.js +123 -0
- package/dist/remote/jobs/reconcile.js +100 -0
- package/dist/remote/jobs/run-spec-client.js +64 -0
- package/dist/remote/jobs/run-spec-path.js +31 -0
- package/dist/remote/jobs/run-spec-server.d.ts +34 -0
- package/dist/remote/jobs/run-spec-server.js +116 -0
- package/dist/remote/jobs/submit.d.ts +23 -0
- package/dist/remote/jobs/submit.js +116 -0
- package/dist/remote/jobs/watch.js +59 -0
- package/dist/remote/submit/argo-submission.d.ts +3 -1
- package/dist/remote/submit/argo-submission.js +53 -58
- package/dist/remote/submit/compilation.d.ts +2 -0
- package/dist/remote/submit/compilation.js +46 -49
- package/dist/remote/submit/event-boundary.js +62 -76
- package/dist/remote/submit/hook-events.d.ts +6 -0
- package/dist/remote/submit/io.d.ts +7 -1
- package/dist/remote/submit/io.js +40 -43
- package/dist/remote/submit/jobs-submission.d.ts +59 -0
- package/dist/remote/submit/jobs-submission.js +97 -0
- package/dist/remote/submit/jobs-submit-result.d.ts +25 -0
- package/dist/remote/submit/jobs-submit-result.js +34 -0
- package/dist/remote/submit/options.d.ts +49 -0
- package/dist/remote/submit/options.js +27 -0
- package/dist/remote/submit/service.d.ts +40 -1
- package/dist/remote/submit/service.js +67 -49
- package/dist/run-control/command-context.js +6 -8
- package/dist/run-control/commands.js +10 -10
- package/dist/run-control/contracts.d.ts +52 -101
- package/dist/run-control/contracts.js +83 -69
- package/dist/run-control/detach.js +66 -72
- package/dist/run-control/execution-store.js +0 -0
- package/dist/run-control/file-errors.js +1 -3
- package/dist/run-control/logical-segment.js +3 -3
- package/dist/run-control/next-node.js +67 -78
- package/dist/run-control/postgres/postgres-run-control-store.js +196 -225
- package/dist/run-control/resume-command.js +34 -41
- package/dist/run-control/run-artifacts-command.js +84 -105
- package/dist/run-control/run-command-domain.js +7 -11
- package/dist/run-control/run-control-store.js +9 -9
- package/dist/run-control/run-query-command.js +73 -100
- package/dist/run-control/run-record.js +5 -3
- package/dist/run-control/run-state-lock.js +5 -5
- package/dist/run-control/runtime-event-projection.js +38 -50
- package/dist/run-control/runtime-reporter.js +86 -102
- package/dist/run-control/stop-command.js +42 -53
- package/dist/run-control/store-fs-effects.js +3 -1
- package/dist/run-control/store-manifest.js +38 -13
- package/dist/run-control/store-paths.js +3 -3
- package/dist/run-control/store.js +1 -1
- package/dist/run-control/submit-result.js +21 -21
- package/dist/run-control/supervisor.js +78 -68
- package/dist/run-control/workspace.js +2 -2
- package/dist/run-state/git-refs.js +258 -307
- package/dist/runner/opencode-excludes.js +4 -4
- package/dist/runner/subprocess-result.js +28 -37
- package/dist/runner/subprocess.js +41 -41
- package/dist/runner/timeouts.js +14 -13
- package/dist/runner-command/dynamic-command.js +46 -39
- package/dist/runner-command/environment-commands.js +91 -0
- package/dist/runner-command/finalize.js +174 -153
- package/dist/runner-command/lifecycle-context.js +115 -130
- package/dist/runner-command/lifecycle.js +78 -72
- package/dist/runner-command/pre-schedule.js +203 -223
- package/dist/runner-command/run.js +450 -448
- package/dist/runner-command/schedule-source-options.js +8 -10
- package/dist/runner-command/select-ready-wave.js +39 -30
- package/dist/runner-command/task-descriptor.js +11 -17
- package/dist/runner-command-contract.d.ts +147 -157
- package/dist/runner-command-contract.js +403 -411
- package/dist/runner-event-schema.d.ts +364 -505
- package/dist/runner-event-schema.js +187 -175
- package/dist/runner-event-sink.js +37 -43
- package/dist/runner-output.js +6 -6
- package/dist/runner.d.ts +57 -37
- package/dist/runner.js +176 -127
- package/dist/runtime/actor-ids.d.ts +1 -0
- package/dist/runtime/actor-ids.js +2 -2
- package/dist/runtime/agent-node/agent-node.js +99 -110
- package/dist/runtime/agent-node/handoff-finalization.js +23 -24
- package/dist/runtime/agent-node/model-selection.js +19 -22
- package/dist/runtime/agent-node/output-finalization.js +174 -204
- package/dist/runtime/agent-node/prompt-rendering.js +208 -251
- package/dist/runtime/agent-node/session-execution.js +43 -39
- package/dist/runtime/builtins/builtins.js +218 -284
- package/dist/runtime/changed-files/changed-files.js +29 -34
- package/dist/runtime/command-executor/command-executor.js +31 -23
- package/dist/runtime/config-error.js +1 -3
- package/dist/runtime/context/context.js +35 -37
- package/dist/runtime/contracts/contracts.d.ts +3 -0
- package/dist/runtime/contracts/index.d.ts +1 -1
- package/dist/runtime/detached-race.js +11 -14
- package/dist/runtime/drain-merge/drain-merge.js +139 -164
- package/dist/runtime/durable-store/acquisition.js +5 -3
- package/dist/runtime/durable-store/durable-store.d.ts +3 -1
- package/dist/runtime/durable-store/postgres/client.js +29 -0
- package/dist/runtime/durable-store/postgres/migrate-substrate.js +34 -29
- package/dist/runtime/durable-store/postgres/postgres-store.js +18 -20
- package/dist/runtime/events/events.js +273 -331
- package/dist/runtime/events/index.js +2 -2
- package/dist/runtime/execution-envelope.js +44 -0
- package/dist/runtime/gates/adjudication/llm-judge.js +21 -24
- package/dist/runtime/gates/adjudication/structured-claim.js +15 -16
- package/dist/runtime/gates/adjudicator/adjudicator.js +27 -27
- package/dist/runtime/gates/adjudicator/index.js +2 -2
- package/dist/runtime/gates/contract.js +5 -9
- package/dist/runtime/gates/gates.js +9 -8
- package/dist/runtime/gates/kinds/acceptance/acceptance.js +68 -71
- package/dist/runtime/gates/kinds/acceptance/index.js +2 -2
- package/dist/runtime/gates/kinds/artifact/artifact.js +4 -4
- package/dist/runtime/gates/kinds/artifact/index.js +2 -2
- package/dist/runtime/gates/kinds/builtin/builtin.js +4 -4
- package/dist/runtime/gates/kinds/builtin/index.js +2 -2
- package/dist/runtime/gates/kinds/changed-files/changed-files.js +31 -35
- package/dist/runtime/gates/kinds/changed-files/index.js +2 -2
- package/dist/runtime/gates/kinds/command/command.js +3 -3
- package/dist/runtime/gates/kinds/command/index.js +2 -2
- package/dist/runtime/gates/kinds/json-schema/index.js +2 -2
- package/dist/runtime/gates/kinds/json-schema/json-schema.js +7 -6
- package/dist/runtime/gates/kinds/verdict/index.js +2 -2
- package/dist/runtime/gates/kinds/verdict/verdict.js +3 -3
- package/dist/runtime/gates/orchestrator.js +72 -86
- package/dist/runtime/gates/registry.js +1 -3
- package/dist/runtime/handoff.d.ts +2 -1
- package/dist/runtime/handoff.js +43 -46
- package/dist/runtime/hooks/command-hook.js +57 -71
- package/dist/runtime/hooks/context.js +21 -25
- package/dist/runtime/hooks/events.js +84 -100
- package/dist/runtime/hooks/execution.js +6 -12
- package/dist/runtime/hooks/hooks.js +34 -23
- package/dist/runtime/hooks/invocation.js +23 -29
- package/dist/runtime/hooks/module-hook.js +36 -35
- package/dist/runtime/hooks/policy.js +32 -29
- package/dist/runtime/hooks/results.js +56 -66
- package/dist/runtime/journal-acquisition.d.ts +3 -2
- package/dist/runtime/journal-acquisition.js +14 -14
- package/dist/runtime/json-validation/json-validation.js +51 -72
- package/dist/runtime/launch-plan-args.js +39 -0
- package/dist/runtime/local-scheduler.js +46 -48
- package/dist/runtime/node-execution.js +376 -445
- package/dist/runtime/node-protocol/node-protocol.js +36 -79
- package/dist/runtime/node-state-store.d.ts +4 -1
- package/dist/runtime/node-state-store.js +13 -57
- package/dist/runtime/node-state-tracker.js +46 -54
- package/dist/runtime/open-pull-request/open-pull-request.js +201 -187
- package/dist/runtime/opencode-adapter.js +23 -24
- package/dist/runtime/opencode-agent-name.js +6 -6
- package/dist/runtime/opencode-runtime.js +115 -93
- package/dist/runtime/opencode-server.js +39 -53
- package/dist/runtime/opencode-session-executor.js +312 -344
- package/dist/runtime/parallel-node/parallel-node.js +123 -134
- package/dist/runtime/parallel-worktrees/parallel-worktrees.js +90 -73
- package/dist/runtime/protected-paths/protected-paths.js +70 -71
- package/dist/runtime/remediation/remediation.js +202 -231
- package/dist/runtime/retry.js +8 -10
- package/dist/runtime/run-journal.d.ts +2 -0
- package/dist/runtime/run-journal.js +7 -7
- package/dist/runtime/runtime-results.js +54 -69
- package/dist/runtime/scheduled-dependencies.d.ts +2 -1
- package/dist/runtime/scheduled-dependencies.js +61 -75
- package/dist/runtime/scheduler.js +179 -202
- package/dist/runtime/services/agent-node-runtime-service.js +3 -3
- package/dist/runtime/services/backlog-service.d.ts +1 -2
- package/dist/runtime/services/backlog-service.js +8 -14
- package/dist/runtime/services/command-executor-service.js +1 -1
- package/dist/runtime/services/config-io-service.js +24 -21
- package/dist/runtime/services/drain-merge-git-service.js +1 -1
- package/dist/runtime/services/file-system-service.js +9 -7
- package/dist/runtime/services/git-porcelain-service.js +6 -6
- package/dist/runtime/services/kubernetes-argo-service.d.ts +10 -3
- package/dist/runtime/services/kubernetes-argo-service.js +90 -84
- package/dist/runtime/services/kubernetes-jobs-read-service.js +115 -0
- package/dist/runtime/services/kubernetes-jobs-service.d.ts +37 -0
- package/dist/runtime/services/kubernetes-jobs-service.js +45 -0
- package/dist/runtime/services/kubernetes-jobs-watch-service.js +61 -0
- package/dist/runtime/services/kubernetes-lease-service.js +21 -0
- package/dist/runtime/services/mcp-gateway-service.js +143 -94
- package/dist/runtime/services/open-pull-request-git-service.js +1 -3
- package/dist/runtime/services/opencode-runtime-server-service.js +10 -12
- package/dist/runtime/services/opencode-sdk-service.js +7 -7
- package/dist/runtime/services/repo-io-service.js +10 -12
- package/dist/runtime/services/run-journal-file-service.js +2 -2
- package/dist/runtime/services/runner-command-io-service.js +48 -52
- package/dist/runtime/services/runner-event-sink-http-service.js +32 -39
- package/dist/runtime/step/step-node.js +15 -15
- package/dist/runtime/workflow-execution.js +56 -57
- package/dist/runtime/workflow-lifecycle.js +82 -101
- package/dist/runtime/yeet-event-record.js +104 -0
- package/dist/runtime/yeet-executor.js +184 -0
- package/dist/safe-json.js +16 -16
- package/dist/schedule/backlog-context.js +122 -116
- package/dist/schedule/baseline.js +249 -255
- package/dist/schedule/passes/coverage.js +63 -68
- package/dist/schedule/passes/drain-merge.js +34 -40
- package/dist/schedule/passes/ids.js +15 -17
- package/dist/schedule/passes/models.js +40 -37
- package/dist/schedule/passes/open-pull-request.js +16 -20
- package/dist/schedule/passes/references.js +18 -22
- package/dist/schedule/prompts.js +135 -141
- package/dist/schedule/scheduling-roles.js +8 -14
- package/dist/schema-boundary.d.ts +4 -0
- package/dist/schema-boundary.js +145 -0
- package/dist/serialized-write-queue.js +2 -2
- package/dist/standard-output-schemas.js +61 -59
- package/dist/strings.js +12 -12
- package/dist/task-ref.js +5 -5
- package/dist/tickets/apply-ticket-plan.js +52 -61
- package/dist/tickets/backlog-task-store.d.ts +15 -23
- package/dist/tickets/backlog-task-store.js +82 -94
- package/dist/tickets/completion/complete-ticket.js +53 -59
- package/dist/tickets/ticket-graph-dto.d.ts +24 -48
- package/dist/tickets/ticket-graph-dto.js +40 -40
- package/dist/tickets/ticket-graph.d.ts +7 -2
- package/dist/tickets/ticket-graph.js +36 -50
- package/dist/tickets/ticket-plan-command-args.js +6 -10
- package/dist/tickets/ticket-plan-render.js +10 -16
- package/dist/tickets/ticket-plan.d.ts +32 -41
- package/dist/tickets/ticket-plan.js +97 -77
- package/dist/tickets/ticket-selection.d.ts +3 -1
- package/dist/tickets/ticket-selection.js +37 -52
- package/dist/tickets/ticket-task-index.js +13 -17
- package/dist/tickets/validation-error-format.js +3 -10
- package/dist/token-estimator.js +12 -7
- package/dist/unknown-fields.js +21 -0
- package/dist/workflow-submit-contract.d.ts +9 -10
- package/dist/workflow-submit-contract.js +10 -9
- package/docs/adr-moka-postgres-schema-isolation.md +48 -0
- package/docs/adr-opencode-first-goal-loop-runtime.md +11 -11
- package/docs/config-architecture.md +13 -13
- package/docs/mcp-host-isolation.md +1 -0
- package/docs/moka-orchestrator-design.md +3 -3
- package/docs/operator-guide.md +1 -1
- package/docs/pipeline-console-runner-contract.md +10 -6
- package/docs/runtime-actor-model.md +18 -18
- package/docs/runtime-test-subsystems.md +200 -0
- package/docs/slash-command-adapter-contract.md +3 -3
- package/package.json +49 -85
- package/dist/config/schema/reference-validation.js +0 -83
|
@@ -1,1587 +1,1587 @@
|
|
|
1
1
|
import { PipelineConfig } from "../config/schemas.js";
|
|
2
|
+
import "../config.js";
|
|
2
3
|
import { WorkflowExecutionPlan } from "./compile.js";
|
|
3
4
|
import { AgentResult, RunnerExecutionOptions, RunnerLaunchPlan } from "../runner.js";
|
|
4
5
|
import { TicketPlan } from "../tickets/ticket-plan.js";
|
|
5
|
-
import
|
|
6
|
-
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
7
|
//#region src/planning/generate.d.ts
|
|
8
|
-
declare const scheduleArtifactSchema:
|
|
9
|
-
generated_at:
|
|
10
|
-
kind:
|
|
11
|
-
root_workflow:
|
|
12
|
-
schedule_id:
|
|
13
|
-
source_entrypoint:
|
|
14
|
-
task:
|
|
15
|
-
version:
|
|
16
|
-
workflows:
|
|
17
|
-
description:
|
|
18
|
-
execution:
|
|
19
|
-
fail_fast:
|
|
20
|
-
max_parallel_nodes:
|
|
21
|
-
timeout_ms:
|
|
22
|
-
}
|
|
23
|
-
nodes:
|
|
24
|
-
artifacts?: {
|
|
25
|
-
path: string;
|
|
26
|
-
required?: boolean | undefined;
|
|
8
|
+
declare const scheduleArtifactSchema: Schema.Struct<{
|
|
9
|
+
readonly generated_at: Schema.NonEmptyString;
|
|
10
|
+
readonly kind: Schema.Literal<"pipeline-schedule">;
|
|
11
|
+
readonly root_workflow: Schema.String;
|
|
12
|
+
readonly schedule_id: Schema.String;
|
|
13
|
+
readonly source_entrypoint: Schema.String;
|
|
14
|
+
readonly task: Schema.NonEmptyString;
|
|
15
|
+
readonly version: Schema.Literal<1>;
|
|
16
|
+
readonly workflows: Schema.$Record<Schema.String, Schema.Struct<{
|
|
17
|
+
readonly description: Schema.optional<Schema.String>;
|
|
18
|
+
readonly execution: Schema.optional<Schema.Struct<{
|
|
19
|
+
readonly fail_fast: Schema.optional<Schema.Boolean>;
|
|
20
|
+
readonly max_parallel_nodes: Schema.optional<Schema.Number>;
|
|
21
|
+
readonly timeout_ms: Schema.optional<Schema.Number>;
|
|
22
|
+
}>>;
|
|
23
|
+
readonly nodes: Schema.mutable<Schema.$Array<Schema.Codec<({
|
|
24
|
+
readonly artifacts?: {
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly required?: boolean | undefined;
|
|
27
27
|
}[] | undefined;
|
|
28
|
-
gates?: ({
|
|
29
|
-
id?: string | undefined;
|
|
30
|
-
required?: boolean | undefined;
|
|
31
|
-
path?: string | undefined;
|
|
32
|
-
target?: "artifact" | "stdout" | undefined;
|
|
33
|
-
acceptance_key?: string | undefined;
|
|
34
|
-
kind: "acceptance";
|
|
28
|
+
readonly gates?: ({
|
|
29
|
+
readonly id?: string | undefined;
|
|
30
|
+
readonly required?: boolean | undefined;
|
|
31
|
+
readonly path?: string | undefined;
|
|
32
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
33
|
+
readonly acceptance_key?: string | undefined;
|
|
34
|
+
readonly kind: "acceptance";
|
|
35
35
|
} | {
|
|
36
|
-
id?: string | undefined;
|
|
37
|
-
required?: boolean | undefined;
|
|
38
|
-
kind: "artifact";
|
|
39
|
-
path: string;
|
|
36
|
+
readonly id?: string | undefined;
|
|
37
|
+
readonly required?: boolean | undefined;
|
|
38
|
+
readonly kind: "artifact";
|
|
39
|
+
readonly path: string;
|
|
40
40
|
} | {
|
|
41
|
-
id?: string | undefined;
|
|
42
|
-
required?: boolean | undefined;
|
|
43
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
44
|
-
kind: "builtin";
|
|
41
|
+
readonly id?: string | undefined;
|
|
42
|
+
readonly required?: boolean | undefined;
|
|
43
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
44
|
+
readonly kind: "builtin";
|
|
45
45
|
} | {
|
|
46
|
-
id?: string | undefined;
|
|
47
|
-
required?: boolean | undefined;
|
|
48
|
-
changed_files: {
|
|
49
|
-
allow?: string[] | undefined;
|
|
50
|
-
deny?: string[] | undefined;
|
|
51
|
-
include_untracked?: boolean | undefined;
|
|
52
|
-
require_any?: string[] | undefined;
|
|
46
|
+
readonly id?: string | undefined;
|
|
47
|
+
readonly required?: boolean | undefined;
|
|
48
|
+
readonly changed_files: {
|
|
49
|
+
readonly allow?: string[] | undefined;
|
|
50
|
+
readonly deny?: string[] | undefined;
|
|
51
|
+
readonly include_untracked?: boolean | undefined;
|
|
52
|
+
readonly require_any?: string[] | undefined;
|
|
53
53
|
};
|
|
54
|
-
kind: "changed_files";
|
|
54
|
+
readonly kind: "changed_files";
|
|
55
55
|
} | {
|
|
56
|
-
id?: string | undefined;
|
|
57
|
-
required?: boolean | undefined;
|
|
58
|
-
command: string[];
|
|
59
|
-
expect_exit_code?: number | undefined;
|
|
60
|
-
kind: "command";
|
|
61
|
-
timeout_ms?: number | undefined;
|
|
56
|
+
readonly id?: string | undefined;
|
|
57
|
+
readonly required?: boolean | undefined;
|
|
58
|
+
readonly command: string[];
|
|
59
|
+
readonly expect_exit_code?: number | undefined;
|
|
60
|
+
readonly kind: "command";
|
|
61
|
+
readonly timeout_ms?: number | undefined;
|
|
62
62
|
} | {
|
|
63
|
-
id?: string | undefined;
|
|
64
|
-
required?: boolean | undefined;
|
|
65
|
-
path?: string | undefined;
|
|
66
|
-
target?: "artifact" | "stdout" | undefined;
|
|
67
|
-
kind: "json_schema";
|
|
68
|
-
schema_path: string;
|
|
63
|
+
readonly id?: string | undefined;
|
|
64
|
+
readonly required?: boolean | undefined;
|
|
65
|
+
readonly path?: string | undefined;
|
|
66
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
67
|
+
readonly kind: "json_schema";
|
|
68
|
+
readonly schema_path: string;
|
|
69
69
|
} | {
|
|
70
|
-
id?: string | undefined;
|
|
71
|
-
required?: boolean | undefined;
|
|
72
|
-
path?: string | undefined;
|
|
73
|
-
target?: "artifact" | "stdout" | undefined;
|
|
74
|
-
equals?: string | undefined;
|
|
75
|
-
field?: string | undefined;
|
|
76
|
-
kind: "verdict";
|
|
70
|
+
readonly id?: string | undefined;
|
|
71
|
+
readonly required?: boolean | undefined;
|
|
72
|
+
readonly path?: string | undefined;
|
|
73
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
74
|
+
readonly equals?: string | undefined;
|
|
75
|
+
readonly field?: string | undefined;
|
|
76
|
+
readonly kind: "verdict";
|
|
77
77
|
})[] | undefined;
|
|
78
|
-
id: string;
|
|
79
|
-
models?: string[] | undefined;
|
|
80
|
-
needs?: string[] | undefined;
|
|
81
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
82
|
-
retries?: {
|
|
83
|
-
backoff_ms?: number | undefined;
|
|
84
|
-
max_attempts: number;
|
|
85
|
-
multiplier?: number | undefined;
|
|
86
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
78
|
+
readonly id: string;
|
|
79
|
+
readonly models?: string[] | undefined;
|
|
80
|
+
readonly needs?: string[] | undefined;
|
|
81
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
82
|
+
readonly retries?: {
|
|
83
|
+
readonly backoff_ms?: number | undefined;
|
|
84
|
+
readonly max_attempts: number;
|
|
85
|
+
readonly multiplier?: number | undefined;
|
|
86
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
87
87
|
} | undefined;
|
|
88
|
-
task_context?: {
|
|
89
|
-
acceptance_criteria?: {
|
|
90
|
-
id:
|
|
91
|
-
text:
|
|
92
|
-
}[] | undefined;
|
|
93
|
-
description?: string | undefined;
|
|
94
|
-
id?: string | undefined;
|
|
95
|
-
title?: string | undefined;
|
|
88
|
+
readonly task_context?: {
|
|
89
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
90
|
+
readonly id: Schema.NonEmptyString;
|
|
91
|
+
readonly text: Schema.NonEmptyString;
|
|
92
|
+
}, "Type">[] | undefined;
|
|
93
|
+
readonly description?: string | undefined;
|
|
94
|
+
readonly id?: string | undefined;
|
|
95
|
+
readonly title?: string | undefined;
|
|
96
96
|
} | undefined;
|
|
97
|
-
timeout_ms?: number | undefined;
|
|
97
|
+
readonly timeout_ms?: number | undefined;
|
|
98
98
|
} & {
|
|
99
99
|
category?: string;
|
|
100
100
|
kind: "agent";
|
|
101
101
|
profile: string;
|
|
102
102
|
}) | ({
|
|
103
|
-
artifacts?: {
|
|
104
|
-
path: string;
|
|
105
|
-
required?: boolean | undefined;
|
|
103
|
+
readonly artifacts?: {
|
|
104
|
+
readonly path: string;
|
|
105
|
+
readonly required?: boolean | undefined;
|
|
106
106
|
}[] | undefined;
|
|
107
|
-
gates?: ({
|
|
108
|
-
id?: string | undefined;
|
|
109
|
-
required?: boolean | undefined;
|
|
110
|
-
path?: string | undefined;
|
|
111
|
-
target?: "artifact" | "stdout" | undefined;
|
|
112
|
-
acceptance_key?: string | undefined;
|
|
113
|
-
kind: "acceptance";
|
|
107
|
+
readonly gates?: ({
|
|
108
|
+
readonly id?: string | undefined;
|
|
109
|
+
readonly required?: boolean | undefined;
|
|
110
|
+
readonly path?: string | undefined;
|
|
111
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
112
|
+
readonly acceptance_key?: string | undefined;
|
|
113
|
+
readonly kind: "acceptance";
|
|
114
114
|
} | {
|
|
115
|
-
id?: string | undefined;
|
|
116
|
-
required?: boolean | undefined;
|
|
117
|
-
kind: "artifact";
|
|
118
|
-
path: string;
|
|
115
|
+
readonly id?: string | undefined;
|
|
116
|
+
readonly required?: boolean | undefined;
|
|
117
|
+
readonly kind: "artifact";
|
|
118
|
+
readonly path: string;
|
|
119
119
|
} | {
|
|
120
|
-
id?: string | undefined;
|
|
121
|
-
required?: boolean | undefined;
|
|
122
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
123
|
-
kind: "builtin";
|
|
120
|
+
readonly id?: string | undefined;
|
|
121
|
+
readonly required?: boolean | undefined;
|
|
122
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
123
|
+
readonly kind: "builtin";
|
|
124
124
|
} | {
|
|
125
|
-
id?: string | undefined;
|
|
126
|
-
required?: boolean | undefined;
|
|
127
|
-
changed_files: {
|
|
128
|
-
allow?: string[] | undefined;
|
|
129
|
-
deny?: string[] | undefined;
|
|
130
|
-
include_untracked?: boolean | undefined;
|
|
131
|
-
require_any?: string[] | undefined;
|
|
125
|
+
readonly id?: string | undefined;
|
|
126
|
+
readonly required?: boolean | undefined;
|
|
127
|
+
readonly changed_files: {
|
|
128
|
+
readonly allow?: string[] | undefined;
|
|
129
|
+
readonly deny?: string[] | undefined;
|
|
130
|
+
readonly include_untracked?: boolean | undefined;
|
|
131
|
+
readonly require_any?: string[] | undefined;
|
|
132
132
|
};
|
|
133
|
-
kind: "changed_files";
|
|
133
|
+
readonly kind: "changed_files";
|
|
134
134
|
} | {
|
|
135
|
-
id?: string | undefined;
|
|
136
|
-
required?: boolean | undefined;
|
|
137
|
-
command: string[];
|
|
138
|
-
expect_exit_code?: number | undefined;
|
|
139
|
-
kind: "command";
|
|
140
|
-
timeout_ms?: number | undefined;
|
|
135
|
+
readonly id?: string | undefined;
|
|
136
|
+
readonly required?: boolean | undefined;
|
|
137
|
+
readonly command: string[];
|
|
138
|
+
readonly expect_exit_code?: number | undefined;
|
|
139
|
+
readonly kind: "command";
|
|
140
|
+
readonly timeout_ms?: number | undefined;
|
|
141
141
|
} | {
|
|
142
|
-
id?: string | undefined;
|
|
143
|
-
required?: boolean | undefined;
|
|
144
|
-
path?: string | undefined;
|
|
145
|
-
target?: "artifact" | "stdout" | undefined;
|
|
146
|
-
kind: "json_schema";
|
|
147
|
-
schema_path: string;
|
|
142
|
+
readonly id?: string | undefined;
|
|
143
|
+
readonly required?: boolean | undefined;
|
|
144
|
+
readonly path?: string | undefined;
|
|
145
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
146
|
+
readonly kind: "json_schema";
|
|
147
|
+
readonly schema_path: string;
|
|
148
148
|
} | {
|
|
149
|
-
id?: string | undefined;
|
|
150
|
-
required?: boolean | undefined;
|
|
151
|
-
path?: string | undefined;
|
|
152
|
-
target?: "artifact" | "stdout" | undefined;
|
|
153
|
-
equals?: string | undefined;
|
|
154
|
-
field?: string | undefined;
|
|
155
|
-
kind: "verdict";
|
|
149
|
+
readonly id?: string | undefined;
|
|
150
|
+
readonly required?: boolean | undefined;
|
|
151
|
+
readonly path?: string | undefined;
|
|
152
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
153
|
+
readonly equals?: string | undefined;
|
|
154
|
+
readonly field?: string | undefined;
|
|
155
|
+
readonly kind: "verdict";
|
|
156
156
|
})[] | undefined;
|
|
157
|
-
id: string;
|
|
158
|
-
models?: string[] | undefined;
|
|
159
|
-
needs?: string[] | undefined;
|
|
160
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
161
|
-
retries?: {
|
|
162
|
-
backoff_ms?: number | undefined;
|
|
163
|
-
max_attempts: number;
|
|
164
|
-
multiplier?: number | undefined;
|
|
165
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
157
|
+
readonly id: string;
|
|
158
|
+
readonly models?: string[] | undefined;
|
|
159
|
+
readonly needs?: string[] | undefined;
|
|
160
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
161
|
+
readonly retries?: {
|
|
162
|
+
readonly backoff_ms?: number | undefined;
|
|
163
|
+
readonly max_attempts: number;
|
|
164
|
+
readonly multiplier?: number | undefined;
|
|
165
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
166
166
|
} | undefined;
|
|
167
|
-
task_context?: {
|
|
168
|
-
acceptance_criteria?: {
|
|
169
|
-
id:
|
|
170
|
-
text:
|
|
171
|
-
}[] | undefined;
|
|
172
|
-
description?: string | undefined;
|
|
173
|
-
id?: string | undefined;
|
|
174
|
-
title?: string | undefined;
|
|
167
|
+
readonly task_context?: {
|
|
168
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
169
|
+
readonly id: Schema.NonEmptyString;
|
|
170
|
+
readonly text: Schema.NonEmptyString;
|
|
171
|
+
}, "Type">[] | undefined;
|
|
172
|
+
readonly description?: string | undefined;
|
|
173
|
+
readonly id?: string | undefined;
|
|
174
|
+
readonly title?: string | undefined;
|
|
175
175
|
} | undefined;
|
|
176
|
-
timeout_ms?: number | undefined;
|
|
176
|
+
readonly timeout_ms?: number | undefined;
|
|
177
177
|
} & {
|
|
178
178
|
builtin: string;
|
|
179
179
|
kind: "builtin";
|
|
180
180
|
}) | ({
|
|
181
|
-
artifacts?: {
|
|
182
|
-
path: string;
|
|
183
|
-
required?: boolean | undefined;
|
|
181
|
+
readonly artifacts?: {
|
|
182
|
+
readonly path: string;
|
|
183
|
+
readonly required?: boolean | undefined;
|
|
184
184
|
}[] | undefined;
|
|
185
|
-
gates?: ({
|
|
186
|
-
id?: string | undefined;
|
|
187
|
-
required?: boolean | undefined;
|
|
188
|
-
path?: string | undefined;
|
|
189
|
-
target?: "artifact" | "stdout" | undefined;
|
|
190
|
-
acceptance_key?: string | undefined;
|
|
191
|
-
kind: "acceptance";
|
|
185
|
+
readonly gates?: ({
|
|
186
|
+
readonly id?: string | undefined;
|
|
187
|
+
readonly required?: boolean | undefined;
|
|
188
|
+
readonly path?: string | undefined;
|
|
189
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
190
|
+
readonly acceptance_key?: string | undefined;
|
|
191
|
+
readonly kind: "acceptance";
|
|
192
192
|
} | {
|
|
193
|
-
id?: string | undefined;
|
|
194
|
-
required?: boolean | undefined;
|
|
195
|
-
kind: "artifact";
|
|
196
|
-
path: string;
|
|
193
|
+
readonly id?: string | undefined;
|
|
194
|
+
readonly required?: boolean | undefined;
|
|
195
|
+
readonly kind: "artifact";
|
|
196
|
+
readonly path: string;
|
|
197
197
|
} | {
|
|
198
|
-
id?: string | undefined;
|
|
199
|
-
required?: boolean | undefined;
|
|
200
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
201
|
-
kind: "builtin";
|
|
198
|
+
readonly id?: string | undefined;
|
|
199
|
+
readonly required?: boolean | undefined;
|
|
200
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
201
|
+
readonly kind: "builtin";
|
|
202
202
|
} | {
|
|
203
|
-
id?: string | undefined;
|
|
204
|
-
required?: boolean | undefined;
|
|
205
|
-
changed_files: {
|
|
206
|
-
allow?: string[] | undefined;
|
|
207
|
-
deny?: string[] | undefined;
|
|
208
|
-
include_untracked?: boolean | undefined;
|
|
209
|
-
require_any?: string[] | undefined;
|
|
203
|
+
readonly id?: string | undefined;
|
|
204
|
+
readonly required?: boolean | undefined;
|
|
205
|
+
readonly changed_files: {
|
|
206
|
+
readonly allow?: string[] | undefined;
|
|
207
|
+
readonly deny?: string[] | undefined;
|
|
208
|
+
readonly include_untracked?: boolean | undefined;
|
|
209
|
+
readonly require_any?: string[] | undefined;
|
|
210
210
|
};
|
|
211
|
-
kind: "changed_files";
|
|
211
|
+
readonly kind: "changed_files";
|
|
212
212
|
} | {
|
|
213
|
-
id?: string | undefined;
|
|
214
|
-
required?: boolean | undefined;
|
|
215
|
-
command: string[];
|
|
216
|
-
expect_exit_code?: number | undefined;
|
|
217
|
-
kind: "command";
|
|
218
|
-
timeout_ms?: number | undefined;
|
|
213
|
+
readonly id?: string | undefined;
|
|
214
|
+
readonly required?: boolean | undefined;
|
|
215
|
+
readonly command: string[];
|
|
216
|
+
readonly expect_exit_code?: number | undefined;
|
|
217
|
+
readonly kind: "command";
|
|
218
|
+
readonly timeout_ms?: number | undefined;
|
|
219
219
|
} | {
|
|
220
|
-
id?: string | undefined;
|
|
221
|
-
required?: boolean | undefined;
|
|
222
|
-
path?: string | undefined;
|
|
223
|
-
target?: "artifact" | "stdout" | undefined;
|
|
224
|
-
kind: "json_schema";
|
|
225
|
-
schema_path: string;
|
|
220
|
+
readonly id?: string | undefined;
|
|
221
|
+
readonly required?: boolean | undefined;
|
|
222
|
+
readonly path?: string | undefined;
|
|
223
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
224
|
+
readonly kind: "json_schema";
|
|
225
|
+
readonly schema_path: string;
|
|
226
226
|
} | {
|
|
227
|
-
id?: string | undefined;
|
|
228
|
-
required?: boolean | undefined;
|
|
229
|
-
path?: string | undefined;
|
|
230
|
-
target?: "artifact" | "stdout" | undefined;
|
|
231
|
-
equals?: string | undefined;
|
|
232
|
-
field?: string | undefined;
|
|
233
|
-
kind: "verdict";
|
|
227
|
+
readonly id?: string | undefined;
|
|
228
|
+
readonly required?: boolean | undefined;
|
|
229
|
+
readonly path?: string | undefined;
|
|
230
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
231
|
+
readonly equals?: string | undefined;
|
|
232
|
+
readonly field?: string | undefined;
|
|
233
|
+
readonly kind: "verdict";
|
|
234
234
|
})[] | undefined;
|
|
235
|
-
id: string;
|
|
236
|
-
models?: string[] | undefined;
|
|
237
|
-
needs?: string[] | undefined;
|
|
238
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
239
|
-
retries?: {
|
|
240
|
-
backoff_ms?: number | undefined;
|
|
241
|
-
max_attempts: number;
|
|
242
|
-
multiplier?: number | undefined;
|
|
243
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
235
|
+
readonly id: string;
|
|
236
|
+
readonly models?: string[] | undefined;
|
|
237
|
+
readonly needs?: string[] | undefined;
|
|
238
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
239
|
+
readonly retries?: {
|
|
240
|
+
readonly backoff_ms?: number | undefined;
|
|
241
|
+
readonly max_attempts: number;
|
|
242
|
+
readonly multiplier?: number | undefined;
|
|
243
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
244
244
|
} | undefined;
|
|
245
|
-
task_context?: {
|
|
246
|
-
acceptance_criteria?: {
|
|
247
|
-
id:
|
|
248
|
-
text:
|
|
249
|
-
}[] | undefined;
|
|
250
|
-
description?: string | undefined;
|
|
251
|
-
id?: string | undefined;
|
|
252
|
-
title?: string | undefined;
|
|
245
|
+
readonly task_context?: {
|
|
246
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
247
|
+
readonly id: Schema.NonEmptyString;
|
|
248
|
+
readonly text: Schema.NonEmptyString;
|
|
249
|
+
}, "Type">[] | undefined;
|
|
250
|
+
readonly description?: string | undefined;
|
|
251
|
+
readonly id?: string | undefined;
|
|
252
|
+
readonly title?: string | undefined;
|
|
253
253
|
} | undefined;
|
|
254
|
-
timeout_ms?: number | undefined;
|
|
254
|
+
readonly timeout_ms?: number | undefined;
|
|
255
255
|
} & {
|
|
256
256
|
command: string[];
|
|
257
257
|
kind: "command";
|
|
258
258
|
}) | ({
|
|
259
|
-
artifacts?: {
|
|
260
|
-
path: string;
|
|
261
|
-
required?: boolean | undefined;
|
|
259
|
+
readonly artifacts?: {
|
|
260
|
+
readonly path: string;
|
|
261
|
+
readonly required?: boolean | undefined;
|
|
262
262
|
}[] | undefined;
|
|
263
|
-
gates?: ({
|
|
264
|
-
id?: string | undefined;
|
|
265
|
-
required?: boolean | undefined;
|
|
266
|
-
path?: string | undefined;
|
|
267
|
-
target?: "artifact" | "stdout" | undefined;
|
|
268
|
-
acceptance_key?: string | undefined;
|
|
269
|
-
kind: "acceptance";
|
|
263
|
+
readonly gates?: ({
|
|
264
|
+
readonly id?: string | undefined;
|
|
265
|
+
readonly required?: boolean | undefined;
|
|
266
|
+
readonly path?: string | undefined;
|
|
267
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
268
|
+
readonly acceptance_key?: string | undefined;
|
|
269
|
+
readonly kind: "acceptance";
|
|
270
270
|
} | {
|
|
271
|
-
id?: string | undefined;
|
|
272
|
-
required?: boolean | undefined;
|
|
273
|
-
kind: "artifact";
|
|
274
|
-
path: string;
|
|
271
|
+
readonly id?: string | undefined;
|
|
272
|
+
readonly required?: boolean | undefined;
|
|
273
|
+
readonly kind: "artifact";
|
|
274
|
+
readonly path: string;
|
|
275
275
|
} | {
|
|
276
|
-
id?: string | undefined;
|
|
277
|
-
required?: boolean | undefined;
|
|
278
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
279
|
-
kind: "builtin";
|
|
276
|
+
readonly id?: string | undefined;
|
|
277
|
+
readonly required?: boolean | undefined;
|
|
278
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
279
|
+
readonly kind: "builtin";
|
|
280
280
|
} | {
|
|
281
|
-
id?: string | undefined;
|
|
282
|
-
required?: boolean | undefined;
|
|
283
|
-
changed_files: {
|
|
284
|
-
allow?: string[] | undefined;
|
|
285
|
-
deny?: string[] | undefined;
|
|
286
|
-
include_untracked?: boolean | undefined;
|
|
287
|
-
require_any?: string[] | undefined;
|
|
281
|
+
readonly id?: string | undefined;
|
|
282
|
+
readonly required?: boolean | undefined;
|
|
283
|
+
readonly changed_files: {
|
|
284
|
+
readonly allow?: string[] | undefined;
|
|
285
|
+
readonly deny?: string[] | undefined;
|
|
286
|
+
readonly include_untracked?: boolean | undefined;
|
|
287
|
+
readonly require_any?: string[] | undefined;
|
|
288
288
|
};
|
|
289
|
-
kind: "changed_files";
|
|
289
|
+
readonly kind: "changed_files";
|
|
290
290
|
} | {
|
|
291
|
-
id?: string | undefined;
|
|
292
|
-
required?: boolean | undefined;
|
|
293
|
-
command: string[];
|
|
294
|
-
expect_exit_code?: number | undefined;
|
|
295
|
-
kind: "command";
|
|
296
|
-
timeout_ms?: number | undefined;
|
|
291
|
+
readonly id?: string | undefined;
|
|
292
|
+
readonly required?: boolean | undefined;
|
|
293
|
+
readonly command: string[];
|
|
294
|
+
readonly expect_exit_code?: number | undefined;
|
|
295
|
+
readonly kind: "command";
|
|
296
|
+
readonly timeout_ms?: number | undefined;
|
|
297
297
|
} | {
|
|
298
|
-
id?: string | undefined;
|
|
299
|
-
required?: boolean | undefined;
|
|
300
|
-
path?: string | undefined;
|
|
301
|
-
target?: "artifact" | "stdout" | undefined;
|
|
302
|
-
kind: "json_schema";
|
|
303
|
-
schema_path: string;
|
|
298
|
+
readonly id?: string | undefined;
|
|
299
|
+
readonly required?: boolean | undefined;
|
|
300
|
+
readonly path?: string | undefined;
|
|
301
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
302
|
+
readonly kind: "json_schema";
|
|
303
|
+
readonly schema_path: string;
|
|
304
304
|
} | {
|
|
305
|
-
id?: string | undefined;
|
|
306
|
-
required?: boolean | undefined;
|
|
307
|
-
path?: string | undefined;
|
|
308
|
-
target?: "artifact" | "stdout" | undefined;
|
|
309
|
-
equals?: string | undefined;
|
|
310
|
-
field?: string | undefined;
|
|
311
|
-
kind: "verdict";
|
|
305
|
+
readonly id?: string | undefined;
|
|
306
|
+
readonly required?: boolean | undefined;
|
|
307
|
+
readonly path?: string | undefined;
|
|
308
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
309
|
+
readonly equals?: string | undefined;
|
|
310
|
+
readonly field?: string | undefined;
|
|
311
|
+
readonly kind: "verdict";
|
|
312
312
|
})[] | undefined;
|
|
313
|
-
id: string;
|
|
314
|
-
models?: string[] | undefined;
|
|
315
|
-
needs?: string[] | undefined;
|
|
316
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
317
|
-
retries?: {
|
|
318
|
-
backoff_ms?: number | undefined;
|
|
319
|
-
max_attempts: number;
|
|
320
|
-
multiplier?: number | undefined;
|
|
321
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
313
|
+
readonly id: string;
|
|
314
|
+
readonly models?: string[] | undefined;
|
|
315
|
+
readonly needs?: string[] | undefined;
|
|
316
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
317
|
+
readonly retries?: {
|
|
318
|
+
readonly backoff_ms?: number | undefined;
|
|
319
|
+
readonly max_attempts: number;
|
|
320
|
+
readonly multiplier?: number | undefined;
|
|
321
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
322
322
|
} | undefined;
|
|
323
|
-
task_context?: {
|
|
324
|
-
acceptance_criteria?: {
|
|
325
|
-
id:
|
|
326
|
-
text:
|
|
327
|
-
}[] | undefined;
|
|
328
|
-
description?: string | undefined;
|
|
329
|
-
id?: string | undefined;
|
|
330
|
-
title?: string | undefined;
|
|
323
|
+
readonly task_context?: {
|
|
324
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
325
|
+
readonly id: Schema.NonEmptyString;
|
|
326
|
+
readonly text: Schema.NonEmptyString;
|
|
327
|
+
}, "Type">[] | undefined;
|
|
328
|
+
readonly description?: string | undefined;
|
|
329
|
+
readonly id?: string | undefined;
|
|
330
|
+
readonly title?: string | undefined;
|
|
331
331
|
} | undefined;
|
|
332
|
-
timeout_ms?: number | undefined;
|
|
332
|
+
readonly timeout_ms?: number | undefined;
|
|
333
333
|
} & {
|
|
334
334
|
kind: "group";
|
|
335
335
|
nodes: string[];
|
|
336
336
|
}) | ({
|
|
337
|
-
artifacts?: {
|
|
338
|
-
path: string;
|
|
339
|
-
required?: boolean | undefined;
|
|
337
|
+
readonly artifacts?: {
|
|
338
|
+
readonly path: string;
|
|
339
|
+
readonly required?: boolean | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
|
-
gates?: ({
|
|
342
|
-
id?: string | undefined;
|
|
343
|
-
required?: boolean | undefined;
|
|
344
|
-
path?: string | undefined;
|
|
345
|
-
target?: "artifact" | "stdout" | undefined;
|
|
346
|
-
acceptance_key?: string | undefined;
|
|
347
|
-
kind: "acceptance";
|
|
341
|
+
readonly gates?: ({
|
|
342
|
+
readonly id?: string | undefined;
|
|
343
|
+
readonly required?: boolean | undefined;
|
|
344
|
+
readonly path?: string | undefined;
|
|
345
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
346
|
+
readonly acceptance_key?: string | undefined;
|
|
347
|
+
readonly kind: "acceptance";
|
|
348
348
|
} | {
|
|
349
|
-
id?: string | undefined;
|
|
350
|
-
required?: boolean | undefined;
|
|
351
|
-
kind: "artifact";
|
|
352
|
-
path: string;
|
|
349
|
+
readonly id?: string | undefined;
|
|
350
|
+
readonly required?: boolean | undefined;
|
|
351
|
+
readonly kind: "artifact";
|
|
352
|
+
readonly path: string;
|
|
353
353
|
} | {
|
|
354
|
-
id?: string | undefined;
|
|
355
|
-
required?: boolean | undefined;
|
|
356
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
357
|
-
kind: "builtin";
|
|
354
|
+
readonly id?: string | undefined;
|
|
355
|
+
readonly required?: boolean | undefined;
|
|
356
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
357
|
+
readonly kind: "builtin";
|
|
358
358
|
} | {
|
|
359
|
-
id?: string | undefined;
|
|
360
|
-
required?: boolean | undefined;
|
|
361
|
-
changed_files: {
|
|
362
|
-
allow?: string[] | undefined;
|
|
363
|
-
deny?: string[] | undefined;
|
|
364
|
-
include_untracked?: boolean | undefined;
|
|
365
|
-
require_any?: string[] | undefined;
|
|
359
|
+
readonly id?: string | undefined;
|
|
360
|
+
readonly required?: boolean | undefined;
|
|
361
|
+
readonly changed_files: {
|
|
362
|
+
readonly allow?: string[] | undefined;
|
|
363
|
+
readonly deny?: string[] | undefined;
|
|
364
|
+
readonly include_untracked?: boolean | undefined;
|
|
365
|
+
readonly require_any?: string[] | undefined;
|
|
366
366
|
};
|
|
367
|
-
kind: "changed_files";
|
|
367
|
+
readonly kind: "changed_files";
|
|
368
368
|
} | {
|
|
369
|
-
id?: string | undefined;
|
|
370
|
-
required?: boolean | undefined;
|
|
371
|
-
command: string[];
|
|
372
|
-
expect_exit_code?: number | undefined;
|
|
373
|
-
kind: "command";
|
|
374
|
-
timeout_ms?: number | undefined;
|
|
369
|
+
readonly id?: string | undefined;
|
|
370
|
+
readonly required?: boolean | undefined;
|
|
371
|
+
readonly command: string[];
|
|
372
|
+
readonly expect_exit_code?: number | undefined;
|
|
373
|
+
readonly kind: "command";
|
|
374
|
+
readonly timeout_ms?: number | undefined;
|
|
375
375
|
} | {
|
|
376
|
-
id?: string | undefined;
|
|
377
|
-
required?: boolean | undefined;
|
|
378
|
-
path?: string | undefined;
|
|
379
|
-
target?: "artifact" | "stdout" | undefined;
|
|
380
|
-
kind: "json_schema";
|
|
381
|
-
schema_path: string;
|
|
376
|
+
readonly id?: string | undefined;
|
|
377
|
+
readonly required?: boolean | undefined;
|
|
378
|
+
readonly path?: string | undefined;
|
|
379
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
380
|
+
readonly kind: "json_schema";
|
|
381
|
+
readonly schema_path: string;
|
|
382
382
|
} | {
|
|
383
|
-
id?: string | undefined;
|
|
384
|
-
required?: boolean | undefined;
|
|
385
|
-
path?: string | undefined;
|
|
386
|
-
target?: "artifact" | "stdout" | undefined;
|
|
387
|
-
equals?: string | undefined;
|
|
388
|
-
field?: string | undefined;
|
|
389
|
-
kind: "verdict";
|
|
383
|
+
readonly id?: string | undefined;
|
|
384
|
+
readonly required?: boolean | undefined;
|
|
385
|
+
readonly path?: string | undefined;
|
|
386
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
387
|
+
readonly equals?: string | undefined;
|
|
388
|
+
readonly field?: string | undefined;
|
|
389
|
+
readonly kind: "verdict";
|
|
390
390
|
})[] | undefined;
|
|
391
|
-
id: string;
|
|
392
|
-
models?: string[] | undefined;
|
|
393
|
-
needs?: string[] | undefined;
|
|
394
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
395
|
-
retries?: {
|
|
396
|
-
backoff_ms?: number | undefined;
|
|
397
|
-
max_attempts: number;
|
|
398
|
-
multiplier?: number | undefined;
|
|
399
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
391
|
+
readonly id: string;
|
|
392
|
+
readonly models?: string[] | undefined;
|
|
393
|
+
readonly needs?: string[] | undefined;
|
|
394
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
395
|
+
readonly retries?: {
|
|
396
|
+
readonly backoff_ms?: number | undefined;
|
|
397
|
+
readonly max_attempts: number;
|
|
398
|
+
readonly multiplier?: number | undefined;
|
|
399
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
400
400
|
} | undefined;
|
|
401
|
-
task_context?: {
|
|
402
|
-
acceptance_criteria?: {
|
|
403
|
-
id:
|
|
404
|
-
text:
|
|
405
|
-
}[] | undefined;
|
|
406
|
-
description?: string | undefined;
|
|
407
|
-
id?: string | undefined;
|
|
408
|
-
title?: string | undefined;
|
|
401
|
+
readonly task_context?: {
|
|
402
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
403
|
+
readonly id: Schema.NonEmptyString;
|
|
404
|
+
readonly text: Schema.NonEmptyString;
|
|
405
|
+
}, "Type">[] | undefined;
|
|
406
|
+
readonly description?: string | undefined;
|
|
407
|
+
readonly id?: string | undefined;
|
|
408
|
+
readonly title?: string | undefined;
|
|
409
409
|
} | undefined;
|
|
410
|
-
timeout_ms?: number | undefined;
|
|
410
|
+
readonly timeout_ms?: number | undefined;
|
|
411
411
|
} & {
|
|
412
412
|
kind: "parallel";
|
|
413
413
|
nodes: (({
|
|
414
|
-
artifacts?: {
|
|
415
|
-
path: string;
|
|
416
|
-
required?: boolean | undefined;
|
|
414
|
+
readonly artifacts?: {
|
|
415
|
+
readonly path: string;
|
|
416
|
+
readonly required?: boolean | undefined;
|
|
417
417
|
}[] | undefined;
|
|
418
|
-
gates?: ({
|
|
419
|
-
id?: string | undefined;
|
|
420
|
-
required?: boolean | undefined;
|
|
421
|
-
path?: string | undefined;
|
|
422
|
-
target?: "artifact" | "stdout" | undefined;
|
|
423
|
-
acceptance_key?: string | undefined;
|
|
424
|
-
kind: "acceptance";
|
|
418
|
+
readonly gates?: ({
|
|
419
|
+
readonly id?: string | undefined;
|
|
420
|
+
readonly required?: boolean | undefined;
|
|
421
|
+
readonly path?: string | undefined;
|
|
422
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
423
|
+
readonly acceptance_key?: string | undefined;
|
|
424
|
+
readonly kind: "acceptance";
|
|
425
425
|
} | {
|
|
426
|
-
id?: string | undefined;
|
|
427
|
-
required?: boolean | undefined;
|
|
428
|
-
kind: "artifact";
|
|
429
|
-
path: string;
|
|
426
|
+
readonly id?: string | undefined;
|
|
427
|
+
readonly required?: boolean | undefined;
|
|
428
|
+
readonly kind: "artifact";
|
|
429
|
+
readonly path: string;
|
|
430
430
|
} | {
|
|
431
|
-
id?: string | undefined;
|
|
432
|
-
required?: boolean | undefined;
|
|
433
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
434
|
-
kind: "builtin";
|
|
431
|
+
readonly id?: string | undefined;
|
|
432
|
+
readonly required?: boolean | undefined;
|
|
433
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
434
|
+
readonly kind: "builtin";
|
|
435
435
|
} | {
|
|
436
|
-
id?: string | undefined;
|
|
437
|
-
required?: boolean | undefined;
|
|
438
|
-
changed_files: {
|
|
439
|
-
allow?: string[] | undefined;
|
|
440
|
-
deny?: string[] | undefined;
|
|
441
|
-
include_untracked?: boolean | undefined;
|
|
442
|
-
require_any?: string[] | undefined;
|
|
436
|
+
readonly id?: string | undefined;
|
|
437
|
+
readonly required?: boolean | undefined;
|
|
438
|
+
readonly changed_files: {
|
|
439
|
+
readonly allow?: string[] | undefined;
|
|
440
|
+
readonly deny?: string[] | undefined;
|
|
441
|
+
readonly include_untracked?: boolean | undefined;
|
|
442
|
+
readonly require_any?: string[] | undefined;
|
|
443
443
|
};
|
|
444
|
-
kind: "changed_files";
|
|
444
|
+
readonly kind: "changed_files";
|
|
445
445
|
} | {
|
|
446
|
-
id?: string | undefined;
|
|
447
|
-
required?: boolean | undefined;
|
|
448
|
-
command: string[];
|
|
449
|
-
expect_exit_code?: number | undefined;
|
|
450
|
-
kind: "command";
|
|
451
|
-
timeout_ms?: number | undefined;
|
|
446
|
+
readonly id?: string | undefined;
|
|
447
|
+
readonly required?: boolean | undefined;
|
|
448
|
+
readonly command: string[];
|
|
449
|
+
readonly expect_exit_code?: number | undefined;
|
|
450
|
+
readonly kind: "command";
|
|
451
|
+
readonly timeout_ms?: number | undefined;
|
|
452
452
|
} | {
|
|
453
|
-
id?: string | undefined;
|
|
454
|
-
required?: boolean | undefined;
|
|
455
|
-
path?: string | undefined;
|
|
456
|
-
target?: "artifact" | "stdout" | undefined;
|
|
457
|
-
kind: "json_schema";
|
|
458
|
-
schema_path: string;
|
|
453
|
+
readonly id?: string | undefined;
|
|
454
|
+
readonly required?: boolean | undefined;
|
|
455
|
+
readonly path?: string | undefined;
|
|
456
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
457
|
+
readonly kind: "json_schema";
|
|
458
|
+
readonly schema_path: string;
|
|
459
459
|
} | {
|
|
460
|
-
id?: string | undefined;
|
|
461
|
-
required?: boolean | undefined;
|
|
462
|
-
path?: string | undefined;
|
|
463
|
-
target?: "artifact" | "stdout" | undefined;
|
|
464
|
-
equals?: string | undefined;
|
|
465
|
-
field?: string | undefined;
|
|
466
|
-
kind: "verdict";
|
|
460
|
+
readonly id?: string | undefined;
|
|
461
|
+
readonly required?: boolean | undefined;
|
|
462
|
+
readonly path?: string | undefined;
|
|
463
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
464
|
+
readonly equals?: string | undefined;
|
|
465
|
+
readonly field?: string | undefined;
|
|
466
|
+
readonly kind: "verdict";
|
|
467
467
|
})[] | undefined;
|
|
468
|
-
id: string;
|
|
469
|
-
models?: string[] | undefined;
|
|
470
|
-
needs?: string[] | undefined;
|
|
471
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
472
|
-
retries?: {
|
|
473
|
-
backoff_ms?: number | undefined;
|
|
474
|
-
max_attempts: number;
|
|
475
|
-
multiplier?: number | undefined;
|
|
476
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
468
|
+
readonly id: string;
|
|
469
|
+
readonly models?: string[] | undefined;
|
|
470
|
+
readonly needs?: string[] | undefined;
|
|
471
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
472
|
+
readonly retries?: {
|
|
473
|
+
readonly backoff_ms?: number | undefined;
|
|
474
|
+
readonly max_attempts: number;
|
|
475
|
+
readonly multiplier?: number | undefined;
|
|
476
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
477
477
|
} | undefined;
|
|
478
|
-
task_context?: {
|
|
479
|
-
acceptance_criteria?: {
|
|
480
|
-
id:
|
|
481
|
-
text:
|
|
482
|
-
}[] | undefined;
|
|
483
|
-
description?: string | undefined;
|
|
484
|
-
id?: string | undefined;
|
|
485
|
-
title?: string | undefined;
|
|
478
|
+
readonly task_context?: {
|
|
479
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
480
|
+
readonly id: Schema.NonEmptyString;
|
|
481
|
+
readonly text: Schema.NonEmptyString;
|
|
482
|
+
}, "Type">[] | undefined;
|
|
483
|
+
readonly description?: string | undefined;
|
|
484
|
+
readonly id?: string | undefined;
|
|
485
|
+
readonly title?: string | undefined;
|
|
486
486
|
} | undefined;
|
|
487
|
-
timeout_ms?: number | undefined;
|
|
487
|
+
readonly timeout_ms?: number | undefined;
|
|
488
488
|
} & {
|
|
489
489
|
category?: string;
|
|
490
490
|
kind: "agent";
|
|
491
491
|
profile: string;
|
|
492
492
|
}) | ({
|
|
493
|
-
artifacts?: {
|
|
494
|
-
path: string;
|
|
495
|
-
required?: boolean | undefined;
|
|
493
|
+
readonly artifacts?: {
|
|
494
|
+
readonly path: string;
|
|
495
|
+
readonly required?: boolean | undefined;
|
|
496
496
|
}[] | undefined;
|
|
497
|
-
gates?: ({
|
|
498
|
-
id?: string | undefined;
|
|
499
|
-
required?: boolean | undefined;
|
|
500
|
-
path?: string | undefined;
|
|
501
|
-
target?: "artifact" | "stdout" | undefined;
|
|
502
|
-
acceptance_key?: string | undefined;
|
|
503
|
-
kind: "acceptance";
|
|
497
|
+
readonly gates?: ({
|
|
498
|
+
readonly id?: string | undefined;
|
|
499
|
+
readonly required?: boolean | undefined;
|
|
500
|
+
readonly path?: string | undefined;
|
|
501
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
502
|
+
readonly acceptance_key?: string | undefined;
|
|
503
|
+
readonly kind: "acceptance";
|
|
504
504
|
} | {
|
|
505
|
-
id?: string | undefined;
|
|
506
|
-
required?: boolean | undefined;
|
|
507
|
-
kind: "artifact";
|
|
508
|
-
path: string;
|
|
505
|
+
readonly id?: string | undefined;
|
|
506
|
+
readonly required?: boolean | undefined;
|
|
507
|
+
readonly kind: "artifact";
|
|
508
|
+
readonly path: string;
|
|
509
509
|
} | {
|
|
510
|
-
id?: string | undefined;
|
|
511
|
-
required?: boolean | undefined;
|
|
512
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
513
|
-
kind: "builtin";
|
|
510
|
+
readonly id?: string | undefined;
|
|
511
|
+
readonly required?: boolean | undefined;
|
|
512
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
513
|
+
readonly kind: "builtin";
|
|
514
514
|
} | {
|
|
515
|
-
id?: string | undefined;
|
|
516
|
-
required?: boolean | undefined;
|
|
517
|
-
changed_files: {
|
|
518
|
-
allow?: string[] | undefined;
|
|
519
|
-
deny?: string[] | undefined;
|
|
520
|
-
include_untracked?: boolean | undefined;
|
|
521
|
-
require_any?: string[] | undefined;
|
|
515
|
+
readonly id?: string | undefined;
|
|
516
|
+
readonly required?: boolean | undefined;
|
|
517
|
+
readonly changed_files: {
|
|
518
|
+
readonly allow?: string[] | undefined;
|
|
519
|
+
readonly deny?: string[] | undefined;
|
|
520
|
+
readonly include_untracked?: boolean | undefined;
|
|
521
|
+
readonly require_any?: string[] | undefined;
|
|
522
522
|
};
|
|
523
|
-
kind: "changed_files";
|
|
523
|
+
readonly kind: "changed_files";
|
|
524
524
|
} | {
|
|
525
|
-
id?: string | undefined;
|
|
526
|
-
required?: boolean | undefined;
|
|
527
|
-
command: string[];
|
|
528
|
-
expect_exit_code?: number | undefined;
|
|
529
|
-
kind: "command";
|
|
530
|
-
timeout_ms?: number | undefined;
|
|
525
|
+
readonly id?: string | undefined;
|
|
526
|
+
readonly required?: boolean | undefined;
|
|
527
|
+
readonly command: string[];
|
|
528
|
+
readonly expect_exit_code?: number | undefined;
|
|
529
|
+
readonly kind: "command";
|
|
530
|
+
readonly timeout_ms?: number | undefined;
|
|
531
531
|
} | {
|
|
532
|
-
id?: string | undefined;
|
|
533
|
-
required?: boolean | undefined;
|
|
534
|
-
path?: string | undefined;
|
|
535
|
-
target?: "artifact" | "stdout" | undefined;
|
|
536
|
-
kind: "json_schema";
|
|
537
|
-
schema_path: string;
|
|
532
|
+
readonly id?: string | undefined;
|
|
533
|
+
readonly required?: boolean | undefined;
|
|
534
|
+
readonly path?: string | undefined;
|
|
535
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
536
|
+
readonly kind: "json_schema";
|
|
537
|
+
readonly schema_path: string;
|
|
538
538
|
} | {
|
|
539
|
-
id?: string | undefined;
|
|
540
|
-
required?: boolean | undefined;
|
|
541
|
-
path?: string | undefined;
|
|
542
|
-
target?: "artifact" | "stdout" | undefined;
|
|
543
|
-
equals?: string | undefined;
|
|
544
|
-
field?: string | undefined;
|
|
545
|
-
kind: "verdict";
|
|
539
|
+
readonly id?: string | undefined;
|
|
540
|
+
readonly required?: boolean | undefined;
|
|
541
|
+
readonly path?: string | undefined;
|
|
542
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
543
|
+
readonly equals?: string | undefined;
|
|
544
|
+
readonly field?: string | undefined;
|
|
545
|
+
readonly kind: "verdict";
|
|
546
546
|
})[] | undefined;
|
|
547
|
-
id: string;
|
|
548
|
-
models?: string[] | undefined;
|
|
549
|
-
needs?: string[] | undefined;
|
|
550
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
551
|
-
retries?: {
|
|
552
|
-
backoff_ms?: number | undefined;
|
|
553
|
-
max_attempts: number;
|
|
554
|
-
multiplier?: number | undefined;
|
|
555
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
547
|
+
readonly id: string;
|
|
548
|
+
readonly models?: string[] | undefined;
|
|
549
|
+
readonly needs?: string[] | undefined;
|
|
550
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
551
|
+
readonly retries?: {
|
|
552
|
+
readonly backoff_ms?: number | undefined;
|
|
553
|
+
readonly max_attempts: number;
|
|
554
|
+
readonly multiplier?: number | undefined;
|
|
555
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
556
556
|
} | undefined;
|
|
557
|
-
task_context?: {
|
|
558
|
-
acceptance_criteria?: {
|
|
559
|
-
id:
|
|
560
|
-
text:
|
|
561
|
-
}[] | undefined;
|
|
562
|
-
description?: string | undefined;
|
|
563
|
-
id?: string | undefined;
|
|
564
|
-
title?: string | undefined;
|
|
557
|
+
readonly task_context?: {
|
|
558
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
559
|
+
readonly id: Schema.NonEmptyString;
|
|
560
|
+
readonly text: Schema.NonEmptyString;
|
|
561
|
+
}, "Type">[] | undefined;
|
|
562
|
+
readonly description?: string | undefined;
|
|
563
|
+
readonly id?: string | undefined;
|
|
564
|
+
readonly title?: string | undefined;
|
|
565
565
|
} | undefined;
|
|
566
|
-
timeout_ms?: number | undefined;
|
|
566
|
+
readonly timeout_ms?: number | undefined;
|
|
567
567
|
} & {
|
|
568
568
|
builtin: string;
|
|
569
569
|
kind: "builtin";
|
|
570
570
|
}) | ({
|
|
571
|
-
artifacts?: {
|
|
572
|
-
path: string;
|
|
573
|
-
required?: boolean | undefined;
|
|
571
|
+
readonly artifacts?: {
|
|
572
|
+
readonly path: string;
|
|
573
|
+
readonly required?: boolean | undefined;
|
|
574
574
|
}[] | undefined;
|
|
575
|
-
gates?: ({
|
|
576
|
-
id?: string | undefined;
|
|
577
|
-
required?: boolean | undefined;
|
|
578
|
-
path?: string | undefined;
|
|
579
|
-
target?: "artifact" | "stdout" | undefined;
|
|
580
|
-
acceptance_key?: string | undefined;
|
|
581
|
-
kind: "acceptance";
|
|
575
|
+
readonly gates?: ({
|
|
576
|
+
readonly id?: string | undefined;
|
|
577
|
+
readonly required?: boolean | undefined;
|
|
578
|
+
readonly path?: string | undefined;
|
|
579
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
580
|
+
readonly acceptance_key?: string | undefined;
|
|
581
|
+
readonly kind: "acceptance";
|
|
582
582
|
} | {
|
|
583
|
-
id?: string | undefined;
|
|
584
|
-
required?: boolean | undefined;
|
|
585
|
-
kind: "artifact";
|
|
586
|
-
path: string;
|
|
583
|
+
readonly id?: string | undefined;
|
|
584
|
+
readonly required?: boolean | undefined;
|
|
585
|
+
readonly kind: "artifact";
|
|
586
|
+
readonly path: string;
|
|
587
587
|
} | {
|
|
588
|
-
id?: string | undefined;
|
|
589
|
-
required?: boolean | undefined;
|
|
590
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
591
|
-
kind: "builtin";
|
|
588
|
+
readonly id?: string | undefined;
|
|
589
|
+
readonly required?: boolean | undefined;
|
|
590
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
591
|
+
readonly kind: "builtin";
|
|
592
592
|
} | {
|
|
593
|
-
id?: string | undefined;
|
|
594
|
-
required?: boolean | undefined;
|
|
595
|
-
changed_files: {
|
|
596
|
-
allow?: string[] | undefined;
|
|
597
|
-
deny?: string[] | undefined;
|
|
598
|
-
include_untracked?: boolean | undefined;
|
|
599
|
-
require_any?: string[] | undefined;
|
|
593
|
+
readonly id?: string | undefined;
|
|
594
|
+
readonly required?: boolean | undefined;
|
|
595
|
+
readonly changed_files: {
|
|
596
|
+
readonly allow?: string[] | undefined;
|
|
597
|
+
readonly deny?: string[] | undefined;
|
|
598
|
+
readonly include_untracked?: boolean | undefined;
|
|
599
|
+
readonly require_any?: string[] | undefined;
|
|
600
600
|
};
|
|
601
|
-
kind: "changed_files";
|
|
601
|
+
readonly kind: "changed_files";
|
|
602
602
|
} | {
|
|
603
|
-
id?: string | undefined;
|
|
604
|
-
required?: boolean | undefined;
|
|
605
|
-
command: string[];
|
|
606
|
-
expect_exit_code?: number | undefined;
|
|
607
|
-
kind: "command";
|
|
608
|
-
timeout_ms?: number | undefined;
|
|
603
|
+
readonly id?: string | undefined;
|
|
604
|
+
readonly required?: boolean | undefined;
|
|
605
|
+
readonly command: string[];
|
|
606
|
+
readonly expect_exit_code?: number | undefined;
|
|
607
|
+
readonly kind: "command";
|
|
608
|
+
readonly timeout_ms?: number | undefined;
|
|
609
609
|
} | {
|
|
610
|
-
id?: string | undefined;
|
|
611
|
-
required?: boolean | undefined;
|
|
612
|
-
path?: string | undefined;
|
|
613
|
-
target?: "artifact" | "stdout" | undefined;
|
|
614
|
-
kind: "json_schema";
|
|
615
|
-
schema_path: string;
|
|
610
|
+
readonly id?: string | undefined;
|
|
611
|
+
readonly required?: boolean | undefined;
|
|
612
|
+
readonly path?: string | undefined;
|
|
613
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
614
|
+
readonly kind: "json_schema";
|
|
615
|
+
readonly schema_path: string;
|
|
616
616
|
} | {
|
|
617
|
-
id?: string | undefined;
|
|
618
|
-
required?: boolean | undefined;
|
|
619
|
-
path?: string | undefined;
|
|
620
|
-
target?: "artifact" | "stdout" | undefined;
|
|
621
|
-
equals?: string | undefined;
|
|
622
|
-
field?: string | undefined;
|
|
623
|
-
kind: "verdict";
|
|
617
|
+
readonly id?: string | undefined;
|
|
618
|
+
readonly required?: boolean | undefined;
|
|
619
|
+
readonly path?: string | undefined;
|
|
620
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
621
|
+
readonly equals?: string | undefined;
|
|
622
|
+
readonly field?: string | undefined;
|
|
623
|
+
readonly kind: "verdict";
|
|
624
624
|
})[] | undefined;
|
|
625
|
-
id: string;
|
|
626
|
-
models?: string[] | undefined;
|
|
627
|
-
needs?: string[] | undefined;
|
|
628
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
629
|
-
retries?: {
|
|
630
|
-
backoff_ms?: number | undefined;
|
|
631
|
-
max_attempts: number;
|
|
632
|
-
multiplier?: number | undefined;
|
|
633
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
625
|
+
readonly id: string;
|
|
626
|
+
readonly models?: string[] | undefined;
|
|
627
|
+
readonly needs?: string[] | undefined;
|
|
628
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
629
|
+
readonly retries?: {
|
|
630
|
+
readonly backoff_ms?: number | undefined;
|
|
631
|
+
readonly max_attempts: number;
|
|
632
|
+
readonly multiplier?: number | undefined;
|
|
633
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
634
634
|
} | undefined;
|
|
635
|
-
task_context?: {
|
|
636
|
-
acceptance_criteria?: {
|
|
637
|
-
id:
|
|
638
|
-
text:
|
|
639
|
-
}[] | undefined;
|
|
640
|
-
description?: string | undefined;
|
|
641
|
-
id?: string | undefined;
|
|
642
|
-
title?: string | undefined;
|
|
635
|
+
readonly task_context?: {
|
|
636
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
637
|
+
readonly id: Schema.NonEmptyString;
|
|
638
|
+
readonly text: Schema.NonEmptyString;
|
|
639
|
+
}, "Type">[] | undefined;
|
|
640
|
+
readonly description?: string | undefined;
|
|
641
|
+
readonly id?: string | undefined;
|
|
642
|
+
readonly title?: string | undefined;
|
|
643
643
|
} | undefined;
|
|
644
|
-
timeout_ms?: number | undefined;
|
|
644
|
+
readonly timeout_ms?: number | undefined;
|
|
645
645
|
} & {
|
|
646
646
|
command: string[];
|
|
647
647
|
kind: "command";
|
|
648
648
|
}) | ({
|
|
649
|
-
artifacts?: {
|
|
650
|
-
path: string;
|
|
651
|
-
required?: boolean | undefined;
|
|
649
|
+
readonly artifacts?: {
|
|
650
|
+
readonly path: string;
|
|
651
|
+
readonly required?: boolean | undefined;
|
|
652
652
|
}[] | undefined;
|
|
653
|
-
gates?: ({
|
|
654
|
-
id?: string | undefined;
|
|
655
|
-
required?: boolean | undefined;
|
|
656
|
-
path?: string | undefined;
|
|
657
|
-
target?: "artifact" | "stdout" | undefined;
|
|
658
|
-
acceptance_key?: string | undefined;
|
|
659
|
-
kind: "acceptance";
|
|
653
|
+
readonly gates?: ({
|
|
654
|
+
readonly id?: string | undefined;
|
|
655
|
+
readonly required?: boolean | undefined;
|
|
656
|
+
readonly path?: string | undefined;
|
|
657
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
658
|
+
readonly acceptance_key?: string | undefined;
|
|
659
|
+
readonly kind: "acceptance";
|
|
660
660
|
} | {
|
|
661
|
-
id?: string | undefined;
|
|
662
|
-
required?: boolean | undefined;
|
|
663
|
-
kind: "artifact";
|
|
664
|
-
path: string;
|
|
661
|
+
readonly id?: string | undefined;
|
|
662
|
+
readonly required?: boolean | undefined;
|
|
663
|
+
readonly kind: "artifact";
|
|
664
|
+
readonly path: string;
|
|
665
665
|
} | {
|
|
666
|
-
id?: string | undefined;
|
|
667
|
-
required?: boolean | undefined;
|
|
668
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
669
|
-
kind: "builtin";
|
|
666
|
+
readonly id?: string | undefined;
|
|
667
|
+
readonly required?: boolean | undefined;
|
|
668
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
669
|
+
readonly kind: "builtin";
|
|
670
670
|
} | {
|
|
671
|
-
id?: string | undefined;
|
|
672
|
-
required?: boolean | undefined;
|
|
673
|
-
changed_files: {
|
|
674
|
-
allow?: string[] | undefined;
|
|
675
|
-
deny?: string[] | undefined;
|
|
676
|
-
include_untracked?: boolean | undefined;
|
|
677
|
-
require_any?: string[] | undefined;
|
|
671
|
+
readonly id?: string | undefined;
|
|
672
|
+
readonly required?: boolean | undefined;
|
|
673
|
+
readonly changed_files: {
|
|
674
|
+
readonly allow?: string[] | undefined;
|
|
675
|
+
readonly deny?: string[] | undefined;
|
|
676
|
+
readonly include_untracked?: boolean | undefined;
|
|
677
|
+
readonly require_any?: string[] | undefined;
|
|
678
678
|
};
|
|
679
|
-
kind: "changed_files";
|
|
679
|
+
readonly kind: "changed_files";
|
|
680
680
|
} | {
|
|
681
|
-
id?: string | undefined;
|
|
682
|
-
required?: boolean | undefined;
|
|
683
|
-
command: string[];
|
|
684
|
-
expect_exit_code?: number | undefined;
|
|
685
|
-
kind: "command";
|
|
686
|
-
timeout_ms?: number | undefined;
|
|
681
|
+
readonly id?: string | undefined;
|
|
682
|
+
readonly required?: boolean | undefined;
|
|
683
|
+
readonly command: string[];
|
|
684
|
+
readonly expect_exit_code?: number | undefined;
|
|
685
|
+
readonly kind: "command";
|
|
686
|
+
readonly timeout_ms?: number | undefined;
|
|
687
687
|
} | {
|
|
688
|
-
id?: string | undefined;
|
|
689
|
-
required?: boolean | undefined;
|
|
690
|
-
path?: string | undefined;
|
|
691
|
-
target?: "artifact" | "stdout" | undefined;
|
|
692
|
-
kind: "json_schema";
|
|
693
|
-
schema_path: string;
|
|
688
|
+
readonly id?: string | undefined;
|
|
689
|
+
readonly required?: boolean | undefined;
|
|
690
|
+
readonly path?: string | undefined;
|
|
691
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
692
|
+
readonly kind: "json_schema";
|
|
693
|
+
readonly schema_path: string;
|
|
694
694
|
} | {
|
|
695
|
-
id?: string | undefined;
|
|
696
|
-
required?: boolean | undefined;
|
|
697
|
-
path?: string | undefined;
|
|
698
|
-
target?: "artifact" | "stdout" | undefined;
|
|
699
|
-
equals?: string | undefined;
|
|
700
|
-
field?: string | undefined;
|
|
701
|
-
kind: "verdict";
|
|
695
|
+
readonly id?: string | undefined;
|
|
696
|
+
readonly required?: boolean | undefined;
|
|
697
|
+
readonly path?: string | undefined;
|
|
698
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
699
|
+
readonly equals?: string | undefined;
|
|
700
|
+
readonly field?: string | undefined;
|
|
701
|
+
readonly kind: "verdict";
|
|
702
702
|
})[] | undefined;
|
|
703
|
-
id: string;
|
|
704
|
-
models?: string[] | undefined;
|
|
705
|
-
needs?: string[] | undefined;
|
|
706
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
707
|
-
retries?: {
|
|
708
|
-
backoff_ms?: number | undefined;
|
|
709
|
-
max_attempts: number;
|
|
710
|
-
multiplier?: number | undefined;
|
|
711
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
703
|
+
readonly id: string;
|
|
704
|
+
readonly models?: string[] | undefined;
|
|
705
|
+
readonly needs?: string[] | undefined;
|
|
706
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
707
|
+
readonly retries?: {
|
|
708
|
+
readonly backoff_ms?: number | undefined;
|
|
709
|
+
readonly max_attempts: number;
|
|
710
|
+
readonly multiplier?: number | undefined;
|
|
711
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
712
712
|
} | undefined;
|
|
713
|
-
task_context?: {
|
|
714
|
-
acceptance_criteria?: {
|
|
715
|
-
id:
|
|
716
|
-
text:
|
|
717
|
-
}[] | undefined;
|
|
718
|
-
description?: string | undefined;
|
|
719
|
-
id?: string | undefined;
|
|
720
|
-
title?: string | undefined;
|
|
713
|
+
readonly task_context?: {
|
|
714
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
715
|
+
readonly id: Schema.NonEmptyString;
|
|
716
|
+
readonly text: Schema.NonEmptyString;
|
|
717
|
+
}, "Type">[] | undefined;
|
|
718
|
+
readonly description?: string | undefined;
|
|
719
|
+
readonly id?: string | undefined;
|
|
720
|
+
readonly title?: string | undefined;
|
|
721
721
|
} | undefined;
|
|
722
|
-
timeout_ms?: number | undefined;
|
|
722
|
+
readonly timeout_ms?: number | undefined;
|
|
723
723
|
} & {
|
|
724
724
|
kind: "group";
|
|
725
725
|
nodes: string[];
|
|
726
726
|
}) | ({
|
|
727
|
-
artifacts?: {
|
|
728
|
-
path: string;
|
|
729
|
-
required?: boolean | undefined;
|
|
727
|
+
readonly artifacts?: {
|
|
728
|
+
readonly path: string;
|
|
729
|
+
readonly required?: boolean | undefined;
|
|
730
730
|
}[] | undefined;
|
|
731
|
-
gates?: ({
|
|
732
|
-
id?: string | undefined;
|
|
733
|
-
required?: boolean | undefined;
|
|
734
|
-
path?: string | undefined;
|
|
735
|
-
target?: "artifact" | "stdout" | undefined;
|
|
736
|
-
acceptance_key?: string | undefined;
|
|
737
|
-
kind: "acceptance";
|
|
731
|
+
readonly gates?: ({
|
|
732
|
+
readonly id?: string | undefined;
|
|
733
|
+
readonly required?: boolean | undefined;
|
|
734
|
+
readonly path?: string | undefined;
|
|
735
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
736
|
+
readonly acceptance_key?: string | undefined;
|
|
737
|
+
readonly kind: "acceptance";
|
|
738
738
|
} | {
|
|
739
|
-
id?: string | undefined;
|
|
740
|
-
required?: boolean | undefined;
|
|
741
|
-
kind: "artifact";
|
|
742
|
-
path: string;
|
|
739
|
+
readonly id?: string | undefined;
|
|
740
|
+
readonly required?: boolean | undefined;
|
|
741
|
+
readonly kind: "artifact";
|
|
742
|
+
readonly path: string;
|
|
743
743
|
} | {
|
|
744
|
-
id?: string | undefined;
|
|
745
|
-
required?: boolean | undefined;
|
|
746
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
747
|
-
kind: "builtin";
|
|
744
|
+
readonly id?: string | undefined;
|
|
745
|
+
readonly required?: boolean | undefined;
|
|
746
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
747
|
+
readonly kind: "builtin";
|
|
748
748
|
} | {
|
|
749
|
-
id?: string | undefined;
|
|
750
|
-
required?: boolean | undefined;
|
|
751
|
-
changed_files: {
|
|
752
|
-
allow?: string[] | undefined;
|
|
753
|
-
deny?: string[] | undefined;
|
|
754
|
-
include_untracked?: boolean | undefined;
|
|
755
|
-
require_any?: string[] | undefined;
|
|
749
|
+
readonly id?: string | undefined;
|
|
750
|
+
readonly required?: boolean | undefined;
|
|
751
|
+
readonly changed_files: {
|
|
752
|
+
readonly allow?: string[] | undefined;
|
|
753
|
+
readonly deny?: string[] | undefined;
|
|
754
|
+
readonly include_untracked?: boolean | undefined;
|
|
755
|
+
readonly require_any?: string[] | undefined;
|
|
756
756
|
};
|
|
757
|
-
kind: "changed_files";
|
|
757
|
+
readonly kind: "changed_files";
|
|
758
758
|
} | {
|
|
759
|
-
id?: string | undefined;
|
|
760
|
-
required?: boolean | undefined;
|
|
761
|
-
command: string[];
|
|
762
|
-
expect_exit_code?: number | undefined;
|
|
763
|
-
kind: "command";
|
|
764
|
-
timeout_ms?: number | undefined;
|
|
759
|
+
readonly id?: string | undefined;
|
|
760
|
+
readonly required?: boolean | undefined;
|
|
761
|
+
readonly command: string[];
|
|
762
|
+
readonly expect_exit_code?: number | undefined;
|
|
763
|
+
readonly kind: "command";
|
|
764
|
+
readonly timeout_ms?: number | undefined;
|
|
765
765
|
} | {
|
|
766
|
-
id?: string | undefined;
|
|
767
|
-
required?: boolean | undefined;
|
|
768
|
-
path?: string | undefined;
|
|
769
|
-
target?: "artifact" | "stdout" | undefined;
|
|
770
|
-
kind: "json_schema";
|
|
771
|
-
schema_path: string;
|
|
766
|
+
readonly id?: string | undefined;
|
|
767
|
+
readonly required?: boolean | undefined;
|
|
768
|
+
readonly path?: string | undefined;
|
|
769
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
770
|
+
readonly kind: "json_schema";
|
|
771
|
+
readonly schema_path: string;
|
|
772
772
|
} | {
|
|
773
|
-
id?: string | undefined;
|
|
774
|
-
required?: boolean | undefined;
|
|
775
|
-
path?: string | undefined;
|
|
776
|
-
target?: "artifact" | "stdout" | undefined;
|
|
777
|
-
equals?: string | undefined;
|
|
778
|
-
field?: string | undefined;
|
|
779
|
-
kind: "verdict";
|
|
773
|
+
readonly id?: string | undefined;
|
|
774
|
+
readonly required?: boolean | undefined;
|
|
775
|
+
readonly path?: string | undefined;
|
|
776
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
777
|
+
readonly equals?: string | undefined;
|
|
778
|
+
readonly field?: string | undefined;
|
|
779
|
+
readonly kind: "verdict";
|
|
780
780
|
})[] | undefined;
|
|
781
|
-
id: string;
|
|
782
|
-
models?: string[] | undefined;
|
|
783
|
-
needs?: string[] | undefined;
|
|
784
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
785
|
-
retries?: {
|
|
786
|
-
backoff_ms?: number | undefined;
|
|
787
|
-
max_attempts: number;
|
|
788
|
-
multiplier?: number | undefined;
|
|
789
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
781
|
+
readonly id: string;
|
|
782
|
+
readonly models?: string[] | undefined;
|
|
783
|
+
readonly needs?: string[] | undefined;
|
|
784
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
785
|
+
readonly retries?: {
|
|
786
|
+
readonly backoff_ms?: number | undefined;
|
|
787
|
+
readonly max_attempts: number;
|
|
788
|
+
readonly multiplier?: number | undefined;
|
|
789
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
790
790
|
} | undefined;
|
|
791
|
-
task_context?: {
|
|
792
|
-
acceptance_criteria?: {
|
|
793
|
-
id:
|
|
794
|
-
text:
|
|
795
|
-
}[] | undefined;
|
|
796
|
-
description?: string | undefined;
|
|
797
|
-
id?: string | undefined;
|
|
798
|
-
title?: string | undefined;
|
|
791
|
+
readonly task_context?: {
|
|
792
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
793
|
+
readonly id: Schema.NonEmptyString;
|
|
794
|
+
readonly text: Schema.NonEmptyString;
|
|
795
|
+
}, "Type">[] | undefined;
|
|
796
|
+
readonly description?: string | undefined;
|
|
797
|
+
readonly id?: string | undefined;
|
|
798
|
+
readonly title?: string | undefined;
|
|
799
799
|
} | undefined;
|
|
800
|
-
timeout_ms?: number | undefined;
|
|
801
|
-
} & /*elided*/any))[];
|
|
802
|
-
}),
|
|
803
|
-
artifacts?: {
|
|
804
|
-
path: string;
|
|
805
|
-
required?: boolean | undefined;
|
|
800
|
+
readonly timeout_ms?: number | undefined;
|
|
801
|
+
} & /*elided*/ any))[];
|
|
802
|
+
}), ({
|
|
803
|
+
readonly artifacts?: {
|
|
804
|
+
readonly path: string;
|
|
805
|
+
readonly required?: boolean | undefined;
|
|
806
806
|
}[] | undefined;
|
|
807
|
-
gates?: ({
|
|
808
|
-
id?: string | undefined;
|
|
809
|
-
required?: boolean | undefined;
|
|
810
|
-
path?: string | undefined;
|
|
811
|
-
target?: "artifact" | "stdout" | undefined;
|
|
812
|
-
acceptance_key?: string | undefined;
|
|
813
|
-
kind: "acceptance";
|
|
807
|
+
readonly gates?: ({
|
|
808
|
+
readonly id?: string | undefined;
|
|
809
|
+
readonly required?: boolean | undefined;
|
|
810
|
+
readonly path?: string | undefined;
|
|
811
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
812
|
+
readonly acceptance_key?: string | undefined;
|
|
813
|
+
readonly kind: "acceptance";
|
|
814
814
|
} | {
|
|
815
|
-
id?: string | undefined;
|
|
816
|
-
required?: boolean | undefined;
|
|
817
|
-
kind: "artifact";
|
|
818
|
-
path: string;
|
|
815
|
+
readonly id?: string | undefined;
|
|
816
|
+
readonly required?: boolean | undefined;
|
|
817
|
+
readonly kind: "artifact";
|
|
818
|
+
readonly path: string;
|
|
819
819
|
} | {
|
|
820
|
-
id?: string | undefined;
|
|
821
|
-
required?: boolean | undefined;
|
|
822
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
823
|
-
kind: "builtin";
|
|
820
|
+
readonly id?: string | undefined;
|
|
821
|
+
readonly required?: boolean | undefined;
|
|
822
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
823
|
+
readonly kind: "builtin";
|
|
824
824
|
} | {
|
|
825
|
-
id?: string | undefined;
|
|
826
|
-
required?: boolean | undefined;
|
|
827
|
-
changed_files: {
|
|
828
|
-
allow?: string[] | undefined;
|
|
829
|
-
deny?: string[] | undefined;
|
|
830
|
-
include_untracked?: boolean | undefined;
|
|
831
|
-
require_any?: string[] | undefined;
|
|
825
|
+
readonly id?: string | undefined;
|
|
826
|
+
readonly required?: boolean | undefined;
|
|
827
|
+
readonly changed_files: {
|
|
828
|
+
readonly allow?: string[] | undefined;
|
|
829
|
+
readonly deny?: string[] | undefined;
|
|
830
|
+
readonly include_untracked?: boolean | undefined;
|
|
831
|
+
readonly require_any?: string[] | undefined;
|
|
832
832
|
};
|
|
833
|
-
kind: "changed_files";
|
|
833
|
+
readonly kind: "changed_files";
|
|
834
834
|
} | {
|
|
835
|
-
id?: string | undefined;
|
|
836
|
-
required?: boolean | undefined;
|
|
837
|
-
command: string[];
|
|
838
|
-
expect_exit_code?: number | undefined;
|
|
839
|
-
kind: "command";
|
|
840
|
-
timeout_ms?: number | undefined;
|
|
835
|
+
readonly id?: string | undefined;
|
|
836
|
+
readonly required?: boolean | undefined;
|
|
837
|
+
readonly command: string[];
|
|
838
|
+
readonly expect_exit_code?: number | undefined;
|
|
839
|
+
readonly kind: "command";
|
|
840
|
+
readonly timeout_ms?: number | undefined;
|
|
841
841
|
} | {
|
|
842
|
-
id?: string | undefined;
|
|
843
|
-
required?: boolean | undefined;
|
|
844
|
-
path?: string | undefined;
|
|
845
|
-
target?: "artifact" | "stdout" | undefined;
|
|
846
|
-
kind: "json_schema";
|
|
847
|
-
schema_path: string;
|
|
842
|
+
readonly id?: string | undefined;
|
|
843
|
+
readonly required?: boolean | undefined;
|
|
844
|
+
readonly path?: string | undefined;
|
|
845
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
846
|
+
readonly kind: "json_schema";
|
|
847
|
+
readonly schema_path: string;
|
|
848
848
|
} | {
|
|
849
|
-
id?: string | undefined;
|
|
850
|
-
required?: boolean | undefined;
|
|
851
|
-
path?: string | undefined;
|
|
852
|
-
target?: "artifact" | "stdout" | undefined;
|
|
853
|
-
equals?: string | undefined;
|
|
854
|
-
field?: string | undefined;
|
|
855
|
-
kind: "verdict";
|
|
849
|
+
readonly id?: string | undefined;
|
|
850
|
+
readonly required?: boolean | undefined;
|
|
851
|
+
readonly path?: string | undefined;
|
|
852
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
853
|
+
readonly equals?: string | undefined;
|
|
854
|
+
readonly field?: string | undefined;
|
|
855
|
+
readonly kind: "verdict";
|
|
856
856
|
})[] | undefined;
|
|
857
|
-
id: string;
|
|
858
|
-
models?: string[] | undefined;
|
|
859
|
-
needs?: string[] | undefined;
|
|
860
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
861
|
-
retries?: {
|
|
862
|
-
backoff_ms?: number | undefined;
|
|
863
|
-
max_attempts: number;
|
|
864
|
-
multiplier?: number | undefined;
|
|
865
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
857
|
+
readonly id: string;
|
|
858
|
+
readonly models?: string[] | undefined;
|
|
859
|
+
readonly needs?: string[] | undefined;
|
|
860
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
861
|
+
readonly retries?: {
|
|
862
|
+
readonly backoff_ms?: number | undefined;
|
|
863
|
+
readonly max_attempts: number;
|
|
864
|
+
readonly multiplier?: number | undefined;
|
|
865
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
866
866
|
} | undefined;
|
|
867
|
-
task_context?: {
|
|
868
|
-
acceptance_criteria?: {
|
|
869
|
-
id:
|
|
870
|
-
text:
|
|
871
|
-
}[] | undefined;
|
|
872
|
-
description?: string | undefined;
|
|
873
|
-
id?: string | undefined;
|
|
874
|
-
title?: string | undefined;
|
|
867
|
+
readonly task_context?: {
|
|
868
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
869
|
+
readonly id: Schema.NonEmptyString;
|
|
870
|
+
readonly text: Schema.NonEmptyString;
|
|
871
|
+
}, "Type">[] | undefined;
|
|
872
|
+
readonly description?: string | undefined;
|
|
873
|
+
readonly id?: string | undefined;
|
|
874
|
+
readonly title?: string | undefined;
|
|
875
875
|
} | undefined;
|
|
876
|
-
timeout_ms?: number | undefined;
|
|
876
|
+
readonly timeout_ms?: number | undefined;
|
|
877
877
|
} & {
|
|
878
878
|
category?: string;
|
|
879
879
|
kind: "agent";
|
|
880
880
|
profile: string;
|
|
881
881
|
}) | ({
|
|
882
|
-
artifacts?: {
|
|
883
|
-
path: string;
|
|
884
|
-
required?: boolean | undefined;
|
|
882
|
+
readonly artifacts?: {
|
|
883
|
+
readonly path: string;
|
|
884
|
+
readonly required?: boolean | undefined;
|
|
885
885
|
}[] | undefined;
|
|
886
|
-
gates?: ({
|
|
887
|
-
id?: string | undefined;
|
|
888
|
-
required?: boolean | undefined;
|
|
889
|
-
path?: string | undefined;
|
|
890
|
-
target?: "artifact" | "stdout" | undefined;
|
|
891
|
-
acceptance_key?: string | undefined;
|
|
892
|
-
kind: "acceptance";
|
|
886
|
+
readonly gates?: ({
|
|
887
|
+
readonly id?: string | undefined;
|
|
888
|
+
readonly required?: boolean | undefined;
|
|
889
|
+
readonly path?: string | undefined;
|
|
890
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
891
|
+
readonly acceptance_key?: string | undefined;
|
|
892
|
+
readonly kind: "acceptance";
|
|
893
893
|
} | {
|
|
894
|
-
id?: string | undefined;
|
|
895
|
-
required?: boolean | undefined;
|
|
896
|
-
kind: "artifact";
|
|
897
|
-
path: string;
|
|
894
|
+
readonly id?: string | undefined;
|
|
895
|
+
readonly required?: boolean | undefined;
|
|
896
|
+
readonly kind: "artifact";
|
|
897
|
+
readonly path: string;
|
|
898
898
|
} | {
|
|
899
|
-
id?: string | undefined;
|
|
900
|
-
required?: boolean | undefined;
|
|
901
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
902
|
-
kind: "builtin";
|
|
899
|
+
readonly id?: string | undefined;
|
|
900
|
+
readonly required?: boolean | undefined;
|
|
901
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
902
|
+
readonly kind: "builtin";
|
|
903
903
|
} | {
|
|
904
|
-
id?: string | undefined;
|
|
905
|
-
required?: boolean | undefined;
|
|
906
|
-
changed_files: {
|
|
907
|
-
allow?: string[] | undefined;
|
|
908
|
-
deny?: string[] | undefined;
|
|
909
|
-
include_untracked?: boolean | undefined;
|
|
910
|
-
require_any?: string[] | undefined;
|
|
904
|
+
readonly id?: string | undefined;
|
|
905
|
+
readonly required?: boolean | undefined;
|
|
906
|
+
readonly changed_files: {
|
|
907
|
+
readonly allow?: string[] | undefined;
|
|
908
|
+
readonly deny?: string[] | undefined;
|
|
909
|
+
readonly include_untracked?: boolean | undefined;
|
|
910
|
+
readonly require_any?: string[] | undefined;
|
|
911
911
|
};
|
|
912
|
-
kind: "changed_files";
|
|
912
|
+
readonly kind: "changed_files";
|
|
913
913
|
} | {
|
|
914
|
-
id?: string | undefined;
|
|
915
|
-
required?: boolean | undefined;
|
|
916
|
-
command: string[];
|
|
917
|
-
expect_exit_code?: number | undefined;
|
|
918
|
-
kind: "command";
|
|
919
|
-
timeout_ms?: number | undefined;
|
|
914
|
+
readonly id?: string | undefined;
|
|
915
|
+
readonly required?: boolean | undefined;
|
|
916
|
+
readonly command: string[];
|
|
917
|
+
readonly expect_exit_code?: number | undefined;
|
|
918
|
+
readonly kind: "command";
|
|
919
|
+
readonly timeout_ms?: number | undefined;
|
|
920
920
|
} | {
|
|
921
|
-
id?: string | undefined;
|
|
922
|
-
required?: boolean | undefined;
|
|
923
|
-
path?: string | undefined;
|
|
924
|
-
target?: "artifact" | "stdout" | undefined;
|
|
925
|
-
kind: "json_schema";
|
|
926
|
-
schema_path: string;
|
|
921
|
+
readonly id?: string | undefined;
|
|
922
|
+
readonly required?: boolean | undefined;
|
|
923
|
+
readonly path?: string | undefined;
|
|
924
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
925
|
+
readonly kind: "json_schema";
|
|
926
|
+
readonly schema_path: string;
|
|
927
927
|
} | {
|
|
928
|
-
id?: string | undefined;
|
|
929
|
-
required?: boolean | undefined;
|
|
930
|
-
path?: string | undefined;
|
|
931
|
-
target?: "artifact" | "stdout" | undefined;
|
|
932
|
-
equals?: string | undefined;
|
|
933
|
-
field?: string | undefined;
|
|
934
|
-
kind: "verdict";
|
|
928
|
+
readonly id?: string | undefined;
|
|
929
|
+
readonly required?: boolean | undefined;
|
|
930
|
+
readonly path?: string | undefined;
|
|
931
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
932
|
+
readonly equals?: string | undefined;
|
|
933
|
+
readonly field?: string | undefined;
|
|
934
|
+
readonly kind: "verdict";
|
|
935
935
|
})[] | undefined;
|
|
936
|
-
id: string;
|
|
937
|
-
models?: string[] | undefined;
|
|
938
|
-
needs?: string[] | undefined;
|
|
939
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
940
|
-
retries?: {
|
|
941
|
-
backoff_ms?: number | undefined;
|
|
942
|
-
max_attempts: number;
|
|
943
|
-
multiplier?: number | undefined;
|
|
944
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
936
|
+
readonly id: string;
|
|
937
|
+
readonly models?: string[] | undefined;
|
|
938
|
+
readonly needs?: string[] | undefined;
|
|
939
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
940
|
+
readonly retries?: {
|
|
941
|
+
readonly backoff_ms?: number | undefined;
|
|
942
|
+
readonly max_attempts: number;
|
|
943
|
+
readonly multiplier?: number | undefined;
|
|
944
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
945
945
|
} | undefined;
|
|
946
|
-
task_context?: {
|
|
947
|
-
acceptance_criteria?: {
|
|
948
|
-
id:
|
|
949
|
-
text:
|
|
950
|
-
}[] | undefined;
|
|
951
|
-
description?: string | undefined;
|
|
952
|
-
id?: string | undefined;
|
|
953
|
-
title?: string | undefined;
|
|
946
|
+
readonly task_context?: {
|
|
947
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
948
|
+
readonly id: Schema.NonEmptyString;
|
|
949
|
+
readonly text: Schema.NonEmptyString;
|
|
950
|
+
}, "Type">[] | undefined;
|
|
951
|
+
readonly description?: string | undefined;
|
|
952
|
+
readonly id?: string | undefined;
|
|
953
|
+
readonly title?: string | undefined;
|
|
954
954
|
} | undefined;
|
|
955
|
-
timeout_ms?: number | undefined;
|
|
955
|
+
readonly timeout_ms?: number | undefined;
|
|
956
956
|
} & {
|
|
957
957
|
builtin: string;
|
|
958
958
|
kind: "builtin";
|
|
959
959
|
}) | ({
|
|
960
|
-
artifacts?: {
|
|
961
|
-
path: string;
|
|
962
|
-
required?: boolean | undefined;
|
|
960
|
+
readonly artifacts?: {
|
|
961
|
+
readonly path: string;
|
|
962
|
+
readonly required?: boolean | undefined;
|
|
963
963
|
}[] | undefined;
|
|
964
|
-
gates?: ({
|
|
965
|
-
id?: string | undefined;
|
|
966
|
-
required?: boolean | undefined;
|
|
967
|
-
path?: string | undefined;
|
|
968
|
-
target?: "artifact" | "stdout" | undefined;
|
|
969
|
-
acceptance_key?: string | undefined;
|
|
970
|
-
kind: "acceptance";
|
|
964
|
+
readonly gates?: ({
|
|
965
|
+
readonly id?: string | undefined;
|
|
966
|
+
readonly required?: boolean | undefined;
|
|
967
|
+
readonly path?: string | undefined;
|
|
968
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
969
|
+
readonly acceptance_key?: string | undefined;
|
|
970
|
+
readonly kind: "acceptance";
|
|
971
971
|
} | {
|
|
972
|
-
id?: string | undefined;
|
|
973
|
-
required?: boolean | undefined;
|
|
974
|
-
kind: "artifact";
|
|
975
|
-
path: string;
|
|
972
|
+
readonly id?: string | undefined;
|
|
973
|
+
readonly required?: boolean | undefined;
|
|
974
|
+
readonly kind: "artifact";
|
|
975
|
+
readonly path: string;
|
|
976
976
|
} | {
|
|
977
|
-
id?: string | undefined;
|
|
978
|
-
required?: boolean | undefined;
|
|
979
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
980
|
-
kind: "builtin";
|
|
977
|
+
readonly id?: string | undefined;
|
|
978
|
+
readonly required?: boolean | undefined;
|
|
979
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
980
|
+
readonly kind: "builtin";
|
|
981
981
|
} | {
|
|
982
|
-
id?: string | undefined;
|
|
983
|
-
required?: boolean | undefined;
|
|
984
|
-
changed_files: {
|
|
985
|
-
allow?: string[] | undefined;
|
|
986
|
-
deny?: string[] | undefined;
|
|
987
|
-
include_untracked?: boolean | undefined;
|
|
988
|
-
require_any?: string[] | undefined;
|
|
982
|
+
readonly id?: string | undefined;
|
|
983
|
+
readonly required?: boolean | undefined;
|
|
984
|
+
readonly changed_files: {
|
|
985
|
+
readonly allow?: string[] | undefined;
|
|
986
|
+
readonly deny?: string[] | undefined;
|
|
987
|
+
readonly include_untracked?: boolean | undefined;
|
|
988
|
+
readonly require_any?: string[] | undefined;
|
|
989
989
|
};
|
|
990
|
-
kind: "changed_files";
|
|
990
|
+
readonly kind: "changed_files";
|
|
991
991
|
} | {
|
|
992
|
-
id?: string | undefined;
|
|
993
|
-
required?: boolean | undefined;
|
|
994
|
-
command: string[];
|
|
995
|
-
expect_exit_code?: number | undefined;
|
|
996
|
-
kind: "command";
|
|
997
|
-
timeout_ms?: number | undefined;
|
|
992
|
+
readonly id?: string | undefined;
|
|
993
|
+
readonly required?: boolean | undefined;
|
|
994
|
+
readonly command: string[];
|
|
995
|
+
readonly expect_exit_code?: number | undefined;
|
|
996
|
+
readonly kind: "command";
|
|
997
|
+
readonly timeout_ms?: number | undefined;
|
|
998
998
|
} | {
|
|
999
|
-
id?: string | undefined;
|
|
1000
|
-
required?: boolean | undefined;
|
|
1001
|
-
path?: string | undefined;
|
|
1002
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1003
|
-
kind: "json_schema";
|
|
1004
|
-
schema_path: string;
|
|
999
|
+
readonly id?: string | undefined;
|
|
1000
|
+
readonly required?: boolean | undefined;
|
|
1001
|
+
readonly path?: string | undefined;
|
|
1002
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1003
|
+
readonly kind: "json_schema";
|
|
1004
|
+
readonly schema_path: string;
|
|
1005
1005
|
} | {
|
|
1006
|
-
id?: string | undefined;
|
|
1007
|
-
required?: boolean | undefined;
|
|
1008
|
-
path?: string | undefined;
|
|
1009
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1010
|
-
equals?: string | undefined;
|
|
1011
|
-
field?: string | undefined;
|
|
1012
|
-
kind: "verdict";
|
|
1006
|
+
readonly id?: string | undefined;
|
|
1007
|
+
readonly required?: boolean | undefined;
|
|
1008
|
+
readonly path?: string | undefined;
|
|
1009
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1010
|
+
readonly equals?: string | undefined;
|
|
1011
|
+
readonly field?: string | undefined;
|
|
1012
|
+
readonly kind: "verdict";
|
|
1013
1013
|
})[] | undefined;
|
|
1014
|
-
id: string;
|
|
1015
|
-
models?: string[] | undefined;
|
|
1016
|
-
needs?: string[] | undefined;
|
|
1017
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1018
|
-
retries?: {
|
|
1019
|
-
backoff_ms?: number | undefined;
|
|
1020
|
-
max_attempts: number;
|
|
1021
|
-
multiplier?: number | undefined;
|
|
1022
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1014
|
+
readonly id: string;
|
|
1015
|
+
readonly models?: string[] | undefined;
|
|
1016
|
+
readonly needs?: string[] | undefined;
|
|
1017
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1018
|
+
readonly retries?: {
|
|
1019
|
+
readonly backoff_ms?: number | undefined;
|
|
1020
|
+
readonly max_attempts: number;
|
|
1021
|
+
readonly multiplier?: number | undefined;
|
|
1022
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1023
1023
|
} | undefined;
|
|
1024
|
-
task_context?: {
|
|
1025
|
-
acceptance_criteria?: {
|
|
1026
|
-
id:
|
|
1027
|
-
text:
|
|
1028
|
-
}[] | undefined;
|
|
1029
|
-
description?: string | undefined;
|
|
1030
|
-
id?: string | undefined;
|
|
1031
|
-
title?: string | undefined;
|
|
1024
|
+
readonly task_context?: {
|
|
1025
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1026
|
+
readonly id: Schema.NonEmptyString;
|
|
1027
|
+
readonly text: Schema.NonEmptyString;
|
|
1028
|
+
}, "Type">[] | undefined;
|
|
1029
|
+
readonly description?: string | undefined;
|
|
1030
|
+
readonly id?: string | undefined;
|
|
1031
|
+
readonly title?: string | undefined;
|
|
1032
1032
|
} | undefined;
|
|
1033
|
-
timeout_ms?: number | undefined;
|
|
1033
|
+
readonly timeout_ms?: number | undefined;
|
|
1034
1034
|
} & {
|
|
1035
1035
|
command: string[];
|
|
1036
1036
|
kind: "command";
|
|
1037
1037
|
}) | ({
|
|
1038
|
-
artifacts?: {
|
|
1039
|
-
path: string;
|
|
1040
|
-
required?: boolean | undefined;
|
|
1038
|
+
readonly artifacts?: {
|
|
1039
|
+
readonly path: string;
|
|
1040
|
+
readonly required?: boolean | undefined;
|
|
1041
1041
|
}[] | undefined;
|
|
1042
|
-
gates?: ({
|
|
1043
|
-
id?: string | undefined;
|
|
1044
|
-
required?: boolean | undefined;
|
|
1045
|
-
path?: string | undefined;
|
|
1046
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1047
|
-
acceptance_key?: string | undefined;
|
|
1048
|
-
kind: "acceptance";
|
|
1042
|
+
readonly gates?: ({
|
|
1043
|
+
readonly id?: string | undefined;
|
|
1044
|
+
readonly required?: boolean | undefined;
|
|
1045
|
+
readonly path?: string | undefined;
|
|
1046
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1047
|
+
readonly acceptance_key?: string | undefined;
|
|
1048
|
+
readonly kind: "acceptance";
|
|
1049
1049
|
} | {
|
|
1050
|
-
id?: string | undefined;
|
|
1051
|
-
required?: boolean | undefined;
|
|
1052
|
-
kind: "artifact";
|
|
1053
|
-
path: string;
|
|
1050
|
+
readonly id?: string | undefined;
|
|
1051
|
+
readonly required?: boolean | undefined;
|
|
1052
|
+
readonly kind: "artifact";
|
|
1053
|
+
readonly path: string;
|
|
1054
1054
|
} | {
|
|
1055
|
-
id?: string | undefined;
|
|
1056
|
-
required?: boolean | undefined;
|
|
1057
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1058
|
-
kind: "builtin";
|
|
1055
|
+
readonly id?: string | undefined;
|
|
1056
|
+
readonly required?: boolean | undefined;
|
|
1057
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1058
|
+
readonly kind: "builtin";
|
|
1059
1059
|
} | {
|
|
1060
|
-
id?: string | undefined;
|
|
1061
|
-
required?: boolean | undefined;
|
|
1062
|
-
changed_files: {
|
|
1063
|
-
allow?: string[] | undefined;
|
|
1064
|
-
deny?: string[] | undefined;
|
|
1065
|
-
include_untracked?: boolean | undefined;
|
|
1066
|
-
require_any?: string[] | undefined;
|
|
1060
|
+
readonly id?: string | undefined;
|
|
1061
|
+
readonly required?: boolean | undefined;
|
|
1062
|
+
readonly changed_files: {
|
|
1063
|
+
readonly allow?: string[] | undefined;
|
|
1064
|
+
readonly deny?: string[] | undefined;
|
|
1065
|
+
readonly include_untracked?: boolean | undefined;
|
|
1066
|
+
readonly require_any?: string[] | undefined;
|
|
1067
1067
|
};
|
|
1068
|
-
kind: "changed_files";
|
|
1068
|
+
readonly kind: "changed_files";
|
|
1069
1069
|
} | {
|
|
1070
|
-
id?: string | undefined;
|
|
1071
|
-
required?: boolean | undefined;
|
|
1072
|
-
command: string[];
|
|
1073
|
-
expect_exit_code?: number | undefined;
|
|
1074
|
-
kind: "command";
|
|
1075
|
-
timeout_ms?: number | undefined;
|
|
1070
|
+
readonly id?: string | undefined;
|
|
1071
|
+
readonly required?: boolean | undefined;
|
|
1072
|
+
readonly command: string[];
|
|
1073
|
+
readonly expect_exit_code?: number | undefined;
|
|
1074
|
+
readonly kind: "command";
|
|
1075
|
+
readonly timeout_ms?: number | undefined;
|
|
1076
1076
|
} | {
|
|
1077
|
-
id?: string | undefined;
|
|
1078
|
-
required?: boolean | undefined;
|
|
1079
|
-
path?: string | undefined;
|
|
1080
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1081
|
-
kind: "json_schema";
|
|
1082
|
-
schema_path: string;
|
|
1077
|
+
readonly id?: string | undefined;
|
|
1078
|
+
readonly required?: boolean | undefined;
|
|
1079
|
+
readonly path?: string | undefined;
|
|
1080
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1081
|
+
readonly kind: "json_schema";
|
|
1082
|
+
readonly schema_path: string;
|
|
1083
1083
|
} | {
|
|
1084
|
-
id?: string | undefined;
|
|
1085
|
-
required?: boolean | undefined;
|
|
1086
|
-
path?: string | undefined;
|
|
1087
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1088
|
-
equals?: string | undefined;
|
|
1089
|
-
field?: string | undefined;
|
|
1090
|
-
kind: "verdict";
|
|
1084
|
+
readonly id?: string | undefined;
|
|
1085
|
+
readonly required?: boolean | undefined;
|
|
1086
|
+
readonly path?: string | undefined;
|
|
1087
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1088
|
+
readonly equals?: string | undefined;
|
|
1089
|
+
readonly field?: string | undefined;
|
|
1090
|
+
readonly kind: "verdict";
|
|
1091
1091
|
})[] | undefined;
|
|
1092
|
-
id: string;
|
|
1093
|
-
models?: string[] | undefined;
|
|
1094
|
-
needs?: string[] | undefined;
|
|
1095
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1096
|
-
retries?: {
|
|
1097
|
-
backoff_ms?: number | undefined;
|
|
1098
|
-
max_attempts: number;
|
|
1099
|
-
multiplier?: number | undefined;
|
|
1100
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1092
|
+
readonly id: string;
|
|
1093
|
+
readonly models?: string[] | undefined;
|
|
1094
|
+
readonly needs?: string[] | undefined;
|
|
1095
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1096
|
+
readonly retries?: {
|
|
1097
|
+
readonly backoff_ms?: number | undefined;
|
|
1098
|
+
readonly max_attempts: number;
|
|
1099
|
+
readonly multiplier?: number | undefined;
|
|
1100
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1101
1101
|
} | undefined;
|
|
1102
|
-
task_context?: {
|
|
1103
|
-
acceptance_criteria?: {
|
|
1104
|
-
id:
|
|
1105
|
-
text:
|
|
1106
|
-
}[] | undefined;
|
|
1107
|
-
description?: string | undefined;
|
|
1108
|
-
id?: string | undefined;
|
|
1109
|
-
title?: string | undefined;
|
|
1102
|
+
readonly task_context?: {
|
|
1103
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1104
|
+
readonly id: Schema.NonEmptyString;
|
|
1105
|
+
readonly text: Schema.NonEmptyString;
|
|
1106
|
+
}, "Type">[] | undefined;
|
|
1107
|
+
readonly description?: string | undefined;
|
|
1108
|
+
readonly id?: string | undefined;
|
|
1109
|
+
readonly title?: string | undefined;
|
|
1110
1110
|
} | undefined;
|
|
1111
|
-
timeout_ms?: number | undefined;
|
|
1111
|
+
readonly timeout_ms?: number | undefined;
|
|
1112
1112
|
} & {
|
|
1113
1113
|
kind: "group";
|
|
1114
1114
|
nodes: string[];
|
|
1115
1115
|
}) | ({
|
|
1116
|
-
artifacts?: {
|
|
1117
|
-
path: string;
|
|
1118
|
-
required?: boolean | undefined;
|
|
1116
|
+
readonly artifacts?: {
|
|
1117
|
+
readonly path: string;
|
|
1118
|
+
readonly required?: boolean | undefined;
|
|
1119
1119
|
}[] | undefined;
|
|
1120
|
-
gates?: ({
|
|
1121
|
-
id?: string | undefined;
|
|
1122
|
-
required?: boolean | undefined;
|
|
1123
|
-
path?: string | undefined;
|
|
1124
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1125
|
-
acceptance_key?: string | undefined;
|
|
1126
|
-
kind: "acceptance";
|
|
1120
|
+
readonly gates?: ({
|
|
1121
|
+
readonly id?: string | undefined;
|
|
1122
|
+
readonly required?: boolean | undefined;
|
|
1123
|
+
readonly path?: string | undefined;
|
|
1124
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1125
|
+
readonly acceptance_key?: string | undefined;
|
|
1126
|
+
readonly kind: "acceptance";
|
|
1127
1127
|
} | {
|
|
1128
|
-
id?: string | undefined;
|
|
1129
|
-
required?: boolean | undefined;
|
|
1130
|
-
kind: "artifact";
|
|
1131
|
-
path: string;
|
|
1128
|
+
readonly id?: string | undefined;
|
|
1129
|
+
readonly required?: boolean | undefined;
|
|
1130
|
+
readonly kind: "artifact";
|
|
1131
|
+
readonly path: string;
|
|
1132
1132
|
} | {
|
|
1133
|
-
id?: string | undefined;
|
|
1134
|
-
required?: boolean | undefined;
|
|
1135
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1136
|
-
kind: "builtin";
|
|
1133
|
+
readonly id?: string | undefined;
|
|
1134
|
+
readonly required?: boolean | undefined;
|
|
1135
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1136
|
+
readonly kind: "builtin";
|
|
1137
1137
|
} | {
|
|
1138
|
-
id?: string | undefined;
|
|
1139
|
-
required?: boolean | undefined;
|
|
1140
|
-
changed_files: {
|
|
1141
|
-
allow?: string[] | undefined;
|
|
1142
|
-
deny?: string[] | undefined;
|
|
1143
|
-
include_untracked?: boolean | undefined;
|
|
1144
|
-
require_any?: string[] | undefined;
|
|
1138
|
+
readonly id?: string | undefined;
|
|
1139
|
+
readonly required?: boolean | undefined;
|
|
1140
|
+
readonly changed_files: {
|
|
1141
|
+
readonly allow?: string[] | undefined;
|
|
1142
|
+
readonly deny?: string[] | undefined;
|
|
1143
|
+
readonly include_untracked?: boolean | undefined;
|
|
1144
|
+
readonly require_any?: string[] | undefined;
|
|
1145
1145
|
};
|
|
1146
|
-
kind: "changed_files";
|
|
1146
|
+
readonly kind: "changed_files";
|
|
1147
1147
|
} | {
|
|
1148
|
-
id?: string | undefined;
|
|
1149
|
-
required?: boolean | undefined;
|
|
1150
|
-
command: string[];
|
|
1151
|
-
expect_exit_code?: number | undefined;
|
|
1152
|
-
kind: "command";
|
|
1153
|
-
timeout_ms?: number | undefined;
|
|
1148
|
+
readonly id?: string | undefined;
|
|
1149
|
+
readonly required?: boolean | undefined;
|
|
1150
|
+
readonly command: string[];
|
|
1151
|
+
readonly expect_exit_code?: number | undefined;
|
|
1152
|
+
readonly kind: "command";
|
|
1153
|
+
readonly timeout_ms?: number | undefined;
|
|
1154
1154
|
} | {
|
|
1155
|
-
id?: string | undefined;
|
|
1156
|
-
required?: boolean | undefined;
|
|
1157
|
-
path?: string | undefined;
|
|
1158
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1159
|
-
kind: "json_schema";
|
|
1160
|
-
schema_path: string;
|
|
1155
|
+
readonly id?: string | undefined;
|
|
1156
|
+
readonly required?: boolean | undefined;
|
|
1157
|
+
readonly path?: string | undefined;
|
|
1158
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1159
|
+
readonly kind: "json_schema";
|
|
1160
|
+
readonly schema_path: string;
|
|
1161
1161
|
} | {
|
|
1162
|
-
id?: string | undefined;
|
|
1163
|
-
required?: boolean | undefined;
|
|
1164
|
-
path?: string | undefined;
|
|
1165
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1166
|
-
equals?: string | undefined;
|
|
1167
|
-
field?: string | undefined;
|
|
1168
|
-
kind: "verdict";
|
|
1162
|
+
readonly id?: string | undefined;
|
|
1163
|
+
readonly required?: boolean | undefined;
|
|
1164
|
+
readonly path?: string | undefined;
|
|
1165
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1166
|
+
readonly equals?: string | undefined;
|
|
1167
|
+
readonly field?: string | undefined;
|
|
1168
|
+
readonly kind: "verdict";
|
|
1169
1169
|
})[] | undefined;
|
|
1170
|
-
id: string;
|
|
1171
|
-
models?: string[] | undefined;
|
|
1172
|
-
needs?: string[] | undefined;
|
|
1173
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1174
|
-
retries?: {
|
|
1175
|
-
backoff_ms?: number | undefined;
|
|
1176
|
-
max_attempts: number;
|
|
1177
|
-
multiplier?: number | undefined;
|
|
1178
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1170
|
+
readonly id: string;
|
|
1171
|
+
readonly models?: string[] | undefined;
|
|
1172
|
+
readonly needs?: string[] | undefined;
|
|
1173
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1174
|
+
readonly retries?: {
|
|
1175
|
+
readonly backoff_ms?: number | undefined;
|
|
1176
|
+
readonly max_attempts: number;
|
|
1177
|
+
readonly multiplier?: number | undefined;
|
|
1178
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1179
1179
|
} | undefined;
|
|
1180
|
-
task_context?: {
|
|
1181
|
-
acceptance_criteria?: {
|
|
1182
|
-
id:
|
|
1183
|
-
text:
|
|
1184
|
-
}[] | undefined;
|
|
1185
|
-
description?: string | undefined;
|
|
1186
|
-
id?: string | undefined;
|
|
1187
|
-
title?: string | undefined;
|
|
1180
|
+
readonly task_context?: {
|
|
1181
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1182
|
+
readonly id: Schema.NonEmptyString;
|
|
1183
|
+
readonly text: Schema.NonEmptyString;
|
|
1184
|
+
}, "Type">[] | undefined;
|
|
1185
|
+
readonly description?: string | undefined;
|
|
1186
|
+
readonly id?: string | undefined;
|
|
1187
|
+
readonly title?: string | undefined;
|
|
1188
1188
|
} | undefined;
|
|
1189
|
-
timeout_ms?: number | undefined;
|
|
1189
|
+
readonly timeout_ms?: number | undefined;
|
|
1190
1190
|
} & {
|
|
1191
1191
|
kind: "parallel";
|
|
1192
1192
|
nodes: (({
|
|
1193
|
-
artifacts?: {
|
|
1194
|
-
path: string;
|
|
1195
|
-
required?: boolean | undefined;
|
|
1193
|
+
readonly artifacts?: {
|
|
1194
|
+
readonly path: string;
|
|
1195
|
+
readonly required?: boolean | undefined;
|
|
1196
1196
|
}[] | undefined;
|
|
1197
|
-
gates?: ({
|
|
1198
|
-
id?: string | undefined;
|
|
1199
|
-
required?: boolean | undefined;
|
|
1200
|
-
path?: string | undefined;
|
|
1201
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1202
|
-
acceptance_key?: string | undefined;
|
|
1203
|
-
kind: "acceptance";
|
|
1197
|
+
readonly gates?: ({
|
|
1198
|
+
readonly id?: string | undefined;
|
|
1199
|
+
readonly required?: boolean | undefined;
|
|
1200
|
+
readonly path?: string | undefined;
|
|
1201
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1202
|
+
readonly acceptance_key?: string | undefined;
|
|
1203
|
+
readonly kind: "acceptance";
|
|
1204
1204
|
} | {
|
|
1205
|
-
id?: string | undefined;
|
|
1206
|
-
required?: boolean | undefined;
|
|
1207
|
-
kind: "artifact";
|
|
1208
|
-
path: string;
|
|
1205
|
+
readonly id?: string | undefined;
|
|
1206
|
+
readonly required?: boolean | undefined;
|
|
1207
|
+
readonly kind: "artifact";
|
|
1208
|
+
readonly path: string;
|
|
1209
1209
|
} | {
|
|
1210
|
-
id?: string | undefined;
|
|
1211
|
-
required?: boolean | undefined;
|
|
1212
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1213
|
-
kind: "builtin";
|
|
1210
|
+
readonly id?: string | undefined;
|
|
1211
|
+
readonly required?: boolean | undefined;
|
|
1212
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1213
|
+
readonly kind: "builtin";
|
|
1214
1214
|
} | {
|
|
1215
|
-
id?: string | undefined;
|
|
1216
|
-
required?: boolean | undefined;
|
|
1217
|
-
changed_files: {
|
|
1218
|
-
allow?: string[] | undefined;
|
|
1219
|
-
deny?: string[] | undefined;
|
|
1220
|
-
include_untracked?: boolean | undefined;
|
|
1221
|
-
require_any?: string[] | undefined;
|
|
1215
|
+
readonly id?: string | undefined;
|
|
1216
|
+
readonly required?: boolean | undefined;
|
|
1217
|
+
readonly changed_files: {
|
|
1218
|
+
readonly allow?: string[] | undefined;
|
|
1219
|
+
readonly deny?: string[] | undefined;
|
|
1220
|
+
readonly include_untracked?: boolean | undefined;
|
|
1221
|
+
readonly require_any?: string[] | undefined;
|
|
1222
1222
|
};
|
|
1223
|
-
kind: "changed_files";
|
|
1223
|
+
readonly kind: "changed_files";
|
|
1224
1224
|
} | {
|
|
1225
|
-
id?: string | undefined;
|
|
1226
|
-
required?: boolean | undefined;
|
|
1227
|
-
command: string[];
|
|
1228
|
-
expect_exit_code?: number | undefined;
|
|
1229
|
-
kind: "command";
|
|
1230
|
-
timeout_ms?: number | undefined;
|
|
1225
|
+
readonly id?: string | undefined;
|
|
1226
|
+
readonly required?: boolean | undefined;
|
|
1227
|
+
readonly command: string[];
|
|
1228
|
+
readonly expect_exit_code?: number | undefined;
|
|
1229
|
+
readonly kind: "command";
|
|
1230
|
+
readonly timeout_ms?: number | undefined;
|
|
1231
1231
|
} | {
|
|
1232
|
-
id?: string | undefined;
|
|
1233
|
-
required?: boolean | undefined;
|
|
1234
|
-
path?: string | undefined;
|
|
1235
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1236
|
-
kind: "json_schema";
|
|
1237
|
-
schema_path: string;
|
|
1232
|
+
readonly id?: string | undefined;
|
|
1233
|
+
readonly required?: boolean | undefined;
|
|
1234
|
+
readonly path?: string | undefined;
|
|
1235
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1236
|
+
readonly kind: "json_schema";
|
|
1237
|
+
readonly schema_path: string;
|
|
1238
1238
|
} | {
|
|
1239
|
-
id?: string | undefined;
|
|
1240
|
-
required?: boolean | undefined;
|
|
1241
|
-
path?: string | undefined;
|
|
1242
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1243
|
-
equals?: string | undefined;
|
|
1244
|
-
field?: string | undefined;
|
|
1245
|
-
kind: "verdict";
|
|
1239
|
+
readonly id?: string | undefined;
|
|
1240
|
+
readonly required?: boolean | undefined;
|
|
1241
|
+
readonly path?: string | undefined;
|
|
1242
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1243
|
+
readonly equals?: string | undefined;
|
|
1244
|
+
readonly field?: string | undefined;
|
|
1245
|
+
readonly kind: "verdict";
|
|
1246
1246
|
})[] | undefined;
|
|
1247
|
-
id: string;
|
|
1248
|
-
models?: string[] | undefined;
|
|
1249
|
-
needs?: string[] | undefined;
|
|
1250
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1251
|
-
retries?: {
|
|
1252
|
-
backoff_ms?: number | undefined;
|
|
1253
|
-
max_attempts: number;
|
|
1254
|
-
multiplier?: number | undefined;
|
|
1255
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1247
|
+
readonly id: string;
|
|
1248
|
+
readonly models?: string[] | undefined;
|
|
1249
|
+
readonly needs?: string[] | undefined;
|
|
1250
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1251
|
+
readonly retries?: {
|
|
1252
|
+
readonly backoff_ms?: number | undefined;
|
|
1253
|
+
readonly max_attempts: number;
|
|
1254
|
+
readonly multiplier?: number | undefined;
|
|
1255
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1256
1256
|
} | undefined;
|
|
1257
|
-
task_context?: {
|
|
1258
|
-
acceptance_criteria?: {
|
|
1259
|
-
id:
|
|
1260
|
-
text:
|
|
1261
|
-
}[] | undefined;
|
|
1262
|
-
description?: string | undefined;
|
|
1263
|
-
id?: string | undefined;
|
|
1264
|
-
title?: string | undefined;
|
|
1257
|
+
readonly task_context?: {
|
|
1258
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1259
|
+
readonly id: Schema.NonEmptyString;
|
|
1260
|
+
readonly text: Schema.NonEmptyString;
|
|
1261
|
+
}, "Type">[] | undefined;
|
|
1262
|
+
readonly description?: string | undefined;
|
|
1263
|
+
readonly id?: string | undefined;
|
|
1264
|
+
readonly title?: string | undefined;
|
|
1265
1265
|
} | undefined;
|
|
1266
|
-
timeout_ms?: number | undefined;
|
|
1266
|
+
readonly timeout_ms?: number | undefined;
|
|
1267
1267
|
} & {
|
|
1268
1268
|
category?: string;
|
|
1269
1269
|
kind: "agent";
|
|
1270
1270
|
profile: string;
|
|
1271
1271
|
}) | ({
|
|
1272
|
-
artifacts?: {
|
|
1273
|
-
path: string;
|
|
1274
|
-
required?: boolean | undefined;
|
|
1272
|
+
readonly artifacts?: {
|
|
1273
|
+
readonly path: string;
|
|
1274
|
+
readonly required?: boolean | undefined;
|
|
1275
1275
|
}[] | undefined;
|
|
1276
|
-
gates?: ({
|
|
1277
|
-
id?: string | undefined;
|
|
1278
|
-
required?: boolean | undefined;
|
|
1279
|
-
path?: string | undefined;
|
|
1280
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1281
|
-
acceptance_key?: string | undefined;
|
|
1282
|
-
kind: "acceptance";
|
|
1276
|
+
readonly gates?: ({
|
|
1277
|
+
readonly id?: string | undefined;
|
|
1278
|
+
readonly required?: boolean | undefined;
|
|
1279
|
+
readonly path?: string | undefined;
|
|
1280
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1281
|
+
readonly acceptance_key?: string | undefined;
|
|
1282
|
+
readonly kind: "acceptance";
|
|
1283
1283
|
} | {
|
|
1284
|
-
id?: string | undefined;
|
|
1285
|
-
required?: boolean | undefined;
|
|
1286
|
-
kind: "artifact";
|
|
1287
|
-
path: string;
|
|
1284
|
+
readonly id?: string | undefined;
|
|
1285
|
+
readonly required?: boolean | undefined;
|
|
1286
|
+
readonly kind: "artifact";
|
|
1287
|
+
readonly path: string;
|
|
1288
1288
|
} | {
|
|
1289
|
-
id?: string | undefined;
|
|
1290
|
-
required?: boolean | undefined;
|
|
1291
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1292
|
-
kind: "builtin";
|
|
1289
|
+
readonly id?: string | undefined;
|
|
1290
|
+
readonly required?: boolean | undefined;
|
|
1291
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1292
|
+
readonly kind: "builtin";
|
|
1293
1293
|
} | {
|
|
1294
|
-
id?: string | undefined;
|
|
1295
|
-
required?: boolean | undefined;
|
|
1296
|
-
changed_files: {
|
|
1297
|
-
allow?: string[] | undefined;
|
|
1298
|
-
deny?: string[] | undefined;
|
|
1299
|
-
include_untracked?: boolean | undefined;
|
|
1300
|
-
require_any?: string[] | undefined;
|
|
1294
|
+
readonly id?: string | undefined;
|
|
1295
|
+
readonly required?: boolean | undefined;
|
|
1296
|
+
readonly changed_files: {
|
|
1297
|
+
readonly allow?: string[] | undefined;
|
|
1298
|
+
readonly deny?: string[] | undefined;
|
|
1299
|
+
readonly include_untracked?: boolean | undefined;
|
|
1300
|
+
readonly require_any?: string[] | undefined;
|
|
1301
1301
|
};
|
|
1302
|
-
kind: "changed_files";
|
|
1302
|
+
readonly kind: "changed_files";
|
|
1303
1303
|
} | {
|
|
1304
|
-
id?: string | undefined;
|
|
1305
|
-
required?: boolean | undefined;
|
|
1306
|
-
command: string[];
|
|
1307
|
-
expect_exit_code?: number | undefined;
|
|
1308
|
-
kind: "command";
|
|
1309
|
-
timeout_ms?: number | undefined;
|
|
1304
|
+
readonly id?: string | undefined;
|
|
1305
|
+
readonly required?: boolean | undefined;
|
|
1306
|
+
readonly command: string[];
|
|
1307
|
+
readonly expect_exit_code?: number | undefined;
|
|
1308
|
+
readonly kind: "command";
|
|
1309
|
+
readonly timeout_ms?: number | undefined;
|
|
1310
1310
|
} | {
|
|
1311
|
-
id?: string | undefined;
|
|
1312
|
-
required?: boolean | undefined;
|
|
1313
|
-
path?: string | undefined;
|
|
1314
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1315
|
-
kind: "json_schema";
|
|
1316
|
-
schema_path: string;
|
|
1311
|
+
readonly id?: string | undefined;
|
|
1312
|
+
readonly required?: boolean | undefined;
|
|
1313
|
+
readonly path?: string | undefined;
|
|
1314
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1315
|
+
readonly kind: "json_schema";
|
|
1316
|
+
readonly schema_path: string;
|
|
1317
1317
|
} | {
|
|
1318
|
-
id?: string | undefined;
|
|
1319
|
-
required?: boolean | undefined;
|
|
1320
|
-
path?: string | undefined;
|
|
1321
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1322
|
-
equals?: string | undefined;
|
|
1323
|
-
field?: string | undefined;
|
|
1324
|
-
kind: "verdict";
|
|
1318
|
+
readonly id?: string | undefined;
|
|
1319
|
+
readonly required?: boolean | undefined;
|
|
1320
|
+
readonly path?: string | undefined;
|
|
1321
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1322
|
+
readonly equals?: string | undefined;
|
|
1323
|
+
readonly field?: string | undefined;
|
|
1324
|
+
readonly kind: "verdict";
|
|
1325
1325
|
})[] | undefined;
|
|
1326
|
-
id: string;
|
|
1327
|
-
models?: string[] | undefined;
|
|
1328
|
-
needs?: string[] | undefined;
|
|
1329
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1330
|
-
retries?: {
|
|
1331
|
-
backoff_ms?: number | undefined;
|
|
1332
|
-
max_attempts: number;
|
|
1333
|
-
multiplier?: number | undefined;
|
|
1334
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1326
|
+
readonly id: string;
|
|
1327
|
+
readonly models?: string[] | undefined;
|
|
1328
|
+
readonly needs?: string[] | undefined;
|
|
1329
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1330
|
+
readonly retries?: {
|
|
1331
|
+
readonly backoff_ms?: number | undefined;
|
|
1332
|
+
readonly max_attempts: number;
|
|
1333
|
+
readonly multiplier?: number | undefined;
|
|
1334
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1335
1335
|
} | undefined;
|
|
1336
|
-
task_context?: {
|
|
1337
|
-
acceptance_criteria?: {
|
|
1338
|
-
id:
|
|
1339
|
-
text:
|
|
1340
|
-
}[] | undefined;
|
|
1341
|
-
description?: string | undefined;
|
|
1342
|
-
id?: string | undefined;
|
|
1343
|
-
title?: string | undefined;
|
|
1336
|
+
readonly task_context?: {
|
|
1337
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1338
|
+
readonly id: Schema.NonEmptyString;
|
|
1339
|
+
readonly text: Schema.NonEmptyString;
|
|
1340
|
+
}, "Type">[] | undefined;
|
|
1341
|
+
readonly description?: string | undefined;
|
|
1342
|
+
readonly id?: string | undefined;
|
|
1343
|
+
readonly title?: string | undefined;
|
|
1344
1344
|
} | undefined;
|
|
1345
|
-
timeout_ms?: number | undefined;
|
|
1345
|
+
readonly timeout_ms?: number | undefined;
|
|
1346
1346
|
} & {
|
|
1347
1347
|
builtin: string;
|
|
1348
1348
|
kind: "builtin";
|
|
1349
1349
|
}) | ({
|
|
1350
|
-
artifacts?: {
|
|
1351
|
-
path: string;
|
|
1352
|
-
required?: boolean | undefined;
|
|
1350
|
+
readonly artifacts?: {
|
|
1351
|
+
readonly path: string;
|
|
1352
|
+
readonly required?: boolean | undefined;
|
|
1353
1353
|
}[] | undefined;
|
|
1354
|
-
gates?: ({
|
|
1355
|
-
id?: string | undefined;
|
|
1356
|
-
required?: boolean | undefined;
|
|
1357
|
-
path?: string | undefined;
|
|
1358
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1359
|
-
acceptance_key?: string | undefined;
|
|
1360
|
-
kind: "acceptance";
|
|
1354
|
+
readonly gates?: ({
|
|
1355
|
+
readonly id?: string | undefined;
|
|
1356
|
+
readonly required?: boolean | undefined;
|
|
1357
|
+
readonly path?: string | undefined;
|
|
1358
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1359
|
+
readonly acceptance_key?: string | undefined;
|
|
1360
|
+
readonly kind: "acceptance";
|
|
1361
1361
|
} | {
|
|
1362
|
-
id?: string | undefined;
|
|
1363
|
-
required?: boolean | undefined;
|
|
1364
|
-
kind: "artifact";
|
|
1365
|
-
path: string;
|
|
1362
|
+
readonly id?: string | undefined;
|
|
1363
|
+
readonly required?: boolean | undefined;
|
|
1364
|
+
readonly kind: "artifact";
|
|
1365
|
+
readonly path: string;
|
|
1366
1366
|
} | {
|
|
1367
|
-
id?: string | undefined;
|
|
1368
|
-
required?: boolean | undefined;
|
|
1369
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1370
|
-
kind: "builtin";
|
|
1367
|
+
readonly id?: string | undefined;
|
|
1368
|
+
readonly required?: boolean | undefined;
|
|
1369
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1370
|
+
readonly kind: "builtin";
|
|
1371
1371
|
} | {
|
|
1372
|
-
id?: string | undefined;
|
|
1373
|
-
required?: boolean | undefined;
|
|
1374
|
-
changed_files: {
|
|
1375
|
-
allow?: string[] | undefined;
|
|
1376
|
-
deny?: string[] | undefined;
|
|
1377
|
-
include_untracked?: boolean | undefined;
|
|
1378
|
-
require_any?: string[] | undefined;
|
|
1372
|
+
readonly id?: string | undefined;
|
|
1373
|
+
readonly required?: boolean | undefined;
|
|
1374
|
+
readonly changed_files: {
|
|
1375
|
+
readonly allow?: string[] | undefined;
|
|
1376
|
+
readonly deny?: string[] | undefined;
|
|
1377
|
+
readonly include_untracked?: boolean | undefined;
|
|
1378
|
+
readonly require_any?: string[] | undefined;
|
|
1379
1379
|
};
|
|
1380
|
-
kind: "changed_files";
|
|
1380
|
+
readonly kind: "changed_files";
|
|
1381
1381
|
} | {
|
|
1382
|
-
id?: string | undefined;
|
|
1383
|
-
required?: boolean | undefined;
|
|
1384
|
-
command: string[];
|
|
1385
|
-
expect_exit_code?: number | undefined;
|
|
1386
|
-
kind: "command";
|
|
1387
|
-
timeout_ms?: number | undefined;
|
|
1382
|
+
readonly id?: string | undefined;
|
|
1383
|
+
readonly required?: boolean | undefined;
|
|
1384
|
+
readonly command: string[];
|
|
1385
|
+
readonly expect_exit_code?: number | undefined;
|
|
1386
|
+
readonly kind: "command";
|
|
1387
|
+
readonly timeout_ms?: number | undefined;
|
|
1388
1388
|
} | {
|
|
1389
|
-
id?: string | undefined;
|
|
1390
|
-
required?: boolean | undefined;
|
|
1391
|
-
path?: string | undefined;
|
|
1392
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1393
|
-
kind: "json_schema";
|
|
1394
|
-
schema_path: string;
|
|
1389
|
+
readonly id?: string | undefined;
|
|
1390
|
+
readonly required?: boolean | undefined;
|
|
1391
|
+
readonly path?: string | undefined;
|
|
1392
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1393
|
+
readonly kind: "json_schema";
|
|
1394
|
+
readonly schema_path: string;
|
|
1395
1395
|
} | {
|
|
1396
|
-
id?: string | undefined;
|
|
1397
|
-
required?: boolean | undefined;
|
|
1398
|
-
path?: string | undefined;
|
|
1399
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1400
|
-
equals?: string | undefined;
|
|
1401
|
-
field?: string | undefined;
|
|
1402
|
-
kind: "verdict";
|
|
1396
|
+
readonly id?: string | undefined;
|
|
1397
|
+
readonly required?: boolean | undefined;
|
|
1398
|
+
readonly path?: string | undefined;
|
|
1399
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1400
|
+
readonly equals?: string | undefined;
|
|
1401
|
+
readonly field?: string | undefined;
|
|
1402
|
+
readonly kind: "verdict";
|
|
1403
1403
|
})[] | undefined;
|
|
1404
|
-
id: string;
|
|
1405
|
-
models?: string[] | undefined;
|
|
1406
|
-
needs?: string[] | undefined;
|
|
1407
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1408
|
-
retries?: {
|
|
1409
|
-
backoff_ms?: number | undefined;
|
|
1410
|
-
max_attempts: number;
|
|
1411
|
-
multiplier?: number | undefined;
|
|
1412
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1404
|
+
readonly id: string;
|
|
1405
|
+
readonly models?: string[] | undefined;
|
|
1406
|
+
readonly needs?: string[] | undefined;
|
|
1407
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1408
|
+
readonly retries?: {
|
|
1409
|
+
readonly backoff_ms?: number | undefined;
|
|
1410
|
+
readonly max_attempts: number;
|
|
1411
|
+
readonly multiplier?: number | undefined;
|
|
1412
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1413
1413
|
} | undefined;
|
|
1414
|
-
task_context?: {
|
|
1415
|
-
acceptance_criteria?: {
|
|
1416
|
-
id:
|
|
1417
|
-
text:
|
|
1418
|
-
}[] | undefined;
|
|
1419
|
-
description?: string | undefined;
|
|
1420
|
-
id?: string | undefined;
|
|
1421
|
-
title?: string | undefined;
|
|
1414
|
+
readonly task_context?: {
|
|
1415
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1416
|
+
readonly id: Schema.NonEmptyString;
|
|
1417
|
+
readonly text: Schema.NonEmptyString;
|
|
1418
|
+
}, "Type">[] | undefined;
|
|
1419
|
+
readonly description?: string | undefined;
|
|
1420
|
+
readonly id?: string | undefined;
|
|
1421
|
+
readonly title?: string | undefined;
|
|
1422
1422
|
} | undefined;
|
|
1423
|
-
timeout_ms?: number | undefined;
|
|
1423
|
+
readonly timeout_ms?: number | undefined;
|
|
1424
1424
|
} & {
|
|
1425
1425
|
command: string[];
|
|
1426
1426
|
kind: "command";
|
|
1427
1427
|
}) | ({
|
|
1428
|
-
artifacts?: {
|
|
1429
|
-
path: string;
|
|
1430
|
-
required?: boolean | undefined;
|
|
1428
|
+
readonly artifacts?: {
|
|
1429
|
+
readonly path: string;
|
|
1430
|
+
readonly required?: boolean | undefined;
|
|
1431
1431
|
}[] | undefined;
|
|
1432
|
-
gates?: ({
|
|
1433
|
-
id?: string | undefined;
|
|
1434
|
-
required?: boolean | undefined;
|
|
1435
|
-
path?: string | undefined;
|
|
1436
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1437
|
-
acceptance_key?: string | undefined;
|
|
1438
|
-
kind: "acceptance";
|
|
1432
|
+
readonly gates?: ({
|
|
1433
|
+
readonly id?: string | undefined;
|
|
1434
|
+
readonly required?: boolean | undefined;
|
|
1435
|
+
readonly path?: string | undefined;
|
|
1436
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1437
|
+
readonly acceptance_key?: string | undefined;
|
|
1438
|
+
readonly kind: "acceptance";
|
|
1439
1439
|
} | {
|
|
1440
|
-
id?: string | undefined;
|
|
1441
|
-
required?: boolean | undefined;
|
|
1442
|
-
kind: "artifact";
|
|
1443
|
-
path: string;
|
|
1440
|
+
readonly id?: string | undefined;
|
|
1441
|
+
readonly required?: boolean | undefined;
|
|
1442
|
+
readonly kind: "artifact";
|
|
1443
|
+
readonly path: string;
|
|
1444
1444
|
} | {
|
|
1445
|
-
id?: string | undefined;
|
|
1446
|
-
required?: boolean | undefined;
|
|
1447
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1448
|
-
kind: "builtin";
|
|
1445
|
+
readonly id?: string | undefined;
|
|
1446
|
+
readonly required?: boolean | undefined;
|
|
1447
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1448
|
+
readonly kind: "builtin";
|
|
1449
1449
|
} | {
|
|
1450
|
-
id?: string | undefined;
|
|
1451
|
-
required?: boolean | undefined;
|
|
1452
|
-
changed_files: {
|
|
1453
|
-
allow?: string[] | undefined;
|
|
1454
|
-
deny?: string[] | undefined;
|
|
1455
|
-
include_untracked?: boolean | undefined;
|
|
1456
|
-
require_any?: string[] | undefined;
|
|
1450
|
+
readonly id?: string | undefined;
|
|
1451
|
+
readonly required?: boolean | undefined;
|
|
1452
|
+
readonly changed_files: {
|
|
1453
|
+
readonly allow?: string[] | undefined;
|
|
1454
|
+
readonly deny?: string[] | undefined;
|
|
1455
|
+
readonly include_untracked?: boolean | undefined;
|
|
1456
|
+
readonly require_any?: string[] | undefined;
|
|
1457
1457
|
};
|
|
1458
|
-
kind: "changed_files";
|
|
1458
|
+
readonly kind: "changed_files";
|
|
1459
1459
|
} | {
|
|
1460
|
-
id?: string | undefined;
|
|
1461
|
-
required?: boolean | undefined;
|
|
1462
|
-
command: string[];
|
|
1463
|
-
expect_exit_code?: number | undefined;
|
|
1464
|
-
kind: "command";
|
|
1465
|
-
timeout_ms?: number | undefined;
|
|
1460
|
+
readonly id?: string | undefined;
|
|
1461
|
+
readonly required?: boolean | undefined;
|
|
1462
|
+
readonly command: string[];
|
|
1463
|
+
readonly expect_exit_code?: number | undefined;
|
|
1464
|
+
readonly kind: "command";
|
|
1465
|
+
readonly timeout_ms?: number | undefined;
|
|
1466
1466
|
} | {
|
|
1467
|
-
id?: string | undefined;
|
|
1468
|
-
required?: boolean | undefined;
|
|
1469
|
-
path?: string | undefined;
|
|
1470
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1471
|
-
kind: "json_schema";
|
|
1472
|
-
schema_path: string;
|
|
1467
|
+
readonly id?: string | undefined;
|
|
1468
|
+
readonly required?: boolean | undefined;
|
|
1469
|
+
readonly path?: string | undefined;
|
|
1470
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1471
|
+
readonly kind: "json_schema";
|
|
1472
|
+
readonly schema_path: string;
|
|
1473
1473
|
} | {
|
|
1474
|
-
id?: string | undefined;
|
|
1475
|
-
required?: boolean | undefined;
|
|
1476
|
-
path?: string | undefined;
|
|
1477
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1478
|
-
equals?: string | undefined;
|
|
1479
|
-
field?: string | undefined;
|
|
1480
|
-
kind: "verdict";
|
|
1474
|
+
readonly id?: string | undefined;
|
|
1475
|
+
readonly required?: boolean | undefined;
|
|
1476
|
+
readonly path?: string | undefined;
|
|
1477
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1478
|
+
readonly equals?: string | undefined;
|
|
1479
|
+
readonly field?: string | undefined;
|
|
1480
|
+
readonly kind: "verdict";
|
|
1481
1481
|
})[] | undefined;
|
|
1482
|
-
id: string;
|
|
1483
|
-
models?: string[] | undefined;
|
|
1484
|
-
needs?: string[] | undefined;
|
|
1485
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1486
|
-
retries?: {
|
|
1487
|
-
backoff_ms?: number | undefined;
|
|
1488
|
-
max_attempts: number;
|
|
1489
|
-
multiplier?: number | undefined;
|
|
1490
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1482
|
+
readonly id: string;
|
|
1483
|
+
readonly models?: string[] | undefined;
|
|
1484
|
+
readonly needs?: string[] | undefined;
|
|
1485
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1486
|
+
readonly retries?: {
|
|
1487
|
+
readonly backoff_ms?: number | undefined;
|
|
1488
|
+
readonly max_attempts: number;
|
|
1489
|
+
readonly multiplier?: number | undefined;
|
|
1490
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1491
1491
|
} | undefined;
|
|
1492
|
-
task_context?: {
|
|
1493
|
-
acceptance_criteria?: {
|
|
1494
|
-
id:
|
|
1495
|
-
text:
|
|
1496
|
-
}[] | undefined;
|
|
1497
|
-
description?: string | undefined;
|
|
1498
|
-
id?: string | undefined;
|
|
1499
|
-
title?: string | undefined;
|
|
1492
|
+
readonly task_context?: {
|
|
1493
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1494
|
+
readonly id: Schema.NonEmptyString;
|
|
1495
|
+
readonly text: Schema.NonEmptyString;
|
|
1496
|
+
}, "Type">[] | undefined;
|
|
1497
|
+
readonly description?: string | undefined;
|
|
1498
|
+
readonly id?: string | undefined;
|
|
1499
|
+
readonly title?: string | undefined;
|
|
1500
1500
|
} | undefined;
|
|
1501
|
-
timeout_ms?: number | undefined;
|
|
1501
|
+
readonly timeout_ms?: number | undefined;
|
|
1502
1502
|
} & {
|
|
1503
1503
|
kind: "group";
|
|
1504
1504
|
nodes: string[];
|
|
1505
1505
|
}) | ({
|
|
1506
|
-
artifacts?: {
|
|
1507
|
-
path: string;
|
|
1508
|
-
required?: boolean | undefined;
|
|
1506
|
+
readonly artifacts?: {
|
|
1507
|
+
readonly path: string;
|
|
1508
|
+
readonly required?: boolean | undefined;
|
|
1509
1509
|
}[] | undefined;
|
|
1510
|
-
gates?: ({
|
|
1511
|
-
id?: string | undefined;
|
|
1512
|
-
required?: boolean | undefined;
|
|
1513
|
-
path?: string | undefined;
|
|
1514
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1515
|
-
acceptance_key?: string | undefined;
|
|
1516
|
-
kind: "acceptance";
|
|
1510
|
+
readonly gates?: ({
|
|
1511
|
+
readonly id?: string | undefined;
|
|
1512
|
+
readonly required?: boolean | undefined;
|
|
1513
|
+
readonly path?: string | undefined;
|
|
1514
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1515
|
+
readonly acceptance_key?: string | undefined;
|
|
1516
|
+
readonly kind: "acceptance";
|
|
1517
1517
|
} | {
|
|
1518
|
-
id?: string | undefined;
|
|
1519
|
-
required?: boolean | undefined;
|
|
1520
|
-
kind: "artifact";
|
|
1521
|
-
path: string;
|
|
1518
|
+
readonly id?: string | undefined;
|
|
1519
|
+
readonly required?: boolean | undefined;
|
|
1520
|
+
readonly kind: "artifact";
|
|
1521
|
+
readonly path: string;
|
|
1522
1522
|
} | {
|
|
1523
|
-
id?: string | undefined;
|
|
1524
|
-
required?: boolean | undefined;
|
|
1525
|
-
builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1526
|
-
kind: "builtin";
|
|
1523
|
+
readonly id?: string | undefined;
|
|
1524
|
+
readonly required?: boolean | undefined;
|
|
1525
|
+
readonly builtin: "duplication" | "fallow" | "lint" | "semgrep" | "test" | "typecheck";
|
|
1526
|
+
readonly kind: "builtin";
|
|
1527
1527
|
} | {
|
|
1528
|
-
id?: string | undefined;
|
|
1529
|
-
required?: boolean | undefined;
|
|
1530
|
-
changed_files: {
|
|
1531
|
-
allow?: string[] | undefined;
|
|
1532
|
-
deny?: string[] | undefined;
|
|
1533
|
-
include_untracked?: boolean | undefined;
|
|
1534
|
-
require_any?: string[] | undefined;
|
|
1528
|
+
readonly id?: string | undefined;
|
|
1529
|
+
readonly required?: boolean | undefined;
|
|
1530
|
+
readonly changed_files: {
|
|
1531
|
+
readonly allow?: string[] | undefined;
|
|
1532
|
+
readonly deny?: string[] | undefined;
|
|
1533
|
+
readonly include_untracked?: boolean | undefined;
|
|
1534
|
+
readonly require_any?: string[] | undefined;
|
|
1535
1535
|
};
|
|
1536
|
-
kind: "changed_files";
|
|
1536
|
+
readonly kind: "changed_files";
|
|
1537
1537
|
} | {
|
|
1538
|
-
id?: string | undefined;
|
|
1539
|
-
required?: boolean | undefined;
|
|
1540
|
-
command: string[];
|
|
1541
|
-
expect_exit_code?: number | undefined;
|
|
1542
|
-
kind: "command";
|
|
1543
|
-
timeout_ms?: number | undefined;
|
|
1538
|
+
readonly id?: string | undefined;
|
|
1539
|
+
readonly required?: boolean | undefined;
|
|
1540
|
+
readonly command: string[];
|
|
1541
|
+
readonly expect_exit_code?: number | undefined;
|
|
1542
|
+
readonly kind: "command";
|
|
1543
|
+
readonly timeout_ms?: number | undefined;
|
|
1544
1544
|
} | {
|
|
1545
|
-
id?: string | undefined;
|
|
1546
|
-
required?: boolean | undefined;
|
|
1547
|
-
path?: string | undefined;
|
|
1548
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1549
|
-
kind: "json_schema";
|
|
1550
|
-
schema_path: string;
|
|
1545
|
+
readonly id?: string | undefined;
|
|
1546
|
+
readonly required?: boolean | undefined;
|
|
1547
|
+
readonly path?: string | undefined;
|
|
1548
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1549
|
+
readonly kind: "json_schema";
|
|
1550
|
+
readonly schema_path: string;
|
|
1551
1551
|
} | {
|
|
1552
|
-
id?: string | undefined;
|
|
1553
|
-
required?: boolean | undefined;
|
|
1554
|
-
path?: string | undefined;
|
|
1555
|
-
target?: "artifact" | "stdout" | undefined;
|
|
1556
|
-
equals?: string | undefined;
|
|
1557
|
-
field?: string | undefined;
|
|
1558
|
-
kind: "verdict";
|
|
1552
|
+
readonly id?: string | undefined;
|
|
1553
|
+
readonly required?: boolean | undefined;
|
|
1554
|
+
readonly path?: string | undefined;
|
|
1555
|
+
readonly target?: "artifact" | "stdout" | undefined;
|
|
1556
|
+
readonly equals?: string | undefined;
|
|
1557
|
+
readonly field?: string | undefined;
|
|
1558
|
+
readonly kind: "verdict";
|
|
1559
1559
|
})[] | undefined;
|
|
1560
|
-
id: string;
|
|
1561
|
-
models?: string[] | undefined;
|
|
1562
|
-
needs?: string[] | undefined;
|
|
1563
|
-
reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1564
|
-
retries?: {
|
|
1565
|
-
backoff_ms?: number | undefined;
|
|
1566
|
-
max_attempts: number;
|
|
1567
|
-
multiplier?: number | undefined;
|
|
1568
|
-
retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1560
|
+
readonly id: string;
|
|
1561
|
+
readonly models?: string[] | undefined;
|
|
1562
|
+
readonly needs?: string[] | undefined;
|
|
1563
|
+
readonly reasoning_effort?: "high" | "low" | "medium" | "none" | "xhigh" | undefined;
|
|
1564
|
+
readonly retries?: {
|
|
1565
|
+
readonly backoff_ms?: number | undefined;
|
|
1566
|
+
readonly max_attempts: number;
|
|
1567
|
+
readonly multiplier?: number | undefined;
|
|
1568
|
+
readonly retry_on?: ("exit_nonzero" | "gate_failure" | "timeout")[] | undefined;
|
|
1569
1569
|
} | undefined;
|
|
1570
|
-
task_context?: {
|
|
1571
|
-
acceptance_criteria?: {
|
|
1572
|
-
id:
|
|
1573
|
-
text:
|
|
1574
|
-
}[] | undefined;
|
|
1575
|
-
description?: string | undefined;
|
|
1576
|
-
id?: string | undefined;
|
|
1577
|
-
title?: string | undefined;
|
|
1570
|
+
readonly task_context?: {
|
|
1571
|
+
readonly acceptance_criteria?: Schema.Struct.ReadonlySide<{
|
|
1572
|
+
readonly id: Schema.NonEmptyString;
|
|
1573
|
+
readonly text: Schema.NonEmptyString;
|
|
1574
|
+
}, "Type">[] | undefined;
|
|
1575
|
+
readonly description?: string | undefined;
|
|
1576
|
+
readonly id?: string | undefined;
|
|
1577
|
+
readonly title?: string | undefined;
|
|
1578
1578
|
} | undefined;
|
|
1579
|
-
timeout_ms?: number | undefined;
|
|
1579
|
+
readonly timeout_ms?: number | undefined;
|
|
1580
1580
|
} & any))[];
|
|
1581
|
-
}),
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
type ScheduleArtifact =
|
|
1581
|
+
}), never, never>>>;
|
|
1582
|
+
}>>;
|
|
1583
|
+
}>;
|
|
1584
|
+
type ScheduleArtifact = typeof scheduleArtifactSchema.Type;
|
|
1585
1585
|
interface CompiledScheduleArtifact {
|
|
1586
1586
|
config: PipelineConfig;
|
|
1587
1587
|
plan: WorkflowExecutionPlan;
|
|
@@ -1607,10 +1607,10 @@ interface GenerateScheduleInMemoryResult {
|
|
|
1607
1607
|
yaml: string;
|
|
1608
1608
|
}
|
|
1609
1609
|
interface BacklogWorkUnit {
|
|
1610
|
-
acceptance_criteria:
|
|
1610
|
+
acceptance_criteria: {
|
|
1611
1611
|
id: string;
|
|
1612
1612
|
text: string;
|
|
1613
|
-
}
|
|
1613
|
+
}[];
|
|
1614
1614
|
dependencies?: string[];
|
|
1615
1615
|
description?: string;
|
|
1616
1616
|
id: string;
|
|
@@ -1642,9 +1642,8 @@ interface SchedulePhaseContext {
|
|
|
1642
1642
|
* the same predicate workUnitDependencyIssues applies after generation — so the
|
|
1643
1643
|
* planner prompt context and downstream validation stay consistent.
|
|
1644
1644
|
*/
|
|
1645
|
-
declare
|
|
1646
|
-
declare
|
|
1647
|
-
declare const ScheduleArtifactError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
|
|
1645
|
+
declare const pruneOutOfScopeDependencies: (context: SchedulePlanningContext) => SchedulePlanningContext;
|
|
1646
|
+
declare const ScheduleArtifactError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
1648
1647
|
readonly _tag: "ScheduleArtifactError";
|
|
1649
1648
|
} & Readonly<A>;
|
|
1650
1649
|
declare class ScheduleArtifactError extends ScheduleArtifactError_base<{
|
|
@@ -1652,15 +1651,16 @@ declare class ScheduleArtifactError extends ScheduleArtifactError_base<{
|
|
|
1652
1651
|
}> {
|
|
1653
1652
|
constructor(message: string);
|
|
1654
1653
|
}
|
|
1655
|
-
declare
|
|
1656
|
-
declare
|
|
1657
|
-
declare
|
|
1658
|
-
declare
|
|
1654
|
+
declare const parseScheduleArtifact: (source: string, sourcePath?: string) => ScheduleArtifact;
|
|
1655
|
+
declare const compileScheduleArtifact: (config: PipelineConfig, artifact: ScheduleArtifact, projectRoot?: string) => CompiledScheduleArtifact;
|
|
1656
|
+
declare const ticketPlanPlanningContext: (plan: TicketPlan) => Pick<SchedulePlanningContext, "parentWorkUnits" | "workUnits">;
|
|
1657
|
+
declare const schedulePlanningContext: (input: {
|
|
1659
1658
|
phaseContext?: SchedulePhaseContext;
|
|
1660
1659
|
task: string;
|
|
1661
1660
|
worktreePath: string;
|
|
1662
|
-
})
|
|
1663
|
-
declare
|
|
1664
|
-
declare
|
|
1661
|
+
}) => SchedulePlanningContext;
|
|
1662
|
+
declare const scheduleArtifactPath: (worktreePath: string, scheduleId: string) => string;
|
|
1663
|
+
declare const generateScheduleArtifactInMemory: (options: GenerateScheduleOptions) => Promise<GenerateScheduleInMemoryResult>;
|
|
1664
|
+
declare const generateScheduleArtifact: (options: GenerateScheduleOptions) => Promise<GenerateScheduleResult>;
|
|
1665
1665
|
//#endregion
|
|
1666
1666
|
export { BacklogWorkUnit, CompiledScheduleArtifact, GenerateScheduleInMemoryResult, GenerateScheduleOptions, GenerateScheduleResult, ScheduleArtifact, ScheduleArtifactError, SchedulePhaseContext, SchedulePlanningContext, ScheduleResearchContext, compileScheduleArtifact, generateScheduleArtifact, generateScheduleArtifactInMemory, parseScheduleArtifact, pruneOutOfScopeDependencies, scheduleArtifactPath, schedulePlanningContext, ticketPlanPlanningContext };
|