@cat-factory/contracts 0.343.0 → 0.345.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 (125) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/bootstrap.d.ts +48 -7
  3. package/dist/bootstrap.d.ts.map +1 -1
  4. package/dist/bootstrap.js +41 -6
  5. package/dist/bootstrap.js.map +1 -1
  6. package/dist/bugFishing.d.ts +379 -0
  7. package/dist/bugFishing.d.ts.map +1 -0
  8. package/dist/bugFishing.js +412 -0
  9. package/dist/bugFishing.js.map +1 -0
  10. package/dist/deploy-fix.d.ts +53 -3
  11. package/dist/deploy-fix.d.ts.map +1 -1
  12. package/dist/deploy-fix.js +39 -2
  13. package/dist/deploy-fix.js.map +1 -1
  14. package/dist/entities.d.ts +18 -1
  15. package/dist/entities.d.ts.map +1 -1
  16. package/dist/entities.js +15 -0
  17. package/dist/entities.js.map +1 -1
  18. package/dist/environment-investigation.d.ts +55 -5
  19. package/dist/environment-investigation.d.ts.map +1 -1
  20. package/dist/environment-investigation.js +19 -2
  21. package/dist/environment-investigation.js.map +1 -1
  22. package/dist/errors.d.ts +1 -1
  23. package/dist/errors.d.ts.map +1 -1
  24. package/dist/errors.js +18 -0
  25. package/dist/errors.js.map +1 -1
  26. package/dist/execution.d.ts +104 -0
  27. package/dist/execution.d.ts.map +1 -1
  28. package/dist/execution.js +12 -0
  29. package/dist/execution.js.map +1 -1
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +1 -0
  33. package/dist/index.js.map +1 -1
  34. package/dist/initiative.d.ts +15 -5
  35. package/dist/initiative.d.ts.map +1 -1
  36. package/dist/notification-routing.d.ts +3 -3
  37. package/dist/notification-webhooks.d.ts +7 -5
  38. package/dist/notification-webhooks.d.ts.map +1 -1
  39. package/dist/notifications.d.ts +25 -3
  40. package/dist/notifications.d.ts.map +1 -1
  41. package/dist/notifications.js +17 -0
  42. package/dist/notifications.js.map +1 -1
  43. package/dist/pipeline-purpose.d.ts +4 -0
  44. package/dist/pipeline-purpose.d.ts.map +1 -1
  45. package/dist/pipeline-purpose.js +6 -0
  46. package/dist/pipeline-purpose.js.map +1 -1
  47. package/dist/pr-report.d.ts +414 -6
  48. package/dist/pr-report.d.ts.map +1 -1
  49. package/dist/pr-report.js +143 -2
  50. package/dist/pr-report.js.map +1 -1
  51. package/dist/primitives.d.ts +71 -7
  52. package/dist/primitives.d.ts.map +1 -1
  53. package/dist/primitives.js +24 -1
  54. package/dist/primitives.js.map +1 -1
  55. package/dist/public-api.d.ts +6 -4
  56. package/dist/public-api.d.ts.map +1 -1
  57. package/dist/public-provisioning.d.ts +23 -4
  58. package/dist/public-provisioning.d.ts.map +1 -1
  59. package/dist/public-provisioning.js +24 -5
  60. package/dist/public-provisioning.js.map +1 -1
  61. package/dist/public-task-types.d.ts.map +1 -1
  62. package/dist/public-task-types.js +20 -0
  63. package/dist/public-task-types.js.map +1 -1
  64. package/dist/recurring.d.ts +12 -8
  65. package/dist/recurring.d.ts.map +1 -1
  66. package/dist/recurring.js +10 -5
  67. package/dist/recurring.js.map +1 -1
  68. package/dist/requests.d.ts +47 -7
  69. package/dist/requests.d.ts.map +1 -1
  70. package/dist/result-views.d.ts +1 -1
  71. package/dist/result-views.d.ts.map +1 -1
  72. package/dist/result-views.js +1 -0
  73. package/dist/result-views.js.map +1 -1
  74. package/dist/routes/agent-runs.d.ts +86 -0
  75. package/dist/routes/agent-runs.d.ts.map +1 -1
  76. package/dist/routes/board.d.ts +99 -20
  77. package/dist/routes/board.d.ts.map +1 -1
  78. package/dist/routes/bootstrap.d.ts +6 -0
  79. package/dist/routes/bootstrap.d.ts.map +1 -1
  80. package/dist/routes/bug-hunt.d.ts +92 -2
  81. package/dist/routes/bug-hunt.d.ts.map +1 -1
  82. package/dist/routes/bugFishing.d.ts +307 -0
  83. package/dist/routes/bugFishing.d.ts.map +1 -0
  84. package/dist/routes/bugFishing.js +51 -0
  85. package/dist/routes/bugFishing.js.map +1 -0
  86. package/dist/routes/execution.d.ts +428 -2
  87. package/dist/routes/execution.d.ts.map +1 -1
  88. package/dist/routes/human-review.d.ts +42 -0
  89. package/dist/routes/human-review.d.ts.map +1 -1
  90. package/dist/routes/human-test.d.ts +210 -0
  91. package/dist/routes/human-test.d.ts.map +1 -1
  92. package/dist/routes/index.d.ts +1 -0
  93. package/dist/routes/index.d.ts.map +1 -1
  94. package/dist/routes/index.js +1 -0
  95. package/dist/routes/index.js.map +1 -1
  96. package/dist/routes/initiative.d.ts +52 -17
  97. package/dist/routes/initiative.d.ts.map +1 -1
  98. package/dist/routes/notification-webhooks.d.ts +14 -14
  99. package/dist/routes/notifications.d.ts +12 -6
  100. package/dist/routes/notifications.d.ts.map +1 -1
  101. package/dist/routes/public-api.d.ts +17 -11
  102. package/dist/routes/public-api.d.ts.map +1 -1
  103. package/dist/routes/public-board.d.ts +2 -2
  104. package/dist/routes/public-evidence.d.ts +24 -1
  105. package/dist/routes/public-evidence.d.ts.map +1 -1
  106. package/dist/routes/public-provisioning.d.ts +2 -0
  107. package/dist/routes/public-provisioning.d.ts.map +1 -1
  108. package/dist/routes/recurring.d.ts +5 -5
  109. package/dist/routes/slack.d.ts +3 -3
  110. package/dist/routes/tasks.d.ts +12 -3
  111. package/dist/routes/tasks.d.ts.map +1 -1
  112. package/dist/routes/visual-confirm.d.ts +126 -0
  113. package/dist/routes/visual-confirm.d.ts.map +1 -1
  114. package/dist/routes/workspace-settings.d.ts +6 -3
  115. package/dist/routes/workspace-settings.d.ts.map +1 -1
  116. package/dist/routes/workspaces.d.ts +122 -14
  117. package/dist/routes/workspaces.d.ts.map +1 -1
  118. package/dist/slack.d.ts +2 -2
  119. package/dist/snapshot.d.ts +61 -7
  120. package/dist/snapshot.d.ts.map +1 -1
  121. package/dist/workspace-settings.d.ts +26 -3
  122. package/dist/workspace-settings.d.ts.map +1 -1
  123. package/dist/workspace-settings.js +23 -0
  124. package/dist/workspace-settings.js.map +1 -1
  125. package/package.json +1 -1
