@cat-factory/contracts 0.286.0 → 0.287.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.
@@ -231,7 +231,7 @@ export declare const debugRunStepSchema: v.ObjectSchema<{
231
231
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
232
232
  readonly id: v.StringSchema<undefined>;
233
233
  readonly label: v.StringSchema<undefined>;
234
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
234
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
235
235
  }, undefined>, undefined>;
236
236
  readonly agentKind: v.StringSchema<undefined>;
237
237
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -498,7 +498,7 @@ export declare const debugRunOverviewSchema: v.ObjectSchema<{
498
498
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
499
499
  readonly id: v.StringSchema<undefined>;
500
500
  readonly label: v.StringSchema<undefined>;
501
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
501
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
502
502
  }, undefined>, undefined>;
503
503
  readonly agentKind: v.StringSchema<undefined>;
504
504
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1921,7 +1921,7 @@ export declare const pipelineStepSchema: v.ObjectSchema<{
1921
1921
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1922
1922
  readonly id: v.StringSchema<undefined>;
1923
1923
  readonly label: v.StringSchema<undefined>;
1924
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1924
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1925
1925
  }, undefined>, undefined>;
1926
1926
  readonly agentKind: v.StringSchema<undefined>;
1927
1927
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -3704,7 +3704,7 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
3704
3704
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
3705
3705
  readonly id: v.StringSchema<undefined>;
3706
3706
  readonly label: v.StringSchema<undefined>;
3707
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3707
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3708
3708
  }, undefined>, undefined>;
3709
3709
  readonly agentKind: v.StringSchema<undefined>;
3710
3710
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -43,6 +43,10 @@ export declare const PUBLIC_SPEC_MAX_ISSUES = 200;
43
43
  * than the one named. A null means the head could not be resolved at all: the tree below is still
44
44
  * what the branch held, we simply cannot name the commit.
45
45
  *
46
+ * Shared by both reads, which is why `ref` is the field a caller must actually look at rather than
47
+ * assume: WHICH branch each one answers is the distinction between them (see
48
+ * {@link publicRunSpecSchema}).
49
+ *
46
50
  * There is no `directory` here, and its absence is the fact: the `spec/` tree is anchored at the
47
51
  * REPOSITORY ROOT, so two services carved out of one monorepo share one spec. Naming a
48
52
  * subdirectory would imply a scoping the reader does not apply.
