@claudexor/schema 3.20.1 → 3.22.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.
Files changed (105) hide show
  1. package/dist/agent-capabilities.d.ts +1 -1
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +1 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/continuation-admission.d.ts +41 -0
  6. package/dist/continuation-admission.d.ts.map +1 -0
  7. package/dist/continuation-admission.js +136 -0
  8. package/dist/continuation-admission.js.map +1 -0
  9. package/dist/control-operation-responses.d.ts +352 -0
  10. package/dist/control-operation-responses.d.ts.map +1 -1
  11. package/dist/control-operation-responses.js +2 -0
  12. package/dist/control-operation-responses.js.map +1 -1
  13. package/dist/control-run-detail.d.ts +716 -0
  14. package/dist/control-run-detail.d.ts.map +1 -1
  15. package/dist/control.d.ts +315 -6
  16. package/dist/control.d.ts.map +1 -1
  17. package/dist/control.js +21 -3
  18. package/dist/control.js.map +1 -1
  19. package/dist/credential-profile-snapshot.d.ts +144 -0
  20. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  21. package/dist/credential-profile.d.ts +1 -1
  22. package/dist/credential-profile.js +1 -1
  23. package/dist/decision.d.ts +12 -0
  24. package/dist/decision.d.ts.map +1 -1
  25. package/dist/effort.d.ts +33 -12
  26. package/dist/effort.d.ts.map +1 -1
  27. package/dist/effort.js +43 -13
  28. package/dist/effort.js.map +1 -1
  29. package/dist/events.d.ts +4 -4
  30. package/dist/events.d.ts.map +1 -1
  31. package/dist/events.js +11 -0
  32. package/dist/events.js.map +1 -1
  33. package/dist/harness.d.ts +16 -9
  34. package/dist/harness.d.ts.map +1 -1
  35. package/dist/harness.js +3 -3
  36. package/dist/index.d.ts +3 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +3 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/mcp-run-result.d.ts +155 -0
  41. package/dist/mcp-run-result.d.ts.map +1 -1
  42. package/dist/mcp-run-result.js +38 -0
  43. package/dist/mcp-run-result.js.map +1 -1
  44. package/dist/quota.d.ts +252 -0
  45. package/dist/quota.d.ts.map +1 -1
  46. package/dist/quota.js +42 -17
  47. package/dist/quota.js.map +1 -1
  48. package/dist/raw.d.ts +1 -1
  49. package/dist/raw.d.ts.map +1 -1
  50. package/dist/raw.js +0 -1
  51. package/dist/raw.js.map +1 -1
  52. package/dist/run-continuation.d.ts +166 -0
  53. package/dist/run-continuation.d.ts.map +1 -0
  54. package/dist/run-continuation.js +65 -0
  55. package/dist/run-continuation.js.map +1 -0
  56. package/dist/run-continuity.d.ts +215 -0
  57. package/dist/run-continuity.d.ts.map +1 -0
  58. package/dist/run-continuity.js +170 -0
  59. package/dist/run-continuity.js.map +1 -0
  60. package/dist/run-facts.d.ts +7 -0
  61. package/dist/run-facts.d.ts.map +1 -1
  62. package/dist/status-projection.d.ts +8 -1
  63. package/dist/status-projection.d.ts.map +1 -1
  64. package/dist/status-projection.js +22 -1
  65. package/dist/status-projection.js.map +1 -1
  66. package/dist/telemetry.d.ts +33 -3
  67. package/dist/telemetry.d.ts.map +1 -1
  68. package/dist/telemetry.js +3 -3
  69. package/dist/telemetry.js.map +1 -1
  70. package/dist/work-report.d.ts +18 -4
  71. package/dist/work-report.d.ts.map +1 -1
  72. package/dist/work-report.js +26 -5
  73. package/dist/work-report.js.map +1 -1
  74. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  75. package/generated/ControlCredentialProfilesQueryResponse.schema.json +21 -6
  76. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +21 -6
  77. package/generated/ControlHarnessListResponse.schema.json +1 -1
  78. package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
  79. package/generated/ControlQuotaResponse.schema.json +20 -5
  80. package/generated/ControlRetainedEnvelope.schema.json +63 -0
  81. package/generated/ControlRunAgainDraft.schema.json +16 -0
  82. package/generated/ControlRunDetail.schema.json +398 -1
  83. package/generated/ControlRunListResponse.schema.json +398 -1
  84. package/generated/ControlRunStartRequest.schema.json +16 -0
  85. package/generated/ControlRunSummary.schema.json +398 -1
  86. package/generated/ControlSettingsSnapshot.schema.json +1 -1
  87. package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
  88. package/generated/ControlThreadDetail.schema.json +14 -1
  89. package/generated/ControlThreadTurnRequest.schema.json +4 -0
  90. package/generated/DecisionRecord.schema.json +14 -1
  91. package/generated/EnvelopeCustody.schema.json +195 -0
  92. package/generated/GlobalConfig.schema.json +1 -1
  93. package/generated/HarnessEvent.schema.json +7 -2
  94. package/generated/HarnessManifest.schema.json +1 -1
  95. package/generated/HarnessStatusDto.schema.json +1 -1
  96. package/generated/McpRunHandleResult.schema.json +109 -1
  97. package/generated/McpRunToolResult.schema.json +14 -1
  98. package/generated/RunContinuityReceipt.schema.json +182 -0
  99. package/generated/RunEvent.schema.json +3 -1
  100. package/generated/RunFacts.schema.json +14 -1
  101. package/generated/RunResumable.schema.json +153 -0
  102. package/generated/RunTelemetry.schema.json +14 -1
  103. package/generated/SessionCapsule.schema.json +78 -0
  104. package/generated/TaskContract.schema.json +1 -1
  105. package/package.json +2 -2
