@cat-factory/contracts 0.342.0 → 0.344.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 (117) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/bugFishing.d.ts +379 -0
  3. package/dist/bugFishing.d.ts.map +1 -0
  4. package/dist/bugFishing.js +412 -0
  5. package/dist/bugFishing.js.map +1 -0
  6. package/dist/deploy-fix.d.ts +53 -3
  7. package/dist/deploy-fix.d.ts.map +1 -1
  8. package/dist/deploy-fix.js +39 -2
  9. package/dist/deploy-fix.js.map +1 -1
  10. package/dist/entities.d.ts +18 -1
  11. package/dist/entities.d.ts.map +1 -1
  12. package/dist/entities.js +15 -0
  13. package/dist/entities.js.map +1 -1
  14. package/dist/environment-investigation.d.ts +55 -5
  15. package/dist/environment-investigation.d.ts.map +1 -1
  16. package/dist/environment-investigation.js +19 -2
  17. package/dist/environment-investigation.js.map +1 -1
  18. package/dist/errors.d.ts +1 -1
  19. package/dist/errors.d.ts.map +1 -1
  20. package/dist/errors.js +18 -0
  21. package/dist/errors.js.map +1 -1
  22. package/dist/execution.d.ts +107 -0
  23. package/dist/execution.d.ts.map +1 -1
  24. package/dist/execution.js +12 -0
  25. package/dist/execution.js.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +1 -0
  29. package/dist/index.js.map +1 -1
  30. package/dist/initiative.d.ts +15 -5
  31. package/dist/initiative.d.ts.map +1 -1
  32. package/dist/notification-routing.d.ts +3 -3
  33. package/dist/notification-webhooks.d.ts +7 -5
  34. package/dist/notification-webhooks.d.ts.map +1 -1
  35. package/dist/notifications.d.ts +25 -3
  36. package/dist/notifications.d.ts.map +1 -1
  37. package/dist/notifications.js +17 -0
  38. package/dist/notifications.js.map +1 -1
  39. package/dist/pipeline-purpose.d.ts +4 -0
  40. package/dist/pipeline-purpose.d.ts.map +1 -1
  41. package/dist/pipeline-purpose.js +6 -0
  42. package/dist/pipeline-purpose.js.map +1 -1
  43. package/dist/pr-report.d.ts +414 -6
  44. package/dist/pr-report.d.ts.map +1 -1
  45. package/dist/pr-report.js +143 -2
  46. package/dist/pr-report.js.map +1 -1
  47. package/dist/primitives.d.ts +71 -7
  48. package/dist/primitives.d.ts.map +1 -1
  49. package/dist/primitives.js +24 -1
  50. package/dist/primitives.js.map +1 -1
  51. package/dist/public-api.d.ts +6 -4
  52. package/dist/public-api.d.ts.map +1 -1
  53. package/dist/public-task-types.d.ts.map +1 -1
  54. package/dist/public-task-types.js +20 -0
  55. package/dist/public-task-types.js.map +1 -1
  56. package/dist/recurring.d.ts +12 -8
  57. package/dist/recurring.d.ts.map +1 -1
  58. package/dist/recurring.js +10 -5
  59. package/dist/recurring.js.map +1 -1
  60. package/dist/requests.d.ts +47 -7
  61. package/dist/requests.d.ts.map +1 -1
  62. package/dist/result-views.d.ts +1 -1
  63. package/dist/result-views.d.ts.map +1 -1
  64. package/dist/result-views.js +1 -0
  65. package/dist/result-views.js.map +1 -1
  66. package/dist/routes/agent-runs.d.ts +86 -0
  67. package/dist/routes/agent-runs.d.ts.map +1 -1
  68. package/dist/routes/board.d.ts +99 -20
  69. package/dist/routes/board.d.ts.map +1 -1
  70. package/dist/routes/bug-hunt.d.ts +94 -2
  71. package/dist/routes/bug-hunt.d.ts.map +1 -1
  72. package/dist/routes/bugFishing.d.ts +307 -0
  73. package/dist/routes/bugFishing.d.ts.map +1 -0
  74. package/dist/routes/bugFishing.js +51 -0
  75. package/dist/routes/bugFishing.js.map +1 -0
  76. package/dist/routes/execution.d.ts +438 -2
  77. package/dist/routes/execution.d.ts.map +1 -1
  78. package/dist/routes/human-review.d.ts +43 -0
  79. package/dist/routes/human-review.d.ts.map +1 -1
  80. package/dist/routes/human-test.d.ts +215 -0
  81. package/dist/routes/human-test.d.ts.map +1 -1
  82. package/dist/routes/index.d.ts +1 -0
  83. package/dist/routes/index.d.ts.map +1 -1
  84. package/dist/routes/index.js +1 -0
  85. package/dist/routes/index.js.map +1 -1
  86. package/dist/routes/initiative.d.ts +52 -17
  87. package/dist/routes/initiative.d.ts.map +1 -1
  88. package/dist/routes/notification-webhooks.d.ts +14 -14
  89. package/dist/routes/notifications.d.ts +12 -6
  90. package/dist/routes/notifications.d.ts.map +1 -1
  91. package/dist/routes/public-api.d.ts +17 -11
  92. package/dist/routes/public-api.d.ts.map +1 -1
  93. package/dist/routes/public-board.d.ts +2 -2
  94. package/dist/routes/public-evidence.d.ts +24 -1
  95. package/dist/routes/public-evidence.d.ts.map +1 -1
  96. package/dist/routes/recurring.d.ts +5 -5
  97. package/dist/routes/slack.d.ts +3 -3
  98. package/dist/routes/tasks.d.ts +12 -3
  99. package/dist/routes/tasks.d.ts.map +1 -1
  100. package/dist/routes/visual-confirm.d.ts +129 -0
  101. package/dist/routes/visual-confirm.d.ts.map +1 -1
  102. package/dist/routes/workspace-settings.d.ts +6 -3
  103. package/dist/routes/workspace-settings.d.ts.map +1 -1
  104. package/dist/routes/workspaces.d.ts +122 -14
  105. package/dist/routes/workspaces.d.ts.map +1 -1
  106. package/dist/slack.d.ts +2 -2
  107. package/dist/snapshot.d.ts +61 -7
  108. package/dist/snapshot.d.ts.map +1 -1
  109. package/dist/testing.d.ts +11 -0
  110. package/dist/testing.d.ts.map +1 -1
  111. package/dist/testing.js +11 -0
  112. package/dist/testing.js.map +1 -1
  113. package/dist/workspace-settings.d.ts +26 -3
  114. package/dist/workspace-settings.d.ts.map +1 -1
  115. package/dist/workspace-settings.js +23 -0
  116. package/dist/workspace-settings.js.map +1 -1
  117. package/package.json +1 -1