@@ -53,7 +57,13 @@ export declare const publicSpecProvenanceSchema: v.ObjectSchema<{
53
57
  readonly owner: v.StringSchema<undefined>;
54
58
  /** The repository's name. */
55
59
  readonly repo: v.StringSchema<undefined>;
56
- /** The branch the spec was read from: the repository's default branch. */
60
+ /**
61
+ * The branch the spec was read from, named rather than implied because the two reads answer at
62
+ * different refs: the repository's default branch for a service read, and the branch the run
63
+ * pushed its work to for a run read. A run read names the default branch when the run opened no
64
+ * pull request, and when the one it opened has had its head branch deleted (the usual sequel to
65
+ * a merge), which is the same tree under its surviving name.
66
+ */
57
67
  readonly ref: v.StringSchema<undefined>;
58
68
  /** The head commit of `ref` at read time, or null when it could not be resolved. */
59
69
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -201,7 +211,13 @@ export declare const publicServiceSpecSchema: v.ObjectSchema<{
201
211
  readonly owner: v.StringSchema<undefined>;
202
212
  /** The repository's name. */
203
213
  readonly repo: v.StringSchema<undefined>;
204
- /** The branch the spec was read from: the repository's default branch. */
214
+ /**
215
+ * The branch the spec was read from, named rather than implied because the two reads answer at
216
+ * different refs: the repository's default branch for a service read, and the branch the run
217
+ * pushed its work to for a run read. A run read names the default branch when the run opened no
218
+ * pull request, and when the one it opened has had its head branch deleted (the usual sequel to
219
+ * a merge), which is the same tree under its surviving name.
220
+ */
205
221
  readonly ref: v.StringSchema<undefined>;
206
222
  /** The head commit of `ref` at read time, or null when it could not be resolved. */
207
223
  readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -229,4 +245,138 @@ export declare const publicServiceSpecSchema: v.ObjectSchema<{
229
245
  }, undefined>, undefined>;
230
246
  }, undefined>;
231
247
  export type PublicServiceSpec = v.InferOutput<typeof publicServiceSpecSchema>;
248
+ /**
249
+ * How the presence anchor resolved for a RUN's spec, for a caller that got a `200`.
250
+ *
251
+ * {@link publicSpecAnchorSchema} plus `not_read`, which is a fact about the RUN rather than about
252
+ * the repository and therefore cannot occur on the service-scoped read:
253
+ *
254
+ * - `not_read` — nothing was read. The run's spec read is gated on a tester having reported, so
255
+ * that the tree served is the one the verdicts were made against; before that point the
256
+ * platform has consulted no tree, which is exactly what `requirements.spec: "not_read"` on the
257
+ * same run's outcome summary already says. `provenance` is null, because there is no snapshot
258
+ * to name.
259
+ *
260
+ * A separate picklist rather than a fourth member on the service one: `not_read` is unreachable
261
+ * there, and an enum carrying a value its endpoint can never answer is a state consumers write
262
+ * dead branches for.
263
+ */
264
+ export declare const publicRunSpecAnchorSchema: v.PicklistSchema<["present", "absent", "unparsed", "not_read"], undefined>;
265
+ export type PublicRunSpecAnchor = v.InferOutput<typeof publicRunSpecAnchorSchema>;
266
+ /**
267
+ * The spec ONE RUN was judged against, as `/api/v1` serves it.
268
+ *
269
+ * The sibling of {@link publicServiceSpecSchema} rather than a flag on it, for the reason the
270
+ * internal pair already splits on: they answer different questions. The service read answers "what
271
+ * does this service require", from the repository's DEFAULT branch. This answers "what did this run
272
+ * rule on", from the branch the run pushed its work to, which is a different tree for as long as
273
+ * the pull request is open. A caller joining `requirements` rows on `/api/v1/runs/:runId/outcome`
274
+ * or `…/report` back to the criteria they were scored against needs THIS one: every requirement the
275
+ * run itself added is missing from the default branch, so the service read leaves each of those
276
+ * verdicts unjoinable.
277
+ *
278
+ * Same body as the service read (the tree, the Gherkin, the issues, the caps), because it is the
279
+ * same document read at a different ref, and two wire shapes over one artifact are two things to
280
+ * keep in step. What differs is the key (`runId`), the fourth {@link publicRunSpecAnchorSchema}
281
+ * state, and a nullable `provenance`.
282
+ */
283
+ export declare const publicRunSpecSchema: v.ObjectSchema<{
284
+ /** The run this spec was read for, echoed so a response stands alone. */
285
+ readonly runId: v.StringSchema<undefined>;
286
+ /**
287
+ * What the RUN's branch holds where the spec should be, or `not_read` when the platform has
288
+ * consulted no tree for this run yet. `spec` is non-null exactly when this is `present`.
289
+ */
290
+ readonly anchor: v.PicklistSchema<["present", "absent", "unparsed", "not_read"], undefined>;
291
+ /** The structured tree, or null when `anchor` is not `present`. */
292
+ readonly spec: v.NullableSchema<v.ObjectSchema<{
293
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
294
+ readonly modules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
295
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
296
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
297
+ readonly groups: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
298
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
299
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
300
+ readonly requirements: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
301
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
302
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
303
+ readonly statement: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
304
+ readonly kind: v.PicklistSchema<["functional", "nonfunctional", "constraint"], undefined>;
305
+ readonly priority: v.PicklistSchema<["must", "should", "could"], undefined>;
306
+ readonly state: v.OptionalSchema<v.PicklistSchema<["aspirational", "established"], undefined>, "aspirational">;
307
+ readonly sourceBlockIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, readonly []>;
308
+ readonly acceptance: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
309
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
310
+ readonly given: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
311
+ readonly when: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
312
+ readonly outcome: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
313
+ }, undefined>, undefined>, readonly []>;
314
+ }, undefined>, undefined>, readonly []>;
315
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
316
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
317
+ readonly rule: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
318
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
319
+ readonly sourceBlockIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, readonly []>;
320
+ }, undefined>, undefined>, readonly []>;
321
+ }, undefined>, undefined>, readonly []>;
322
+ }, undefined>, undefined>, readonly []>;
323
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 120, undefined>]>, "">;
324
+ }, undefined>, undefined>;
325
+ /** The rendered Gherkin, one entry per `.feature` file. */
326
+ readonly features: v.ArraySchema<v.ObjectSchema<{
327
+ /** The owning module's display name. */
328
+ readonly module: v.StringSchema<undefined>;
329
+ /** The feature/group display name. */
330
+ readonly group: v.StringSchema<undefined>;
331
+ /** Repo-relative path of the `.feature` file. */
332
+ readonly path: v.StringSchema<undefined>;
333
+ /** The Gherkin, clamped to {@link PUBLIC_SPEC_MAX_FEATURE_CHARS}. */
334
+ readonly content: v.StringSchema<undefined>;
335
+ /** Characters actually returned in `content`. */
336
+ readonly chars: v.NumberSchema<undefined>;
337
+ /** Characters the file holds in the repository, whatever was returned. */
338
+ readonly totalChars: v.NumberSchema<undefined>;
339
+ /** True when `chars < totalChars`. */
340
+ readonly truncated: v.BooleanSchema<undefined>;
341
+ }, undefined>, undefined>;
342
+ /**
343
+ * Where the tree was read from: the RUN's branch (its pull request's head while one is open, the
344
+ * repository default otherwise) and the commit it was at.
345
+ *
346
+ * Null exactly when `anchor` is `not_read`, and that is the whole reason it is nullable: there is
347
+ * no snapshot to name, and naming the branch anyway would imply a read that did not happen.
348
+ */
349
+ readonly provenance: v.NullableSchema<v.ObjectSchema<{
350
+ readonly provider: v.PicklistSchema<["github", "gitlab"], undefined>;
351
+ /** The repository's owner (org or user). */
352
+ readonly owner: v.StringSchema<undefined>;
353
+ /** The repository's name. */
354
+ readonly repo: v.StringSchema<undefined>;
355
+ /**
356
+ * The branch the spec was read from, named rather than implied because the two reads answer at
357
+ * different refs: the repository's default branch for a service read, and the branch the run
358
+ * pushed its work to for a run read. A run read names the default branch when the run opened no
359
+ * pull request, and when the one it opened has had its head branch deleted (the usual sequel to
360
+ * a merge), which is the same tree under its surviving name.
361
+ */
362
+ readonly ref: v.StringSchema<undefined>;
363
+ /** The head commit of `ref` at read time, or null when it could not be resolved. */
364
+ readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
365
+ }, undefined>, undefined>;
366
+ /** Files the read could not fully account for. Capped at {@link PUBLIC_SPEC_MAX_ISSUES}. */
367
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
368
+ readonly path: v.StringSchema<undefined>;
369
+ readonly kind: v.PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
370
+ readonly dropped: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, 0>;
371
+ }, undefined>, undefined>;
372
+ /** Every cap that bit. Empty when nothing was left out. */
373
+ readonly truncations: v.ArraySchema<v.ObjectSchema<{
374
+ readonly section: v.PicklistSchema<["requirements", "rules", "acceptance", "features", "issues"], undefined>;
375
+ /** How many rows the response carries. */
376
+ readonly shown: v.NumberSchema<undefined>;
377
+ /** How many rows the spec holds. */
378
+ readonly total: v.NumberSchema<undefined>;
379
+ }, undefined>, undefined>;
380
+ }, undefined>;
381
+ export type PublicRunSpec = v.InferOutput<typeof publicRunSpecSchema>;
232
382
  //# sourceMappingURL=public-spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-spec.d.ts","sourceRoot":"","sources":["../src/public-spec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8C5B,iFAAiF;AACjF,eAAO,MAAM,4BAA4B,OAAQ,CAAA;AAEjD,iFAAiF;AACjF,eAAO,MAAM,qBAAqB,OAAQ,CAAA;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,OAAQ,CAAA;AAE/C,4EAA4E;AAC5E,eAAO,MAAM,6BAA6B,MAAM,CAAA;AAEhD,uEAAuE;AACvE,eAAO,MAAM,6BAA6B,QAAS,CAAA;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,mCAAmC,UAAY,CAAA;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,MAAM,CAAA;AAEzC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;;IAErC,4CAA4C;;IAE5C,6BAA6B;;IAE7B,0EAA0E;;IAE1E,oFAAoF;;aAEpF,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAA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;;;;;;OAMG;;;QAzLH,4CAA4C;;QAE5C,6BAA6B;;QAE7B;;;;;;WAMG;;QAEH,oFAAoF;;;IA+KpF,4FAA4F;;;;;;IAE5F,2DAA2D;;;QA/H3D,0CAA0C;;QAE1C,oCAAoC;;;aA+HpC,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
