@cat-factory/contracts 0.299.1 → 0.301.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 (66) hide show
  1. package/dist/agent-failure-kinds.d.ts +1 -1
  2. package/dist/agent-failure-kinds.d.ts.map +1 -1
  3. package/dist/agent-failure-kinds.js +6 -0
  4. package/dist/agent-failure-kinds.js.map +1 -1
  5. package/dist/bootstrap.d.ts +2 -2
  6. package/dist/debug-api.d.ts +3 -3
  7. package/dist/env-config-repair.d.ts +1 -1
  8. package/dist/execution.d.ts +77 -3
  9. package/dist/execution.d.ts.map +1 -1
  10. package/dist/execution.js +28 -0
  11. package/dist/execution.js.map +1 -1
  12. package/dist/followUp.d.ts +20 -0
  13. package/dist/followUp.d.ts.map +1 -1
  14. package/dist/followUp.js +10 -0
  15. package/dist/followUp.js.map +1 -1
  16. package/dist/judge.d.ts +12 -0
  17. package/dist/judge.d.ts.map +1 -1
  18. package/dist/judge.js +12 -0
  19. package/dist/judge.js.map +1 -1
  20. package/dist/merge.d.ts +69 -5
  21. package/dist/merge.d.ts.map +1 -1
  22. package/dist/merge.js +67 -5
  23. package/dist/merge.js.map +1 -1
  24. package/dist/public-provisioning.d.ts +45 -3
  25. package/dist/public-provisioning.d.ts.map +1 -1
  26. package/dist/public-provisioning.js +25 -2
  27. package/dist/public-provisioning.js.map +1 -1
  28. package/dist/risk-policy-selection.d.ts +17 -5
  29. package/dist/risk-policy-selection.d.ts.map +1 -1
  30. package/dist/risk-policy-selection.js +8 -0
  31. package/dist/risk-policy-selection.js.map +1 -1
  32. package/dist/routes/agent-runs.d.ts +30 -8
  33. package/dist/routes/agent-runs.d.ts.map +1 -1
  34. package/dist/routes/bootstrap.d.ts +3 -3
  35. package/dist/routes/bug-hunt.d.ts +26 -4
  36. package/dist/routes/bug-hunt.d.ts.map +1 -1
  37. package/dist/routes/debug-api.d.ts +2 -2
  38. package/dist/routes/execution.d.ts +117 -18
  39. package/dist/routes/execution.d.ts.map +1 -1
  40. package/dist/routes/followUp.d.ts +5 -0
  41. package/dist/routes/followUp.d.ts.map +1 -1
  42. package/dist/routes/human-review.d.ts +13 -2
  43. package/dist/routes/human-review.d.ts.map +1 -1
  44. package/dist/routes/human-test.d.ts +65 -10
  45. package/dist/routes/human-test.d.ts.map +1 -1
  46. package/dist/routes/judge.d.ts +2 -0
  47. package/dist/routes/judge.d.ts.map +1 -1
  48. package/dist/routes/merge.d.ts +12 -0
  49. package/dist/routes/merge.d.ts.map +1 -1
  50. package/dist/routes/public-provisioning.d.ts +4 -2
  51. package/dist/routes/public-provisioning.d.ts.map +1 -1
  52. package/dist/routes/visual-confirm.d.ts +39 -6
  53. package/dist/routes/visual-confirm.d.ts.map +1 -1
  54. package/dist/routes/workspaces.d.ts +34 -8
  55. package/dist/routes/workspaces.d.ts.map +1 -1
  56. package/dist/run-provenance.d.ts +13 -0
  57. package/dist/run-provenance.d.ts.map +1 -1
  58. package/dist/run-provenance.js +33 -0
  59. package/dist/run-provenance.js.map +1 -1
  60. package/dist/snapshot.d.ts +17 -4
  61. package/dist/snapshot.d.ts.map +1 -1
  62. package/dist/step-decisions.d.ts +35 -0
  63. package/dist/step-decisions.d.ts.map +1 -1
  64. package/dist/step-decisions.js +12 -0
  65. package/dist/step-decisions.js.map +1 -1
  66. package/package.json +1 -1