@@ -300,6 +300,7 @@ export declare const startExecutionContract: {
300
300
  readonly started: v.BooleanSchema<undefined>;
301
301
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
302
302
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
303
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
303
304
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
304
305
  readonly at: v.NumberSchema<undefined>;
305
306
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -692,6 +693,45 @@ export declare const startExecutionContract: {
692
693
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
693
694
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
694
695
  }, undefined>, undefined>, undefined>;
696
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
697
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
698
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
699
+ readonly id: v.StringSchema<undefined>;
700
+ readonly title: v.StringSchema<undefined>;
701
+ readonly goal: v.StringSchema<undefined>;
702
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
703
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
704
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
705
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
706
+ }, undefined>, undefined>, readonly []>;
707
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
708
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
709
+ readonly id: v.StringSchema<undefined>;
710
+ readonly phaseId: v.StringSchema<undefined>;
711
+ readonly path: v.StringSchema<undefined>;
712
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
713
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
714
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
715
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
716
+ readonly title: v.StringSchema<undefined>;
717
+ readonly detail: v.StringSchema<undefined>;
718
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
719
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
720
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
721
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
722
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
723
+ readonly taskId: v.StringSchema<undefined>;
724
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
725
+ readonly pipelineId: v.StringSchema<undefined>;
726
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
727
+ readonly requestedAt: v.NumberSchema<undefined>;
728
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
729
+ }, undefined>, undefined>, undefined>;
730
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
731
+ }, undefined>, undefined>, readonly []>;
732
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
733
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
734
+ }, undefined>, undefined>, undefined>;
695
735
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
696
736
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
697
737
  readonly findingId: v.StringSchema<undefined>;
@@ -1181,14 +1221,17 @@ export declare const startExecutionContract: {
1181
1221
  readonly frameId: v.StringSchema<undefined>;
1182
1222
  readonly reason: v.StringSchema<undefined>;
1183
1223
  readonly lastError: v.StringSchema<undefined>;
1224
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1184
1225
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1185
1226
  readonly attempt: v.NumberSchema<undefined>;
1227
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1186
1228
  readonly at: v.NumberSchema<undefined>;
1187
1229
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1188
1230
  readonly reason: v.StringSchema<undefined>;
1189
1231
  readonly error: v.StringSchema<undefined>;
1190
1232
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1191
1233
  }, undefined>, undefined>, undefined>, undefined>;
