@cat-factory/contracts 0.227.0 → 0.230.1

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 (82) hide show
  1. package/dist/entities.d.ts +1 -1
  2. package/dist/errors.d.ts +1 -1
  3. package/dist/errors.d.ts.map +1 -1
  4. package/dist/errors.js +15 -0
  5. package/dist/errors.js.map +1 -1
  6. package/dist/execution.d.ts +25 -1
  7. package/dist/execution.d.ts.map +1 -1
  8. package/dist/execution.js +16 -1
  9. package/dist/execution.js.map +1 -1
  10. package/dist/form-fields.d.ts +203 -0
  11. package/dist/form-fields.d.ts.map +1 -0
  12. package/dist/form-fields.js +315 -0
  13. package/dist/form-fields.js.map +1 -0
  14. package/dist/index.d.ts +2 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +2 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/initiative-preset.d.ts +34 -93
  19. package/dist/initiative-preset.d.ts.map +1 -1
  20. package/dist/initiative-preset.js +30 -182
  21. package/dist/initiative-preset.js.map +1 -1
  22. package/dist/initiative.d.ts +14 -9
  23. package/dist/initiative.d.ts.map +1 -1
  24. package/dist/initiative.js +15 -15
  25. package/dist/initiative.js.map +1 -1
  26. package/dist/input-gate.d.ts +115 -0
  27. package/dist/input-gate.d.ts.map +1 -0
  28. package/dist/input-gate.js +131 -0
  29. package/dist/input-gate.js.map +1 -0
  30. package/dist/merge.d.ts +2 -2
  31. package/dist/merge.js +2 -2
  32. package/dist/primitives.d.ts +10 -5
  33. package/dist/primitives.d.ts.map +1 -1
  34. package/dist/primitives.js +11 -5
  35. package/dist/primitives.js.map +1 -1
  36. package/dist/public-decisions.d.ts +65 -1
  37. package/dist/public-decisions.d.ts.map +1 -1
  38. package/dist/public-decisions.js +45 -6
  39. package/dist/public-decisions.js.map +1 -1
  40. package/dist/requests.d.ts +1 -1
  41. package/dist/routes/agent-runs.d.ts +22 -0
  42. package/dist/routes/agent-runs.d.ts.map +1 -1
  43. package/dist/routes/board.d.ts +14 -14
  44. package/dist/routes/bug-hunt.d.ts +24 -2
  45. package/dist/routes/bug-hunt.d.ts.map +1 -1
  46. package/dist/routes/execution.d.ts +90 -2
  47. package/dist/routes/execution.d.ts.map +1 -1
  48. package/dist/routes/human-review.d.ts +11 -0
  49. package/dist/routes/human-review.d.ts.map +1 -1
  50. package/dist/routes/human-test.d.ts +55 -0
  51. package/dist/routes/human-test.d.ts.map +1 -1
  52. package/dist/routes/index.d.ts +1 -0
  53. package/dist/routes/index.d.ts.map +1 -1
  54. package/dist/routes/index.js +1 -0
  55. package/dist/routes/index.js.map +1 -1
  56. package/dist/routes/initiative.d.ts +17 -17
  57. package/dist/routes/input-gate.d.ts +48 -0
  58. package/dist/routes/input-gate.d.ts.map +1 -0
  59. package/dist/routes/input-gate.js +24 -0
  60. package/dist/routes/input-gate.js.map +1 -0
  61. package/dist/routes/public-decisions.d.ts +193 -0
  62. package/dist/routes/public-decisions.d.ts.map +1 -1
  63. package/dist/routes/public-decisions.js +20 -1
  64. package/dist/routes/public-decisions.js.map +1 -1
  65. package/dist/routes/tasks.d.ts +3 -3
  66. package/dist/routes/visual-confirm.d.ts +33 -0
  67. package/dist/routes/visual-confirm.d.ts.map +1 -1
  68. package/dist/routes/workspace-settings.d.ts +3 -0
  69. package/dist/routes/workspace-settings.d.ts.map +1 -1
  70. package/dist/routes/workspaces.d.ts +70 -26
  71. package/dist/routes/workspaces.d.ts.map +1 -1
  72. package/dist/snapshot.d.ts +35 -13
  73. package/dist/snapshot.d.ts.map +1 -1
  74. package/dist/task-types.d.ts +69 -28
  75. package/dist/task-types.d.ts.map +1 -1
  76. package/dist/task-types.js +50 -25
  77. package/dist/task-types.js.map +1 -1
  78. package/dist/workspace-settings.d.ts +13 -0
  79. package/dist/workspace-settings.d.ts.map +1 -1
  80. package/dist/workspace-settings.js +14 -0
  81. package/dist/workspace-settings.js.map +1 -1
  82. package/package.json +1 -1