@@ -2,7 +2,10 @@ import * as v from 'valibot';
2
2
  import { vcsProviderSchema } from './routes/auth.js';
3
3
  import { readSpecDocSchema, specReadIssueSchema } from './spec.js';
4
4
  // ---------------------------------------------------------------------------
5
- // The public read of a service's in-repo SPECIFICATION (`GET /api/v1/services/:serviceId/spec`).
5
+ // The public reads of the in-repo SPECIFICATION: a service's, from the repository's default branch
6
+ // (`GET /api/v1/services/:serviceId/spec`), and a run's, from the branch that run pushed its work
7
+ // to (`GET /api/v1/runs/:runId/spec`). Everything below describes the first; the second carries the
8
+ // same body at a different ref, and {@link publicRunSpecSchema} states what it changes and why.
6
9
  //
7
10
  // The spec is the platform's requirements truth: structured requirement items with a MoSCoW
8
11
  // priority, an `aspirational ⇄ established` lifecycle state and Gherkin-shaped acceptance
@@ -86,6 +89,10 @@ export const PUBLIC_SPEC_MAX_ISSUES = 200;
86
89
  * than the one named. A null means the head could not be resolved at all: the tree below is still
87
90
  * what the branch held, we simply cannot name the commit.
88
91
  *
92
+ * Shared by both reads, which is why `ref` is the field a caller must actually look at rather than
93
+ * assume: WHICH branch each one answers is the distinction between them (see
94
+ * {@link publicRunSpecSchema}).
95
+ *
89
96
  * There is no `directory` here, and its absence is the fact: the `spec/` tree is anchored at the
90
97
  * REPOSITORY ROOT, so two services carved out of one monorepo share one spec. Naming a
91
98
  * subdirectory would imply a scoping the reader does not apply.