1234
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1192
1235
  }, undefined>, undefined>;
1193
1236
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
1194
1237
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -1542,6 +1585,7 @@ export declare const startAgentKindExecutionContract: {
1542
1585
  readonly started: v.BooleanSchema<undefined>;
1543
1586
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1544
1587
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
1588
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
1545
1589
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1546
1590
  readonly at: v.NumberSchema<undefined>;
1547
1591
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1934,6 +1978,45 @@ export declare const startAgentKindExecutionContract: {
1934
1978
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1935
1979
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
1936
1980
  }, undefined>, undefined>, undefined>;
1981
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1982
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
1983
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1984
+ readonly id: v.StringSchema<undefined>;
1985
+ readonly title: v.StringSchema<undefined>;
1986
+ readonly goal: v.StringSchema<undefined>;
1987
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
1988
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1989
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1990
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1991
+ }, undefined>, undefined>, readonly []>;
1992
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1993
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1994
+ readonly id: v.StringSchema<undefined>;
1995
+ readonly phaseId: v.StringSchema<undefined>;
1996
+ readonly path: v.StringSchema<undefined>;
1997
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1998
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
1999
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
2000
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
2001
+ readonly title: v.StringSchema<undefined>;
2002
+ readonly detail: v.StringSchema<undefined>;
2003
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2004
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2005
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2006
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2007
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
2008
+ readonly taskId: v.StringSchema<undefined>;
2009
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2010
+ readonly pipelineId: v.StringSchema<undefined>;
2011
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2012
+ readonly requestedAt: v.NumberSchema<undefined>;
2013
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2014
+ }, undefined>, undefined>, undefined>;
2015
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
2016
+ }, undefined>, undefined>, readonly []>;
2017
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2018
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2019
+ }, undefined>, undefined>, undefined>;
1937
2020
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1938
2021
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1939
2022
  readonly findingId: v.StringSchema<undefined>;
@@ -2423,14 +2506,17 @@ export declare const startAgentKindExecutionContract: {
2423
2506
  readonly frameId: v.StringSchema<undefined>;
2424
2507
  readonly reason: v.StringSchema<undefined>;
2425
2508
  readonly lastError: v.StringSchema<undefined>;
2509
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2426
2510
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2427
2511
  readonly attempt: v.NumberSchema<undefined>;
2512
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2428
2513
  readonly at: v.NumberSchema<undefined>;
2429
2514
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
2430
2515
  readonly reason: v.StringSchema<undefined>;
2431
2516
  readonly error: v.StringSchema<undefined>;
2432
2517
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2433
2518
  }, undefined>, undefined>, undefined>, undefined>;
2519
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2434
2520
  }, undefined>, undefined>;
2435
2521
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
2436
2522
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -2785,6 +2871,7 @@ export declare const getExecutionContract: {
2785
2871
  readonly started: v.BooleanSchema<undefined>;
2786
2872
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
2787
2873
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
2874
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
2788
2875
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2789
2876
  readonly at: v.NumberSchema<undefined>;
2790
2877
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -3177,6 +3264,45 @@ export declare const getExecutionContract: {
3177
3264
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3178
3265
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
3179
3266
  }, undefined>, undefined>, undefined>;
3267
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3268
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
3269
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3270
+ readonly id: v.StringSchema<undefined>;
3271
+ readonly title: v.StringSchema<undefined>;
3272
+ readonly goal: v.StringSchema<undefined>;
3273
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
3274
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3275
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3276
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3277
+ }, undefined>, undefined>, readonly []>;
3278
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
3279
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3280
+ readonly id: v.StringSchema<undefined>;
3281
+ readonly phaseId: v.StringSchema<undefined>;
3282
+ readonly path: v.StringSchema<undefined>;
3283
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3284
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
3285
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
3286
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
3287
+ readonly title: v.StringSchema<undefined>;
3288
+ readonly detail: v.StringSchema<undefined>;
3289
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3290
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3291
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3292
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3293
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
3294
+ readonly taskId: v.StringSchema<undefined>;
3295
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3296
+ readonly pipelineId: v.StringSchema<undefined>;
3297
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3298
+ readonly requestedAt: v.NumberSchema<undefined>;
3299
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3300
+ }, undefined>, undefined>, undefined>;
3301
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
3302
+ }, undefined>, undefined>, readonly []>;
3303
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3304
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3305
+ }, undefined>, undefined>, undefined>;
3180
3306
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
3181
3307
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3182
3308
  readonly findingId: v.StringSchema<undefined>;