@@ -86,6 +86,15 @@ export declare const listPublicRunDecisionsContract: {
86
86
  }, undefined>, undefined>;
87
87
  readonly bounces: v.NumberSchema<undefined>;
88
88
  readonly maxBounces: v.NumberSchema<undefined>;
89
+ }, undefined>, v.ObjectSchema<{
90
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
91
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
92
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
93
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
94
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
95
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
96
+ }, undefined>, undefined>;
97
+ readonly checkedAt: v.NumberSchema<undefined>;
89
98
  }, undefined>], undefined>, undefined>;
90
99
  }, undefined>;
91
100
  };
@@ -181,6 +190,15 @@ export declare const replyPublicRunFindingContract: {
181
190
  }, undefined>, undefined>;
182
191
  readonly bounces: v.NumberSchema<undefined>;
183
192
  readonly maxBounces: v.NumberSchema<undefined>;
193
+ }, undefined>, v.ObjectSchema<{
194
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
195
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
196
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
197
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
198
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
199
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
200
+ }, undefined>, undefined>;
201
+ readonly checkedAt: v.NumberSchema<undefined>;
184
202
  }, undefined>], undefined>, undefined>;
185
203
  }, undefined>;
186
204
  };
@@ -276,6 +294,15 @@ export declare const setPublicRunFindingStatusContract: {
276
294
  }, undefined>, undefined>;
277
295
  readonly bounces: v.NumberSchema<undefined>;
278
296
  readonly maxBounces: v.NumberSchema<undefined>;
297
+ }, undefined>, v.ObjectSchema<{
298
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
299
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
300
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
301
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
302
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
303
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
304
+ }, undefined>, undefined>;
305
+ readonly checkedAt: v.NumberSchema<undefined>;
279
306
  }, undefined>], undefined>, undefined>;
280
307
  }, undefined>;
281
308
  };
@@ -373,6 +400,15 @@ export declare const incorporatePublicRunRequirementsContract: {
373
400
  }, undefined>, undefined>;
374
401
  readonly bounces: v.NumberSchema<undefined>;
375
402
  readonly maxBounces: v.NumberSchema<undefined>;
403
+ }, undefined>, v.ObjectSchema<{
404
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
405
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
406
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
407
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
408
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
409
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
410
+ }, undefined>, undefined>;
411
+ readonly checkedAt: v.NumberSchema<undefined>;
376
412
  }, undefined>], undefined>, undefined>;
377
413
  }, undefined>;
378
414
  };
@@ -464,6 +500,15 @@ export declare const reReviewPublicRunRequirementsContract: {
464
500
  }, undefined>, undefined>;
465
501
  readonly bounces: v.NumberSchema<undefined>;
466
502
  readonly maxBounces: v.NumberSchema<undefined>;
503
+ }, undefined>, v.ObjectSchema<{
504
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
505
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
506
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
507
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
508
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
509
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
510
+ }, undefined>, undefined>;
511
+ readonly checkedAt: v.NumberSchema<undefined>;
467
512
  }, undefined>], undefined>, undefined>;
468
513
  }, undefined>;
469
514
  };
@@ -555,6 +600,15 @@ export declare const proceedPublicRunRequirementsContract: {
555
600
  }, undefined>, undefined>;
556
601
  readonly bounces: v.NumberSchema<undefined>;
557
602
  readonly maxBounces: v.NumberSchema<undefined>;
603
+ }, undefined>, v.ObjectSchema<{
604
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
605
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
606
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
607
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
608
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
609
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
610
+ }, undefined>, undefined>;
611
+ readonly checkedAt: v.NumberSchema<undefined>;
558
612
  }, undefined>], undefined>, undefined>;
559
613
  }, undefined>;
560
614
  };
@@ -648,6 +702,15 @@ export declare const resolvePublicRunRequirementsExceededContract: {
648
702
  }, undefined>, undefined>;
649
703
  readonly bounces: v.NumberSchema<undefined>;
650
704
  readonly maxBounces: v.NumberSchema<undefined>;
