@cat-factory/contracts 0.153.0 → 0.154.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.
@@ -1 +1 @@
1
- {"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK9B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA"}
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"}
@@ -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. See PrReviewController in
10
- // @cat-factory/server.
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;AAC3D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE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AqB,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"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
@@ -872,7 +872,7 @@ export declare const createWorkspaceContract: {
872
872
  readonly messageId: v.StringSchema<undefined>;
873
873
  }, undefined>, undefined>, undefined>;
874
874
  readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
875
- readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
875
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
876
876
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
877
877
  readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
878
878
  readonly id: v.StringSchema<undefined>;
@@ -891,6 +891,11 @@ export declare const createWorkspaceContract: {
891
891
  readonly title: v.StringSchema<undefined>;
892
892
  readonly detail: v.StringSchema<undefined>;
893
893
  readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
894
+ readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
895
+ readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
896
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
897
+ readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
898
+ }, undefined>, undefined>, undefined>;
894
899
  }, undefined>, undefined>, readonly []>;
895
900
  readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
896
901
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
@@ -914,6 +919,10 @@ export declare const createWorkspaceContract: {
914
919
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
915
920
  }, undefined>, undefined>, undefined>;
916
921
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
922
+ readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
923
+ readonly findingId: v.StringSchema<undefined>;
924
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
925
+ }, undefined>, undefined>, undefined>;
917
926
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
918
927
  readonly previousProposal: v.StringSchema<undefined>;
919
928
  readonly feedback: v.StringSchema<undefined>;
@@ -3133,7 +3142,7 @@ export declare const getWorkspaceContract: {
3133
3142
  readonly messageId: v.StringSchema<undefined>;
3134
3143
  }, undefined>, undefined>, undefined>;
3135
3144
  readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3136
- readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
3145
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
3137
3146
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3138
3147
  readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3139
3148
  readonly id: v.StringSchema<undefined>;
@@ -3152,6 +3161,11 @@ export declare const getWorkspaceContract: {
3152
3161
  readonly title: v.StringSchema<undefined>;
3153
3162
  readonly detail: v.StringSchema<undefined>;
3154
3163
  readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3164
+ readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3165
+ readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
3166
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3167
+ readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3168
+ }, undefined>, undefined>, undefined>;
3155
3169
  }, undefined>, undefined>, readonly []>;
3156
3170
  readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
3157
3171
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
@@ -3175,6 +3189,10 @@ export declare const getWorkspaceContract: {
3175
3189
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
3176
3190
  }, undefined>, undefined>, undefined>;
3177
3191
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
3192
+ readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3193
+ readonly findingId: v.StringSchema<undefined>;
3194
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3195
+ }, undefined>, undefined>, undefined>;
3178
3196
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3179
3197
  readonly previousProposal: v.StringSchema<undefined>;
3180
3198
  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efined>;
800
800
  }, undefined>, undefined>, undefined>;
801
801
  readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
802
- readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "fixing", "posting", "done", "skipped"], undefined>;
802
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
803
803
  readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
804
804
  readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
805
805
  readonly id: v.StringSchema<undefined>;
@@ -818,6 +818,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
818
818
  readonly title: v.StringSchema<undefined>;
819
819
  readonly detail: v.StringSchema<undefined>;
820
820
  readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
821
+ readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
822
+ readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
823
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
824
+ readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
825
+ }, undefined>, undefined>, undefined>;
821
826
  }, undefined>, undefined>, readonly []>;
822
827
  readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
823
828
  readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
@@ -841,6 +846,10 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
841
846
  readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
842
847
  }, undefined>, undefined>, undefined>;
843
848
  readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
849
+ readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
850
+ readonly findingId: v.StringSchema<undefined>;
851
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
852
+ }, undefined>, undefined>, undefined>;
844
853
  readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
845
854
  readonly previousProposal: v.StringSchema<undefined>;
846
855
  readonly feedback: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.153.0",
3
+ "version": "0.154.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",