@@ -693,6 +693,45 @@ export declare const startExecutionContract: {
693
693
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
694
694
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
695
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>;
696
735
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
697
736
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
698
737
  readonly findingId: v.StringSchema<undefined>;
@@ -1182,14 +1221,17 @@ export declare const startExecutionContract: {
1182
1221
  readonly frameId: v.StringSchema<undefined>;
1183
1222
  readonly reason: v.StringSchema<undefined>;
1184
1223
  readonly lastError: v.StringSchema<undefined>;
1224
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1185
1225
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1186
1226
  readonly attempt: v.NumberSchema<undefined>;
1227
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1187
1228
  readonly at: v.NumberSchema<undefined>;
1188
1229
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1189
1230
  readonly reason: v.StringSchema<undefined>;
1190
1231
  readonly error: v.StringSchema<undefined>;
1191
1232
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1192
1233
  }, undefined>, undefined>, undefined>, undefined>;
1234
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1193
1235
  }, undefined>, undefined>;
1194
1236
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
1195
1237
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -1936,6 +1978,45 @@ export declare const startAgentKindExecutionContract: {
1936
1978
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1937
1979
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
1938
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>;
1939
2020
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1940
2021
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1941
2022
  readonly findingId: v.StringSchema<undefined>;
@@ -2425,14 +2506,17 @@ export declare const startAgentKindExecutionContract: {
2425
2506
  readonly frameId: v.StringSchema<undefined>;
2426
2507
  readonly reason: v.StringSchema<undefined>;
2427
2508
  readonly lastError: v.StringSchema<undefined>;
2509
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2428
2510
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2429
2511
  readonly attempt: v.NumberSchema<undefined>;
2512
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2430
2513
  readonly at: v.NumberSchema<undefined>;
2431
2514
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
2432
2515
  readonly reason: v.StringSchema<undefined>;
2433
2516
  readonly error: v.StringSchema<undefined>;
2434
2517
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2435
2518
  }, undefined>, undefined>, undefined>, undefined>;
2519
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2436
2520
  }, undefined>, undefined>;