705
+ }, undefined>, v.ObjectSchema<{
706
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
707
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
708
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
709
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
710
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
711
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
712
+ }, undefined>, undefined>;
713
+ readonly checkedAt: v.NumberSchema<undefined>;
651
714
  }, undefined>], undefined>, undefined>;
652
715
  }, undefined>;
653
716
  };
@@ -747,6 +810,15 @@ export declare const choosePublicRunForkContract: {
747
810
  }, undefined>, undefined>;
748
811
  readonly bounces: v.NumberSchema<undefined>;
749
812
  readonly maxBounces: v.NumberSchema<undefined>;
813
+ }, undefined>, v.ObjectSchema<{
814
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
815
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
816
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
817
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
818
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
819
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
820
+ }, undefined>, undefined>;
821
+ readonly checkedAt: v.NumberSchema<undefined>;
750
822
  }, undefined>], undefined>, undefined>;
751
823
  }, undefined>;
752
824
  };
@@ -841,6 +913,127 @@ export declare const resolvePublicRunJudgeContract: {
841
913
  }, undefined>, undefined>;
842
914
  readonly bounces: v.NumberSchema<undefined>;
843
915
  readonly maxBounces: v.NumberSchema<undefined>;
916
+ }, undefined>, v.ObjectSchema<{
917
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
918
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
919
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
920
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
921
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
922
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
923
+ }, undefined>, undefined>;
924
+ readonly checkedAt: v.NumberSchema<undefined>;
925
+ }, undefined>], undefined>, undefined>;
926
+ }, undefined>;
927
+ };
928
+ };
929
+ /**
930
+ * Resolve a run parked on the PRE-DISPATCH INPUT GATE: `recheck` re-evaluates the task as it now
931
+ * stands, `proceed` waives the findings.
932
+ *
933
+ * The one park that is a property of the TASK rather than the pipeline, so unlike the three above
934
+ * it can hold a run whose pipeline `canParkOnHuman` calls unparking. Without this route such a run
935
+ * reported `parked: true` with nothing to answer and `POST /api/v1/jobs/:id/cancel` as its only
936
+ * exit. A caller that means to FIX the task edits it over `PATCH /api/v1/tasks/:taskId` first;
937
+ * `recheck` then verifies rather than takes the claim on trust, and a still-blocked verdict comes
938
+ * back as an ordinary 200 with refreshed findings, because nothing went wrong.
939
+ */
940
+ export declare const resolvePublicRunInputGateContract: {
941
+ readonly method: "post";
942
+ readonly requestPathParamsSchema: v.ObjectSchema<{
943
+ runId: v.StringSchema<undefined>;
944
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
945
+ readonly pathResolver: ({ runId }: {
946
+ runId: string;
947
+ }) => string;
948
+ readonly requestBodySchema: v.ObjectSchema<{
949
+ readonly choice: v.PicklistSchema<["recheck", "proceed"], undefined>;
950
+ }, undefined>;
951
+ readonly responsesByStatusCode: {
952
+ readonly '4xx': v.ObjectSchema<{
953
+ readonly error: v.ObjectSchema<{
954
+ readonly code: v.StringSchema<undefined>;
955
+ readonly message: v.StringSchema<undefined>;
956
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
957
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
958
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
959
+ readonly message: v.StringSchema<undefined>;
960
+ }, undefined>, undefined>, undefined>;
961
+ }, undefined>;
962
+ }, undefined>;
963
+ readonly '5xx': v.ObjectSchema<{
964
+ readonly error: v.ObjectSchema<{
965
+ readonly code: v.StringSchema<undefined>;
966
+ readonly message: v.StringSchema<undefined>;
967
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
968
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
969
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
970
+ readonly message: v.StringSchema<undefined>;
971
+ }, undefined>, undefined>, undefined>;
972
+ }, undefined>;
973
+ }, undefined>;
974
+ readonly 200: v.ObjectSchema<{
975
+ readonly runId: v.StringSchema<undefined>;
976
+ readonly taskId: v.StringSchema<undefined>;
977
+ readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
978
+ readonly parked: v.BooleanSchema<undefined>;
979
+ readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
980
+ readonly kind: v.LiteralSchema<"requirements-review", undefined>;
981
+ readonly reviewId: v.StringSchema<undefined>;
982
+ readonly taskId: v.StringSchema<undefined>;
983
+ readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
984
+ readonly iteration: v.NumberSchema<undefined>;
985
+ readonly maxIterations: v.NumberSchema<undefined>;
986
+ readonly findings: v.ArraySchema<v.ObjectSchema<{
987
+ readonly itemId: v.StringSchema<undefined>;
988
+ readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
989
+ readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
990
+ readonly title: v.StringSchema<undefined>;
991
+ readonly detail: v.StringSchema<undefined>;
992
+ readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
993
+ readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
994
+ }, undefined>, undefined>;
995
+ readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
996
+ }, undefined>, v.ObjectSchema<{
997
+ readonly kind: v.LiteralSchema<"fork", undefined>;
998
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
999
+ readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1000
+ readonly forks: v.ArraySchema<v.ObjectSchema<{
1001
+ readonly id: v.StringSchema<undefined>;
1002
+ readonly title: v.StringSchema<undefined>;
1003
+ readonly summary: v.StringSchema<undefined>;
1004
+ readonly approach: v.StringSchema<undefined>;
1005
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1006
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1007
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1008
+ }, undefined>, undefined>;
1009
+ }, undefined>, v.ObjectSchema<{
1010
+ readonly kind: v.LiteralSchema<"judge", undefined>;
1011
+ readonly stepKind: v.StringSchema<undefined>;
1012
+ readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
1013
+ readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1014
+ readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1015
+ readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1016
+ readonly verdict: v.NullableSchema<v.ObjectSchema<{
1017
+ readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
1018
+ readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1019
+ readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
1020
+ readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
1021
+ readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1022
+ readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
1023
+ readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1024
+ }, undefined>, undefined>, readonly []>, readonly []>;
1025
+ }, undefined>, undefined>;
1026
+ readonly bounces: v.NumberSchema<undefined>;
1027
+ readonly maxBounces: v.NumberSchema<undefined>;
1028
+ }, undefined>, v.ObjectSchema<{
1029
+ readonly kind: v.LiteralSchema<"input-gate", undefined>;
1030
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
1031
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
1032
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
1033
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
1034
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
1035
+ }, undefined>, undefined>;
1036
+ readonly checkedAt: v.NumberSchema<undefined>;
844
1037
  }, undefined>], undefined>, undefined>;
