@cat-factory/contracts 0.311.0 → 0.312.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.
@@ -6,6 +6,7 @@ import * as v from 'valibot';
6
6
  * - `preflight` — rejected before dispatch (repo missing/not empty, not connected). [bootstrap]
7
7
  * - `dispatch` — the container accept-request itself failed (HTTP / network). [bootstrap]
8
8
  * - `evicted` — the container vanished mid-run (eviction/crash). Retrying spins a fresh one.
9
+ * - `harness_shutdown` : the harness exited cleanly mid-job. It was shut down, not lost.
9
10
  * - `timeout` — a container watchdog fired (inactivity or max-duration).
10
11
  * - `agent` — the agent / git push reported a failure.
11
12
  * - `job_failed` — an async container job came back failed. [execution]
@@ -13,7 +14,7 @@ import * as v from 'valibot';
13
14
  * - `cancelled` — the user (or an orphan sweep) explicitly stopped the run.
14
15
  * - `unknown` — anything not otherwise classified.
15
16
  */
16
- export declare const agentFailureKindSchema: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
17
+ export declare const agentFailureKindSchema: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
17
18
  export type AgentFailureKind = v.InferOutput<typeof agentFailureKindSchema>;
18
19
  /**
19
20
  * Whether a string is a failure kind this build produces — DERIVED from the picklist, so it
@@ -1 +1 @@
1
- {"version":3,"file":"agent-failure-kinds.d.ts","sourceRoot":"","sources":["../src/agent-failure-kinds.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,6MA8BjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAI3E;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAE3E"}
1
+ {"version":3,"file":"agent-failure-kinds.d.ts","sourceRoot":"","sources":["../src/agent-failure-kinds.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,iOAmCjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAI3E;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAE3E"}
@@ -20,6 +20,7 @@ import * as v from 'valibot';
20
20
  * - `preflight` — rejected before dispatch (repo missing/not empty, not connected). [bootstrap]
21
21
  * - `dispatch` — the container accept-request itself failed (HTTP / network). [bootstrap]
22
22
  * - `evicted` — the container vanished mid-run (eviction/crash). Retrying spins a fresh one.
23
+ * - `harness_shutdown` : the harness exited cleanly mid-job. It was shut down, not lost.
23
24
  * - `timeout` — a container watchdog fired (inactivity or max-duration).
24
25
  * - `agent` — the agent / git push reported a failure.
25
26
  * - `job_failed` — an async container job came back failed. [execution]
@@ -35,6 +36,11 @@ export const agentFailureKindSchema = v.picklist([
35
36
  // never accepting the job). The provider's verbatim error rides the failure `detail`.
36
37
  'environment',
37
38
  'evicted',
39
+ // The harness serving the job EXITED CLEANLY while the job was still running: something shut
40
+ // it down. Split from `evicted` because the two need opposite handling and opposite advice:
41
+ // an eviction is worth a fresh container, and this is not (the run that reported it first had
42
+ // an agent pattern-kill the harness's own process, so every automatic retry reproduced it).
43
+ 'harness_shutdown',
38
44
  'timeout',
39
45
  'agent',
40
46
  'job_failed',
@@ -1 +1 @@
1
- {"version":3,"file":"agent-failure-kinds.js","sourceRoot":"","sources":["../src/agent-failure-kinds.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,0FAA0F;AAC1F,iEAAiE;AACjE,EAAE;AACF,2FAA2F;AAC3F,0FAA0F;AAC1F,+FAA+F;AAC/F,0FAA0F;AAC1F,8FAA8F;AAC9F,kFAAkF;AAClF,EAAE;AACF,gGAAgG;AAChG,gCAAgC;AAChC,8EAA8E;AAE9E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,QAAQ,CAAC;IAC/C,WAAW;IACX,UAAU;IACV,yFAAyF;IACzF,sFAAsF;IACtF,sFAAsF;IACtF,aAAa;IACb,SAAS;IACT,SAAS;IACT,OAAO;IACP,YAAY;IACZ,UAAU;IACV,iFAAiF;IACjF,mFAAmF;IACnF,oFAAoF;IACpF,uEAAuE;IACvE,oBAAoB;IACpB,sFAAsF;IACtF,yFAAyF;IACzF,sFAAsF;IACtF,mFAAmF;IACnF,SAAS;IACT,sFAAsF;IACtF,wFAAwF;IACxF,wFAAwF;IACxF,0FAA0F;IAC1F,4FAA4F;IAC5F,kBAAkB;IAClB,WAAW;IACX,SAAS;CACV,CAAC,CAAA;AAGF,MAAM,sBAAsB,GAAwB,IAAI,GAAG,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAA;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;AAC1C,CAAC"}
1
+ {"version":3,"file":"agent-failure-kinds.js","sourceRoot":"","sources":["../src/agent-failure-kinds.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,0FAA0F;AAC1F,iEAAiE;AACjE,EAAE;AACF,2FAA2F;AAC3F,0FAA0F;AAC1F,+FAA+F;AAC/F,0FAA0F;AAC1F,8FAA8F;AAC9F,kFAAkF;AAClF,EAAE;AACF,gGAAgG;AAChG,gCAAgC;AAChC,8EAA8E;AAE9E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,QAAQ,CAAC;IAC/C,WAAW;IACX,UAAU;IACV,yFAAyF;IACzF,sFAAsF;IACtF,sFAAsF;IACtF,aAAa;IACb,SAAS;IACT,6FAA6F;IAC7F,4FAA4F;IAC5F,8FAA8F;IAC9F,4FAA4F;IAC5F,kBAAkB;IAClB,SAAS;IACT,OAAO;IACP,YAAY;IACZ,UAAU;IACV,iFAAiF;IACjF,mFAAmF;IACnF,oFAAoF;IACpF,uEAAuE;IACvE,oBAAoB;IACpB,sFAAsF;IACtF,yFAAyF;IACzF,sFAAsF;IACtF,mFAAmF;IACnF,SAAS;IACT,sFAAsF;IACtF,wFAAwF;IACxF,wFAAwF;IACxF,0FAA0F;IAC1F,4FAA4F;IAC5F,kBAAkB;IAClB,WAAW;IACX,SAAS;CACV,CAAC,CAAA;AAGF,MAAM,sBAAsB,GAAwB,IAAI,GAAG,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAA;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;AAC1C,CAAC"}
@@ -57,7 +57,7 @@ export type BootstrapFailureKind = v.InferOutput<typeof bootstrapFailureKindSche
57
57
  * stays a narrow alias documenting the subset a bootstrap run actually produces.
58
58
  */