2437
2521
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
2438
2522
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -3180,6 +3264,45 @@ export declare const getExecutionContract: {
3180
3264
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3181
3265
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
3182
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>;
3183
3306
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
3184
3307
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3185
3308
  readonly findingId: v.StringSchema<undefined>;
@@ -3669,14 +3792,17 @@ export declare const getExecutionContract: {
3669
3792
  readonly frameId: v.StringSchema<undefined>;
3670
3793
  readonly reason: v.StringSchema<undefined>;
3671
3794
  readonly lastError: v.StringSchema<undefined>;
3795
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3672
3796
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
3673
3797
  readonly attempt: v.NumberSchema<undefined>;
3798
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3674
3799
  readonly at: v.NumberSchema<undefined>;
3675
3800
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
3676
3801
  readonly reason: v.StringSchema<undefined>;
3677
3802
  readonly error: v.StringSchema<undefined>;
3678
3803
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3679
3804
  }, undefined>, undefined>, undefined>, undefined>;
3805
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3680
3806
  }, undefined>, undefined>;
3681
3807
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
3682
3808
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -3837,6 +3963,7 @@ export declare const cancelExecutionContract: {
3837
3963
  readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3838
3964
  readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3839
3965
  readonly initiativeId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3966
+ readonly expeditionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3840
3967
  readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3841
3968
  readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3842
3969
  readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
@@ -3857,7 +3984,7 @@ export declare const cancelExecutionContract: {
3857
3984
  }, undefined>, undefined>, undefined>;
3858
3985
  }, undefined>, undefined>, undefined>;
3859
3986
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3860
- 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>;
3861
3988
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3862
3989
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
3863
3990
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -3882,6 +4009,8 @@ export declare const cancelExecutionContract: {
3882
4009
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
3883
4010
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
3884
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>;
3885
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>;
3886
4015
  }, undefined>, undefined>, undefined>;
3887
4016
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
@@ -4254,6 +4383,7 @@ export declare const mergeBlockContract: {
4254
4383
  readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4255
4384
  readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4256
4385
  readonly initiativeId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4386
+ readonly expeditionId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4257
4387
  readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4258
4388
  readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
4259
4389
  readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
@@ -4274,7 +4404,7 @@ export declare const mergeBlockContract: {
4274
4404
  }, undefined>, undefined>, undefined>;
4275
4405
  }, undefined>, undefined>, undefined>;
4276
4406
  readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4277
- 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>;
4278
4408
  readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4279