845
1038
  }, undefined>;
846
1039
  };
@@ -1 +1 @@
1
- {"version":3,"file":"public-decisions.d.ts","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8B5B,iFAAiF;AACjF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAIF,mCAAmC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/C,CAAA;AAEF,4FAA4F;AAC5F,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvD,CAAA;AAIF,mFAAmF;AACnF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAIF,yFAAyF;AACzF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ContractNoBody, defineApiContract, withObjectKeys } from '@toad-contracts/valibot';
2
2
  import * as v from 'valibot';
3
- import { publicChooseForkSchema, publicResolveJudgeSchema, publicDecisionListSchema, publicIncorporateSchema, publicReplyFindingSchema, publicResolveExceededSchema, publicSetFindingStatusSchema, } from '../public-decisions.js';
3
+ import { publicChooseForkSchema, publicResolveInputGateSchema, publicResolveJudgeSchema, publicDecisionListSchema, publicIncorporateSchema, publicReplyFindingSchema, publicResolveExceededSchema, publicSetFindingStatusSchema, } from '../public-decisions.js';
4
4
  import { errorResponses, singleStringParam } from './_shared.js';
5
5
  // ---------------------------------------------------------------------------
6
6
  // Public-API route contracts for a run's PARKED HUMAN DECISIONS — the external counterpart of
@@ -96,4 +96,23 @@ export const resolvePublicRunJudgeContract = defineApiContract({
96
96
  requestBodySchema: publicResolveJudgeSchema,
97
97
  responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
98
98
  });
99
+ // ---- pre-dispatch input gate ---------------------------------------------------
100
+ /**
101
+ * Resolve a run parked on the PRE-DISPATCH INPUT GATE: `recheck` re-evaluates the task as it now
102
+ * stands, `proceed` waives the findings.
103
+ *
104
+ * The one park that is a property of the TASK rather than the pipeline, so unlike the three above
105
+ * it can hold a run whose pipeline `canParkOnHuman` calls unparking. Without this route such a run
106
+ * reported `parked: true` with nothing to answer and `POST /api/v1/jobs/:id/cancel` as its only
107
+ * exit. A caller that means to FIX the task edits it over `PATCH /api/v1/tasks/:taskId` first;
108
+ * `recheck` then verifies rather than takes the claim on trust, and a still-blocked verdict comes
109
+ * back as an ordinary 200 with refreshed findings, because nothing went wrong.
110
+ */
111
+ export const resolvePublicRunInputGateContract = defineApiContract({
112
+ method: 'post',
113
+ requestPathParamsSchema: runIdParams,
114
+ pathResolver: ({ runId }) => `/api/v1/runs/${runId}/decisions/input-gate/resolve`,
115
+ requestBodySchema: publicResolveInputGateSchema,
116
+ responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
117
+ });
99
118
  //# sourceMappingURL=public-decisions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-decisions.js","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,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,+BAA+B;IACjF,iBAAiB,EAAE,4BAA4B;IAC/C,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA"}
@@ -758,7 +758,7 @@ export declare const createTaskFromIssueContract: {
758
758
  readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
759
759
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
760
760
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
761
- readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
761
+ 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>;
762
762
  }, undefined>, undefined>, undefined>;
763
763
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
764
764
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1191,7 +1191,7 @@ export declare const spawnEpicContract: {
1191
1191
  readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1192
1192
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1193
1193
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1194
- readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
1194
+ 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>;
1195
1195
  }, undefined>, undefined>, undefined>;
1196
1196
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1197
1197
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1561,7 +1561,7 @@ export declare const spawnEpicContract: {
1561
1561
  readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
1562
1562
  readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1563
1563
  readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1564
- readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
1564
+ 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>;
1565
1565
  }, undefined>, undefined>, undefined>;
1566
1566
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1567
1567
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1036,6 +1036,17 @@ export declare const approveVisualConfirmContract: {
1036
1036
  readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1037
1037
  }, undefined>, undefined>;
1038
1038
  }, undefined>, undefined>;