@@ -96,7 +103,13 @@ export const publicSpecProvenanceSchema = v.object({
96
103
  owner: v.string(),
97
104
  /** The repository's name. */
98
105
  repo: v.string(),
99
- /** The branch the spec was read from: the repository's default branch. */
106
+ /**
107
+ * The branch the spec was read from, named rather than implied because the two reads answer at
108
+ * different refs: the repository's default branch for a service read, and the branch the run
109
+ * pushed its work to for a run read. A run read names the default branch when the run opened no
110
+ * pull request, and when the one it opened has had its head branch deleted (the usual sequel to
111
+ * a merge), which is the same tree under its surviving name.
112
+ */
100
113
  ref: v.string(),
101
114
  /** The head commit of `ref` at read time, or null when it could not be resolved. */
102
115
  commit: v.nullable(v.string()),
@@ -205,4 +218,63 @@ export const publicServiceSpecSchema = v.object({
205
218
  /** Every cap that bit. Empty when nothing was left out. */
206
219
  truncations: v.array(publicSpecTruncationSchema),
207
220
  });
221
+ /**
222
+ * How the presence anchor resolved for a RUN's spec, for a caller that got a `200`.
223
+ *
224
+ * {@link publicSpecAnchorSchema} plus `not_read`, which is a fact about the RUN rather than about
225
+ * the repository and therefore cannot occur on the service-scoped read:
226
+ *
227
+ * - `not_read` — nothing was read. The run's spec read is gated on a tester having reported, so
228
+ * that the tree served is the one the verdicts were made against; before that point the
229
+ * platform has consulted no tree, which is exactly what `requirements.spec: "not_read"` on the
230
+ * same run's outcome summary already says. `provenance` is null, because there is no snapshot
231
+ * to name.
232
+ *
233
+ * A separate picklist rather than a fourth member on the service one: `not_read` is unreachable
234
+ * there, and an enum carrying a value its endpoint can never answer is a state consumers write
235
+ * dead branches for.
236
+ */
237
+ export const publicRunSpecAnchorSchema = v.picklist(['present', 'absent', 'unparsed', 'not_read']);
238
+ /**
239
+ * The spec ONE RUN was judged against, as `/api/v1` serves it.
240
+ *
241
+ * The sibling of {@link publicServiceSpecSchema} rather than a flag on it, for the reason the
242
+ * internal pair already splits on: they answer different questions. The service read answers "what
243
+ * does this service require", from the repository's DEFAULT branch. This answers "what did this run
244
+ * rule on", from the branch the run pushed its work to, which is a different tree for as long as
245
+ * the pull request is open. A caller joining `requirements` rows on `/api/v1/runs/:runId/outcome`
246
+ * or `…/report` back to the criteria they were scored against needs THIS one: every requirement the
247
+ * run itself added is missing from the default branch, so the service read leaves each of those
248
+ * verdicts unjoinable.
249
+ *
250
+ * Same body as the service read (the tree, the Gherkin, the issues, the caps), because it is the
251
+ * same document read at a different ref, and two wire shapes over one artifact are two things to
252
+ * keep in step. What differs is the key (`runId`), the fourth {@link publicRunSpecAnchorSchema}
253
+ * state, and a nullable `provenance`.
254
+ */
255
+ export const publicRunSpecSchema = v.object({
256
+ /** The run this spec was read for, echoed so a response stands alone. */
257
+ runId: v.string(),
258
+ /**
259
+ * What the RUN's branch holds where the spec should be, or `not_read` when the platform has
260
+ * consulted no tree for this run yet. `spec` is non-null exactly when this is `present`.
261
+ */
262
+ anchor: publicRunSpecAnchorSchema,
263
+ /** The structured tree, or null when `anchor` is not `present`. */
264
+ spec: v.nullable(readSpecDocSchema),
265
+ /** The rendered Gherkin, one entry per `.feature` file. */
266
+ features: v.array(publicSpecFeatureFileSchema),
267
+ /**
268
+ * Where the tree was read from: the RUN's branch (its pull request's head while one is open, the
269
+ * repository default otherwise) and the commit it was at.
270
+ *
271
+ * Null exactly when `anchor` is `not_read`, and that is the whole reason it is nullable: there is
272
+ * no snapshot to name, and naming the branch anyway would imply a read that did not happen.
273
+ */
274
+ provenance: v.nullable(publicSpecProvenanceSchema),
275
+ /** Files the read could not fully account for. Capped at {@link PUBLIC_SPEC_MAX_ISSUES}. */
276
+ issues: v.array(specReadIssueSchema),
277
+ /** Every cap that bit. Empty when nothing was left out. */
278
+ truncations: v.array(publicSpecTruncationSchema),
279
+ });
208
280
  //# sourceMappingURL=public-spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-spec.js","sourceRoot":"","sources":["../src/public-spec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAElE,8EAA8E;AAC9E,iGAAiG;AACjG,EAAE;AACF,4FAA4F;AAC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AmB,CAAC;IACpC,2DAA2D;IAC3D,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CACjD,CAAC,CAAA;AAGF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAA;AAGlG;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,yEAAyE;IACzE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB;;;OAGG;IACH,MAAM,EAAE,yBAAyB;IACjC,mEAAmE;IACnE,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IACnC,2DAA2D;IAC3D,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;IAC9C;;;;;;OAMG;IACH,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IAClD,4FAA4F;IAC5F,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;IACpC,2DAA2D;IAC3D,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CACjD,CAAC,CAAA"}
@@ -779,7 +779,7 @@ export declare const retryAgentRunContract: {
779
779
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
780
780
  readonly id: v.StringSchema<undefined>;
781
781
  readonly label: v.StringSchema<undefined>;
782
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
782
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
783
783
  }, undefined>, undefined>;
784
784
  readonly agentKind: v.StringSchema<undefined>;
785
785
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -2046,7 +2046,7 @@ export declare const stopAgentRunContract: {
2046
2046
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
2047
2047
  readonly id: v.StringSchema<undefined>;
2048
2048
  readonly label: v.StringSchema<undefined>;
2049
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
2049
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
2050
2050
  }, undefined>, undefined>;
2051
2051
  readonly agentKind: v.StringSchema<undefined>;
2052
2052
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1094,7 +1094,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1094
1094
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1095
1095
  readonly id: v.StringSchema<undefined>;
1096
1096
  readonly label: v.StringSchema<undefined>;
1097
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1097
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1098
1098
  }, undefined>, undefined>;
1099
1099
  readonly agentKind: v.StringSchema<undefined>;
1100
1100
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -2778,7 +2778,7 @@ export declare const adoptBugHuntCandidateContract: {
2778
2778
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
2779
2779
  readonly id: v.StringSchema<undefined>;
2780
2780
  readonly label: v.StringSchema<undefined>;
2781
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
2781
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
2782
2782
  }, undefined>, undefined>;
2783
2783
  readonly agentKind: v.StringSchema<undefined>;
2784
2784
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -166,7 +166,7 @@ export declare const getDebugRunContract: {
166
166
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
167
167
  readonly id: import("valibot").StringSchema<undefined>;
168
168
  readonly label: import("valibot").StringSchema<undefined>;
169
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
169
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
170
170
  }, undefined>, undefined>;
171
171
  readonly agentKind: import("valibot").StringSchema<undefined>;
172
172
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -797,7 +797,7 @@ export declare const startExecutionContract: {
797
797
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
798
798
  readonly id: v.StringSchema<undefined>;
799
799
  readonly label: v.StringSchema<undefined>;
800
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
800
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
801
801
  }, undefined>, undefined>;
802
802
  readonly agentKind: v.StringSchema<undefined>;
803
803
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1984,7 +1984,7 @@ export declare const startAgentKindExecutionContract: {
1984
1984
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1985
1985
  readonly id: v.StringSchema<undefined>;
1986
1986
  readonly label: v.StringSchema<undefined>;
1987
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1987
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1988
1988
  }, undefined>, undefined>;
1989
1989
  readonly agentKind: v.StringSchema<undefined>;
1990
1990
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -4005,7 +4005,7 @@ export declare const resumeSpendContract: {
4005
4005
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
4006
4006
  readonly id: v.StringSchema<undefined>;
4007
4007
  readonly label: v.StringSchema<undefined>;
4008
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4008
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4009
4009
  }, undefined>, undefined>;
4010
4010
  readonly agentKind: v.StringSchema<undefined>;
4011
4011
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -5627,7 +5627,7 @@ export declare const resolveDecisionContract: {
5627
5627
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
5628
5628
  readonly id: v.StringSchema<undefined>;
5629
5629
  readonly label: v.StringSchema<undefined>;
5630
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
5630
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
5631
5631
  }, undefined>, undefined>;
5632
5632
  readonly agentKind: v.StringSchema<undefined>;
5633
5633
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -6811,7 +6811,7 @@ export declare const approveStepContract: {
6811
6811
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
6812
6812
  readonly id: v.StringSchema<undefined>;
6813
6813
  readonly label: v.StringSchema<undefined>;
6814
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
6814
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
6815
6815
  }, undefined>, undefined>;
6816
6816
  readonly agentKind: v.StringSchema<undefined>;
6817
6817
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -8009,7 +8009,7 @@ export declare const requestStepChangesContract: {
8009
8009
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
8010
8010
  readonly id: v.StringSchema<undefined>;
8011
8011
  readonly label: v.StringSchema<undefined>;
8012
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
8012
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
8013
8013
  }, undefined>, undefined>;
8014
8014
  readonly agentKind: v.StringSchema<undefined>;
8015
8015
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -9193,7 +9193,7 @@ export declare const resolveStepExceededContract: {
9193
9193
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
9194
9194
  readonly id: v.StringSchema<undefined>;
9195
9195
  readonly label: v.StringSchema<undefined>;
9196
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
9196
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
9197
9197
  }, undefined>, undefined>;
9198
9198
  readonly agentKind: v.StringSchema<undefined>;
9199
9199
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -10375,7 +10375,7 @@ export declare const restartExecutionContract: {
10375
10375
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
10376
10376
  readonly id: v.StringSchema<undefined>;
10377
10377
  readonly label: v.StringSchema<undefined>;
10378
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
10378
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
10379
10379
  }, undefined>, undefined>;
10380
10380
  readonly agentKind: v.StringSchema<undefined>;
10381
10381
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -11559,7 +11559,7 @@ export declare const rejectStepContract: {
11559
11559
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
11560
11560
  readonly id: v.StringSchema<undefined>;
11561
11561
  readonly label: v.StringSchema<undefined>;
11562
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
11562
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
11563
11563
  }, undefined>, undefined>;
11564
11564
  readonly agentKind: v.StringSchema<undefined>;
11565
11565
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -736,7 +736,7 @@ export declare const requestHumanReviewFixContract: {
736
736
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
737
737
  readonly id: import("valibot").StringSchema<undefined>;
738
738
  readonly label: import("valibot").StringSchema<undefined>;
739
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
739
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
740
740
  }, undefined>, undefined>;
741
741
  readonly agentKind: import("valibot").StringSchema<undefined>;
742
742
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -735,7 +735,7 @@ export declare const confirmHumanTestContract: {
735
735
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
736
736
  readonly id: import("valibot").StringSchema<undefined>;
737
737
  readonly label: import("valibot").StringSchema<undefined>;
738
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
738
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
739
739
  }, undefined>, undefined>;
740
740
  readonly agentKind: import("valibot").StringSchema<undefined>;
741
741
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -1917,7 +1917,7 @@ export declare const requestHumanTestFixContract: {
1917
1917
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1918
1918
  readonly id: import("valibot").StringSchema<undefined>;
1919
1919
  readonly label: import("valibot").StringSchema<undefined>;
1920
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1920
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1921
1921
  }, undefined>, undefined>;
1922
1922
  readonly agentKind: import("valibot").StringSchema<undefined>;
1923
1923
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -3097,7 +3097,7 @@ export declare const pullMainHumanTestContract: {
3097
3097
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3098
3098
  readonly id: import("valibot").StringSchema<undefined>;
3099
3099
  readonly label: import("valibot").StringSchema<undefined>;
3100
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3100
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3101
3101
  }, undefined>, undefined>;
3102
3102
  readonly agentKind: import("valibot").StringSchema<undefined>;
3103
3103
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -4277,7 +4277,7 @@ export declare const recreateHumanTestEnvContract: {
4277
4277
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
4278
4278
  readonly id: import("valibot").StringSchema<undefined>;
4279
4279
  readonly label: import("valibot").StringSchema<undefined>;
4280
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4280
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4281
4281
  }, undefined>, undefined>;
4282
4282
  readonly agentKind: import("valibot").StringSchema<undefined>;
4283
4283
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -5457,7 +5457,7 @@ export declare const destroyHumanTestEnvContract: {
5457
5457
  readonly unavailable: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
5458
5458
  readonly id: import("valibot").StringSchema<undefined>;
5459
5459
  readonly label: import("valibot").StringSchema<undefined>;
5460
- readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
5460
+ readonly reason: import("valibot").PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
5461
5461
  }, undefined>, undefined>;
5462
5462
  readonly agentKind: import("valibot").StringSchema<undefined>;
5463
5463
  readonly observed: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -107,4 +107,114 @@ export declare const getPublicServiceSpecContract: {
107
107
  } & {
108
108
  readonly minScope: "read";
109
109
  };
110
+ /**
111
+ * The specification ONE RUN was judged against, read from the branch that run pushed its work to.
112
+ *
113
+ * The sibling of {@link getPublicServiceSpecContract}, and the reason it is a sibling rather than a
114
+ * query parameter is the reason the internal pair already splits: they answer different questions,
115
+ * and a caller that asked the first while meaning the second got a document missing exactly the
116
+ * requirements the run had added. Every verdict naming one of those landed as unjoinable.
117
+ *
118
+ * `read` scope, and addressed under `/api/v1/runs/:runId/*` beside `…/report` and `…/outcome`, so
119
+ * the requirement ids on those two and the criteria they were scored against are three GETs on one
120
+ * key rather than a repository clone.
121
+ */
122
+ export declare const getPublicRunSpecContract: {
123
+ readonly method: "get";
124
+ readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
125
+ runId: import("valibot").StringSchema<undefined>;
126
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
127
+ readonly pathResolver: ({ runId }: {
128
+ runId: string;
129
+ }) => string;
130
+ readonly responsesByStatusCode: {
131
+ readonly '4xx': import("valibot").ObjectSchema<{
132
+ readonly error: import("valibot").ObjectSchema<{
133
+ readonly code: import("valibot").StringSchema<undefined>;
134
+ readonly message: import("valibot").StringSchema<undefined>;
135
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
136
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
137
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
138
+ readonly message: import("valibot").StringSchema<undefined>;
139
+ }, undefined>, undefined>, undefined>;
140
+ }, undefined>;
141
+ }, undefined>;
142
+ readonly '5xx': import("valibot").ObjectSchema<{
143
+ readonly error: import("valibot").ObjectSchema<{
144
+ readonly code: import("valibot").StringSchema<undefined>;
145
+ readonly message: import("valibot").StringSchema<undefined>;
146
+ readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
147
+ readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
148
+ readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
149
+ readonly message: import("valibot").StringSchema<undefined>;
150
+ }, undefined>, undefined>, undefined>;
151
+ }, undefined>;
152
+ }, undefined>;
153
+ readonly 200: import("valibot").ObjectSchema<{
154
+ readonly runId: import("valibot").StringSchema<undefined>;
155
+ readonly anchor: import("valibot").PicklistSchema<["present", "absent", "unparsed", "not_read"], undefined>;
156
+ readonly spec: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
157
+ readonly summary: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, "">;
158
+ readonly modules: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
159
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
160
+ readonly summary: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, "">;
161
+ readonly groups: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
162
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
163
+ readonly summary: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, "">;
164
+ readonly requirements: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
165
+ readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>;
166
+ readonly title: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
167
+ readonly statement: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
168
+ readonly kind: import("valibot").PicklistSchema<["functional", "nonfunctional", "constraint"], undefined>;
169
+ readonly priority: import("valibot").PicklistSchema<["must", "should", "could"], undefined>;
170
+ readonly state: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["aspirational", "established"], undefined>, "aspirational">;
171
+ readonly sourceBlockIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, readonly []>;
172
+ readonly acceptance: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
173
+ readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>;
174
+ readonly given: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>;
175
+ readonly when: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>;
176
+ readonly outcome: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>;
177
+ }, undefined>, undefined>, readonly []>;
178
+ }, undefined>, undefined>, readonly []>;
179
+ readonly rules: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
180
+ readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>;
181
+ readonly rule: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>;
182
+ readonly rationale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, "">;
183
+ readonly sourceBlockIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, readonly []>;
184
+ }, undefined>, undefined>, readonly []>;
185
+ }, undefined>, undefined>, readonly []>;
186
+ }, undefined>, undefined>, readonly []>;
187
+ readonly service: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 120, undefined>]>, "">;
188
+ }, undefined>, undefined>;
189
+ readonly features: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
190
+ readonly module: import("valibot").StringSchema<undefined>;
191
+ readonly group: import("valibot").StringSchema<undefined>;
192
+ readonly path: import("valibot").StringSchema<undefined>;
193
+ readonly content: import("valibot").StringSchema<undefined>;
194
+ readonly chars: import("valibot").NumberSchema<undefined>;
195
+ readonly totalChars: import("valibot").NumberSchema<undefined>;
196
+ readonly truncated: import("valibot").BooleanSchema<undefined>;
197
+ }, undefined>, undefined>;
198
+ readonly provenance: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
199
+ readonly provider: import("valibot").PicklistSchema<["github", "gitlab"], undefined>;
200
+ readonly owner: import("valibot").StringSchema<undefined>;
201
+ readonly repo: import("valibot").StringSchema<undefined>;
202
+ readonly ref: import("valibot").StringSchema<undefined>;
203
+ readonly commit: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
204
+ }, undefined>, undefined>;
205
+ readonly issues: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
206
+ readonly path: import("valibot").StringSchema<undefined>;
207
+ readonly kind: import("valibot").PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
208
+ readonly dropped: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>, 0>;
209
+ }, undefined>, undefined>;
210
+ readonly truncations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
211
+ readonly section: import("valibot").PicklistSchema<["requirements", "rules", "acceptance", "features", "issues"], undefined>;
212
+ readonly shown: import("valibot").NumberSchema<undefined>;
213
+ readonly total: import("valibot").NumberSchema<undefined>;
214
+ }, undefined>, undefined>;
215
+ }, undefined>;
216
+ };
217
+ } & {
218
+ readonly minScope: "read";
219
+ };
110
220
  //# sourceMappingURL=public-spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-spec.d.ts","sourceRoot":"","sources":["../../src/routes/public-spec.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQxC,CAAA"}