@@ -3666,14 +3792,17 @@ export declare const getExecutionContract: {
3666
3792
  readonly frameId: v.StringSchema<undefined>;
3667
3793
  readonly reason: v.StringSchema<undefined>;
3668
3794
  readonly lastError: v.StringSchema<undefined>;
3795
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3669
3796
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
3670
3797
  readonly attempt: v.NumberSchema<undefined>;
3798
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3671
3799
  readonly at: v.NumberSchema<undefined>;
3672
3800
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
3673
3801
  readonly reason: v.StringSchema<undefined>;
3674
3802
  readonly error: v.StringSchema<undefined>;
3675
3803
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3676
3804
  }, undefined>, undefined>, undefined>, undefined>;
3805
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3677
3806
  }, undefined>, undefined>;
3678
3807
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
3679
3808
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -3834,6 +3963,7 @@ export declare const cancelExecutionContract: {
3834
3963
  readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3835
3964
  readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3836
3965
  readonly initiativeId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3966
+ readonly expeditionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3837
3967
  readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3838
3968
  readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3839
3969
  readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
@@ -3854,7 +3984,7 @@ export declare const cancelExecutionContract: {
3854
3984
  }, undefined>, undefined>, undefined>;
3855
3985
  }, undefined>, undefined>, undefined>;
3856
3986
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3857
- readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
3987
+ readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "bug-fishing", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
3858
3988
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3859
3989
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
3860
3990
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -3879,6 +4009,8 @@ export declare const cancelExecutionContract: {
3879
4009
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3880
4010
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
3881
4011
  readonly reviewSkillIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 8, undefined>]>, undefined>;
4012
+ readonly fishingPhaseIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>, v.MaxLengthAction<string[], 32, undefined>]>, undefined>;
4013
+ readonly fishingFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
3882
4014
  readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
3883
4015
  }, undefined>, undefined>, undefined>;
3884
4016
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
@@ -4251,6 +4383,7 @@ export declare const mergeBlockContract: {
4251
4383
  readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4252
4384
  readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4253
4385
  readonly initiativeId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4386
+ readonly expeditionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4254
4387
  readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4255
4388
  readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4256
4389
  readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
@@ -4271,7 +4404,7 @@ export declare const mergeBlockContract: {
4271
4404
  }, undefined>, undefined>, undefined>;
4272
4405
  }, undefined>, undefined>, undefined>;
4273
4406
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4274
- readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
4407
+ readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "bug-fishing", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
4275
4408
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4276
4409
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
4277
4410
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -4296,6 +4429,8 @@ export declare const mergeBlockContract: {
4296
4429
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
4297
4430
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
4298
4431
  readonly reviewSkillIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 8, undefined>]>, undefined>;
4432
+ readonly fishingPhaseIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>, v.MaxLengthAction<string[], 32, undefined>]>, undefined>;
4433
+ readonly fishingFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
4299
4434
  readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
4300
4435
  }, undefined>, undefined>, undefined>;
4301
4436
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
@@ -4883,6 +5018,7 @@ export declare const resumeSpendContract: {
4883
5018
  readonly started: v.BooleanSchema<undefined>;
4884
5019
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
4885
5020
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
5021
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
4886
5022
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4887
5023
  readonly at: v.NumberSchema<undefined>;
4888
5024
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -5275,6 +5411,45 @@ export declare const resumeSpendContract: {
5275
5411
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
5276
5412
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
5277
5413
  }, undefined>, undefined>, undefined>;
5414
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5415
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
5416
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
5417
+ readonly id: v.StringSchema<undefined>;
5418
+ readonly title: v.StringSchema<undefined>;
5419
+ readonly goal: v.StringSchema<undefined>;
5420
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
5421
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5422
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5423
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5424
+ }, undefined>, undefined>, readonly []>;
5425
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
5426
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
5427
+ readonly id: v.StringSchema<undefined>;
5428
+ readonly phaseId: v.StringSchema<undefined>;
5429
+ readonly path: v.StringSchema<undefined>;
5430
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5431
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
5432
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
5433
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
5434
+ readonly title: v.StringSchema<undefined>;
5435
+ readonly detail: v.StringSchema<undefined>;
5436
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5437
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5438
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5439
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5440
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
5441
+ readonly taskId: v.StringSchema<undefined>;
5442
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5443
+ readonly pipelineId: v.StringSchema<undefined>;
5444
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5445
+ readonly requestedAt: v.NumberSchema<undefined>;
5446
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5447
+ }, undefined>, undefined>, undefined>;
5448
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
5449
+ }, undefined>, undefined>, readonly []>;
5450
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5451
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5452
+ }, undefined>, undefined>, undefined>;
5278
5453
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
5279
5454
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5280
5455
  readonly findingId: v.StringSchema<undefined>;