4409
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
4280
4410
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
@@ -4299,6 +4429,8 @@ export declare const mergeBlockContract: {
4299
4429
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
4300
4430
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
4301
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>;
4302
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>;
4303
4435
  }, undefined>, undefined>, undefined>;
4304
4436
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
@@ -5279,6 +5411,45 @@ export declare const resumeSpendContract: {
5279
5411
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
5280
5412
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
5281
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>;
5282
5453
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
5283
5454
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5284
5455
  readonly findingId: v.StringSchema<undefined>;
@@ -5768,14 +5939,17 @@ export declare const resumeSpendContract: {
5768
5939
  readonly frameId: v.StringSchema<undefined>;
5769
5940
  readonly reason: v.StringSchema<undefined>;
5770
5941
  readonly lastError: v.StringSchema<undefined>;
5942
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5771
5943
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
5772
5944
  readonly attempt: v.NumberSchema<undefined>;
5945
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5773
5946
  readonly at: v.NumberSchema<undefined>;
5774
5947
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
5775
5948
  readonly reason: v.StringSchema<undefined>;
5776
5949
  readonly error: v.StringSchema<undefined>;
5777
5950
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5778
5951
  }, undefined>, undefined>, undefined>, undefined>;
5952
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5779
5953
  }, undefined>, undefined>;
5780
5954
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
5781
5955
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -6963,6 +7137,45 @@ export declare const resolveDecisionContract: {
6963
7137
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
6964
7138
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
6965
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>;
6966
7179
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
6967
7180
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6968
7181
  readonly findingId: v.StringSchema<undefined>;
@@ -7452,14 +7665,17 @@ export declare const resolveDecisionContract: {
7452
7665
  readonly frameId: v.StringSchema<undefined>;
7453
7666
  readonly reason: v.StringSchema<undefined>;
7454
7667
  readonly lastError: v.StringSchema<undefined>;
7668
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7455
7669
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
7456
7670
  readonly attempt: v.NumberSchema<undefined>;
7671
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7457
7672
  readonly at: v.NumberSchema<undefined>;
7458
7673
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
7459
7674
  readonly reason: v.StringSchema<undefined>;
7460
7675
  readonly error: v.StringSchema<undefined>;
7461
7676
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
7462
7677
  }, undefined>, undefined>, undefined>, undefined>;
7678
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7463
7679
  }, undefined>, undefined>;
7464
7680
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
7465
7681
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -8203,6 +8419,45 @@ export declare const approveStepContract: {
8203
8419
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
8204
8420
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
8205
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>;
8206
8461
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
8207
8462
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8208
8463
  readonly findingId: v.StringSchema<undefined>;
@@ -8692,14 +8947,17 @@ export declare const approveStepContract: {
8692
8947
  readonly frameId: v.StringSchema<undefined>;
8693
8948
  readonly reason: v.StringSchema<undefined>;
8694
8949
  readonly lastError: v.StringSchema<undefined>;
8950
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8695
8951
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
8696
8952
  readonly attempt: v.NumberSchema<undefined>;
8953
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8697
8954
  readonly at: v.NumberSchema<undefined>;
8698
8955
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
8699
8956
  readonly reason: v.StringSchema<undefined>;
8700
8957
  readonly error: v.StringSchema<undefined>;
8701
8958
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8702
8959
  }, undefined>, undefined>, undefined>, undefined>;
8960
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8703
8961
  }, undefined>, undefined>;
8704
8962
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
8705
8963
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -9457,6 +9715,45 @@ export declare const requestStepChangesContract: {
9457
9715
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
9458
9716
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
9459
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>;
9460
9757
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
9461
9758
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9462
9759
  readonly findingId: v.StringSchema<undefined>;
@@ -9946,14 +10243,17 @@ export declare const requestStepChangesContract: {
9946
10243
  readonly frameId: v.StringSchema<undefined>;
9947
10244
  readonly reason: v.StringSchema<undefined>;
9948
10245
  readonly lastError: v.StringSchema<undefined>;
10246
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9949
10247
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
9950
10248
  readonly attempt: v.NumberSchema<undefined>;
10249
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9951
10250
  readonly at: v.NumberSchema<undefined>;
9952
10251
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
9953
10252
  readonly reason: v.StringSchema<undefined>;
9954
10253
  readonly error: v.StringSchema<undefined>;
9955
10254
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9956
10255
  }, undefined>, undefined>, undefined>, undefined>;
10256
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
9957
10257
  }, undefined>, undefined>;