1039
+ readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
1040
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
1041
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
1042
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
1043
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
1044
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
1045
+ }, undefined>, undefined>;
1046
+ readonly checkedAt: v.NumberSchema<undefined>;
1047
+ readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1048
+ readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1049
+ }, undefined>, undefined>;
1039
1050
  }, undefined>;
1040
1051
  };
1041
1052
  };
@@ -2077,6 +2088,17 @@ export declare const requestVisualConfirmFixContract: {
2077
2088
  readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2078
2089
  }, undefined>, undefined>;
2079
2090
  }, undefined>, undefined>;
2091
+ readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
2092
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
2093
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
2094
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
2095
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
2096
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
2097
+ }, undefined>, undefined>;
2098
+ readonly checkedAt: v.NumberSchema<undefined>;
2099
+ readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2100
+ readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2101
+ }, undefined>, undefined>;
2080
2102
  }, undefined>;
2081
2103
  };
2082
2104
  };
@@ -3116,6 +3138,17 @@ export declare const recaptureVisualConfirmContract: {
3116
3138
  readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3117
3139
  }, undefined>, undefined>;
3118
3140
  }, undefined>, undefined>;
3141
+ readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
3142
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
3143
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
3144
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
3145
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
3146
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
3147
+ }, undefined>, undefined>;
3148
+ readonly checkedAt: v.NumberSchema<undefined>;
3149
+ readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3150
+ readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3151
+ }, undefined>, undefined>;
3119
3152
  }, undefined>;
3120
3153
  };
3121
3154
  };
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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SettingsContract: {
34
34
  readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
35
35
  readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;
36
36
  readonly delegateAgentsToRunnerPool: import("valibot").BooleanSchema<undefined>;
37
+ readonly inputGateMode: import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>;
37
38
  readonly reviewFrictionMode: import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>;
38
39
  readonly reviewFrictionWarnCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>;
39
40
  readonly reviewFrictionBlockCount: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
@@ -62,6 +63,7 @@ export declare const updateWorkspaceSettingsContract: {
62
63
  readonly artifactRetentionDays: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>, undefined>;
63
64
  readonly kaizenEnabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
64
65
  readonly delegateAgentsToRunnerPool: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
66
+ readonly inputGateMode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>, undefined>;
65
67
  readonly reviewFrictionMode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>, undefined>;
66
68
  readonly reviewFrictionWarnCount: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
67
69
  readonly reviewFrictionBlockCount: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
@@ -108,6 +110,7 @@ export declare const updateWorkspaceSettingsContract: {
108
110
  readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
109
111
  readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;
110
112
  readonly delegateAgentsToRunnerPool: import("valibot").BooleanSchema<undefined>;
113
+ readonly inputGateMode: import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>;
111
114
  readonly reviewFrictionMode: import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>;
112
115
  readonly reviewFrictionWarnCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>;
113
116
  readonly reviewFrictionBlockCount: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}
1
+ {"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}