@@ -300,6 +300,162 @@ export declare const ControlRunDetail: z.ZodObject<{
300
300
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
301
301
  remediation?: string | null | undefined;
302
302
  }>>>;
303
+ continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
304
+ resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
305
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
306
+ resetsAt: z.ZodNullable<z.ZodString>;
307
+ limitWindow: z.ZodNullable<z.ZodString>;
308
+ limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
309
+ carriers: z.ZodArray<z.ZodEnum<["native", "native_moved", "packet"]>, "many">;
310
+ limitCode: z.ZodNullable<z.ZodString>;
311
+ session: z.ZodNullable<z.ZodObject<{
312
+ harness: z.ZodString;
313
+ nativeSessionId: z.ZodString;
314
+ holderProfileId: z.ZodNullable<z.ZodString>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ harness: string;
317
+ nativeSessionId: string;
318
+ holderProfileId: string | null;
319
+ }, {
320
+ harness: string;
321
+ nativeSessionId: string;
322
+ holderProfileId: string | null;
323
+ }>>;
324
+ workspace: z.ZodObject<{
325
+ kind: z.ZodEnum<["in_place", "retained_envelope", "none"]>;
326
+ root: z.ZodNullable<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ kind: "in_place" | "none" | "retained_envelope";
329
+ root: string | null;
330
+ }, {
331
+ kind: "in_place" | "none" | "retained_envelope";
332
+ root: string | null;
333
+ }>;
334
+ }, "strict", z.ZodTypeAny, {
335
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
336
+ resetsAt: string | null;
337
+ limitWindow: string | null;
338
+ limitEvidence: "unspecified" | "window" | null;
339
+ carriers: ("native" | "native_moved" | "packet")[];
340
+ limitCode: string | null;
341
+ session: {
342
+ harness: string;
343
+ nativeSessionId: string;
344
+ holderProfileId: string | null;
345
+ } | null;
346
+ workspace: {
347
+ kind: "in_place" | "none" | "retained_envelope";
348
+ root: string | null;
349
+ };
350
+ }, {
351
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
352
+ resetsAt: string | null;
353
+ limitWindow: string | null;
354
+ limitEvidence: "unspecified" | "window" | null;
355
+ carriers: ("native" | "native_moved" | "packet")[];
356
+ limitCode: string | null;
357
+ session: {
358
+ harness: string;
359
+ nativeSessionId: string;
360
+ holderProfileId: string | null;
361
+ } | null;
362
+ workspace: {
363
+ kind: "in_place" | "none" | "retained_envelope";
364
+ root: string | null;
365
+ };
366
+ }>>>;
367
+ continuity: z.ZodOptional<z.ZodArray<z.ZodObject<{
368
+ tryIndex: z.ZodNumber;
369
+ attemptId: z.ZodString;
370
+ carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
371
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
372
+ from: z.ZodObject<{
373
+ runId: z.ZodString;
374
+ attemptId: z.ZodString;
375
+ profileId: z.ZodNullable<z.ZodString>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ runId: string;
378
+ attemptId: string;
379
+ profileId: string | null;
380
+ }, {
381
+ runId: string;
382
+ attemptId: string;
383
+ profileId: string | null;
384
+ }>;
385
+ to: z.ZodObject<{
386
+ profileId: z.ZodNullable<z.ZodString>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ profileId: string | null;
389
+ }, {
390
+ profileId: string | null;
391
+ }>;
392
+ workspace: z.ZodEnum<["same_root", "different_root"]>;
393
+ memory: z.ZodEnum<["full", "partial", "unknown"]>;
394
+ instructions: z.ZodEnum<["as_sent", "vendor_snapshot"]>;
395
+ reingestedTokens: z.ZodNullable<z.ZodNumber>;
396
+ observedModel: z.ZodNullable<z.ZodString>;
397
+ modelMismatch: z.ZodNullable<z.ZodBoolean>;
398
+ identityCheck: z.ZodEnum<["matched_before_effects", "mismatch_before_effects", "mismatch_after_possible_effects", "not_applicable"]>;
399
+ inputDelivery: z.ZodEnum<["confirmed", "uncertain", "not_applicable"]>;
400
+ }, "strict", z.ZodTypeAny, {
401
+ tryIndex: number;
402
+ attemptId: string;
403
+ carrier: "fresh" | "native" | "native_moved" | "packet";
404
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
405
+ from: {
406
+ runId: string;
407
+ attemptId: string;
408
+ profileId: string | null;
409
+ };
410
+ to: {
411
+ profileId: string | null;
412
+ };
413
+ workspace: "different_root" | "same_root";
414
+ memory: "full" | "partial" | "unknown";
415
+ instructions: "as_sent" | "vendor_snapshot";
416
+ reingestedTokens: number | null;
417
+ observedModel: string | null;
418
+ modelMismatch: boolean | null;
419
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
420
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
421
+ }, {
422
+ tryIndex: number;
423
+ attemptId: string;
424
+ carrier: "fresh" | "native" | "native_moved" | "packet";
425
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
426
+ from: {
427
+ runId: string;
428
+ attemptId: string;
429
+ profileId: string | null;
430
+ };
431
+ to: {
432
+ profileId: string | null;
433
+ };
434
+ workspace: "different_root" | "same_root";
435
+ memory: "full" | "partial" | "unknown";
436
+ instructions: "as_sent" | "vendor_snapshot";
437
+ reingestedTokens: number | null;
438
+ observedModel: string | null;
439
+ modelMismatch: boolean | null;
440
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
441
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
442
+ }>, "many">>;
443
+ retainedEnvelope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
444
+ root: z.ZodString;
445
+ bytes: z.ZodNullable<z.ZodNumber>;
446
+ retainedAt: z.ZodString;
447
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
448
+ }, "strict", z.ZodTypeAny, {
449
+ root: string;
450
+ bytes: number | null;
451
+ retainedAt: string;
452
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
453
+ }, {
454
+ root: string;
455
+ bytes: number | null;
456
+ retainedAt: string;
457
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
458
+ }>>>;
303
459
  taskId: z.ZodOptional<z.ZodString>;