@@ -387,9 +387,18 @@ export declare const approveVisualConfirmContract: {
387
387
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
388
388
  readonly passed: v.BooleanSchema<undefined>;
389
389
  readonly feedback: v.StringSchema<undefined>;
390
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
391
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
392
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
393
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
394
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
395
+ readonly body: v.StringSchema<undefined>;
396
+ }, undefined>, undefined>, undefined>;
390
397
  }, undefined>, undefined>;
391
398
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
399
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
392
400
  }, undefined>, undefined>, undefined>;
401
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
393
402
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
394
403
  readonly enabled: v.BooleanSchema<undefined>;
395
404
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -401,6 +410,7 @@ export declare const approveVisualConfirmContract: {
401
410
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
402
411
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
403
412
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
413
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
404
414
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
405
415
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
406
416
  readonly createdAt: v.NumberSchema<undefined>;
@@ -483,6 +493,7 @@ export declare const approveVisualConfirmContract: {
483
493
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
484
494
  }, undefined>, undefined>, readonly []>;
485
495
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
496
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
486
497
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
487
498
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
488
499
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1086,7 +1097,7 @@ export declare const approveVisualConfirmContract: {
1086
1097
  readonly currentStep: v.NumberSchema<undefined>;
1087
1098
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1088
1099
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1089
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1100
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1090
1101
  readonly message: v.StringSchema<undefined>;
1091
1102
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1092
1103
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1104,7 +1115,7 @@ export declare const approveVisualConfirmContract: {
1104
1115
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1105
1116
  }, undefined>, undefined>, undefined>;
1106
1117
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1107
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1118
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1108
1119
  readonly message: v.StringSchema<undefined>;
1109
1120
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1110
1121
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1569,9 +1580,18 @@ export declare const requestVisualConfirmFixContract: {
1569
1580
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1570
1581
  readonly passed: v.BooleanSchema<undefined>;
1571
1582
  readonly feedback: v.StringSchema<undefined>;
1583
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1584
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1585
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1586
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1587
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1588
+ readonly body: v.StringSchema<undefined>;
1589
+ }, undefined>, undefined>, undefined>;
1572
1590
  }, undefined>, undefined>;
1573
1591
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1592
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1574
1593
  }, undefined>, undefined>, undefined>;
1594
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1575
1595
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1576
1596
  readonly enabled: v.BooleanSchema<undefined>;
1577
1597
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -1583,6 +1603,7 @@ export declare const requestVisualConfirmFixContract: {
1583
1603
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
1584
1604
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1585
1605
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1606
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1586
1607
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1587
1608
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1588
1609
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1665,6 +1686,7 @@ export declare const requestVisualConfirmFixContract: {
1665
1686
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1666
1687
  }, undefined>, undefined>, readonly []>;
1667
1688
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1689
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1668
1690
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1669
1691
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
1670
1692
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -2268,7 +2290,7 @@ export declare const requestVisualConfirmFixContract: {
2268
2290
  readonly currentStep: v.NumberSchema<undefined>;
2269
2291
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
2270
2292
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2271
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
2293
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2272
2294
  readonly message: v.StringSchema<undefined>;
2273
2295
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2274
2296
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2286,7 +2308,7 @@ export declare const requestVisualConfirmFixContract: {
2286
2308
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2287
2309
  }, undefined>, undefined>, undefined>;
2288
2310
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2289
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
2311
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
2290
2312
  readonly message: v.StringSchema<undefined>;
2291
2313
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2292
2314
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2749,9 +2771,18 @@ export declare const recaptureVisualConfirmContract: {
2749
2771
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
2750
2772
  readonly passed: v.BooleanSchema<undefined>;
2751
2773
  readonly feedback: v.StringSchema<undefined>;
2774
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2775
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2776
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2777
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2778
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2779
+ readonly body: v.StringSchema<undefined>;
2780
+ }, undefined>, undefined>, undefined>;
2752
2781
  }, undefined>, undefined>;
2753
2782
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2783
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2754
2784
  }, undefined>, undefined>, undefined>;