@@ -5764,14 +5939,17 @@ export declare const resumeSpendContract: {
5764
5939
  readonly frameId: v.StringSchema<undefined>;
5765
5940
  readonly reason: v.StringSchema<undefined>;
5766
5941
  readonly lastError: v.StringSchema<undefined>;
5942
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5767
5943
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
5768
5944
  readonly attempt: v.NumberSchema<undefined>;
5945
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5769
5946
  readonly at: v.NumberSchema<undefined>;
5770
5947
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
5771
5948
  readonly reason: v.StringSchema<undefined>;
5772
5949
  readonly error: v.StringSchema<undefined>;
5773
5950
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5774
5951
  }, undefined>, undefined>, undefined>, undefined>;
5952
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5775
5953
  }, undefined>, undefined>;
5776
5954
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
5777
5955
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -6566,6 +6744,7 @@ export declare const resolveDecisionContract: {
6566
6744
  readonly started: v.BooleanSchema<undefined>;
6567
6745
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
6568
6746
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
6747
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
6569
6748
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
6570
6749
  readonly at: v.NumberSchema<undefined>;
6571
6750
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -6958,6 +7137,45 @@ export declare const resolveDecisionContract: {
6958
7137
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
6959
7138
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
6960
7139
  }, undefined>, undefined>, undefined>;
7140
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7141
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
7142
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
7143
+ readonly id: v.StringSchema<undefined>;
7144
+ readonly title: v.StringSchema<undefined>;
7145
+ readonly goal: v.StringSchema<undefined>;
7146
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
7147
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7148
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7149
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7150
+ }, undefined>, undefined>, readonly []>;
7151
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
7152
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
7153
+ readonly id: v.StringSchema<undefined>;
7154
+ readonly phaseId: v.StringSchema<undefined>;
7155
+ readonly path: v.StringSchema<undefined>;
7156
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7157
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
7158
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
7159
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
7160
+ readonly title: v.StringSchema<undefined>;
7161
+ readonly detail: v.StringSchema<undefined>;
7162
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7163
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7164
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7165
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
7166
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
7167
+ readonly taskId: v.StringSchema<undefined>;
7168
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7169
+ readonly pipelineId: v.StringSchema<undefined>;
7170
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7171
+ readonly requestedAt: v.NumberSchema<undefined>;
7172
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7173
+ }, undefined>, undefined>, undefined>;
7174
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
7175
+ }, undefined>, undefined>, readonly []>;
7176
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7177
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7178
+ }, undefined>, undefined>, undefined>;
6961
7179
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
6962
7180
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6963
7181
  readonly findingId: v.StringSchema<undefined>;
@@ -7447,14 +7665,17 @@ export declare const resolveDecisionContract: {
7447
7665
  readonly frameId: v.StringSchema<undefined>;
7448
7666
  readonly reason: v.StringSchema<undefined>;
7449
7667
  readonly lastError: v.StringSchema<undefined>;
7668
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7450
7669
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
7451
7670
  readonly attempt: v.NumberSchema<undefined>;
7671
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7452
7672
  readonly at: v.NumberSchema<undefined>;
7453
7673
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
7454
7674
  readonly reason: v.StringSchema<undefined>;
7455
7675
  readonly error: v.StringSchema<undefined>;
7456
7676
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7457
7677
  }, undefined>, undefined>, undefined>, undefined>;
7678
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7458
7679
  }, undefined>, undefined>;
