@cat-factory/contracts 0.153.0 → 0.154.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.
- package/dist/execution.d.ts +34 -2
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +8 -0
- package/dist/execution.js.map +1 -1
- package/dist/notifications.d.ts +69 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +35 -0
- package/dist/notifications.js.map +1 -1
- package/dist/prReview.d.ts +124 -2
- package/dist/prReview.d.ts.map +1 -1
- package/dist/prReview.js +84 -0
- package/dist/prReview.js.map +1 -1
- package/dist/public-api.d.ts +8 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +20 -2
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +80 -8
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +10 -1
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +50 -5
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/notifications.d.ts +24 -3
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/prReview.d.ts +183 -2
- package/dist/routes/prReview.d.ts.map +1 -1
- package/dist/routes/prReview.js +23 -4
- package/dist/routes/prReview.js.map +1 -1
- package/dist/routes/public-api.d.ts +24 -3
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +30 -3
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +36 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +18 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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"], 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"], 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>;
|
|
@@ -67,6 +67,13 @@ export declare const listNotificationsContract: {
|
|
|
67
67
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
68
68
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
69
69
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
70
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
71
|
+
readonly source: v.StringSchema<undefined>;
|
|
72
|
+
readonly id: v.StringSchema<undefined>;
|
|
73
|
+
readonly label: v.StringSchema<undefined>;
|
|
74
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
75
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
76
|
+
}, undefined>, undefined>, undefined>;
|
|
70
77
|
}, undefined>, undefined>, undefined>;
|
|
71
78
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
72
79
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -107,7 +114,7 @@ export declare const actNotificationContract: {
|
|
|
107
114
|
}, undefined>;
|
|
108
115
|
readonly 200: v.ObjectSchema<{
|
|
109
116
|
readonly id: v.StringSchema<undefined>;
|
|
110
|
-
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"], undefined>;
|
|
117
|
+
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"], undefined>;
|
|
111
118
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
112
119
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
113
120
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -146,6 +153,13 @@ export declare const actNotificationContract: {
|
|
|
146
153
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
147
154
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
148
155
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
156
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
157
|
+
readonly source: v.StringSchema<undefined>;
|
|
158
|
+
readonly id: v.StringSchema<undefined>;
|
|
159
|
+
readonly label: v.StringSchema<undefined>;
|
|
160
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
161
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
162
|
+
}, undefined>, undefined>, undefined>;
|
|
149
163
|
}, undefined>, undefined>, undefined>;
|
|
150
164
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
151
165
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -186,7 +200,7 @@ export declare const dismissNotificationContract: {
|
|
|
186
200
|
}, undefined>;
|
|
187
201
|
readonly 200: v.ObjectSchema<{
|
|
188
202
|
readonly id: v.StringSchema<undefined>;
|
|
189
|
-
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"], undefined>;
|
|
203
|
+
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"], undefined>;
|
|
190
204
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
191
205
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
192
206
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -225,6 +239,13 @@ export declare const dismissNotificationContract: {
|
|
|
225
239
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
226
240
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
227
241
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
242
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
243
|
+
readonly source: v.StringSchema<undefined>;
|
|
244
|
+
readonly id: v.StringSchema<undefined>;
|
|
245
|
+
readonly label: v.StringSchema<undefined>;
|
|
246
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
247
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
248
|
+
}, undefined>, undefined>, undefined>;
|
|
228
249
|
}, undefined>, undefined>, undefined>;
|
|
229
250
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
230
251
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
1
2
|
import * as v from 'valibot';
|
|
2
3
|
export declare const getPrReviewContract: {
|
|
3
4
|
readonly method: "get";
|
|
@@ -31,7 +32,7 @@ export declare const getPrReviewContract: {
|
|
|
31
32
|
}, undefined>;
|
|
32
33
|
}, undefined>;
|
|
33
34
|
readonly 200: v.NullableSchema<v.ObjectSchema<{
|
|
34
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
35
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
35
36
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
36
37
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
37
38
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -50,6 +51,11 @@ export declare const getPrReviewContract: {
|
|
|
50
51
|
readonly title: v.StringSchema<undefined>;
|
|
51
52
|
readonly detail: v.StringSchema<undefined>;
|
|
52
53
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
54
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
55
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
56
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
57
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
58
|
+
}, undefined>, undefined>, undefined>;
|
|
53
59
|
}, undefined>, undefined>, readonly []>;
|
|
54
60
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
55
61
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -110,7 +116,177 @@ export declare const resolvePrReviewContract: {
|
|
|
110
116
|
}, undefined>;
|
|
111
117
|
}, undefined>;
|
|
112
118
|
readonly 200: v.ObjectSchema<{
|
|
113
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
119
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
120
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
121
|
+
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
122
|
+
readonly id: v.StringSchema<undefined>;
|
|
123
|
+
readonly title: v.StringSchema<undefined>;
|
|
124
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
125
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
126
|
+
}, undefined>, undefined>, readonly []>;
|
|
127
|
+
readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
128
|
+
readonly id: v.StringSchema<undefined>;
|
|
129
|
+
readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
130
|
+
readonly path: v.StringSchema<undefined>;
|
|
131
|
+
readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
132
|
+
readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
|
|
133
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
134
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
135
|
+
readonly title: v.StringSchema<undefined>;
|
|
136
|
+
readonly detail: v.StringSchema<undefined>;
|
|
137
|
+
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
138
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
139
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
140
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
141
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
142
|
+
}, undefined>, undefined>, undefined>;
|
|
143
|
+
}, undefined>, undefined>, readonly []>;
|
|
144
|
+
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
145
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
146
|
+
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
147
|
+
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
148
|
+
readonly reviewedHeadSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
149
|
+
readonly postReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
150
|
+
readonly attempted: v.NumberSchema<undefined>;
|
|
151
|
+
readonly posted: v.NumberSchema<undefined>;
|
|
152
|
+
readonly folded: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
153
|
+
readonly bodyPosted: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
154
|
+
readonly bodyError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
155
|
+
readonly failures: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
156
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
157
|
+
readonly path: v.StringSchema<undefined>;
|
|
158
|
+
readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
159
|
+
readonly reason: v.StringSchema<undefined>;
|
|
160
|
+
}, undefined>, undefined>, readonly []>;
|
|
161
|
+
}, undefined>, undefined>, undefined>;
|
|
162
|
+
readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
163
|
+
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
164
|
+
}, undefined>;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
/** Dismiss a parked finding entirely (removes it + prunes it from the selection). */
|
|
168
|
+
export declare const dismissPrReviewFindingContract: {
|
|
169
|
+
readonly method: "post";
|
|
170
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
171
|
+
readonly executionId: v.StringSchema<undefined>;
|
|
172
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
173
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
174
|
+
readonly pathResolver: ({ executionId, findingId }: {
|
|
175
|
+
executionId: string;
|
|
176
|
+
findingId: string;
|
|
177
|
+
}) => string;
|
|
178
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
179
|
+
readonly responsesByStatusCode: {
|
|
180
|
+
readonly '4xx': v.ObjectSchema<{
|
|
181
|
+
readonly error: v.ObjectSchema<{
|
|
182
|
+
readonly code: v.StringSchema<undefined>;
|
|
183
|
+
readonly message: v.StringSchema<undefined>;
|
|
184
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
185
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
186
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
187
|
+
readonly message: v.StringSchema<undefined>;
|
|
188
|
+
}, undefined>, undefined>, undefined>;
|
|
189
|
+
}, undefined>;
|
|
190
|
+
}, undefined>;
|
|
191
|
+
readonly '5xx': v.ObjectSchema<{
|
|
192
|
+
readonly error: v.ObjectSchema<{
|
|
193
|
+
readonly code: v.StringSchema<undefined>;
|
|
194
|
+
readonly message: v.StringSchema<undefined>;
|
|
195
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
196
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
197
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
198
|
+
readonly message: v.StringSchema<undefined>;
|
|
199
|
+
}, undefined>, undefined>, undefined>;
|
|
200
|
+
}, undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
readonly 200: v.ObjectSchema<{
|
|
203
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
204
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
205
|
+
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
206
|
+
readonly id: v.StringSchema<undefined>;
|
|
207
|
+
readonly title: v.StringSchema<undefined>;
|
|
208
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
209
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
210
|
+
}, undefined>, undefined>, readonly []>;
|
|
211
|
+
readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
212
|
+
readonly id: v.StringSchema<undefined>;
|
|
213
|
+
readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
214
|
+
readonly path: v.StringSchema<undefined>;
|
|
215
|
+
readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
216
|
+
readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
|
|
217
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
218
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
219
|
+
readonly title: v.StringSchema<undefined>;
|
|
220
|
+
readonly detail: v.StringSchema<undefined>;
|
|
221
|
+
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
222
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
223
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
224
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
225
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
226
|
+
}, undefined>, undefined>, undefined>;
|
|
227
|
+
}, undefined>, undefined>, readonly []>;
|
|
228
|
+
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
229
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
230
|
+
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
231
|
+
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
232
|
+
readonly reviewedHeadSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
233
|
+
readonly postReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
234
|
+
readonly attempted: v.NumberSchema<undefined>;
|
|
235
|
+
readonly posted: v.NumberSchema<undefined>;
|
|
236
|
+
readonly folded: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
237
|
+
readonly bodyPosted: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
238
|
+
readonly bodyError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
239
|
+
readonly failures: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
240
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
241
|
+
readonly path: v.StringSchema<undefined>;
|
|
242
|
+
readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
243
|
+
readonly reason: v.StringSchema<undefined>;
|
|
244
|
+
}, undefined>, undefined>, readonly []>;
|
|
245
|
+
}, undefined>, undefined>, undefined>;
|
|
246
|
+
readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
247
|
+
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
248
|
+
}, undefined>;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
/** Challenge a parked finding — dispatch the Challenge Investigator to re-examine it. */
|
|
252
|
+
export declare const challengePrReviewFindingContract: {
|
|
253
|
+
readonly method: "post";
|
|
254
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
255
|
+
readonly executionId: v.StringSchema<undefined>;
|
|
256
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
257
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
258
|
+
readonly pathResolver: ({ executionId, findingId }: {
|
|
259
|
+
executionId: string;
|
|
260
|
+
findingId: string;
|
|
261
|
+
}) => string;
|
|
262
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
263
|
+
readonly question: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
264
|
+
}, undefined>;
|
|
265
|
+
readonly responsesByStatusCode: {
|
|
266
|
+
readonly '4xx': v.ObjectSchema<{
|
|
267
|
+
readonly error: v.ObjectSchema<{
|
|
268
|
+
readonly code: v.StringSchema<undefined>;
|
|
269
|
+
readonly message: v.StringSchema<undefined>;
|
|
270
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
271
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
272
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
readonly message: v.StringSchema<undefined>;
|
|
274
|
+
}, undefined>, undefined>, undefined>;
|
|
275
|
+
}, undefined>;
|
|
276
|
+
}, undefined>;
|
|
277
|
+
readonly '5xx': v.ObjectSchema<{
|
|
278
|
+
readonly error: v.ObjectSchema<{
|
|
279
|
+
readonly code: v.StringSchema<undefined>;
|
|
280
|
+
readonly message: v.StringSchema<undefined>;
|
|
281
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
282
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
283
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
284
|
+
readonly message: v.StringSchema<undefined>;
|
|
285
|
+
}, undefined>, undefined>, undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
}, undefined>;
|
|
288
|
+
readonly 200: v.ObjectSchema<{
|
|
289
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
114
290
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
115
291
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
116
292
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -129,6 +305,11 @@ export declare const resolvePrReviewContract: {
|
|
|
129
305
|
readonly title: v.StringSchema<undefined>;
|
|
130
306
|
readonly detail: v.StringSchema<undefined>;
|
|
131
307
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
308
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
309
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
310
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
311
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
312
|
+
}, undefined>, undefined>, undefined>;
|
|
132
313
|
}, undefined>, undefined>, readonly []>;
|
|
133
314
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
134
315
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prReview.d.ts","sourceRoot":"","sources":["../../src/routes/prReview.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prReview.d.ts","sourceRoot":"","sources":["../../src/routes/prReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqB5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK9B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,qFAAqF;AACrF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOzC,CAAA;AAEF,yFAAyF;AACzF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3C,CAAA"}
|
package/dist/routes/prReview.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { defineApiContract } from '@toad-contracts/valibot';
|
|
1
|
+
import { ContractNoBody, defineApiContract, withObjectKeys } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { prReviewStepStateSchema, resolvePrReviewSchema } from '../prReview.js';
|
|
3
|
+
import { challengePrReviewFindingSchema, prReviewStepStateSchema, resolvePrReviewSchema, } from '../prReview.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// PR deep-review route contracts. Mounted under `/workspaces/:workspaceId`, so the
|
|
7
7
|
// paths here are relative to that prefix. The read returns the run's active PR-review
|
|
8
8
|
// state (or null when no `pr-reviewer` step carries one); `resolve` records the human's
|
|
9
|
-
// curated finding selection and completes the read-only review.
|
|
10
|
-
//
|
|
9
|
+
// curated finding selection and completes the read-only review. The per-finding
|
|
10
|
+
// `dismiss` / `challenge` endpoints let a human drop a finding entirely, or dispatch the
|
|
11
|
+
// Challenge Investigator to re-examine it (strengthen or retract). See PrReviewController
|
|
12
|
+
// in @cat-factory/server.
|
|
11
13
|
// ---------------------------------------------------------------------------
|
|
12
14
|
const executionIdParams = singleStringParam('executionId');
|
|
15
|
+
const findingParams = withObjectKeys(v.object({ executionId: v.string(), findingId: v.string() }));
|
|
13
16
|
export const getPrReviewContract = defineApiContract({
|
|
14
17
|
method: 'get',
|
|
15
18
|
requestPathParamsSchema: executionIdParams,
|
|
@@ -23,4 +26,20 @@ export const resolvePrReviewContract = defineApiContract({
|
|
|
23
26
|
requestBodySchema: resolvePrReviewSchema,
|
|
24
27
|
responsesByStatusCode: { 200: prReviewStepStateSchema, ...errorResponses },
|
|
25
28
|
});
|
|
29
|
+
/** Dismiss a parked finding entirely (removes it + prunes it from the selection). */
|
|
30
|
+
export const dismissPrReviewFindingContract = defineApiContract({
|
|
31
|
+
method: 'post',
|
|
32
|
+
requestPathParamsSchema: findingParams,
|
|
33
|
+
pathResolver: ({ executionId, findingId }) => `/executions/${executionId}/pr-review/findings/${findingId}/dismiss`,
|
|
34
|
+
requestBodySchema: ContractNoBody,
|
|
35
|
+
responsesByStatusCode: { 200: prReviewStepStateSchema, ...errorResponses },
|
|
36
|
+
});
|
|
37
|
+
/** Challenge a parked finding — dispatch the Challenge Investigator to re-examine it. */
|
|
38
|
+
export const challengePrReviewFindingContract = defineApiContract({
|
|
39
|
+
method: 'post',
|
|
40
|
+
requestPathParamsSchema: findingParams,
|
|
41
|
+
pathResolver: ({ executionId, findingId }) => `/executions/${executionId}/pr-review/findings/${findingId}/challenge`,
|
|
42
|
+
requestBodySchema: challengePrReviewFindingSchema,
|
|
43
|
+
responsesByStatusCode: { 200: prReviewStepStateSchema, ...errorResponses },
|
|
44
|
+
});
|
|
26
45
|
//# sourceMappingURL=prReview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prReview.js","sourceRoot":"","sources":["../../src/routes/prReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"prReview.js","sourceRoot":"","sources":["../../src/routes/prReview.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,8BAA8B,EAC9B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,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AE,CAC3C,eAAe,WAAW,uBAAuB,SAAS,UAAU;IACtE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CAAA;AAEF,yFAAyF;AACzF,MAAM,CAAC,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAChE,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,CAC3C,eAAe,WAAW,uBAAuB,SAAS,YAAY;IACxE,iBAAiB,EAAE,8BAA8B;IACjD,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CAAA"}
|
|
@@ -739,7 +739,7 @@ export declare const listPublicNotificationsContract: {
|
|
|
739
739
|
readonly 200: import("valibot").ObjectSchema<{
|
|
740
740
|
readonly notifications: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
741
741
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
742
|
-
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"], undefined>;
|
|
742
|
+
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"], undefined>;
|
|
743
743
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
744
744
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
745
745
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -778,6 +778,13 @@ export declare const listPublicNotificationsContract: {
|
|
|
778
778
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
779
779
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
780
780
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
781
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
782
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
783
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
784
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
785
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
786
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
787
|
+
}, undefined>, undefined>, undefined>;
|
|
781
788
|
}, undefined>, undefined>, undefined>;
|
|
782
789
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
783
790
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -820,7 +827,7 @@ export declare const actPublicNotificationContract: {
|
|
|
820
827
|
}, undefined>;
|
|
821
828
|
readonly 200: import("valibot").ObjectSchema<{
|
|
822
829
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
823
|
-
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"], undefined>;
|
|
830
|
+
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"], undefined>;
|
|
824
831
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
825
832
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
826
833
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -859,6 +866,13 @@ export declare const actPublicNotificationContract: {
|
|
|
859
866
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
860
867
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
861
868
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
869
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
870
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
871
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
872
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
873
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
874
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
875
|
+
}, undefined>, undefined>, undefined>;
|
|
862
876
|
}, undefined>, undefined>, undefined>;
|
|
863
877
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
864
878
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -900,7 +914,7 @@ export declare const dismissPublicNotificationContract: {
|
|
|
900
914
|
}, undefined>;
|
|
901
915
|
readonly 200: import("valibot").ObjectSchema<{
|
|
902
916
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
903
|
-
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"], undefined>;
|
|
917
|
+
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"], undefined>;
|
|
904
918
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
905
919
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
906
920
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -939,6 +953,13 @@ export declare const dismissPublicNotificationContract: {
|
|
|
939
953
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
940
954
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
941
955
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
956
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
957
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
958
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
959
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
960
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
961
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
962
|
+
}, undefined>, undefined>, undefined>;
|
|
942
963
|
}, undefined>, undefined>, undefined>;
|
|
943
964
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
944
965
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAyC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAIF,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,qCAAqC;AACrC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;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;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,yFAAyF;AACzF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAIF,kFAAkF;AAClF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AASF,2DAA2D;AAC3D,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI1C,CAAA;AAEF,mGAAmG;AACnG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA;AAEF,mDAAmD;AACnD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA"}
|
package/dist/routes/slack.d.ts
CHANGED
|
@@ -200,7 +200,7 @@ export declare const getSlackSettingsContract: {
|
|
|
200
200
|
}, undefined>;
|
|
201
201
|
}, undefined>;
|
|
202
202
|
readonly 200: v.ObjectSchema<{
|
|
203
|
-
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
203
|
+
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
204
204
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
205
205
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
206
206
|
}, undefined>, undefined>;
|
|
@@ -213,7 +213,7 @@ export declare const updateSlackSettingsContract: {
|
|
|
213
213
|
readonly method: "put";
|
|
214
214
|
readonly pathResolver: () => string;
|
|
215
215
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
216
|
-
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
216
|
+
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
217
217
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
218
218
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
219
219
|
}, undefined>, undefined>;
|
|
@@ -243,7 +243,7 @@ export declare const updateSlackSettingsContract: {
|
|
|
243
243
|
}, undefined>;
|
|
244
244
|
}, undefined>;
|
|
245
245
|
readonly 200: v.ObjectSchema<{
|
|
246
|
-
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
246
|
+
readonly routes: v.RecordSchema<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"], undefined>, v.ObjectSchema<{
|
|
247
247
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
248
248
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
249
249
|
}, undefined>, undefined>;
|
|
@@ -411,7 +411,7 @@ export declare const approveVisualConfirmContract: {
|
|
|
411
411
|
readonly messageId: v.StringSchema<undefined>;
|
|
412
412
|
}, undefined>, undefined>, undefined>;
|
|
413
413
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
414
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
414
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
415
415
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
416
416
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
417
417
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -430,6 +430,11 @@ export declare const approveVisualConfirmContract: {
|
|
|
430
430
|
readonly title: v.StringSchema<undefined>;
|
|
431
431
|
readonly detail: v.StringSchema<undefined>;
|
|
432
432
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
433
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
434
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
435
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
436
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
437
|
+
}, undefined>, undefined>, undefined>;
|
|
433
438
|
}, undefined>, undefined>, readonly []>;
|
|
434
439
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
435
440
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -453,6 +458,10 @@ export declare const approveVisualConfirmContract: {
|
|
|
453
458
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
454
459
|
}, undefined>, undefined>, undefined>;
|
|
455
460
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
461
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
462
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
463
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
464
|
+
}, undefined>, undefined>, undefined>;
|
|
456
465
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
457
466
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
458
467
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1222,7 +1231,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1222
1231
|
readonly messageId: v.StringSchema<undefined>;
|
|
1223
1232
|
}, undefined>, undefined>, undefined>;
|
|
1224
1233
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1225
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
1234
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
1226
1235
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1227
1236
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1228
1237
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1241,6 +1250,11 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1241
1250
|
readonly title: v.StringSchema<undefined>;
|
|
1242
1251
|
readonly detail: v.StringSchema<undefined>;
|
|
1243
1252
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1253
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1254
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
1255
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1256
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1257
|
+
}, undefined>, undefined>, undefined>;
|
|
1244
1258
|
}, undefined>, undefined>, readonly []>;
|
|
1245
1259
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
1246
1260
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -1264,6 +1278,10 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1264
1278
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1265
1279
|
}, undefined>, undefined>, undefined>;
|
|
1266
1280
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1281
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1282
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
1283
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1284
|
+
}, undefined>, undefined>, undefined>;
|
|
1267
1285
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1268
1286
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
1269
1287
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -2031,7 +2049,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2031
2049
|
readonly messageId: v.StringSchema<undefined>;
|
|
2032
2050
|
}, undefined>, undefined>, undefined>;
|
|
2033
2051
|
readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2034
|
-
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
|
|
2052
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
2035
2053
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2036
2054
|
readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2037
2055
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -2050,6 +2068,11 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2050
2068
|
readonly title: v.StringSchema<undefined>;
|
|
2051
2069
|
readonly detail: v.StringSchema<undefined>;
|
|
2052
2070
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2071
|
+
readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2072
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
2073
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2074
|
+
readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2075
|
+
}, undefined>, undefined>, undefined>;
|
|
2053
2076
|
}, undefined>, undefined>, readonly []>;
|
|
2054
2077
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
2055
2078
|
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
@@ -2073,6 +2096,10 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2073
2096
|
readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
2074
2097
|
}, undefined>, undefined>, undefined>;
|
|
2075
2098
|
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
2099
|
+
readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2100
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
2101
|
+
readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2102
|
+
}, undefined>, undefined>, undefined>;
|
|
2076
2103
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2077
2104
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
2078
2105
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EA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