304
460
  state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
305
461
  runDir: z.ZodOptional<z.ZodString>;
@@ -718,6 +874,7 @@ export declare const ControlRunDetail: z.ZodObject<{
718
874
  locator?: string | null | undefined;
719
875
  description: string;
720
876
  }>, "many">>;
877
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
721
878
  }, "strip", z.ZodTypeAny, {
722
879
  state: "completed" | "incomplete" | "needs_input" | "unverified";
723
880
  source: "absent" | "constrained" | "validated";
@@ -726,6 +883,7 @@ export declare const ControlRunDetail: z.ZodObject<{
726
883
  locator: string | null;
727
884
  description: string;
728
885
  }[] | undefined;
886
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
729
887
  }, {
730
888
  state: "completed" | "incomplete" | "needs_input" | "unverified";
731
889
  source: "absent" | "constrained" | "validated";
@@ -734,6 +892,7 @@ export declare const ControlRunDetail: z.ZodObject<{
734
892
  locator?: string | null | undefined;
735
893
  description: string;
736
894
  }[] | undefined;
895
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
737
896
  }>>;
738
897
  }, "strict", z.ZodTypeAny, {
739
898
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -750,6 +909,7 @@ export declare const ControlRunDetail: z.ZodObject<{
750
909
  locator: string | null;
751
910
  description: string;
752
911
  }[] | undefined;
912
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
753
913
  } | undefined;
754
914
  }, {
755
915
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -766,6 +926,7 @@ export declare const ControlRunDetail: z.ZodObject<{
766
926
  locator?: string | null | undefined;
767
927
  description: string;
768
928
  }[] | undefined;
929
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
769
930
  } | undefined;
770
931
  }>>>;
771
932
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
@@ -863,6 +1024,52 @@ export declare const ControlRunDetail: z.ZodObject<{
863
1024
  reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
864
1025
  remediation: string | null;
865
1026
  } | null;
1027
+ continueFrom: string | null;
1028
+ resumable: {
1029
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1030
+ resetsAt: string | null;
1031
+ limitWindow: string | null;
1032
+ limitEvidence: "unspecified" | "window" | null;
1033
+ carriers: ("native" | "native_moved" | "packet")[];
1034
+ limitCode: string | null;
1035
+ session: {
1036
+ harness: string;
1037
+ nativeSessionId: string;
1038
+ holderProfileId: string | null;
1039
+ } | null;
1040
+ workspace: {
1041
+ kind: "in_place" | "none" | "retained_envelope";
1042
+ root: string | null;
1043
+ };
1044
+ } | null;
1045
+ continuity?: {
1046
+ tryIndex: number;
1047
+ attemptId: string;
1048
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1049
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1050
+ from: {
1051
+ runId: string;
1052
+ attemptId: string;
1053
+ profileId: string | null;
1054
+ };
1055
+ to: {
1056
+ profileId: string | null;
1057
+ };
1058
+ workspace: "different_root" | "same_root";
1059
+ memory: "full" | "partial" | "unknown";
1060
+ instructions: "as_sent" | "vendor_snapshot";
1061
+ reingestedTokens: number | null;
1062
+ observedModel: string | null;
1063
+ modelMismatch: boolean | null;
1064
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1065
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1066
+ }[] | undefined;
1067
+ retainedEnvelope: {
1068
+ root: string;
1069
+ bytes: number | null;
1070
+ retainedAt: string;
1071
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1072
+ } | null;
866
1073
  taskId?: string | undefined;
867
1074
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
868
1075
  runDir?: string | undefined;
@@ -1018,6 +1225,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1018
1225
  locator: string | null;
1019
1226
  description: string;
1020
1227
  }[] | undefined;
1228
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1021
1229
  } | undefined;
1022
1230
  } | null;
1023
1231
  waitingOnUser: boolean;
@@ -1061,6 +1269,52 @@ export declare const ControlRunDetail: z.ZodObject<{
1061
1269
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
1062
1270
  remediation?: string | null | undefined;
1063
1271
  } | null | undefined;
1272
+ continueFrom?: string | null | undefined;
1273
+ resumable?: {
1274
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1275
+ resetsAt: string | null;
1276
+ limitWindow: string | null;
1277
+ limitEvidence: "unspecified" | "window" | null;
1278
+ carriers: ("native" | "native_moved" | "packet")[];
1279
+ limitCode: string | null;
1280
+ session: {
1281
+ harness: string;
1282
+ nativeSessionId: string;
1283
+ holderProfileId: string | null;
1284
+ } | null;
1285
+ workspace: {
1286
+ kind: "in_place" | "none" | "retained_envelope";
1287
+ root: string | null;
1288
+ };
1289
+ } | null | undefined;
1290
+ continuity?: {
1291
+ tryIndex: number;
1292
+ attemptId: string;
1293
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1294
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1295
+ from: {
1296
+ runId: string;
1297
+ attemptId: string;
1298
+ profileId: string | null;
1299
+ };
1300
+ to: {
1301
+ profileId: string | null;
1302
+ };
1303
+ workspace: "different_root" | "same_root";
1304
+ memory: "full" | "partial" | "unknown";
1305
+ instructions: "as_sent" | "vendor_snapshot";
1306
+ reingestedTokens: number | null;
1307
+ observedModel: string | null;
1308
+ modelMismatch: boolean | null;
1309
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1310
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1311
+ }[] | undefined;
1312
+ retainedEnvelope?: {
1313
+ root: string;
1314
+ bytes: number | null;
1315
+ retainedAt: string;
1316
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1317
+ } | null | undefined;
1064
1318
  taskId?: string | undefined;