1
+ {"version":3,"file":"public-spec.d.ts","sourceRoot":"","sources":["../../src/routes/public-spec.ts"],"names":[],"mappings":"AAiBA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQxC,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpC,CAAA"}
@@ -1,15 +1,17 @@
1
1
  import { defineApiContract } from '@toad-contracts/valibot';
2
- import { publicServiceSpecSchema } from '../public-spec.js';
2
+ import { publicRunSpecSchema, publicServiceSpecSchema } from '../public-spec.js';
3
3
  import { errorResponses, singleStringParam, withMinScope } from './_shared.js';
4
4
  // ---------------------------------------------------------------------------
5
- // The public SPEC read: absolute `/api/v1` path, authenticated in-controller by a public-API key.
6
- // The wire shape and the reasoning behind it live in `../public-spec.ts`; the honesty contract the
7
- // controller implements (four outcomes, never folded) is in `PublicSpecController`.
5
+ // The public SPEC reads: absolute `/api/v1` paths, authenticated in-controller by a public-API key.
6
+ // The wire shapes and the reasoning behind them live in `../public-spec.ts`; the honesty contract
7
+ // the controller implements (the outcomes, never folded) is in `PublicSpecController`.
8
8
  //
9
- // Addressed under `/api/v1/services/:serviceId/*`, beside `…/tasks`, because a spec is a fact about
10
- // a SERVICE. The `serviceId` is the board service-frame id every other endpoint on this surface
11
- // already uses, and it resolves through the same board read, so a key can only ever name a service
12
- // of its own workspace.
9
+ // Each is addressed under the resource the question is ABOUT, which is why there are two of them
10
+ // rather than one with a `ref` parameter. The service read is a fact about a SERVICE and sits
11
+ // beside `…/tasks`; the `serviceId` is the board service-frame id every other endpoint on this
12
+ // surface already uses, and it resolves through the same board read, so a key can only ever name a
13
+ // service of its own workspace. The run read is a fact about a RUN and sits beside `…/report` and
14
+ // `…/outcome`, so criterion to evidence is three GETs on one key.
13
15
  // ---------------------------------------------------------------------------