2785
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2755
2786
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2756
2787
  readonly enabled: v.BooleanSchema<undefined>;
2757
2788
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -2763,6 +2794,7 @@ export declare const recaptureVisualConfirmContract: {
2763
2794
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
2764
2795
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2765
2796
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2797
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2766
2798
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2767
2799
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2768
2800
  readonly createdAt: v.NumberSchema<undefined>;
@@ -2845,6 +2877,7 @@ export declare const recaptureVisualConfirmContract: {
2845
2877
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2846
2878
  }, undefined>, undefined>, readonly []>;
2847
2879
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2880
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2848
2881
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2849
2882
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
2850
2883
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -3448,7 +3481,7 @@ export declare const recaptureVisualConfirmContract: {
3448
3481
  readonly currentStep: v.NumberSchema<undefined>;
3449
3482
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
3450
3483
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3451
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
3484
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3452
3485
  readonly message: v.StringSchema<undefined>;
3453
3486
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3454
3487
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -3466,7 +3499,7 @@ export declare const recaptureVisualConfirmContract: {
3466
3499
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3467
3500
  }, undefined>, undefined>, undefined>;
3468
3501
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3469
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
3502
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
3470
3503
  readonly message: v.StringSchema<undefined>;
3471
3504
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3472
3505
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -908,9 +908,18 @@ export declare const createWorkspaceContract: {
908
908
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
909
909
  readonly passed: v.BooleanSchema<undefined>;
910
910
  readonly feedback: v.StringSchema<undefined>;
911
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
912
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
913
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
914
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
915
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
916
+ readonly body: v.StringSchema<undefined>;
917
+ }, undefined>, undefined>, undefined>;
911
918
  }, undefined>, undefined>;
912
919
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
920
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
913
921
  }, undefined>, undefined>, undefined>;
922
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
914
923
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
915
924
  readonly enabled: v.BooleanSchema<undefined>;
916
925
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -922,6 +931,7 @@ export declare const createWorkspaceContract: {
922
931
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
923
932
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
924
933
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
934
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
925
935
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
926
936
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
927
937
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1004,6 +1014,7 @@ export declare const createWorkspaceContract: {
1004
1014
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1005
1015
  }, undefined>, undefined>, readonly []>;
1006
1016
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1017
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1007
1018
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1008
1019
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
1009
1020
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1607,7 +1618,7 @@ export declare const createWorkspaceContract: {
1607
1618
  readonly currentStep: v.NumberSchema<undefined>;
1608
1619
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1609
1620
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1610
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1621
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1611
1622
  readonly message: v.StringSchema<undefined>;
1612
1623
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1613
1624
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1625,7 +1636,7 @@ export declare const createWorkspaceContract: {
1625
1636
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1626
1637
  }, undefined>, undefined>, undefined>;
1627
1638
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1628
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1639
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1629
1640
  readonly message: v.StringSchema<undefined>;
1630
1641
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1631
1642
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1721,7 +1732,7 @@ export declare const createWorkspaceContract: {
1721
1732
  }, undefined>, undefined>;
1722
1733
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1723
1734
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1724
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1735
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1725
1736
  readonly message: v.StringSchema<undefined>;
1726
1737
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1727
1738
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1765,7 +1776,7 @@ export declare const createWorkspaceContract: {
1765
1776
  }, undefined>, undefined>;
1766
1777
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1767
1778
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1768
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1779
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1769
1780
  readonly message: v.StringSchema<undefined>;
1770
1781
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1771
1782
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2520,7 +2531,9 @@ export declare const createWorkspaceContract: {
2520
2531
  readonly issue: v.ArrayIssue | v.PicklistIssue | v.StrictObjectIssue;
2521
2532
  } | undefined;
2522
2533
  };
2534
+ readonly autonomy: v.PicklistSchema<["attended", "unattended"], undefined>;
2523
2535
  readonly isDefault: v.BooleanSchema<undefined>;
2536
+ readonly isUnattendedDefault: v.BooleanSchema<undefined>;
2524
2537
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2525
2538
  readonly createdAt: v.NumberSchema<undefined>;
2526
2539
  }, undefined>, undefined>, undefined>;