1065
1319
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
1066
1320
  runDir?: string | undefined;
@@ -1216,6 +1470,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1216
1470
  locator?: string | null | undefined;
1217
1471
  description: string;
1218
1472
  }[] | undefined;
1473
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1219
1474
  } | undefined;
1220
1475
  } | null | undefined;
1221
1476
  waitingOnUser?: boolean | undefined;
@@ -1284,6 +1539,162 @@ export declare const ControlRunDetail: z.ZodObject<{
1284
1539
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
1285
1540
  remediation?: string | null | undefined;
1286
1541
  }>>>;
1542
+ continueFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1543
+ resumable: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1544
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
1545
+ resetsAt: z.ZodNullable<z.ZodString>;
1546
+ limitWindow: z.ZodNullable<z.ZodString>;
1547
+ limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
1548
+ carriers: z.ZodArray<z.ZodEnum<["native", "native_moved", "packet"]>, "many">;
1549
+ limitCode: z.ZodNullable<z.ZodString>;
1550
+ session: z.ZodNullable<z.ZodObject<{
1551
+ harness: z.ZodString;
1552
+ nativeSessionId: z.ZodString;
1553
+ holderProfileId: z.ZodNullable<z.ZodString>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ harness: string;
1556
+ nativeSessionId: string;
1557
+ holderProfileId: string | null;
1558
+ }, {
1559
+ harness: string;
1560
+ nativeSessionId: string;
1561
+ holderProfileId: string | null;
1562
+ }>>;
1563
+ workspace: z.ZodObject<{
1564
+ kind: z.ZodEnum<["in_place", "retained_envelope", "none"]>;
1565
+ root: z.ZodNullable<z.ZodString>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ kind: "in_place" | "none" | "retained_envelope";
1568
+ root: string | null;
1569
+ }, {
1570
+ kind: "in_place" | "none" | "retained_envelope";
1571
+ root: string | null;
1572
+ }>;
1573
+ }, "strict", z.ZodTypeAny, {
1574
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1575
+ resetsAt: string | null;
1576
+ limitWindow: string | null;
1577
+ limitEvidence: "unspecified" | "window" | null;
1578
+ carriers: ("native" | "native_moved" | "packet")[];
1579
+ limitCode: string | null;
1580
+ session: {
1581
+ harness: string;
1582
+ nativeSessionId: string;
1583
+ holderProfileId: string | null;
1584
+ } | null;
1585
+ workspace: {
1586
+ kind: "in_place" | "none" | "retained_envelope";
1587
+ root: string | null;
1588
+ };
1589
+ }, {
1590
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1591
+ resetsAt: string | null;
1592
+ limitWindow: string | null;
1593
+ limitEvidence: "unspecified" | "window" | null;
1594
+ carriers: ("native" | "native_moved" | "packet")[];
1595
+ limitCode: string | null;
1596
+ session: {
1597
+ harness: string;
1598
+ nativeSessionId: string;
1599
+ holderProfileId: string | null;
1600
+ } | null;
1601
+ workspace: {
1602
+ kind: "in_place" | "none" | "retained_envelope";
1603
+ root: string | null;
1604
+ };
1605
+ }>>>;
1606
+ continuity: z.ZodOptional<z.ZodArray<z.ZodObject<{
1607
+ tryIndex: z.ZodNumber;
1608
+ attemptId: z.ZodString;
1609
+ carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
1610
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
1611
+ from: z.ZodObject<{
1612
+ runId: z.ZodString;
1613
+ attemptId: z.ZodString;
1614
+ profileId: z.ZodNullable<z.ZodString>;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ runId: string;
1617
+ attemptId: string;
1618
+ profileId: string | null;
1619
+ }, {
1620
+ runId: string;
1621
+ attemptId: string;
1622
+ profileId: string | null;
1623
+ }>;
1624
+ to: z.ZodObject<{
1625
+ profileId: z.ZodNullable<z.ZodString>;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ profileId: string | null;
1628
+ }, {
1629
+ profileId: string | null;
1630
+ }>;
1631
+ workspace: z.ZodEnum<["same_root", "different_root"]>;
1632
+ memory: z.ZodEnum<["full", "partial", "unknown"]>;
1633
+ instructions: z.ZodEnum<["as_sent", "vendor_snapshot"]>;
1634
+ reingestedTokens: z.ZodNullable<z.ZodNumber>;
1635
+ observedModel: z.ZodNullable<z.ZodString>;
1636
+ modelMismatch: z.ZodNullable<z.ZodBoolean>;
1637
+ identityCheck: z.ZodEnum<["matched_before_effects", "mismatch_before_effects", "mismatch_after_possible_effects", "not_applicable"]>;
1638
+ inputDelivery: z.ZodEnum<["confirmed", "uncertain", "not_applicable"]>;
1639
+ }, "strict", z.ZodTypeAny, {
1640
+ tryIndex: number;
1641
+ attemptId: string;
1642
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1643
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1644
+ from: {
1645
+ runId: string;
1646
+ attemptId: string;
1647
+ profileId: string | null;
1648
+ };
1649
+ to: {
1650
+ profileId: string | null;
1651
+ };
1652
+ workspace: "different_root" | "same_root";
1653
+ memory: "full" | "partial" | "unknown";
1654
+ instructions: "as_sent" | "vendor_snapshot";
1655
+ reingestedTokens: number | null;
1656
+ observedModel: string | null;
1657
+ modelMismatch: boolean | null;
1658
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1659
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1660
+ }, {
1661
+ tryIndex: number;
1662
+ attemptId: string;
1663
+ carrier: "fresh" | "native" | "native_moved" | "packet";
1664
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
1665
+ from: {
1666
+ runId: string;
1667
+ attemptId: string;
1668
+ profileId: string | null;
1669
+ };
1670
+ to: {
1671
+ profileId: string | null;
1672
+ };
1673
+ workspace: "different_root" | "same_root";
1674
+ memory: "full" | "partial" | "unknown";
1675
+ instructions: "as_sent" | "vendor_snapshot";
1676
+ reingestedTokens: number | null;
1677
+ observedModel: string | null;
1678
+ modelMismatch: boolean | null;
1679
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
1680
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
1681
+ }>, "many">>;
1682
+ retainedEnvelope: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1683
+ root: z.ZodString;
1684
+ bytes: z.ZodNullable<z.ZodNumber>;
1685
+ retainedAt: z.ZodString;
1686
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
1687
+ }, "strict", z.ZodTypeAny, {
1688
+ root: string;
1689
+ bytes: number | null;
1690
+ retainedAt: string;
1691
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1692
+ }, {
1693
+ root: string;
1694
+ bytes: number | null;
1695
+ retainedAt: string;
1696
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
1697
+ }>>>;
1287
1698
  taskId: z.ZodOptional<z.ZodString>;