9958
10258
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
9959
10259
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -10697,6 +10997,45 @@ export declare const resolveStepExceededContract: {
10697
10997
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
10698
10998
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
10699
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>;
10700
11039
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
10701
11040
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10702
11041
  readonly findingId: v.StringSchema<undefined>;
@@ -11186,14 +11525,17 @@ export declare const resolveStepExceededContract: {
11186
11525
  readonly frameId: v.StringSchema<undefined>;
11187
11526
  readonly reason: v.StringSchema<undefined>;
11188
11527
  readonly lastError: v.StringSchema<undefined>;
11528
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11189
11529
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
11190
11530
  readonly attempt: v.NumberSchema<undefined>;
11531
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11191
11532
  readonly at: v.NumberSchema<undefined>;
11192
11533
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
11193
11534
  readonly reason: v.StringSchema<undefined>;
11194
11535
  readonly error: v.StringSchema<undefined>;
11195
11536
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11196
11537
  }, undefined>, undefined>, undefined>, undefined>;
11538
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
11197
11539
  }, undefined>, undefined>;
11198
11540
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
11199
11541
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -11935,6 +12277,45 @@ export declare const restartExecutionContract: {
11935
12277
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
11936
12278
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
11937
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>;
11938
12319
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
11939
12320
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11940
12321
  readonly findingId: v.StringSchema<undefined>;
@@ -12424,14 +12805,17 @@ export declare const restartExecutionContract: {
12424
12805
  readonly frameId: v.StringSchema<undefined>;
12425
12806
  readonly reason: v.StringSchema<undefined>;
12426
12807
  readonly lastError: v.StringSchema<undefined>;
12808
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12427
12809
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
12428
12810
  readonly attempt: v.NumberSchema<undefined>;
12811
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12429
12812
  readonly at: v.NumberSchema<undefined>;
12430
12813
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
12431
12814
  readonly reason: v.StringSchema<undefined>;
12432
12815
  readonly error: v.StringSchema<undefined>;
12433
12816
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
12434
12817
  }, undefined>, undefined>, undefined>, undefined>;
12818
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
12435
12819
  }, undefined>, undefined>;
12436
12820
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
12437
12821
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
@@ -13175,6 +13559,45 @@ export declare const rejectStepContract: {
13175
13559
  readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
13176
13560
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
13177
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>;
13178
13601
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
13179
13602
  readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
13180
13603
  readonly findingId: v.StringSchema<undefined>;
@@ -13664,14 +14087,17 @@ export declare const rejectStepContract: {
13664
14087
  readonly frameId: v.StringSchema<undefined>;
13665
14088
  readonly reason: v.StringSchema<undefined>;
13666
14089
  readonly lastError: v.StringSchema<undefined>;
14090
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13667
14091
  readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
13668
14092
  readonly attempt: v.NumberSchema<undefined>;
14093
+ readonly cycle: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13669
14094
  readonly at: v.NumberSchema<undefined>;
13670
14095
  readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
13671
14096
  readonly reason: v.StringSchema<undefined>;
13672
14097
  readonly error: v.StringSchema<undefined>;
13673
14098
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
13674
14099
  }, undefined>, undefined>, undefined>, undefined>;
14100
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
13675
14101
  }, undefined>, undefined>;
13676
14102
  readonly environmentInvestigation: v.OptionalSchema<v.GenericSchema<unknown, import("../environment-investigation.js").EnvironmentInvestigationState>, undefined>;
13677
14103
  readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{