14
16
  /**
15
17
  * The service's in-repo specification: the structured requirement tree, the rendered Gherkin, and
@@ -28,4 +30,22 @@ export const getPublicServiceSpecContract = withMinScope('read', defineApiContra
28
30
  pathResolver: ({ serviceId }) => `/api/v1/services/${serviceId}/spec`,
29
31
  responsesByStatusCode: { 200: publicServiceSpecSchema, ...errorResponses },
30
32
  }));
33
+ /**
34
+ * The specification ONE RUN was judged against, read from the branch that run pushed its work to.
35
+ *
36
+ * The sibling of {@link getPublicServiceSpecContract}, and the reason it is a sibling rather than a
37
+ * query parameter is the reason the internal pair already splits: they answer different questions,
38
+ * and a caller that asked the first while meaning the second got a document missing exactly the
39
+ * requirements the run had added. Every verdict naming one of those landed as unjoinable.
40
+ *
41
+ * `read` scope, and addressed under `/api/v1/runs/:runId/*` beside `…/report` and `…/outcome`, so
42
+ * the requirement ids on those two and the criteria they were scored against are three GETs on one
43
+ * key rather than a repository clone.
44
+ */
45
+ export const getPublicRunSpecContract = withMinScope('read', defineApiContract({
46
+ method: 'get',
47
+ requestPathParamsSchema: singleStringParam('runId'),
48
+ pathResolver: ({ runId }) => `/api/v1/runs/${runId}/spec`,
49
+ responsesByStatusCode: { 200: publicRunSpecSchema, ...errorResponses },
50
+ }));
31
51
  //# sourceMappingURL=public-spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-spec.js","sourceRoot":"","sources":["../../src/routes/public-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE9E,8EAA8E;AAC9E,kGAAkG;AAClG,mGAAmG;AACnG,oFAAoF;AACpF,EAAE;AACF,oGAAoG;AACpG,gGAAgG;AAChG,mGAAmG;AACnG,wBAAwB;AACxB,8EAA8E;AAE9E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,YAAY,CACtD,MAAM,EACN,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,oBAAoB,SAAS,OAAO;IACrE,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CACH,CAAA"}