1288
1699
  state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
1289
1700
  runDir: z.ZodOptional<z.ZodString>;
@@ -1702,6 +2113,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1702
2113
  locator?: string | null | undefined;
1703
2114
  description: string;
1704
2115
  }>, "many">>;
2116
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
1705
2117
  }, "strip", z.ZodTypeAny, {
1706
2118
  state: "completed" | "incomplete" | "needs_input" | "unverified";
1707
2119
  source: "absent" | "constrained" | "validated";
@@ -1710,6 +2122,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1710
2122
  locator: string | null;
1711
2123
  description: string;
1712
2124
  }[] | undefined;
2125
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1713
2126
  }, {
1714
2127
  state: "completed" | "incomplete" | "needs_input" | "unverified";
1715
2128
  source: "absent" | "constrained" | "validated";
@@ -1718,6 +2131,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1718
2131
  locator?: string | null | undefined;
1719
2132
  description: string;
1720
2133
  }[] | undefined;
2134
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1721
2135
  }>>;
1722
2136
  }, "strict", z.ZodTypeAny, {
1723
2137
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -1734,6 +2148,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1734
2148
  locator: string | null;
1735
2149
  description: string;
1736
2150
  }[] | undefined;
2151
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1737
2152
  } | undefined;
1738
2153
  }, {
1739
2154
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -1750,6 +2165,7 @@ export declare const ControlRunDetail: z.ZodObject<{
1750
2165
  locator?: string | null | undefined;
1751
2166
  description: string;
1752
2167
  }[] | undefined;
2168
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
1753
2169
  } | undefined;
1754
2170
  }>>>;
1755
2171
  waitingOnUser: z.ZodDefault<z.ZodBoolean>;
@@ -1847,6 +2263,52 @@ export declare const ControlRunDetail: z.ZodObject<{
1847
2263
  reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
1848
2264
  remediation: string | null;
1849
2265
  } | null;
2266
+ continueFrom: string | null;
2267
+ resumable: {
2268
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2269
+ resetsAt: string | null;
2270
+ limitWindow: string | null;
2271
+ limitEvidence: "unspecified" | "window" | null;
2272
+ carriers: ("native" | "native_moved" | "packet")[];
2273
+ limitCode: string | null;
2274
+ session: {
2275
+ harness: string;
2276
+ nativeSessionId: string;
2277
+ holderProfileId: string | null;
2278
+ } | null;
2279
+ workspace: {
2280
+ kind: "in_place" | "none" | "retained_envelope";
2281
+ root: string | null;
2282
+ };
2283
+ } | null;
2284
+ continuity?: {
2285
+ tryIndex: number;
2286
+ attemptId: string;
2287
+ carrier: "fresh" | "native" | "native_moved" | "packet";
2288
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2289
+ from: {
2290
+ runId: string;
2291
+ attemptId: string;
2292
+ profileId: string | null;
2293
+ };
2294
+ to: {
2295
+ profileId: string | null;
2296
+ };
2297
+ workspace: "different_root" | "same_root";
2298
+ memory: "full" | "partial" | "unknown";
2299
+ instructions: "as_sent" | "vendor_snapshot";
2300
+ reingestedTokens: number | null;
2301
+ observedModel: string | null;
2302
+ modelMismatch: boolean | null;
2303
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
2304
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
2305
+ }[] | undefined;
2306
+ retainedEnvelope: {
2307
+ root: string;
2308
+ bytes: number | null;
2309
+ retainedAt: string;
2310
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2311
+ } | null;
1850
2312
  taskId?: string | undefined;
1851
2313
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
1852
2314
  runDir?: string | undefined;
@@ -2002,6 +2464,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2002
2464
  locator: string | null;
2003
2465
  description: string;
2004
2466
  }[] | undefined;