@@ -4429,9 +4442,18 @@ export declare const getWorkspaceContract: {
4429
4442
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
4430
4443
  readonly passed: v.BooleanSchema<undefined>;
4431
4444
  readonly feedback: v.StringSchema<undefined>;
4445
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
4446
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4447
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4448
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4449
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4450
+ readonly body: v.StringSchema<undefined>;
4451
+ }, undefined>, undefined>, undefined>;
4432
4452
  }, undefined>, undefined>;
4433
4453
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4454
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4434
4455
  }, undefined>, undefined>, undefined>;
4456
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4435
4457
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4436
4458
  readonly enabled: v.BooleanSchema<undefined>;
4437
4459
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -4443,6 +4465,7 @@ export declare const getWorkspaceContract: {
4443
4465
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
4444
4466
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4445
4467
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4468
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4446
4469
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4447
4470
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4448
4471
  readonly createdAt: v.NumberSchema<undefined>;
@@ -4525,6 +4548,7 @@ export declare const getWorkspaceContract: {
4525
4548
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4526
4549
  }, undefined>, undefined>, readonly []>;
4527
4550
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4551
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4528
4552
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4529
4553
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
4530
4554
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -5128,7 +5152,7 @@ export declare const getWorkspaceContract: {
5128
5152
  readonly currentStep: v.NumberSchema<undefined>;
5129
5153
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
5130
5154
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5131
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
5155
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5132
5156
  readonly message: v.StringSchema<undefined>;
5133
5157
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5134
5158
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5146,7 +5170,7 @@ export declare const getWorkspaceContract: {
5146
5170
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
5147
5171
  }, undefined>, undefined>, undefined>;
5148
5172
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
5149
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
5173
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5150
5174
  readonly message: v.StringSchema<undefined>;
5151
5175
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5152
5176
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5242,7 +5266,7 @@ export declare const getWorkspaceContract: {
5242
5266
  }, undefined>, undefined>;
5243
5267
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5244
5268
  readonly failure: v.NullableSchema<v.ObjectSchema<{
5245
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
5269
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5246
5270
  readonly message: v.StringSchema<undefined>;
5247
5271
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5248
5272
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -5286,7 +5310,7 @@ export declare const getWorkspaceContract: {
5286
5310
  }, undefined>, undefined>;
5287
5311
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5288
5312
  readonly failure: v.NullableSchema<v.ObjectSchema<{
5289
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
5313
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
5290
5314
  readonly message: v.StringSchema<undefined>;
5291
5315
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5292
5316
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6041,7 +6065,9 @@ export declare const getWorkspaceContract: {
6041
6065
  readonly issue: v.ArrayIssue | v.PicklistIssue | v.StrictObjectIssue;
6042
6066
  } | undefined;
6043
6067
  };
6068
+ readonly autonomy: v.PicklistSchema<["attended", "unattended"], undefined>;
6044
6069
  readonly isDefault: v.BooleanSchema<undefined>;
6070
+ readonly isUnattendedDefault: v.BooleanSchema<undefined>;
6045
6071
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
6046
6072
  readonly createdAt: v.Num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18 @@ export type IntakeOrigin = v.InferOutput<typeof intakeOriginSchema>;
31
32
  * answer on purpose rather than by luck.
32
33
  */
33
34
  export declare function isHeadlessIntake(origin: IntakeOrigin | undefined): boolean;
35
+ /**
36
+ * The default-policy scope for a run's intake. `undefined` is every run persisted before
37
+ * `intakeOrigin` existed and degrades to `interactive`, matching how such a run already degrades
38
+ * to `ui` everywhere else: a run that cannot be PROVEN unattended is not granted the unattended
39
+ * policy's licence to answer its own caps.
40
+ *
41
+ * The lookup is guarded rather than bare for the reason {@link isHeadlessIntake}'s is: the
42
+ * picklist is a CLOSED vocabulary whose members outlive their retirement in stored rows, and a
43
+ * run written under a member later dropped indexes to `undefined` at runtime while the declared
44
+ * type says otherwise.
45
+ */
46
+ export declare function riskPolicyDefaultScopeFor(origin: IntakeOrigin | undefined): RiskPolicyDefaultScope;
34
47
  /**
35
48
  * Whether a run may LAND its work. `live` (the default, and every run before this existed) is the
36
49
  * historical behaviour. `dry_run` is the sandboxed mode: the pipeline runs in full and opens its
@@ -1 +1 @@
1
- {"version":3,"file":"run-provenance.d.ts","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,0EAA0D,CAAA;AACzF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AA8BnE;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,kDAAkC,CAAA;AAC5D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AAEzD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,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AcG;AACH,eAAO,MAAM,oBAAoB;IAC/B,0DAA0D;;QAGtD,wDAAwD;;QAExD,mEAAmE;;QAEnE,kGAAkG;;QAElG;;;;;;;WAOG;;QAEH;;;;;;;;;;WAUG;;YAGC,oFAAoF;;YAEpF,wFAAwF;;YAExF,oCAAoC;;;QAIxC,qCAAqC;;;;YAKjC,8CAA8C;;YAE9C,+EAA+E;;;QAInF,0CAA0C;;;IAI9C;;;;;OAKG;;;;aAMH,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -64,6 +64,39 @@ const HEADLESS_INTAKE = {
64
64
  export function isHeadlessIntake(origin) {
65
65
  return origin != null && HEADLESS_INTAKE[origin] === true;
66
66
  }
67
+ /**
68
+ * Which of the workspace's two default risk policies a run of this intake resolves when its task
69
+ * pinned none (see `riskPolicyDefaultScopeSchema`).
70
+ *
71
+ * A SECOND `Record` over the same picklist, deliberately not derived from {@link HEADLESS_INTAKE},
72
+ * because the two answer different questions and disagree on `schedule`. That one is not headless
73
+ * (its reused block has no stable place to hold a clarification conversation) and yet nobody is
74
+ * watching it run, so it takes the unattended policy: a cadence fire that parks on a companion cap
75
+ * waits until somebody happens to open the board, which is the failure this scope exists to stop.
76
+ *
77
+ * Only `ui` is `interactive`, and it is the same positive claim the default `ui` intake makes: a
78
+ * human is in the app. A new intake surface fails to compile until it says which it is.
79
+ */
80
+ const DEFAULT_POLICY_SCOPE = {
81
+ ui: 'interactive',
82
+ 'public-api': 'unattended',
83
+ tracker: 'unattended',
84
+ schedule: 'unattended',
85
+ };
86
+ /**
87
+ * The default-policy scope for a run's intake. `undefined` is every run persisted before
88
+ * `intakeOrigin` existed and degrades to `interactive`, matching how such a run already degrades
89
+ * to `ui` everywhere else: a run that cannot be PROVEN unattended is not granted the unattended
90
+ * policy's licence to answer its own caps.
91
+ *
92
+ * The lookup is guarded rather than bare for the reason {@link isHeadlessIntake}'s is: the
93
+ * picklist is a CLOSED vocabulary whose members outlive their retirement in stored rows, and a
94
+ * run written under a member later dropped indexes to `undefined` at runtime while the declared
95
+ * type says otherwise.
96
+ */
97
+ export function riskPolicyDefaultScopeFor(origin) {
98
+ return (origin != null ? DEFAULT_POLICY_SCOPE[origin] : undefined) ?? 'interactive';
99
+ }
67
100
  /**
68
101
  * Whether a run may LAND its work. `live` (the default, and every run before this existed) is the
69
102
  * historical behaviour. `dry_run` is the sandboxed mode: the pipeline runs in full and opens its
@@ -1 +1 @@
1
- {"version":3,"file":"run-provenance.js","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,4FAA4F;AAC5F,8FAA8F;AAC9F,gGAAgG;AAChG,+FAA+F;AAC/F,0EAA0E;AAE1E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA;AAGzF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,eAAe,GAAkC;IACrD,EAAE,EAAE,KAAK;IACT,YAAY,EAAE,IAAI;IAClB,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,KAAK;CAChB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAgC;IAC/D,OAAO,MAAM,IAAI,IAAI,IAAI,eAAe,CAAC,MAAM,CAAC,KAAK,IAAI,CAAA;AAC3D,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;AAG5D;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAgC;IACvD,OAAO,IAAI,KAAK,SAAS,CAAA;AAC3B,CAAC;AAED;;;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,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAClC,+EAA+E;YAC/E,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjC,CAAC,CACH;QACD,0CAA0C;QAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;KACf,CAAC,CACH;IACD;;;;;OAKG;IACH,IAAI,EAAE,CAAC,CAAC,QAAQ,CACd,CAAC,CAAC,MAAM,CAAC;QACP,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KACjC,CAAC,CACH;CACF,CAAC,CAAA"}
@@ -846,9 +846,18 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
846
846
  readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
847
847
  readonly passed: v.BooleanSchema<undefined>;
848
848
  readonly feedback: v.StringSchema<undefined>;
849
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
850
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
851
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
852
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
853
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
854
+ readonly body: v.StringSchema<undefined>;
855
+ }, undefined>, undefined>, undefined>;
849
856
  }, undefined>, undefined>;
850
857
  readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
858
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
851
859
  }, undefined>, undefined>, undefined>;
860
+ readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
852
861
  readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
853
862
  readonly enabled: v.BooleanSchema<undefined>;
854
863
  readonly items: v.ArraySchema<v.ObjectSchema<{
@@ -860,6 +869,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
860
869
  readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
861
870
  readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
862
871
  readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
872
+ readonly dismissedByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
863
873
  readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
864
874
  readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
865
875
  readonly createdAt: v.NumberSchema<undefined>;
@@ -942,6 +952,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
942
952
  readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
943
953
  }, undefined>, undefined>, readonly []>;
944
954
  readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
955
+ readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
945
956
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
946
957
  readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
947
958
  readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1545,7 +1556,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1545
1556
  readonly currentStep: v.NumberSchema<undefined>;
1546
1557
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1547
1558
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1548
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1559
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1549
1560
  readonly message: v.StringSchema<undefined>;
1550
1561
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1551
1562
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1563,7 +1574,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1563
1574
  readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1564
1575
  }, undefined>, undefined>, undefined>;
1565
1576
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1566
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1577
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1567
1578
  readonly message: v.StringSchema<undefined>;
1568
1579
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1569
1580
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1665,7 +1676,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1665
1676
  }, undefined>, undefined>;
1666
1677
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1667
1678
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1668
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1679
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1669
1680
  readonly message: v.StringSchema<undefined>;
1670
1681
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1671
1682
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1715,7 +1726,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1715
1726
  }, undefined>, undefined>;
1716
1727
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1717
1728
  readonly failure: v.NullableSchema<v.ObjectSchema<{
1718
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1729
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "state_unreadable", "cancelled", "unknown"], undefined>;
1719
1730
  readonly message: v.StringSchema<undefined>;
1720
1731
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1721
1732
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2517,7 +2528,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2517
2528
  readonly issue: v.ArrayIssue | v.PicklistIssue | v.StrictObjectIssue;
2518
2529
  } | undefined;
2519
2530
  };
2531
+ readonly autonomy: v.PicklistSchema<["attended", "unattended"], undefined>;
2520
2532
  readonly isDefault: v.BooleanSchema<undefined>;
2533
+ readonly isUnattendedDefault: v.BooleanSchema<undefined>;
2521
2534
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2522
2535
  readonly createdAt: v.NumberSchema<undefined>;
2523
2536
  }, undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC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