1
+ {"version":3,"file":"public-spec.js","sourceRoot":"","sources":["../../src/routes/public-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAChF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE9E,8EAA8E;AAC9E,oGAAoG;AACpG,kGAAkG;AAClG,uFAAuF;AACvF,EAAE;AACF,iGAAiG;AACjG,8FAA8F;AAC9F,+FAA+F;AAC/F,mGAAmG;AACnG,kGAAkG;AAClG,kEAAkE;AAClE,8EAA8E;AAE9E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,YAAY,CACtD,MAAM,EACN,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,oBAAoB,SAAS,OAAO;IACrE,qBAAqB,EAAE,EAAE,GAAG,EAAE,uBAAuB,EAAE,GAAG,cAAc,EAAE;CAC3E,CAAC,CACH,CAAA;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,YAAY,CAClD,MAAM,EACN,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB,CAAC,OAAO,CAAC;IACnD,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,OAAO;IACzD,qBAAqB,EAAE,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,cAAc,EAAE;CACvE,CAAC,CACH,CAAA"}
@@ -90,7 +90,7 @@ export declare const probeToolServerContract: {
90
90
  }, undefined>;
91
91
  readonly 200: import("valibot").ObjectSchema<{
92
92
  readonly serverId: import("valibot").StringSchema<undefined>;
93
- readonly status: import("valibot").PicklistSchema<["ok", "credentials_missing", "credential_refused", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
93
+ readonly status: import("valibot").PicklistSchema<["ok", "credentials_missing", "credential_refused", "credential_unusable", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
94
94
  readonly notProbeableReason: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["stdio_transport", "container_local_url", "url_not_allowed"], undefined>, undefined>;
95
95
  readonly serverName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
96
96
  readonly serverVersion: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -105,6 +105,7 @@ export declare const probeToolServerContract: {
105
105
  }, undefined>, undefined>;
106
106
  readonly unresolvedCredentials: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
107
107
  readonly refusedCredentials: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
108
+ readonly unusableCredentials: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
108
109
  readonly httpStatus: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
109
110
  readonly error: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
110
111
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tool-servers.d.ts","sourceRoot":"","sources":["../../src/routes/tool-servers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAyB3E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAKF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUlC,CAAA;AAiBF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAMF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK5C,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}
1
+ {"version":3,"file":"tool-servers.d.ts","sourceRoot":"","sources":["../../src/routes/tool-servers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAyB3E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAKF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUlC,CAAA;AAiBF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAMF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK5C,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}
@@ -736,7 +736,7 @@ export declare const approveVisualConfirmContract: {
736
736
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
737
737
  readonly id: v.StringSchema<undefined>;
738
738
  readonly label: v.StringSchema<undefined>;
739
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
739
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
740
740
  }, undefined>, undefined>;
741
741
  readonly agentKind: v.StringSchema<undefined>;
742
742
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1918,7 +1918,7 @@ export declare const requestVisualConfirmFixContract: {
1918
1918
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1919
1919
  readonly id: v.StringSchema<undefined>;
1920
1920
  readonly label: v.StringSchema<undefined>;
1921
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1921
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1922
1922
  }, undefined>, undefined>;
1923
1923
  readonly agentKind: v.StringSchema<undefined>;
1924
1924
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -3098,7 +3098,7 @@ export declare const recaptureVisualConfirmContract: {
3098
3098
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
3099
3099
  readonly id: v.StringSchema<undefined>;
3100
3100
  readonly label: v.StringSchema<undefined>;
3101
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3101
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
3102
3102
  }, undefined>, undefined>;
3103
3103
  readonly agentKind: v.StringSchema<undefined>;
3104
3104
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1257,7 +1257,7 @@ export declare const createWorkspaceContract: {
1257
1257
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1258
1258
  readonly id: v.StringSchema<undefined>;
1259
1259
  readonly label: v.StringSchema<undefined>;
1260
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1260
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1261
1261
  }, undefined>, undefined>;
1262
1262
  readonly agentKind: v.StringSchema<undefined>;
1263
1263
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -4764,7 +4764,7 @@ export declare const getWorkspaceContract: {
4764
4764
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
4765
4765
  readonly id: v.StringSchema<undefined>;
4766
4766
  readonly label: v.StringSchema<undefined>;
4767
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4767
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
4768
4768
  }, undefined>, undefined>;
4769
4769
  readonly agentKind: v.StringSchema<undefined>;
4770
4770
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1195,7 +1195,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1195
1195
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
1196
1196
  readonly id: v.StringSchema<undefined>;
1197
1197
  readonly label: v.StringSchema<undefined>;
1198
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1198
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
1199
1199
  }, undefined>, undefined>;
1200
1200
  readonly agentKind: v.StringSchema<undefined>;
1201
1201
  readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -40,7 +40,7 @@ export type ToolServerNotProbeableReason = v.InferOutput<typeof toolServerNotPro
40
40
  * dropped: a reader hitting a stale value is by construction the surface whose whole job is
41
41
  * naming what an operator must go and fix.
42
42
  */
43
- export declare const toolServerUnavailableReasonSchema: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
43
+ export declare const toolServerUnavailableReasonSchema: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
44
44
  export type ToolServerUnavailableReason = v.InferOutput<typeof toolServerUnavailableReasonSchema>;
45
45
  /**
46
46
  * What one dispatch did with the tool servers its agent kind declared, recorded on the step.
@@ -134,7 +134,7 @@ export declare const stepToolServersSchema: v.ObjectSchema<{
134
134
  readonly unavailable: v.ArraySchema<v.ObjectSchema<{
135
135
  readonly id: v.StringSchema<undefined>;
136
136
  readonly label: v.StringSchema<undefined>;
137
- readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
137
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "unusable_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
138
138
  }, undefined>, undefined>;
139
139
  /**
140
140
  * The agent kind whose declarations these two lists describe: the kind that was DISPATCHED, not
@@ -450,6 +450,13 @@ export type ToolServersView = v.InferOutput<typeof toolServersViewSchema>;
450
450
  * - `credential_refused` — a credential's LOOKUP key names a platform configuration variable, so
451
451
  * the probe refused to resolve it (the dispatch's `reserved_secret`). Kept apart from the above
452
452
  * because setting the variable is precisely what must not help: the DECLARATION is what changes.
453
+ * - `credential_unusable`, a credential that resolved and has nowhere to go: it named no header,
454
+ * and an http server has no process to inject a variable into (the dispatch's
455
+ * `unusable_secret`). Kept
456
+ * apart from `credential_refused` because the platform refused nothing, and apart from
457
+ * `http_error` because sending the request anyway would report a 401 as a WRONG value where the
458
+ * value was never sent. Boot validation refuses the declaration, so a probe reaches this only
459
+ * where the definition was authored by a process that did not boot this build.
453
460
  * - `unreachable` — the request never got an answer (DNS, TLS, connection refused, timeout). The
454
461
  * endpoint or the network is the fix.
455
462
  * - `http_error` — something answered with a status that is not an MCP response. `401`/`403` is the
@@ -467,7 +474,7 @@ export type ToolServersView = v.InferOutput<typeof toolServersViewSchema>;
467
474
  * - `not_probeable` — the probe was refused before it began; see
468
475
  * {@link toolServerNotProbeableReasonSchema}.
469
476
  */
470
- export declare const toolServerProbeStatusSchema: v.PicklistSchema<["ok", "credentials_missing", "credential_refused", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
477
+ export declare const toolServerProbeStatusSchema: v.PicklistSchema<["ok", "credentials_missing", "credential_refused", "credential_unusable", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
471
478
  export type ToolServerProbeStatus = v.InferOutput<typeof toolServerProbeStatusSchema>;
472
479
  /**
473
480
  * Whether the tools the definition NARROWED to actually exist on the server.
@@ -495,7 +502,7 @@ export type ToolServerAllowedToolsCheck = v.InferOutput<typeof toolServerAllowed
495
502
  /** What one probe answered. */
496
503
  export declare const toolServerProbeResultSchema: v.ObjectSchema<{
497
504
  readonly serverId: v.StringSchema<undefined>;
498
- readonly status: v.PicklistSchema<["ok", "credentials_missing", "credential_refused", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
505
+ readonly status: v.PicklistSchema<["ok", "credentials_missing", "credential_refused", "credential_unusable", "oauth_not_connected", "oauth_token_failed", "unreachable", "http_error", "protocol_error", "not_probeable"], undefined>;
499
506
  /** Present when `status` is `not_probeable`, absent otherwise. */
500
507
  readonly notProbeableReason: v.OptionalSchema<v.PicklistSchema<["stdio_transport", "container_local_url", "url_not_allowed"], undefined>, undefined>;
501
508
  /** The `serverInfo` the handshake returned. Present on `ok`. */
@@ -526,6 +533,8 @@ export declare const toolServerProbeResultSchema: v.ObjectSchema<{
526
533
  readonly unresolvedCredentials: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
527
534
  /** Which declared credential named a platform variable. Present on `credential_refused`. */
528
535
  readonly refusedCredentials: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
536
+ /** Which declared credential named no header to ride. Present on `credential_unusable`. */
537
+ readonly unusableCredentials: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
529
538
  /** The status something answered with. Present on `http_error`. */
530
539
  readonly httpStatus: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
531
540
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tool-servers.d.ts","sourceRoot":"","sources":["../src/tool-servers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8B5B,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,gDAAgC,CAAA;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kCAAkC,4FAI7C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAEnG;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iCAAiC,gLAQ5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,8BAA8B,2EAKzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,wBAAwB,CAE5F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,eAAO,MAAM,oBAAoB,QAAS,CAAA"}
@@ -74,6 +74,7 @@ export const toolServerUnavailableReasonSchema = v.picklist([
74
74
  'transport_unsupported',
75
75
  'missing_secret',
76
76
  'reserved_secret',
77
+ 'unusable_secret',
77
78
  'oauth_not_connected',
78
79
  'oauth_token_failed',
79
80
  'over_budget',
@@ -342,6 +343,13 @@ export const toolServersViewSchema = v.object({
342
343
  * - `credential_refused` — a credential's LOOKUP key names a platform configuration variable, so
343
344
  * the probe refused to resolve it (the dispatch's `reserved_secret`). Kept apart from the above
344
345
  * because setting the variable is precisely what must not help: the DECLARATION is what changes.
346
+ * - `credential_unusable`, a credential that resolved and has nowhere to go: it named no header,
347
+ * and an http server has no process to inject a variable into (the dispatch's
348
+ * `unusable_secret`). Kept
349
+ * apart from `credential_refused` because the platform refused nothing, and apart from
350
+ * `http_error` because sending the request anyway would report a 401 as a WRONG value where the
351
+ * value was never sent. Boot validation refuses the declaration, so a probe reaches this only
352
+ * where the definition was authored by a process that did not boot this build.
345
353
  * - `unreachable` — the request never got an answer (DNS, TLS, connection refused, timeout). The
346
354
  * endpoint or the network is the fix.
347
355
  * - `http_error` — something answered with a status that is not an MCP response. `401`/`403` is the
@@ -363,6 +371,7 @@ export const toolServerProbeStatusSchema = v.picklist([
363
371
  'ok',
364
372
  'credentials_missing',
365
373
  'credential_refused',
374
+ 'credential_unusable',
366
375
  'oauth_not_connected',
367
376
  'oauth_token_failed',
368
377
  'unreachable',
@@ -420,6 +429,8 @@ export const toolServerProbeResultSchema = v.object({
420
429
  unresolvedCredentials: v.optional(v.array(v.string())),
421
430
  /** Which declared credential named a platform variable. Present on `credential_refused`. */
422
431
  refusedCredentials: v.optional(v.array(v.string())),
432
+ /** Which declared credential named no header to ride. Present on `credential_unusable`. */
433
+ unusableCredentials: v.optional(v.array(v.string())),
423
434
  /** The status something answered with. Present on `http_error`. */
424
435
  httpStatus: v.optional(v.number()),
425
436
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tool-serv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.1",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",