2467
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2005
2468
  } | undefined;
2006
2469
  } | null;
2007
2470
  waitingOnUser: boolean;
@@ -2045,6 +2508,52 @@ export declare const ControlRunDetail: z.ZodObject<{
2045
2508
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
2046
2509
  remediation?: string | null | undefined;
2047
2510
  } | null | undefined;
2511
+ continueFrom?: string | null | undefined;
2512
+ resumable?: {
2513
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2514
+ resetsAt: string | null;
2515
+ limitWindow: string | null;
2516
+ limitEvidence: "unspecified" | "window" | null;
2517
+ carriers: ("native" | "native_moved" | "packet")[];
2518
+ limitCode: string | null;
2519
+ session: {
2520
+ harness: string;
2521
+ nativeSessionId: string;
2522
+ holderProfileId: string | null;
2523
+ } | null;
2524
+ workspace: {
2525
+ kind: "in_place" | "none" | "retained_envelope";
2526
+ root: string | null;
2527
+ };
2528
+ } | null | undefined;
2529
+ continuity?: {
2530
+ tryIndex: number;
2531
+ attemptId: string;
2532
+ carrier: "fresh" | "native" | "native_moved" | "packet";
2533
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
2534
+ from: {
2535
+ runId: string;
2536
+ attemptId: string;
2537
+ profileId: string | null;
2538
+ };
2539
+ to: {
2540
+ profileId: string | null;
2541
+ };
2542
+ workspace: "different_root" | "same_root";
2543
+ memory: "full" | "partial" | "unknown";
2544
+ instructions: "as_sent" | "vendor_snapshot";
2545
+ reingestedTokens: number | null;
2546
+ observedModel: string | null;
2547
+ modelMismatch: boolean | null;
2548
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
2549
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
2550
+ }[] | undefined;
2551
+ retainedEnvelope?: {
2552
+ root: string;
2553
+ bytes: number | null;
2554
+ retainedAt: string;
2555
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
2556
+ } | null | undefined;
2048
2557
  taskId?: string | undefined;
2049
2558
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
2050
2559
  runDir?: string | undefined;
@@ -2200,6 +2709,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2200
2709
  locator?: string | null | undefined;
2201
2710
  description: string;
2202
2711
  }[] | undefined;
2712
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2203
2713
  } | undefined;
2204
2714
  } | null | undefined;
2205
2715
  waitingOnUser?: boolean | undefined;
@@ -2262,6 +2772,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2262
2772
  locator?: string | null | undefined;
2263
2773
  description: string;
2264
2774
  }>, "many">>;
2775
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
2265
2776
  }, "strip", z.ZodTypeAny, {
2266
2777
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2267
2778
  source: "absent" | "constrained" | "validated";
@@ -2270,6 +2781,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2270
2781
  locator: string | null;
2271
2782
  description: string;
2272
2783
  }[] | undefined;
2784
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2273
2785
  }, {
2274
2786
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2275
2787
  source: "absent" | "constrained" | "validated";
@@ -2278,6 +2790,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2278
2790
  locator?: string | null | undefined;
2279
2791
  description: string;
2280
2792
  }[] | undefined;
2793
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2281
2794
  }>>;
2282
2795
  }, "strict", z.ZodTypeAny, {
2283
2796
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2294,6 +2807,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2294
2807
  locator: string | null;
2295
2808
  description: string;
2296
2809
  }[] | undefined;
2810
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2297
2811
  } | undefined;
2298
2812
  }, {
2299
2813
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2310,6 +2824,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2310
2824
  locator?: string | null | undefined;
2311
2825
  description: string;
2312
2826
  }[] | undefined;
2827
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2313
2828
  } | undefined;
2314
2829
  }>;
2315
2830
  deliverable: z.ZodObject<{
@@ -2494,6 +3009,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2494
3009
  locator: string | null;
2495
3010
  description: string;
2496
3011
  }[] | undefined;
3012
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2497
3013
  } | undefined;
2498
3014
  };
2499
3015
  deliverable: {
@@ -2566,6 +3082,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2566
3082
  locator?: string | null | undefined;
2567
3083
  description: string;
2568
3084
  }[] | undefined;
3085
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2569
3086
  } | undefined;
2570
3087
  };
2571
3088
  deliverable: {
@@ -2802,6 +3319,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2802
3319
  locator?: string | null | undefined;
2803
3320
  description: string;
2804
3321
  }>, "many">>;
3322
+ unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
2805
3323
  }, "strip", z.ZodTypeAny, {
2806
3324
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2807
3325
  source: "absent" | "constrained" | "validated";
@@ -2810,6 +3328,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2810
3328
  locator: string | null;
2811
3329
  description: string;
2812
3330
  }[] | undefined;
3331
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2813
3332
  }, {
2814
3333
  state: "completed" | "incomplete" | "needs_input" | "unverified";
2815
3334
  source: "absent" | "constrained" | "validated";
@@ -2818,6 +3337,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2818
3337
  locator?: string | null | undefined;
2819
3338
  description: string;
2820
3339
  }[] | undefined;
3340
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2821
3341
  }>>;
2822
3342
  }, "strict", z.ZodTypeAny, {
2823
3343
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2834,6 +3354,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2834
3354
  locator: string | null;
2835
3355
  description: string;
2836
3356
  }[] | undefined;
3357
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2837
3358
  } | undefined;
2838
3359
  }, {
2839
3360
  lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
@@ -2850,6 +3371,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2850
3371
  locator?: string | null | undefined;
2851
3372
  description: string;
2852
3373
  }[] | undefined;
3374
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2853
3375
  } | undefined;
2854
3376
  }>;