7459
7680
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
7460
7681
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -7805,6 +8026,7 @@ export declare const approveStepContract: {
7805
8026
  readonly started: v.BooleanSchema<undefined>;
7806
8027
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
7807
8028
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
8029
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
7808
8030
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7809
8031
  readonly at: v.NumberSchema<undefined>;
7810
8032
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -8197,6 +8419,45 @@ export declare const approveStepContract: {
8197
8419
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
8198
8420
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
8199
8421
  }, undefined>, undefined>, undefined>;
8422
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8423
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
8424
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
8425
+ readonly id: v.StringSchema<undefined>;
8426
+ readonly title: v.StringSchema<undefined>;
8427
+ readonly goal: v.StringSchema<undefined>;
8428
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
8429
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8430
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8431
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8432
+ }, undefined>, undefined>, readonly []>;
8433
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
8434
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
8435
+ readonly id: v.StringSchema<undefined>;
8436
+ readonly phaseId: v.StringSchema<undefined>;
8437
+ readonly path: v.StringSchema<undefined>;
8438
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8439
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
8440
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
8441
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
8442
+ readonly title: v.StringSchema<undefined>;
8443
+ readonly detail: v.StringSchema<undefined>;
8444
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8445
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8446
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8447
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8448
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
8449
+ readonly taskId: v.StringSchema<undefined>;
8450
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8451
+ readonly pipelineId: v.StringSchema<undefined>;
8452
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8453
+ readonly requestedAt: v.NumberSchema<undefined>;
8454
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8455
+ }, undefined>, undefined>, undefined>;
8456
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
8457
+ }, undefined>, undefined>, readonly []>;
8458
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8459
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8460
+ }, undefined>, undefined>, undefined>;
8200
8461
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
8201
8462
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8202
8463
  readonly findingId: v.StringSchema<undefined>;
@@ -8686,14 +8947,17 @@ export declare const approveStepContract: {
8686
8947
  readonly frameId: v.StringSchema<undefined>;
8687
8948
  readonly reason: v.StringSchema<undefined>;
8688
8949
  readonly lastError: v.StringSchema<undefined>;
8950
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8689
8951
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
8690
8952
  readonly attempt: v.NumberSchema<undefined>;
8953
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8691
8954
  readonly at: v.NumberSchema<undefined>;
8692
8955
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
8693
8956
  readonly reason: v.StringSchema<undefined>;
8694
8957
  readonly error: v.StringSchema<undefined>;
8695
8958
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8696
8959
  }, undefined>, undefined>, undefined>, undefined>;
8960
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8697
8961
  }, undefined>, undefined>;
8698
8962
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
8699
8963
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -9058,6 +9322,7 @@ export declare const requestStepChangesContract: {
9058
9322
  readonly started: v.BooleanSchema<undefined>;
9059
9323
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
9060
9324
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
9325
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
9061
9326
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9062
9327
  readonly at: v.NumberSchema<undefined>;
9063
9328
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -9450,6 +9715,45 @@ export declare const requestStepChangesContract: {
9450
9715
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
9451
9716
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
9452
9717
  }, undefined>, undefined>, undefined>;
9718
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9719
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
9720
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
9721
+ readonly id: v.StringSchema<undefined>;
9722
+ readonly title: v.StringSchema<undefined>;
9723
+ readonly goal: v.StringSchema<undefined>;
9724
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
9725
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9726
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9727
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9728
+ }, undefined>, undefined>, readonly []>;
9729
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
9730
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
9731
+ readonly id: v.StringSchema<undefined>;
9732
+ readonly phaseId: v.StringSchema<undefined>;
9733
+ readonly path: v.StringSchema<undefined>;
9734
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9735
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
9736
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
9737
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
9738
+ readonly title: v.StringSchema<undefined>;
9739
+ readonly detail: v.StringSchema<undefined>;
9740
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9741
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9742
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9743
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9744
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
9745
+ readonly taskId: v.StringSchema<undefined>;
9746
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9747
+ readonly pipelineId: v.StringSchema<undefined>;
9748
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9749
+ readonly requestedAt: v.NumberSchema<undefined>;
9750
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9751
+ }, undefined>, undefined>, undefined>;
9752
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
9753
+ }, undefined>, undefined>, readonly []>;
9754
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9755
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9756
+ }, undefined>, undefined>, undefined>;
9453
9757
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
9454
9758
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9455
9759
  readonly findingId: v.StringSchema<undefined>;
@@ -9939,14 +10243,17 @@ export declare const requestStepChangesContract: {
9939
10243
  readonly frameId: v.StringSchema<undefined>;
9940
10244
  readonly reason: v.StringSchema<undefined>;
9941
10245
  readonly lastError: v.StringSchema<undefined>;
10246
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9942
10247
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
9943
10248
  readonly attempt: v.NumberSchema<undefined>;
10249
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9944
10250
  readonly at: v.NumberSchema<undefined>;
9945
10251
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
9946
10252
  readonly reason: v.StringSchema<undefined>;
9947
10253
  readonly error: v.StringSchema<undefined>;
9948
10254
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9949
10255
  }, undefined>, undefined>, undefined>, undefined>;
10256
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9950
10257
  }, undefined>, undefined>;