59
59
  export declare const bootstrapFailureSchema: v.ObjectSchema<{
60
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
60
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
61
61
  readonly message: v.StringSchema<undefined>;
62
62
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
63
63
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -118,7 +118,7 @@ export declare const bootstrapJobSchema: v.ObjectSchema<{
118
118
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
119
119
  /** Structured failure diagnostics when `status` is `failed`; null otherwise. */
120
120
  readonly failure: v.NullableSchema<v.ObjectSchema<{
121
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
121
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
122
122
  readonly message: v.StringSchema<undefined>;
123
123
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
124
124
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -71,7 +71,7 @@ export declare const debugRunSummarySchema: v.ObjectSchema<{
71
71
  readonly stepCount: v.NumberSchema<undefined>;
72
72
  /** Structured failure diagnostics when the run failed; null otherwise. */
73
73
  readonly failure: v.NullableSchema<v.ObjectSchema<{
74
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
74
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
75
75
  readonly message: v.StringSchema<undefined>;
76
76
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
77
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -118,7 +118,7 @@ export declare const debugRunListSchema: v.ObjectSchema<{
118
118
  readonly stepCount: v.NumberSchema<undefined>;
119
119
  /** Structured failure diagnostics when the run failed; null otherwise. */
120
120
  readonly failure: v.NullableSchema<v.ObjectSchema<{
121
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
121
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
122
122
  readonly message: v.StringSchema<undefined>;
123
123
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
124
124
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -406,7 +406,7 @@ export declare const debugRunOverviewSchema: v.ObjectSchema<{
406
406
  readonly stepCount: v.NumberSchema<undefined>;
407
407
  /** Structured failure diagnostics when the run failed; null otherwise. */
408
408
  readonly failure: v.NullableSchema<v.ObjectSchema<{
409
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
409
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
410
410
  readonly message: v.StringSchema<undefined>;
411
411
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
412
412
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -38,7 +38,7 @@ export declare const envConfigRepairJobSchema: v.ObjectSchema<{
38
38
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
39
39
  /** Structured failure diagnostics when `status` is `failed`; null otherwise. */
40
40
  readonly failure: v.NullableSchema<v.ObjectSchema<{
41
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
41
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
42
42
  readonly message: v.StringSchema<undefined>;
43
43
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
44
44
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -45,7 +45,7 @@ export type AgentRunKind = v.InferOutput<typeof agentRunKindSchema>;
45
45
  * gone), so for `evicted`/`timeout` failures the `hint` points at where to look.
46
46
  */
47
47
  export declare const agentFailureSchema: v.ObjectSchema<{
48
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
48
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
49
49
  /** Human-readable summary (mirrors the run's `error` for back-compat). */
50
50
  readonly message: v.StringSchema<undefined>;
51
51
  /** Extended detail when available (the harness's reason, an HTTP body, …). */
@@ -4372,7 +4372,7 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
4372
4372
  * failed bootstrap (shared {@link agentFailureSchema}).
4373
4373
  */
4374
4374
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4375
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4375
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4376
4376
  /** Human-readable summary (mirrors the run's `error` for back-compat). */
4377
4377
  readonly message: v.StringSchema<undefined>;
4378
4378
  /** Extended detail when available (the harness's reason, an HTTP body, …). */
@@ -4416,7 +4416,7 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
4416
4416
  * Absent/empty for a run that has never been failed-then-retried.
4417
4417
  */
4418
4418
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
4419
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4419
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4420
4420
  /** Human-readable summary (mirrors the run's `error` for back-compat). */
4421
4421
  readonly message: v.StringSchema<undefined>;
4422
4422
  /** Extended detail when available (the harness's reason, an HTTP body, …). */
@@ -85,7 +85,7 @@ export declare const publicBootstrapJobSchema: v.ObjectSchema<{
85
85
  /** One-line failure reason when `status` is `failed`; null otherwise. */
86
86
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
87
87
  /** How the run faulted, when it did: the part that says whether a retry is worth it. */
88
- readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
88
+ readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
89
89
  /** Extended detail behind `error` when the platform captured any (a harness reason, an HTTP body). */
90
90
  readonly failureDetail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
91
91
  /** The platform's own "where to look next", relayed verbatim; null when it had none to offer. */
@@ -56,7 +56,7 @@ export declare const retryAgentRunContract: {
56
56
  }, undefined>, undefined>;
57
57
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
58
58
  readonly failure: v.NullableSchema<v.ObjectSchema<{
59
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
59
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
60
60
  readonly message: v.StringSchema<undefined>;
61
61
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
62
62
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1147,7 +1147,7 @@ export declare const retryAgentRunContract: {
1147
1147
  readonly currentStep: v.NumberSchema<undefined>;
1148
1148
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1149
1149
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1150
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1150
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1151
1151
  readonly message: v.StringSchema<undefined>;
1152
1152
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1153
1153
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1165,7 +1165,7 @@ export declare const retryAgentRunContract: {
1165
1165
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1166
1166
  }, undefined>, undefined>, undefined>;
1167
1167
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1168
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1168
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1169
1169
  readonly message: v.StringSchema<undefined>;
1170
1170
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1171
1171
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1262,7 +1262,7 @@ export declare const retryAgentRunContract: {
1262
1262
  }, undefined>, undefined>;
1263
1263
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1264
1264
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1265
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1265
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1266
1266
  readonly message: v.StringSchema<undefined>;
1267
1267
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1268
1268
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1341,7 +1341,7 @@ export declare const stopAgentRunContract: {
1341
1341
  }, undefined>, undefined>;
1342
1342
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1343
1343
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1344
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1344
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1345
1345
  readonly message: v.StringSchema<undefined>;
1346
1346
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1347
1347
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2432,7 +2432,7 @@ export declare const stopAgentRunContract: {
2432
2432
  readonly currentStep: v.NumberSchema<undefined>;
2433
2433
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2434
2434
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2435
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2435
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2436
2436
  readonly message: v.StringSchema<undefined>;
2437
2437
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2438
2438
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2450,7 +2450,7 @@ export declare const stopAgentRunContract: {
2450
2450
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2451
2451
  }, undefined>, undefined>, undefined>;
2452
2452
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2453
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2453
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2454
2454
  readonly message: v.StringSchema<undefined>;
2455
2455
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2456
2456
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2547,7 +2547,7 @@ export declare const stopAgentRunContract: {
2547
2547
  }, undefined>, undefined>;
2548
2548
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2549
2549
  readonly failure: v.NullableSchema<v.ObjectSchema<{
2550
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2550
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2551
2551
  readonly message: v.StringSchema<undefined>;
2552
2552
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2553
2553
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -218,7 +218,7 @@ export declare const listBootstrapJobsContract: {
218
218
  }, undefined>, undefined>;
219
219
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
220
220
  readonly failure: v.NullableSchema<v.ObjectSchema<{
221
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
221
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
222
222
  readonly message: v.StringSchema<undefined>;
223
223
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
224
224
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -293,7 +293,7 @@ export declare const getBootstrapJobContract: {
293
293
  }, undefined>, undefined>;
294
294
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
295
295
  readonly failure: v.NullableSchema<v.ObjectSchema<{
296
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
296
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
297
297
  readonly message: v.StringSchema<undefined>;
298
298
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
299
299
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -378,7 +378,7 @@ export declare const startBootstrapJobContract: {
378
378
  }, undefined>, undefined>;
379
379
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
380
380
  readonly failure: v.NullableSchema<v.ObjectSchema<{
381
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
381
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
382
382
  readonly message: v.StringSchema<undefined>;
383
383
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
384
384
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1462,7 +1462,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1462
1462
  readonly currentStep: v.NumberSchema<undefined>;
1463
1463
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1464
1464
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1465
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1465
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1466
1466
  readonly message: v.StringSchema<undefined>;
1467
1467
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1468
1468
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1480,7 +1480,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1480
1480
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1481
1481
  }, undefined>, undefined>, undefined>;
1482
1482
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1483
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1483
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1484
1484
  readonly message: v.StringSchema<undefined>;
1485
1485
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1486
1486
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3165,7 +3165,7 @@ export declare const adoptBugHuntCandidateContract: {
3165
3165
  readonly currentStep: v.NumberSchema<undefined>;
3166
3166
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3167
3167
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3168
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3168
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3169
3169
  readonly message: v.StringSchema<undefined>;
3170
3170
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3171
3171
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3183,7 +3183,7 @@ export declare const adoptBugHuntCandidateContract: {
3183
3183
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3184
3184
  }, undefined>, undefined>, undefined>;
3185
3185
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3186
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3186
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3187
3187
  readonly message: v.StringSchema<undefined>;
3188
3188
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3189
3189
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -42,7 +42,7 @@ export declare const listDebugRunsContract: {
42
42
  readonly currentStep: import("valibot").NumberSchema<undefined>;
43
43
  readonly stepCount: import("valibot").NumberSchema<undefined>;
44
44
  readonly failure: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
45
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
45
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
46
46
  readonly message: import("valibot").StringSchema<undefined>;
47
47
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
48
48
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -112,7 +112,7 @@ export declare const getDebugRunContract: {
112
112
  readonly currentStep: import("valibot").NumberSchema<undefined>;
113
113
  readonly stepCount: import("valibot").NumberSchema<undefined>;
114
114
  readonly failure: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
115
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
115
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
116
116
  readonly message: import("valibot").StringSchema<undefined>;
117
117
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
118
118
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -1165,7 +1165,7 @@ export declare const startExecutionContract: {
1165
1165
  readonly currentStep: v.NumberSchema<undefined>;
1166
1166
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1167
1167
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1168
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1168
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1169
1169
  readonly message: v.StringSchema<undefined>;
1170
1170
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1171
1171
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1183,7 +1183,7 @@ export declare const startExecutionContract: {
1183
1183
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1184
1184
  }, undefined>, undefined>, undefined>;
1185
1185
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1186
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1186
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1187
1187
  readonly message: v.StringSchema<undefined>;
1188
1188
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1189
1189
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2370,7 +2370,7 @@ export declare const startAgentKindExecutionContract: {
2370
2370
  readonly currentStep: v.NumberSchema<undefined>;
2371
2371
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2372
2372
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2373
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2373
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2374
2374
  readonly message: v.StringSchema<undefined>;
2375
2375
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2376
2376
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2388,7 +2388,7 @@ export declare const startAgentKindExecutionContract: {
2388
2388
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2389
2389
  }, undefined>, undefined>, undefined>;
2390
2390
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2391
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2391
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2392
2392
  readonly message: v.StringSchema<undefined>;
2393
2393
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2394
2394
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -4409,7 +4409,7 @@ export declare const resumeSpendContract: {
4409
4409
  readonly currentStep: v.NumberSchema<undefined>;
4410
4410
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
4411
4411
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4412
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4412
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4413
4413
  readonly message: v.StringSchema<undefined>;
4414
4414
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4415
4415
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -4427,7 +4427,7 @@ export declare const resumeSpendContract: {
4427
4427
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4428
4428
  }, undefined>, undefined>, undefined>;
4429
4429
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
4430
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4430
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4431
4431
  readonly message: v.StringSchema<undefined>;
4432
4432
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4433
4433
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6049,7 +6049,7 @@ export declare const resolveDecisionContract: {
6049
6049
  readonly currentStep: v.NumberSchema<undefined>;
6050
6050
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
6051
6051
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6052
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6052
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6053
6053
  readonly message: v.StringSchema<undefined>;
6054
6054
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6055
6055
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6067,7 +6067,7 @@ export declare const resolveDecisionContract: {
6067
6067
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6068
6068
  }, undefined>, undefined>, undefined>;
6069
6069
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
6070
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6070
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
6071
6071
  readonly message: v.StringSchema<undefined>;
6072
6072
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6073
6073
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -7251,7 +7251,7 @@ export declare const approveStepContract: {
7251
7251
  readonly currentStep: v.NumberSchema<undefined>;
7252
7252
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
7253
7253
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7254
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7254
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7255
7255
  readonly message: v.StringSchema<undefined>;
7256
7256
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7257
7257
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -7269,7 +7269,7 @@ export declare const approveStepContract: {
7269
7269
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
7270
7270
  }, undefined>, undefined>, undefined>;
7271
7271
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
7272
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7272
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
7273
7273
  readonly message: v.StringSchema<undefined>;
7274
7274
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7275
7275
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -8467,7 +8467,7 @@ export declare const requestStepChangesContract: {
8467
8467
  readonly currentStep: v.NumberSchema<undefined>;
8468
8468
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
8469
8469
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8470
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8470
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8471
8471
  readonly message: v.StringSchema<undefined>;
8472
8472
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
8473
8473
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -8485,7 +8485,7 @@ export declare const requestStepChangesContract: {
8485
8485
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
8486
8486
  }, undefined>, undefined>, undefined>;
8487
8487
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
8488
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8488
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
8489
8489
  readonly message: v.StringSchema<undefined>;
8490
8490
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
8491
8491
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -9669,7 +9669,7 @@ export declare const resolveStepExceededContract: {
9669
9669
  readonly currentStep: v.NumberSchema<undefined>;
9670
9670
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
9671
9671
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9672
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9672
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9673
9673
  readonly message: v.StringSchema<undefined>;
9674
9674
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9675
9675
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -9687,7 +9687,7 @@ export declare const resolveStepExceededContract: {
9687
9687
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
9688
9688
  }, undefined>, undefined>, undefined>;
9689
9689
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
9690
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9690
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
9691
9691
  readonly message: v.StringSchema<undefined>;
9692
9692
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9693
9693
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -10869,7 +10869,7 @@ export declare const restartExecutionContract: {
10869
10869
  readonly currentStep: v.NumberSchema<undefined>;
10870
10870
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
10871
10871
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10872
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10872
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10873
10873
  readonly message: v.StringSchema<undefined>;
10874
10874
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10875
10875
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -10887,7 +10887,7 @@ export declare const restartExecutionContract: {
10887
10887
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10888
10888
  }, undefined>, undefined>, undefined>;
10889
10889
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
10890
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10890
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
10891
10891
  readonly message: v.StringSchema<undefined>;
10892
10892
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10893
10893
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -12071,7 +12071,7 @@ export declare const rejectStepContract: {
12071
12071
  readonly currentStep: v.NumberSchema<undefined>;
12072
12072
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
12073
12073
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12074
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12074
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12075
12075
  readonly message: v.StringSchema<undefined>;
12076
12076
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
12077
12077
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -12089,7 +12089,7 @@ export declare const rejectStepContract: {
12089
12089
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
12090
12090
  }, undefined>, undefined>, undefined>;
12091
12091
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
12092
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12092
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
12093
12093
  readonly message: v.StringSchema<undefined>;
12094
12094
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
12095
12095
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1104,7 +1104,7 @@ export declare const requestHumanReviewFixContract: {
1104
1104
  readonly currentStep: import("valibot").NumberSchema<undefined>;
1105
1105
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1106
1106
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1107
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1107
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1108
1108
  readonly message: import("valibot").StringSchema<undefined>;
1109
1109
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
1110
1110
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -1122,7 +1122,7 @@ export declare const requestHumanReviewFixContract: {
1122
1122
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
1123
1123
  }, undefined>, undefined>, undefined>;
1124
1124
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1125
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1125
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1126
1126
  readonly message: import("valibot").StringSchema<undefined>;
1127
1127
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
1128
1128
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -1103,7 +1103,7 @@ export declare const confirmHumanTestContract: {
1103
1103
  readonly currentStep: import("valibot").NumberSchema<undefined>;
1104
1104
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1105
1105
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
1106
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1106
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1107
1107
  readonly message: import("valibot").StringSchema<undefined>;
1108
1108
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
1109
1109
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -1121,7 +1121,7 @@ export declare const confirmHumanTestContract: {
1121
1121
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
1122
1122
  }, undefined>, undefined>, undefined>;
1123
1123
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1124
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1124
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1125
1125
  readonly message: import("valibot").StringSchema<undefined>;
1126
1126
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
1127
1127
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -2303,7 +2303,7 @@ export declare const requestHumanTestFixContract: {
2303
2303
  readonly currentStep: import("valibot").NumberSchema<undefined>;
2304
2304
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2305
2305
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
2306
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2306
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2307
2307
  readonly message: import("valibot").StringSchema<undefined>;
2308
2308
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
2309
2309
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -2321,7 +2321,7 @@ export declare const requestHumanTestFixContract: {
2321
2321
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
2322
2322
  }, undefined>, undefined>, undefined>;
2323
2323
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
2324
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2324
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2325
2325
  readonly message: import("valibot").StringSchema<undefined>;
2326
2326
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
2327
2327
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -3501,7 +3501,7 @@ export declare const pullMainHumanTestContract: {
3501
3501
  readonly currentStep: import("valibot").NumberSchema<undefined>;
3502
3502
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3503
3503
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
3504
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3504
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3505
3505
  readonly message: import("valibot").StringSchema<undefined>;
3506
3506
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
3507
3507
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -3519,7 +3519,7 @@ export declare const pullMainHumanTestContract: {
3519
3519
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
3520
3520
  }, undefined>, undefined>, undefined>;
3521
3521
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3522
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3522
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3523
3523
  readonly message: import("valibot").StringSchema<undefined>;
3524
3524
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
3525
3525
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -4699,7 +4699,7 @@ export declare const recreateHumanTestEnvContract: {
4699
4699
  readonly currentStep: import("valibot").NumberSchema<undefined>;
4700
4700
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
4701
4701
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
4702
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4702
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4703
4703
  readonly message: import("valibot").StringSchema<undefined>;
4704
4704
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
4705
4705
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -4717,7 +4717,7 @@ export declare const recreateHumanTestEnvContract: {
4717
4717
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
4718
4718
  }, undefined>, undefined>, undefined>;
4719
4719
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
4720
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4720
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
4721
4721
  readonly message: import("valibot").StringSchema<undefined>;
4722
4722
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
4723
4723
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -5897,7 +5897,7 @@ export declare const destroyHumanTestEnvContract: {
5897
5897
  readonly currentStep: import("valibot").NumberSchema<undefined>;
5898
5898
  readonly status: import("valibot").PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
5899
5899
  readonly failure: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
5900
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5900
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5901
5901
  readonly message: import("valibot").StringSchema<undefined>;
5902
5902
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
5903
5903
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -5915,7 +5915,7 @@ export declare const destroyHumanTestEnvContract: {
5915
5915
  readonly stepIndex: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
5916
5916
  }, undefined>, undefined>, undefined>;
5917
5917
  readonly failureHistory: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
5918
- readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5918
+ readonly kind: import("valibot").PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5919
5919
  readonly message: import("valibot").StringSchema<undefined>;
5920
5920
  readonly detail: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
5921
5921
  readonly hint: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -65,7 +65,7 @@ export declare const startPublicRepoBootstrapContract: {
65
65
  }, undefined>, undefined>, undefined>;
66
66
  }, undefined>, undefined>;
67
67
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
68
- readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
68
+ readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
69
69
  readonly failureDetail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
70
70
  readonly failureHint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
71
71
  readonly createdAt: v.NumberSchema<undefined>;
@@ -250,7 +250,7 @@ export declare const getPublicRepoBootstrapContract: {
250
250
  }, undefined>, undefined>, undefined>;
251
251
  }, undefined>, undefined>;
252
252
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
253
- readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
253
+ readonly failureKind: v.NullableSchema<v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>, undefined>;
254
254
  readonly failureDetail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
255
255
  readonly failureHint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
256
256
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1104,7 +1104,7 @@ export declare const approveVisualConfirmContract: {
1104
1104
  readonly currentStep: v.NumberSchema<undefined>;
1105
1105
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1106
1106
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1107
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1107
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1108
1108
  readonly message: v.StringSchema<undefined>;
1109
1109
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1110
1110
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1122,7 +1122,7 @@ export declare const approveVisualConfirmContract: {
1122
1122
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1123
1123
  }, undefined>, undefined>, undefined>;
1124
1124
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1125
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1125
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1126
1126
  readonly message: v.StringSchema<undefined>;
1127
1127
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1128
1128
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2304,7 +2304,7 @@ export declare const requestVisualConfirmFixContract: {
2304
2304
  readonly currentStep: v.NumberSchema<undefined>;
2305
2305
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2306
2306
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2307
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2307
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2308
2308
  readonly message: v.StringSchema<undefined>;
2309
2309
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2310
2310
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2322,7 +2322,7 @@ export declare const requestVisualConfirmFixContract: {
2322
2322
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2323
2323
  }, undefined>, undefined>, undefined>;
2324
2324
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2325
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2325
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2326
2326
  readonly message: v.StringSchema<undefined>;
2327
2327
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2328
2328
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3502,7 +3502,7 @@ export declare const recaptureVisualConfirmContract: {
3502
3502
  readonly currentStep: v.NumberSchema<undefined>;
3503
3503
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3504
3504
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3505
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3505
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3506
3506
  readonly message: v.StringSchema<undefined>;
3507
3507
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3508
3508
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3520,7 +3520,7 @@ export declare const recaptureVisualConfirmContract: {
3520
3520
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3521
3521
  }, undefined>, undefined>, undefined>;
3522
3522
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3523
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3523
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3524
3524
  readonly message: v.StringSchema<undefined>;
3525
3525
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3526
3526
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1627,7 +1627,7 @@ export declare const createWorkspaceContract: {
1627
1627
  readonly currentStep: v.NumberSchema<undefined>;
1628
1628
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1629
1629
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1630
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1630
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1631
1631
  readonly message: v.StringSchema<undefined>;
1632
1632
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1633
1633
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1645,7 +1645,7 @@ export declare const createWorkspaceContract: {
1645
1645
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1646
1646
  }, undefined>, undefined>, undefined>;
1647
1647
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1648
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1648
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1649
1649
  readonly message: v.StringSchema<undefined>;
1650
1650
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1651
1651
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1741,7 +1741,7 @@ export declare const createWorkspaceContract: {
1741
1741
  }, undefined>, undefined>;
1742
1742
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1743
1743
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1744
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1744
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1745
1745
  readonly message: v.StringSchema<undefined>;
1746
1746
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1747
1747
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1785,7 +1785,7 @@ export declare const createWorkspaceContract: {
1785
1785
  }, undefined>, undefined>;
1786
1786
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1787
1787
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1788
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1788
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1789
1789
  readonly message: v.StringSchema<undefined>;
1790
1790
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1791
1791
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5176,7 +5176,7 @@ export declare const getWorkspaceContract: {
5176
5176
  readonly currentStep: v.NumberSchema<undefined>;
5177
5177
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
5178
5178
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5179
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5179
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5180
5180
  readonly message: v.StringSchema<undefined>;
5181
5181
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5182
5182
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5194,7 +5194,7 @@ export declare const getWorkspaceContract: {
5194
5194
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5195
5195
  }, undefined>, undefined>, undefined>;
5196
5196
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
5197
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5197
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5198
5198
  readonly message: v.StringSchema<undefined>;
5199
5199
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5200
5200
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5290,7 +5290,7 @@ export declare const getWorkspaceContract: {
5290
5290
  }, undefined>, undefined>;
5291
5291
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5292
5292
  readonly failure: v.NullableSchema<v.ObjectSchema<{
5293
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5293
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5294
5294
  readonly message: v.StringSchema<undefined>;
5295
5295
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5296
5296
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5334,7 +5334,7 @@ export declare const getWorkspaceContract: {
5334
5334
  }, undefined>, undefined>;
5335
5335
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5336
5336
  readonly failure: v.NullableSchema<v.ObjectSchema<{
5337
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5337
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5338
5338
  readonly message: v.StringSchema<undefined>;
5339
5339
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5340
5340
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1565,7 +1565,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1565
1565
  readonly currentStep: v.NumberSchema<undefined>;
1566
1566
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1567
1567
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1568
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1568
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1569
1569
  readonly message: v.StringSchema<undefined>;
1570
1570
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1571
1571
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1583,7 +1583,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1583
1583
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1584
1584
  }, undefined>, undefined>, undefined>;
1585
1585
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1586
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1586
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1587
1587
  readonly message: v.StringSchema<undefined>;
1588
1588
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1589
1589
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1685,7 +1685,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1685
1685
  }, undefined>, undefined>;
1686
1686
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1687
1687
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1688
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1688
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1689
1689
  readonly message: v.StringSchema<undefined>;
1690
1690
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1691
1691
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1735,7 +1735,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1735
1735
  }, undefined>, undefined>;
1736
1736
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1737
1737
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1738
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1738
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "harness_shutdown", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1739
1739
  readonly message: v.StringSchema<undefined>;
1740
1740
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1741
1741
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.311.0",
3
+ "version": "0.312.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",