2855
3377
  why_winner: z.ZodDefault<z.ZodString>;
@@ -2966,6 +3488,7 @@ export declare const ControlRunDetail: z.ZodObject<{
2966
3488
  locator: string | null;
2967
3489
  description: string;
2968
3490
  }[] | undefined;
3491
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
2969
3492
  } | undefined;
2970
3493
  };
2971
3494
  why_winner: string;
@@ -3024,6 +3547,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3024
3547
  locator?: string | null | undefined;
3025
3548
  description: string;
3026
3549
  }[] | undefined;
3550
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3027
3551
  } | undefined;
3028
3552
  };
3029
3553
  why_winner?: string | undefined;
@@ -3778,6 +4302,52 @@ export declare const ControlRunDetail: z.ZodObject<{
3778
4302
  reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
3779
4303
  remediation: string | null;
3780
4304
  } | null;
4305
+ continueFrom: string | null;
4306
+ resumable: {
4307
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
4308
+ resetsAt: string | null;
4309
+ limitWindow: string | null;
4310
+ limitEvidence: "unspecified" | "window" | null;
4311
+ carriers: ("native" | "native_moved" | "packet")[];
4312
+ limitCode: string | null;
4313
+ session: {
4314
+ harness: string;
4315
+ nativeSessionId: string;
4316
+ holderProfileId: string | null;
4317
+ } | null;
4318
+ workspace: {
4319
+ kind: "in_place" | "none" | "retained_envelope";
4320
+ root: string | null;
4321
+ };
4322
+ } | null;
4323
+ continuity?: {
4324
+ tryIndex: number;
4325
+ attemptId: string;
4326
+ carrier: "fresh" | "native" | "native_moved" | "packet";
4327
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
4328
+ from: {
4329
+ runId: string;
4330
+ attemptId: string;
4331
+ profileId: string | null;
4332
+ };
4333
+ to: {
4334
+ profileId: string | null;
4335
+ };
4336
+ workspace: "different_root" | "same_root";
4337
+ memory: "full" | "partial" | "unknown";
4338
+ instructions: "as_sent" | "vendor_snapshot";
4339
+ reingestedTokens: number | null;
4340
+ observedModel: string | null;
4341
+ modelMismatch: boolean | null;
4342
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
4343
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
4344
+ }[] | undefined;
4345
+ retainedEnvelope: {
4346
+ root: string;
4347
+ bytes: number | null;
4348
+ retainedAt: string;
4349
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
4350
+ } | null;
3781
4351
  taskId?: string | undefined;
3782
4352
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
3783
4353
  runDir?: string | undefined;
@@ -3933,6 +4503,7 @@ export declare const ControlRunDetail: z.ZodObject<{
3933
4503
  locator: string | null;
3934
4504
  description: string;
3935
4505
  }[] | undefined;
4506
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
3936
4507
  } | undefined;
3937
4508
  } | null;
3938
4509
  waitingOnUser: boolean;
@@ -3977,6 +4548,52 @@ export declare const ControlRunDetail: z.ZodObject<{
3977
4548
  reason: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used";
3978
4549
  remediation: string | null;
3979
4550
  } | null;
4551
+ continueFrom: string | null;
4552
+ resumable: {
4553
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
4554
+ resetsAt: string | null;
4555
+ limitWindow: string | null;
4556
+ limitEvidence: "unspecified" | "window" | null;
4557
+ carriers: ("native" | "native_moved" | "packet")[];
4558
+ limitCode: string | null;
4559
+ session: {
4560
+ harness: string;
4561
+ nativeSessionId: string;
4562
+ holderProfileId: string | null;
4563
+ } | null;
4564
+ workspace: {
4565
+ kind: "in_place" | "none" | "retained_envelope";
4566
+ root: string | null;
4567
+ };
4568
+ } | null;
4569
+ continuity?: {
4570
+ tryIndex: number;
4571
+ attemptId: string;
4572
+ carrier: "fresh" | "native" | "native_moved" | "packet";
4573
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
4574
+ from: {
4575
+ runId: string;
4576
+ attemptId: string;
4577
+ profileId: string | null;
4578
+ };
4579
+ to: {
4580
+ profileId: string | null;
4581
+ };
4582
+ workspace: "different_root" | "same_root";
4583
+ memory: "full" | "partial" | "unknown";
4584
+ instructions: "as_sent" | "vendor_snapshot";
4585
+ reingestedTokens: number | null;
4586
+ observedModel: string | null;
4587
+ modelMismatch: boolean | null;
4588
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
4589
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
4590
+ }[] | undefined;
4591
+ retainedEnvelope: {
4592
+ root: string;
4593
+ bytes: number | null;
4594
+ retainedAt: string;
4595
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
4596
+ } | null;
3980
4597
  taskId?: string | undefined;
3981
4598
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
3982
4599
  runDir?: string | undefined;
@@ -4132,6 +4749,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4132
4749
  locator: string | null;
4133
4750
  description: string;
4134
4751
  }[] | undefined;
4752
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4135
4753
  } | undefined;
4136
4754
  } | null;
4137
4755
  waitingOnUser: boolean;
@@ -4184,6 +4802,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4184
4802
  locator: string | null;
4185
4803
  description: string;
4186
4804
  }[] | undefined;
4805
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4187
4806
  } | undefined;
4188
4807
  };
4189
4808
  deliverable: {
@@ -4304,6 +4923,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4304
4923
  locator: string | null;
4305
4924
  description: string;
4306
4925
  }[] | undefined;
4926
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4307
4927
  } | undefined;
4308
4928
  };
4309
4929
  why_winner: string;