9951
10258
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
9952
10259
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -10297,6 +10604,7 @@ export declare const resolveStepExceededContract: {
10297
10604
  readonly started: v.BooleanSchema<undefined>;
10298
10605
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
10299
10606
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
10607
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
10300
10608
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
10301
10609
  readonly at: v.NumberSchema<undefined>;
10302
10610
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -10689,6 +10997,45 @@ export declare const resolveStepExceededContract: {
10689
10997
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
10690
10998
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
10691
10999
  }, undefined>, undefined>, undefined>;
11000
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11001
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
11002
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
11003
+ readonly id: v.StringSchema<undefined>;
11004
+ readonly title: v.StringSchema<undefined>;
11005
+ readonly goal: v.StringSchema<undefined>;
11006
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
11007
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11008
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11009
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11010
+ }, undefined>, undefined>, readonly []>;
11011
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
11012
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
11013
+ readonly id: v.StringSchema<undefined>;
11014
+ readonly phaseId: v.StringSchema<undefined>;
11015
+ readonly path: v.StringSchema<undefined>;
11016
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11017
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
11018
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
11019
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
11020
+ readonly title: v.StringSchema<undefined>;
11021
+ readonly detail: v.StringSchema<undefined>;
11022
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11023
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11024
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11025
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11026
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
11027
+ readonly taskId: v.StringSchema<undefined>;
11028
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11029
+ readonly pipelineId: v.StringSchema<undefined>;
11030
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11031
+ readonly requestedAt: v.NumberSchema<undefined>;
11032
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11033
+ }, undefined>, undefined>, undefined>;
11034
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
11035
+ }, undefined>, undefined>, readonly []>;
11036
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11037
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11038
+ }, undefined>, undefined>, undefined>;
10692
11039
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
10693
11040
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10694
11041
  readonly findingId: v.StringSchema<undefined>;
@@ -11178,14 +11525,17 @@ export declare const resolveStepExceededContract: {
11178
11525
  readonly frameId: v.StringSchema<undefined>;
11179
11526
  readonly reason: v.StringSchema<undefined>;
11180
11527
  readonly lastError: v.StringSchema<undefined>;
11528
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11181
11529
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
11182
11530
  readonly attempt: v.NumberSchema<undefined>;
11531
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11183
11532
  readonly at: v.NumberSchema<undefined>;
11184
11533
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
11185
11534
  readonly reason: v.StringSchema<undefined>;
11186
11535
  readonly error: v.StringSchema<undefined>;
11187
11536
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11188
11537
  }, undefined>, undefined>, undefined>, undefined>;
11538
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11189
11539
  }, undefined>, undefined>;
11190
11540
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
11191
11541
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -11534,6 +11884,7 @@ export declare const restartExecutionContract: {
11534
11884
  readonly started: v.BooleanSchema<undefined>;
11535
11885
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
11536
11886
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
11887
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
11537
11888
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11538
11889
  readonly at: v.NumberSchema<undefined>;
11539
11890
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -11926,6 +12277,45 @@ export declare const restartExecutionContract: {
11926
12277
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
11927
12278
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
11928
12279
  }, undefined>, undefined>, undefined>;
12280
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12281
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
12282
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
12283
+ readonly id: v.StringSchema<undefined>;
12284
+ readonly title: v.StringSchema<undefined>;
12285
+ readonly goal: v.StringSchema<undefined>;
12286
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
12287
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12288
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12289
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12290
+ }, undefined>, undefined>, readonly []>;
12291
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
12292
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
12293
+ readonly id: v.StringSchema<undefined>;
12294
+ readonly phaseId: v.StringSchema<undefined>;
12295
+ readonly path: v.StringSchema<undefined>;
12296
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12297
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
12298
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
12299
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
12300
+ readonly title: v.StringSchema<undefined>;
12301
+ readonly detail: v.StringSchema<undefined>;
12302
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12303
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12304
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12305
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
12306
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
12307
+ readonly taskId: v.StringSchema<undefined>;
12308
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12309
+ readonly pipelineId: v.StringSchema<undefined>;
12310
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12311
+ readonly requestedAt: v.NumberSchema<undefined>;
12312
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12313
+ }, undefined>, undefined>, undefined>;
12314
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
12315
+ }, undefined>, undefined>, readonly []>;
12316
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12317
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12318
+ }, undefined>, undefined>, undefined>;
11929
12319
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
11930
12320
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11931
12321
  readonly findingId: v.StringSchema<undefined>;
