@cat-factory/contracts 0.168.0 → 0.170.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.
- package/dist/agent-presentation.d.ts +2 -2
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +6 -0
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +103 -568
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +14 -199
- package/dist/execution.js.map +1 -1
- package/dist/gate.d.ts +283 -0
- package/dist/gate.d.ts.map +1 -0
- package/dist/gate.js +209 -0
- package/dist/gate.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/judge.d.ts +181 -0
- package/dist/judge.d.ts.map +1 -0
- package/dist/judge.js +147 -0
- package/dist/judge.js.map +1 -0
- package/dist/merge.d.ts +17 -0
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +19 -0
- package/dist/merge.js.map +1 -1
- package/dist/notification-webhooks.d.ts +3 -3
- package/dist/notifications.d.ts +3 -3
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +2 -0
- package/dist/notifications.js.map +1 -1
- package/dist/pr-report.d.ts +101 -0
- package/dist/pr-report.d.ts.map +1 -1
- package/dist/pr-report.js +40 -0
- package/dist/pr-report.js.map +1 -1
- package/dist/public-api.d.ts +1 -1
- package/dist/public-decisions.d.ts +94 -1
- package/dist/public-decisions.d.ts.map +1 -1
- package/dist/public-decisions.js +34 -1
- package/dist/public-decisions.js.map +1 -1
- package/dist/result-views.d.ts +1 -1
- package/dist/result-views.d.ts.map +1 -1
- package/dist/result-views.js +1 -0
- package/dist/result-views.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +86 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +344 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +43 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +215 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/judge.d.ts +158 -0
- package/dist/routes/judge.d.ts.map +1 -0
- package/dist/routes/judge.js +28 -0
- package/dist/routes/judge.js.map +1 -0
- package/dist/routes/merge.d.ts +12 -0
- package/dist/routes/merge.d.ts.map +1 -1
- package/dist/routes/notification-webhooks.d.ts +3 -3
- package/dist/routes/notifications.d.ts +3 -3
- package/dist/routes/public-api.d.ts +3 -3
- package/dist/routes/public-decisions.d.ts +246 -0
- package/dist/routes/public-decisions.d.ts.map +1 -1
- package/dist/routes/public-decisions.js +10 -1
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/runners.d.ts +10 -0
- package/dist/routes/runners.d.ts.map +1 -1
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +129 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +94 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/runners.d.ts +90 -0
- package/dist/runners.d.ts.map +1 -1
- package/dist/runners.js +9 -0
- package/dist/runners.js.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +47 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { judgeStepStateSchema, resolveJudgeSchema } from '../judge.js';
|
|
4
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// Judge route contracts (the fourth step-taxonomy bucket). Mounted under
|
|
7
|
+
// `/workspaces/:workspaceId`, so the paths here are relative to that prefix. The read
|
|
8
|
+
// returns the run's active judge state (or null when no step carries one); `resolve`
|
|
9
|
+
// answers a parked verdict — proceed anyway, bounce the work back for rework, or stop
|
|
10
|
+
// the run. The SAME service method backs the public API's decisions surface, so a
|
|
11
|
+
// headless caller drives an identical loop. See JudgeController in @cat-factory/server
|
|
12
|
+
// and `docs/initiatives/judge-registry.md`.
|
|
13
|
+
// ---------------------------------------------------------------------------
|
|
14
|
+
const executionIdParams = singleStringParam('executionId');
|
|
15
|
+
export const getJudgeDecisionContract = defineApiContract({
|
|
16
|
+
method: 'get',
|
|
17
|
+
requestPathParamsSchema: executionIdParams,
|
|
18
|
+
pathResolver: ({ executionId }) => `/executions/${executionId}/judge`,
|
|
19
|
+
responsesByStatusCode: { 200: v.nullable(judgeStepStateSchema), ...errorResponses },
|
|
20
|
+
});
|
|
21
|
+
export const resolveJudgeContract = defineApiContract({
|
|
22
|
+
method: 'post',
|
|
23
|
+
requestPathParamsSchema: executionIdParams,
|
|
24
|
+
pathResolver: ({ executionId }) => `/executions/${executionId}/judge/resolve`,
|
|
25
|
+
requestBodySchema: resolveJudgeSchema,
|
|
26
|
+
responsesByStatusCode: { 200: judgeStepStateSchema, ...errorResponses },
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=judge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"judge.js","sourceRoot":"","sources":["../../src/routes/judge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,yEAAyE;AACzE,sFAAsF;AACtF,qFAAqF;AACrF,sFAAsF;AACtF,kFAAkF;AAClF,uFAAuF;AACvF,4CAA4C;AAC5C,8EAA8E;AAE9E,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,QAAQ;IACrE,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,GAAG,cAAc,EAAE;CACpF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACpD,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,gBAAgB;IAC7E,iBAAiB,EAAE,kBAAkB;IACrC,qBAAqB,EAAE,EAAE,GAAG,EAAE,oBAAoB,EAAE,GAAG,cAAc,EAAE;CACxE,CAAC,CAAA"}
|
package/dist/routes/merge.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export declare const listRiskPoliciesContract: {
|
|
|
39
39
|
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
40
40
|
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
41
41
|
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
42
|
+
readonly judgeMinScore: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
43
|
+
readonly judgeMaxBounces: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
42
44
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
43
45
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
44
46
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -127,6 +129,8 @@ export declare const createRiskPolicyContract: {
|
|
|
127
129
|
readonly releaseWatchWindowMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 720, undefined>]>, 30>;
|
|
128
130
|
readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, 1>;
|
|
129
131
|
readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, 10>;
|
|
132
|
+
readonly judgeMinScore: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0.7>;
|
|
133
|
+
readonly judgeMaxBounces: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, 1>;
|
|
130
134
|
readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
131
135
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
132
136
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -232,6 +236,8 @@ export declare const createRiskPolicyContract: {
|
|
|
232
236
|
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
233
237
|
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
234
238
|
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
239
|
+
readonly judgeMinScore: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
240
|
+
readonly judgeMaxBounces: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
235
241
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
236
242
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
237
243
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -325,6 +331,8 @@ export declare const updateRiskPolicyContract: {
|
|
|
325
331
|
readonly releaseWatchWindowMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 720, undefined>]>, undefined>;
|
|
326
332
|
readonly releaseMaxAttempts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
|
|
327
333
|
readonly humanReviewGraceMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1440, undefined>]>, undefined>;
|
|
334
|
+
readonly judgeMinScore: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
335
|
+
readonly judgeMaxBounces: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
|
|
328
336
|
readonly autoMergeEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
329
337
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
330
338
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -430,6 +438,8 @@ export declare const updateRiskPolicyContract: {
|
|
|
430
438
|
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
431
439
|
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
432
440
|
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
441
|
+
readonly judgeMinScore: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
442
|
+
readonly judgeMaxBounces: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
433
443
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
434
444
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
435
445
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -588,6 +598,8 @@ export declare const reseedRiskPolicyContract: {
|
|
|
588
598
|
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
589
599
|
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
590
600
|
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
601
|
+
readonly judgeMinScore: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
602
|
+
readonly judgeMaxBounces: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
591
603
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
592
604
|
readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
593
605
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
|
|
@@ -29,7 +29,7 @@ export declare const getNotificationWebhookContract: {
|
|
|
29
29
|
}, undefined>;
|
|
30
30
|
readonly 200: v.NullableSchema<v.ObjectSchema<{
|
|
31
31
|
readonly url: v.StringSchema<undefined>;
|
|
32
|
-
readonly types: v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
32
|
+
readonly types: v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
33
33
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
34
34
|
readonly hasSecret: v.BooleanSchema<undefined>;
|
|
35
35
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -42,7 +42,7 @@ export declare const putNotificationWebhookContract: {
|
|
|
42
42
|
readonly pathResolver: () => string;
|
|
43
43
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
44
44
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", "The webhook endpoint must be an https:// URL">, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
45
|
-
readonly types: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>, undefined>;
|
|
45
|
+
readonly types: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>, undefined>;
|
|
46
46
|
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
47
47
|
readonly secret: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 16, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
48
48
|
}, undefined>;
|
|
@@ -71,7 +71,7 @@ export declare const putNotificationWebhookContract: {
|
|
|
71
71
|
}, undefined>;
|
|
72
72
|
readonly 200: v.ObjectSchema<{
|
|
73
73
|
readonly url: v.StringSchema<undefined>;
|
|
74
|
-
readonly types: v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
74
|
+
readonly types: v.ArraySchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>, undefined>;
|
|
75
75
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
76
76
|
readonly hasSecret: v.BooleanSchema<undefined>;
|
|
77
77
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
@@ -28,7 +28,7 @@ export declare const listNotificationsContract: {
|
|
|
28
28
|
}, undefined>;
|
|
29
29
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
30
30
|
readonly id: v.StringSchema<undefined>;
|
|
31
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
31
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
32
32
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
33
33
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
34
34
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -118,7 +118,7 @@ export declare const actNotificationContract: {
|
|
|
118
118
|
}, undefined>;
|
|
119
119
|
readonly 200: v.ObjectSchema<{
|
|
120
120
|
readonly id: v.StringSchema<undefined>;
|
|
121
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
121
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
122
122
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
123
123
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
124
124
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -206,7 +206,7 @@ export declare const dismissNotificationContract: {
|
|
|
206
206
|
}, undefined>;
|
|
207
207
|
readonly 200: v.ObjectSchema<{
|
|
208
208
|
readonly id: v.StringSchema<undefined>;
|
|
209
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
209
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
210
210
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
211
211
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
212
212
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -795,7 +795,7 @@ export declare const listPublicNotificationsContract: {
|
|
|
795
795
|
readonly 200: import("valibot").ObjectSchema<{
|
|
796
796
|
readonly notifications: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
797
797
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
798
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
798
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
799
799
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
800
800
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
801
801
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -885,7 +885,7 @@ export declare const actPublicNotificationContract: {
|
|
|
885
885
|
}, undefined>;
|
|
886
886
|
readonly 200: import("valibot").ObjectSchema<{
|
|
887
887
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
888
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
888
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
889
889
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
890
890
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
891
891
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -974,7 +974,7 @@ export declare const dismissPublicNotificationContract: {
|
|
|
974
974
|
}, undefined>;
|
|
975
975
|
readonly 200: import("valibot").ObjectSchema<{
|
|
976
976
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
977
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
977
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "judge_review", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
|
|
978
978
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
979
979
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
980
980
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -67,6 +67,25 @@ export declare const listPublicRunDecisionsContract: {
|
|
|
67
67
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
68
68
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
69
69
|
}, undefined>, undefined>;
|
|
70
|
+
}, undefined>, v.ObjectSchema<{
|
|
71
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
72
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
73
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
74
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
76
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
77
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
78
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
79
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
80
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
81
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
82
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
83
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
84
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
85
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
86
|
+
}, undefined>, undefined>;
|
|
87
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
88
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
70
89
|
}, undefined>], undefined>, undefined>;
|
|
71
90
|
}, undefined>;
|
|
72
91
|
};
|
|
@@ -143,6 +162,25 @@ export declare const replyPublicRunFindingContract: {
|
|
|
143
162
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
144
163
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
145
164
|
}, undefined>, undefined>;
|
|
165
|
+
}, undefined>, v.ObjectSchema<{
|
|
166
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
167
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
168
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
169
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
170
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
171
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
172
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
173
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
174
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
175
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
176
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
177
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
178
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
179
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
180
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
181
|
+
}, undefined>, undefined>;
|
|
182
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
183
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
146
184
|
}, undefined>], undefined>, undefined>;
|
|
147
185
|
}, undefined>;
|
|
148
186
|
};
|
|
@@ -219,6 +257,25 @@ export declare const setPublicRunFindingStatusContract: {
|
|
|
219
257
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
220
258
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
221
259
|
}, undefined>, undefined>;
|
|
260
|
+
}, undefined>, v.ObjectSchema<{
|
|
261
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
262
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
263
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
264
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
265
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
266
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
267
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
268
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
269
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
270
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
271
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
272
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
273
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
274
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
275
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
276
|
+
}, undefined>, undefined>;
|
|
277
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
278
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
222
279
|
}, undefined>], undefined>, undefined>;
|
|
223
280
|
}, undefined>;
|
|
224
281
|
};
|
|
@@ -297,6 +354,25 @@ export declare const incorporatePublicRunRequirementsContract: {
|
|
|
297
354
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
298
355
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
299
356
|
}, undefined>, undefined>;
|
|
357
|
+
}, undefined>, v.ObjectSchema<{
|
|
358
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
359
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
360
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
361
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
362
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
363
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
364
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
365
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
366
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
367
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
368
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
369
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
370
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
371
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
372
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
373
|
+
}, undefined>, undefined>;
|
|
374
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
375
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
300
376
|
}, undefined>], undefined>, undefined>;
|
|
301
377
|
}, undefined>;
|
|
302
378
|
};
|
|
@@ -369,6 +445,25 @@ export declare const reReviewPublicRunRequirementsContract: {
|
|
|
369
445
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
370
446
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
371
447
|
}, undefined>, undefined>;
|
|
448
|
+
}, undefined>, v.ObjectSchema<{
|
|
449
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
450
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
451
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
452
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
453
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
455
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
456
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
457
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
458
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
459
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
460
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
461
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
462
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
463
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
464
|
+
}, undefined>, undefined>;
|
|
465
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
466
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
372
467
|
}, undefined>], undefined>, undefined>;
|
|
373
468
|
}, undefined>;
|
|
374
469
|
};
|
|
@@ -441,6 +536,25 @@ export declare const proceedPublicRunRequirementsContract: {
|
|
|
441
536
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
442
537
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
443
538
|
}, undefined>, undefined>;
|
|
539
|
+
}, undefined>, v.ObjectSchema<{
|
|
540
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
541
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
542
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
543
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
544
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
545
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
546
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
547
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
548
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
549
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
550
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
551
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
552
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
553
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
554
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
555
|
+
}, undefined>, undefined>;
|
|
556
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
557
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
444
558
|
}, undefined>], undefined>, undefined>;
|
|
445
559
|
}, undefined>;
|
|
446
560
|
};
|
|
@@ -515,6 +629,25 @@ export declare const resolvePublicRunRequirementsExceededContract: {
|
|
|
515
629
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
516
630
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
517
631
|
}, undefined>, undefined>;
|
|
632
|
+
}, undefined>, v.ObjectSchema<{
|
|
633
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
634
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
635
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
636
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
637
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
638
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
639
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
640
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
641
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
642
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
643
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
644
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
645
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
646
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
647
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
648
|
+
}, undefined>, undefined>;
|
|
649
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
650
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
518
651
|
}, undefined>], undefined>, undefined>;
|
|
519
652
|
}, undefined>;
|
|
520
653
|
};
|
|
@@ -595,6 +728,119 @@ export declare const choosePublicRunForkContract: {
|
|
|
595
728
|
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
596
729
|
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
597
730
|
}, undefined>, undefined>;
|
|
731
|
+
}, undefined>, v.ObjectSchema<{
|
|
732
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
733
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
734
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
735
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
736
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
737
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
738
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
739
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
740
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
741
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
742
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
743
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
744
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
745
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
746
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
747
|
+
}, undefined>, undefined>;
|
|
748
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
749
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
750
|
+
}, undefined>], undefined>, undefined>;
|
|
751
|
+
}, undefined>;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
/** Resolve a parked judge verdict: proceed anyway / bounce for rework / stop the run. */
|
|
755
|
+
export declare const resolvePublicRunJudgeContract: {
|
|
756
|
+
readonly method: "post";
|
|
757
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
758
|
+
runId: v.StringSchema<undefined>;
|
|
759
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
760
|
+
readonly pathResolver: ({ runId }: {
|
|
761
|
+
runId: string;
|
|
762
|
+
}) => string;
|
|
763
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
764
|
+
readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
|
|
765
|
+
readonly feedback: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>, undefined>;
|
|
766
|
+
}, undefined>;
|
|
767
|
+
readonly responsesByStatusCode: {
|
|
768
|
+
readonly '4xx': v.ObjectSchema<{
|
|
769
|
+
readonly error: v.ObjectSchema<{
|
|
770
|
+
readonly code: v.StringSchema<undefined>;
|
|
771
|
+
readonly message: v.StringSchema<undefined>;
|
|
772
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
773
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
774
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
775
|
+
readonly message: v.StringSchema<undefined>;
|
|
776
|
+
}, undefined>, undefined>, undefined>;
|
|
777
|
+
}, undefined>;
|
|
778
|
+
}, undefined>;
|
|
779
|
+
readonly '5xx': v.ObjectSchema<{
|
|
780
|
+
readonly error: v.ObjectSchema<{
|
|
781
|
+
readonly code: v.StringSchema<undefined>;
|
|
782
|
+
readonly message: v.StringSchema<undefined>;
|
|
783
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
784
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
785
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
786
|
+
readonly message: v.StringSchema<undefined>;
|
|
787
|
+
}, undefined>, undefined>, undefined>;
|
|
788
|
+
}, undefined>;
|
|
789
|
+
}, undefined>;
|
|
790
|
+
readonly 200: v.ObjectSchema<{
|
|
791
|
+
readonly runId: v.StringSchema<undefined>;
|
|
792
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
793
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
794
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
795
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
796
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
797
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
798
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
799
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
800
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
801
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
802
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
803
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
804
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
805
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
806
|
+
readonly title: v.StringSchema<undefined>;
|
|
807
|
+
readonly detail: v.StringSchema<undefined>;
|
|
808
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
809
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
810
|
+
}, undefined>, undefined>;
|
|
811
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
812
|
+
}, undefined>, v.ObjectSchema<{
|
|
813
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
814
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
815
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
816
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
817
|
+
readonly id: v.StringSchema<undefined>;
|
|
818
|
+
readonly title: v.StringSchema<undefined>;
|
|
819
|
+
readonly summary: v.StringSchema<undefined>;
|
|
820
|
+
readonly approach: v.StringSchema<undefined>;
|
|
821
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
822
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
823
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
824
|
+
}, undefined>, undefined>;
|
|
825
|
+
}, undefined>, v.ObjectSchema<{
|
|
826
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
827
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
828
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
829
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
830
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
831
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
832
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
833
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
834
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
835
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
836
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
837
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
838
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
839
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
840
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
841
|
+
}, undefined>, undefined>;
|
|
842
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
843
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
598
844
|
}, undefined>], undefined>, undefined>;
|
|
599
845
|
}, undefined>;
|
|
600
846
|
};
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"public-decisions.d.ts","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mapp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AAA;AAIF,mFAAmF;AACnF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAIF,yFAAyF;AACzF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,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, publicDecisionListSchema, publicIncorporateSchema, publicReplyFindingSchema, publicResolveExceededSchema, publicSetFindingStatusSchema, } from '../public-decisions.js';
|
|
3
|
+
import { publicChooseForkSchema, 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
|
|
@@ -87,4 +87,13 @@ export const choosePublicRunForkContract = defineApiContract({
|
|
|
87
87
|
requestBodySchema: publicChooseForkSchema,
|
|
88
88
|
responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
|
|
89
89
|
});
|
|
90
|
+
// ---- judge ------------------------------------------------------------------
|
|
91
|
+
/** Resolve a parked judge verdict: proceed anyway / bounce for rework / stop the run. */
|
|
92
|
+
export const resolvePublicRunJudgeContract = defineApiContract({
|
|
93
|
+
method: 'post',
|
|
94
|
+
requestPathParamsSchema: runIdParams,
|
|
95
|
+
pathResolver: ({ runId }) => `/api/v1/runs/${runId}/decisions/judge/resolve`,
|
|
96
|
+
requestBodySchema: publicResolveJudgeSchema,
|
|
97
|
+
responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
|
|
98
|
+
});
|
|
90
99
|
//# 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,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,8FAA8F;AAC9F,gGAAgG;AAChG,6DAA6D;AAC7D,EAAE;AACF,4FAA4F;AAC5F,iGAAiG;AACjG,8FAA8F;AAC9F,gBAAgB;AAChB,EAAE;AACF,6FAA6F;AAC7F,gFAAgF;AAChF,0DAA0D;AAC1D,8EAA8E;AAE9E,MAAM,WAAW,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAA;AAC9C,MAAM,aAAa,GAAG,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAA;AAEzF,iFAAiF;AACjF,MAAM,CAAC,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC9D,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,WAAW;IACpC,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,YAAY;IAC9D,qBAAqB,EAAE,EAAE,GAAG,EAAE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