@@ -4552,6 +5172,52 @@ export declare const ControlRunDetail: z.ZodObject<{
4552
5172
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
4553
5173
  remediation?: string | null | undefined;
4554
5174
  } | null | undefined;
5175
+ continueFrom?: string | null | undefined;
5176
+ resumable?: {
5177
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
5178
+ resetsAt: string | null;
5179
+ limitWindow: string | null;
5180
+ limitEvidence: "unspecified" | "window" | null;
5181
+ carriers: ("native" | "native_moved" | "packet")[];
5182
+ limitCode: string | null;
5183
+ session: {
5184
+ harness: string;
5185
+ nativeSessionId: string;
5186
+ holderProfileId: string | null;
5187
+ } | null;
5188
+ workspace: {
5189
+ kind: "in_place" | "none" | "retained_envelope";
5190
+ root: string | null;
5191
+ };
5192
+ } | null | undefined;
5193
+ continuity?: {
5194
+ tryIndex: number;
5195
+ attemptId: string;
5196
+ carrier: "fresh" | "native" | "native_moved" | "packet";
5197
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
5198
+ from: {
5199
+ runId: string;
5200
+ attemptId: string;
5201
+ profileId: string | null;
5202
+ };
5203
+ to: {
5204
+ profileId: string | null;
5205
+ };
5206
+ workspace: "different_root" | "same_root";
5207
+ memory: "full" | "partial" | "unknown";
5208
+ instructions: "as_sent" | "vendor_snapshot";
5209
+ reingestedTokens: number | null;
5210
+ observedModel: string | null;
5211
+ modelMismatch: boolean | null;
5212
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
5213
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
5214
+ }[] | undefined;
5215
+ retainedEnvelope?: {
5216
+ root: string;
5217
+ bytes: number | null;
5218
+ retainedAt: string;
5219
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
5220
+ } | null | undefined;
4555
5221
  taskId?: string | undefined;
4556
5222
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
4557
5223
  runDir?: string | undefined;
@@ -4707,6 +5373,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4707
5373
  locator?: string | null | undefined;
4708
5374
  description: string;
4709
5375
  }[] | undefined;
5376
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4710
5377
  } | undefined;
4711
5378
  } | null | undefined;
4712
5379
  waitingOnUser?: boolean | undefined;
@@ -4751,6 +5418,52 @@ export declare const ControlRunDetail: z.ZodObject<{
4751
5418
  reason?: "access_profile_incompatible" | "injected_unused" | "manifest_unsupported" | "not_requested" | "partially_degraded" | "pending" | "runtime_unavailable" | "startup_failed" | "used" | undefined;
4752
5419
  remediation?: string | null | undefined;
4753
5420
  } | null | undefined;
5421
+ continueFrom?: string | null | undefined;
5422
+ resumable?: {
5423
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
5424
+ resetsAt: string | null;
5425
+ limitWindow: string | null;
5426
+ limitEvidence: "unspecified" | "window" | null;
5427
+ carriers: ("native" | "native_moved" | "packet")[];
5428
+ limitCode: string | null;
5429
+ session: {
5430
+ harness: string;
5431
+ nativeSessionId: string;
5432
+ holderProfileId: string | null;
5433
+ } | null;
5434
+ workspace: {
5435
+ kind: "in_place" | "none" | "retained_envelope";
5436
+ root: string | null;
5437
+ };
5438
+ } | null | undefined;
5439
+ continuity?: {
5440
+ tryIndex: number;
5441
+ attemptId: string;
5442
+ carrier: "fresh" | "native" | "native_moved" | "packet";
5443
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
5444
+ from: {
5445
+ runId: string;
5446
+ attemptId: string;
5447
+ profileId: string | null;
5448
+ };
5449
+ to: {
5450
+ profileId: string | null;
5451
+ };
5452
+ workspace: "different_root" | "same_root";
5453
+ memory: "full" | "partial" | "unknown";
5454
+ instructions: "as_sent" | "vendor_snapshot";
5455
+ reingestedTokens: number | null;
5456
+ observedModel: string | null;
5457
+ modelMismatch: boolean | null;
5458
+ identityCheck: "matched_before_effects" | "mismatch_after_possible_effects" | "mismatch_before_effects" | "not_applicable";
5459
+ inputDelivery: "confirmed" | "not_applicable" | "uncertain";
5460
+ }[] | undefined;
5461
+ retainedEnvelope?: {
5462
+ root: string;
5463
+ bytes: number | null;
5464
+ retainedAt: string;
5465
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
5466
+ } | null | undefined;
4754
5467
  taskId?: string | undefined;
4755
5468
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
4756
5469
  runDir?: string | undefined;
@@ -4906,6 +5619,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4906
5619
  locator?: string | null | undefined;
4907
5620
  description: string;
4908
5621
  }[] | undefined;
5622
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4909
5623
  } | undefined;
4910
5624
  } | null | undefined;
4911
5625
  waitingOnUser?: boolean | undefined;
@@ -4958,6 +5672,7 @@ export declare const ControlRunDetail: z.ZodObject<{
4958
5672
  locator?: string | null | undefined;
4959
5673
  description: string;
4960
5674
  }[] | undefined;
5675
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
4961
5676
  } | undefined;
4962
5677
  };
4963
5678
  deliverable: {
@@ -5078,6 +5793,7 @@ export declare const ControlRunDetail: z.ZodObject<{
5078
5793
  locator?: string | null | undefined;
5079
5794
  description: string;
5080
5795
  }[] | undefined;
5796
+ unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
5081
5797
  } | undefined;
5082
5798
  };
5083
5799
  why_winner?: string | undefined;