@@ -12415,14 +12805,17 @@ export declare const restartExecutionContract: {
12415
12805
  readonly frameId: v.StringSchema<undefined>;
12416
12806
  readonly reason: v.StringSchema<undefined>;
12417
12807
  readonly lastError: v.StringSchema<undefined>;
12808
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12418
12809
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
12419
12810
  readonly attempt: v.NumberSchema<undefined>;
12811
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12420
12812
  readonly at: v.NumberSchema<undefined>;
12421
12813
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
12422
12814
  readonly reason: v.StringSchema<undefined>;
12423
12815
  readonly error: v.StringSchema<undefined>;
12424
12816
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12425
12817
  }, undefined>, undefined>, undefined>, undefined>;
12818
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12426
12819
  }, undefined>, undefined>;
12427
12820
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
12428
12821
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -12773,6 +13166,7 @@ export declare const rejectStepContract: {
12773
13166
  readonly started: v.BooleanSchema<undefined>;
12774
13167
  readonly dockerAvailable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
12775
13168
  readonly dockerWorkload: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["usable", "unusable", "undetermined"], undefined>, undefined>, undefined>;
13169
+ readonly dockerEgress: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["reachable", "blocked", "undetermined"], undefined>, undefined>, undefined>;
12776
13170
  readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12777
13171
  readonly at: v.NumberSchema<undefined>;
12778
13172
  readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -13165,6 +13559,45 @@ export declare const rejectStepContract: {
13165
13559
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
13166
13560
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
13167
13561
  }, undefined>, undefined>, undefined>;
13562
+ readonly bugFishing: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13563
+ readonly status: v.PicklistSchema<["fishing", "awaiting_triage", "done"], undefined>;
13564
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
13565
+ readonly id: v.StringSchema<undefined>;
13566
+ readonly title: v.StringSchema<undefined>;
13567
+ readonly goal: v.StringSchema<undefined>;
13568
+ readonly status: v.PicklistSchema<["pending", "fishing", "completed", "failed"], undefined>;
13569
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13570
+ readonly settledAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13571
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13572
+ }, undefined>, undefined>, readonly []>;
13573
+ readonly currentPhaseIndex: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
13574
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
13575
+ readonly id: v.StringSchema<undefined>;
13576
+ readonly phaseId: v.StringSchema<undefined>;
13577
+ readonly path: v.StringSchema<undefined>;
13578
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13579
+ readonly severity: v.PicklistSchema<["critical", "high", "medium", "low"], undefined>;
13580
+ readonly kind: v.PicklistSchema<["bug", "logic-gap", "edge-case", "footgun", "requirement-gap", "other"], undefined>;
13581
+ readonly confidence: v.PicklistSchema<["high", "medium", "low"], undefined>;
13582
+ readonly title: v.StringSchema<undefined>;
13583
+ readonly detail: v.StringSchema<undefined>;
13584
+ readonly failureScenario: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13585
+ readonly evidence: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13586
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13587
+ readonly spawn: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13588
+ readonly status: v.PicklistSchema<["pending", "spawned", "failed"], undefined>;
13589
+ readonly taskId: v.StringSchema<undefined>;
13590
+ readonly executionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13591
+ readonly pipelineId: v.StringSchema<undefined>;
13592
+ readonly requestedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13593
+ readonly requestedAt: v.NumberSchema<undefined>;
13594
+ readonly failureReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13595
+ }, undefined>, undefined>, undefined>;
13596
+ readonly dismissed: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
13597
+ }, undefined>, undefined>, readonly []>;
13598
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13599
+ readonly defaultFixPipelineId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13600
+ }, undefined>, undefined>, undefined>;
13168
13601
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
13169
13602
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13170
13603
  readonly findingId: v.StringSchema<undefined>;
@@ -13654,14 +14087,17 @@ export declare const rejectStepContract: {
13654
14087
  readonly frameId: v.StringSchema<undefined>;
13655
14088
  readonly reason: v.StringSchema<undefined>;
13656
14089
  readonly lastError: v.StringSchema<undefined>;
14090
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13657
14091
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
13658
14092
  readonly attempt: v.NumberSchema<undefined>;
14093
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13659
14094
  readonly at: v.NumberSchema<undefined>;
13660
14095
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
13661
14096
  readonly reason: v.StringSchema<undefined>;
13662
14097
  readonly error: v.StringSchema<undefined>;
13663
14098
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13664
14099
  }, undefined>, undefined>, undefined>, undefined>;
14100
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13665
14101
  }, undefined>, undefined>;
13666
14102
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
13667
14103
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{