@cat-factory/contracts 0.278.0 → 0.280.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.
Files changed (39) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/mergeTrackRecord.d.ts +14 -0
  6. package/dist/mergeTrackRecord.d.ts.map +1 -1
  7. package/dist/mergeTrackRecord.js +15 -0
  8. package/dist/mergeTrackRecord.js.map +1 -1
  9. package/dist/public-merge-evidence.d.ts +94 -0
  10. package/dist/public-merge-evidence.d.ts.map +1 -0
  11. package/dist/public-merge-evidence.js +106 -0
  12. package/dist/public-merge-evidence.js.map +1 -0
  13. package/dist/public-spec.d.ts +232 -0
  14. package/dist/public-spec.d.ts.map +1 -0
  15. package/dist/public-spec.js +208 -0
  16. package/dist/public-spec.js.map +1 -0
  17. package/dist/routes/index.d.ts +2 -0
  18. package/dist/routes/index.d.ts.map +1 -1
  19. package/dist/routes/index.js +2 -0
  20. package/dist/routes/index.js.map +1 -1
  21. package/dist/routes/public-api.d.ts +19 -2
  22. package/dist/routes/public-api.d.ts.map +1 -1
  23. package/dist/routes/public-api.js +23 -3
  24. package/dist/routes/public-api.js.map +1 -1
  25. package/dist/routes/public-merge-evidence.d.ts +248 -0
  26. package/dist/routes/public-merge-evidence.d.ts.map +1 -0
  27. package/dist/routes/public-merge-evidence.js +80 -0
  28. package/dist/routes/public-merge-evidence.js.map +1 -0
  29. package/dist/routes/public-spec.d.ts +110 -0
  30. package/dist/routes/public-spec.d.ts.map +1 -0
  31. package/dist/routes/public-spec.js +31 -0
  32. package/dist/routes/public-spec.js.map +1 -0
  33. package/dist/routes/spec.d.ts +18 -2
  34. package/dist/routes/spec.d.ts.map +1 -1
  35. package/dist/spec.d.ts +172 -3
  36. package/dist/spec.d.ts.map +1 -1
  37. package/dist/spec.js +90 -4
  38. package/dist/spec.js.map +1 -1
  39. package/package.json +1 -1
package/dist/spec.d.ts CHANGED
@@ -1,4 +1,12 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * The two length bounds a READER has to honour to produce a parseable doc, exported so the
4
+ * reassembly clamps to the same numbers the schema enforces instead of restating them. A reader
5
+ * that clamps to its own constant passes its own tests and serves a `200` that fails the published
6
+ * schema the moment either number moves.
7
+ */
8
+ export declare const SPEC_NAME_MAX = 120;
9
+ export declare const SPEC_SUMMARY_MAX = 2000;
2
10
  /** MoSCoW priority — how essential a requirement is. */
3
11
  export declare const requirementPrioritySchema: v.PicklistSchema<["must", "should", "could"], undefined>;
4
12
  export type RequirementPriority = v.InferOutput<typeof requirementPrioritySchema>;
@@ -229,6 +237,71 @@ export declare const specDocSchema: v.ObjectSchema<{
229
237
  }, undefined>, undefined>, readonly []>;
230
238
  }, undefined>;
231
239
  export type SpecDoc = v.InferOutput<typeof specDocSchema>;
240
+ /**
241
+ * The same document as a READER reassembles it, as opposed to as a producer must author it.
242
+ *
243
+ * Derived from {@link specDocSchema} rather than restated, so the two cannot drift, with exactly
244
+ * one field relaxed: `service` may be the empty string. The anchor (`spec/service.json`) is a file
245
+ * in somebody's repository and can be half-written, so a read has to be able to say "this spec
246
+ * names no service" (every consumer falls back to the board frame's own title). The STRICT schema
247
+ * stays the ingestion boundary `parseSpecDoc` guards, so nothing can AUTHOR a nameless spec; this
248
+ * one exists because refusing to describe one that already exists is the worse answer.
249
+ *
250
+ * Both infer the same TypeScript type. The difference is entirely in what each will PARSE, which
251
+ * is the difference that matters: a view typed `SpecDoc` while carrying `service: ''` is a value
252
+ * that fails the schema its own type names, and on `/api/v1` that is a published contract the
253
+ * response violates.
254
+ */
255
+ export declare const readSpecDocSchema: v.ObjectSchema<{
256
+ /** One-paragraph product intent for the service overall. */
257
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
258
+ /** Modules (domains), each grouping its feature groups; the two-level taxonomy. */
259
+ readonly modules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
260
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
261
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
262
+ readonly groups: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
263
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
264
+ readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
265
+ readonly requirements: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
266
+ /** Stable slug, e.g. `req-login-rate-limit`. */
267
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
268
+ /** Short headline. */
269
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
270
+ /** The requirement itself, as `The system SHALL …` prose. */
271
+ readonly statement: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
272
+ readonly kind: v.PicklistSchema<["functional", "nonfunctional", "constraint"], undefined>;
273
+ readonly priority: v.PicklistSchema<["must", "should", "could"], undefined>;
274
+ /**
275
+ * Whether the service is already known to honour this requirement. Defaults to
276
+ * `aspirational` — a requirement nobody has observed to hold is not standing behaviour, and
277
+ * a spec written before the code is the normal case rather than the exceptional one. See
278
+ * {@link requirementStateSchema}.
279
+ */
280
+ readonly state: v.OptionalSchema<v.PicklistSchema<["aspirational", "established"], undefined>, "aspirational">;
281
+ /** Ids of the board task/block(s) this requirement was aggregated from (provenance). */
282
+ 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 []>;
283
+ /** Structured acceptance criteria → the seed for this requirement's Gherkin scenarios. */
284
+ readonly acceptance: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
285
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
286
+ readonly given: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
287
+ readonly when: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
288
+ readonly outcome: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
289
+ }, undefined>, undefined>, readonly []>;
290
+ }, undefined>, undefined>, readonly []>;
291
+ /** Domain rules / invariants scoped to this feature (rendered into its `<group>.md`). */
292
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
293
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
294
+ /** The invariant, e.g. `An order may never have a negative total.` */
295
+ readonly rule: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
296
+ /** Why the rule exists (optional). */
297
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
298
+ 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 []>;
299
+ }, undefined>, undefined>, readonly []>;
300
+ }, undefined>, undefined>, readonly []>;
301
+ }, undefined>, undefined>, readonly []>;
302
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 120, undefined>]>, "">;
303
+ }, undefined>;
304
+ export type ReadSpecDoc = v.InferOutput<typeof readSpecDocSchema>;
232
305
  /** Folder, relative to the repo root, that holds the persisted spec. */
233
306
  export declare const SPEC_DIR = "spec";
234
307
  /** Tiny file carrying only the service name + one-paragraph summary. */
@@ -251,6 +324,72 @@ export declare const specFeatureFileSchema: v.ObjectSchema<{
251
324
  readonly content: v.StringSchema<undefined>;
252
325
  }, undefined>;
253
326
  export type SpecFeatureFile = v.InferOutput<typeof specFeatureFileSchema>;
327
+ /**
328
+ * What became of ONE file the reader touched. The reader is deliberately total and salvaging
329
+ * (a flaky read or a malformed shard degrades to a partial tree rather than a thrown error), and
330
+ * a salvage that reports nothing is indistinguishable from a repo that genuinely holds less:
331
+ *
332
+ * - `read_failed`: the provider answered with something other than "absent" (rate limit, 5xx,
333
+ * a permission the installation lost). The file may well exist; we cannot say.
334
+ * - `unparsed`: the file was read and NOTHING could be recovered from it (unreadable JSON,
335
+ * or a shard whose own identity is missing), so its whole subtree is missing from the view.
336
+ * - `partial`: the file was read and salvaged item by item; `dropped` says how many
337
+ * requirements/rules failed validation and are therefore absent from an otherwise valid group.
338
+ * - `unread`: the pass ran out of its read budget before reaching this path, so it was never
339
+ * fetched. `dropped` counts the files left unread. Reported against the `spec` root, once per
340
+ * pass: a per-file row would make the budget's own report the largest thing in the response.
341
+ */
342
+ export declare const specReadIssueKindSchema: v.PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
343
+ export type SpecReadIssueKind = v.InferOutput<typeof specReadIssueKindSchema>;
344
+ /** One file the reader could not fully account for, named rather than silently dropped. */
345
+ export declare const specReadIssueSchema: v.ObjectSchema<{
346
+ /** Repo-relative path of the file (or directory, for a failed listing). */
347
+ readonly path: v.StringSchema<undefined>;
348
+ readonly kind: v.PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
349
+ /**
350
+ * How much this row cost the tree: items lost from a `partial` file, files left unread by an
351
+ * exhausted budget, 0 on the kinds that lose nothing countable.
352
+ *
353
+ * NULL means content was lost here and NO count describes it. A salvage reaches that state
354
+ * honestly: a shard whose `requirements` is an object rather than a list has requirements that
355
+ * are structurally unreadable, so there is nothing to count, and answering `0` would report the
356
+ * rebuilt group as a complete one that simply declares nothing. An unknown loss and no loss are
357
+ * different facts, and only a distinct value states the first.
358
+ */
359
+ readonly dropped: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, 0>;
360
+ }, undefined>;
361
+ export type SpecReadIssue = v.InferOutput<typeof specReadIssueSchema>;
362
+ /**
363
+ * How the PRESENCE ANCHOR (`spec/service.json`) resolved. Four states rather than the boolean
364
+ * `present` beside it, because three of them produce the same empty tree and demand different
365
+ * reactions: a branch with no spec is a normal answer, a provider outage is a retry, and a corrupt
366
+ * anchor is a repo somebody has to fix. Collapsing them is how "this service has no requirements"
367
+ * comes to be reported during every VCS incident.
368
+ */
369
+ export declare const specAnchorStateSchema: v.PicklistSchema<["present", "absent", "read_failed", "unparsed"], undefined>;
370
+ export type SpecAnchorState = v.InferOutput<typeof specAnchorStateSchema>;
371
+ /** What the reader could and could not account for on this pass. */
372
+ export declare const specReadDiagnosticsSchema: v.ObjectSchema<{
373
+ readonly anchor: v.PicklistSchema<["present", "absent", "read_failed", "unparsed"], undefined>;
374
+ /** Every file the pass could not fully account for. Empty on a clean read. */
375
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
376
+ /** Repo-relative path of the file (or directory, for a failed listing). */
377
+ readonly path: v.StringSchema<undefined>;
378
+ readonly kind: v.PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
379
+ /**
380
+ * How much this row cost the tree: items lost from a `partial` file, files left unread by an
381
+ * exhausted budget, 0 on the kinds that lose nothing countable.
382
+ *
383
+ * NULL means content was lost here and NO count describes it. A salvage reaches that state
384
+ * honestly: a shard whose `requirements` is an object rather than a list has requirements that
385
+ * are structurally unreadable, so there is nothing to count, and answering `0` would report the
386
+ * rebuilt group as a complete one that simply declares nothing. An unknown loss and no loss are
387
+ * different facts, and only a distinct value states the first.
388
+ */
389
+ readonly dropped: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, 0>;
390
+ }, undefined>, undefined>;
391
+ }, undefined>;
392
+ export type SpecReadDiagnostics = v.InferOutput<typeof specReadDiagnosticsSchema>;
254
393
  /**
255
394
  * The service-spec view served to the SPA: the reassembled prescriptive spec tree read
256
395
  * from the service repo's default branch, plus its rendered Gherkin feature files.
@@ -260,10 +399,13 @@ export type SpecFeatureFile = v.InferOutput<typeof specFeatureFileSchema>;
260
399
  export declare const serviceSpecViewSchema: v.ObjectSchema<{
261
400
  /** Whether a spec exists on the service repo's default branch (a `spec/service.json`). */
262
401
  readonly present: v.BooleanSchema<undefined>;
263
- /** The reassembled spec tree, or null when none is present. */
402
+ /**
403
+ * The reassembled spec tree, or null when none is present.
404
+ *
405
+ * {@link readSpecDocSchema}, not the strict authoring schema: this is what a READER got back
406
+ * out of a repository, and an anchor that names no service is a state a repository can be in.
407
+ */
264
408
  readonly spec: v.NullableSchema<v.ObjectSchema<{
265
- /** Service / frame name (defaults to the repo name). */
266
- readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
267
409
  /** One-paragraph product intent for the service overall. */
268
410
  readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
269
411
  /** Modules (domains), each grouping its feature groups; the two-level taxonomy. */
@@ -310,6 +452,7 @@ export declare const serviceSpecViewSchema: v.ObjectSchema<{
310
452
  }, undefined>, undefined>, readonly []>;
311
453
  }, undefined>, undefined>, readonly []>;
312
454
  }, undefined>, undefined>, readonly []>;
455
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 120, undefined>]>, "">;
313
456
  }, undefined>, undefined>;
314
457
  /** The rendered Gherkin feature files (empty when none present). The producer always
315
458
  * sends this field (`[]` when there are none), and the SPA dereferences it unguarded, so
@@ -324,6 +467,32 @@ export declare const serviceSpecViewSchema: v.ObjectSchema<{
324
467
  /** The raw Gherkin content. */
325
468
  readonly content: v.StringSchema<undefined>;
326
469
  }, undefined>, undefined>;
470
+ /**
471
+ * What the READ itself could account for, as distinct from what the spec says. Optional
472
+ * because absent means "this producer diagnosed nothing", which is a different fact from a
473
+ * clean pass and is the honest answer for the callers that assemble a view by hand (a memo, a
474
+ * test fixture). `readServiceSpec` always sets it.
475
+ */
476
+ readonly diagnostics: v.OptionalSchema<v.ObjectSchema<{
477
+ readonly anchor: v.PicklistSchema<["present", "absent", "read_failed", "unparsed"], undefined>;
478
+ /** Every file the pass could not fully account for. Empty on a clean read. */
479
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
480
+ /** Repo-relative path of the file (or directory, for a failed listing). */
481
+ readonly path: v.StringSchema<undefined>;
482
+ readonly kind: v.PicklistSchema<["read_failed", "unparsed", "partial", "unread"], undefined>;
483
+ /**
484
+ * How much this row cost the tree: items lost from a `partial` file, files left unread by an
485
+ * exhausted budget, 0 on the kinds that lose nothing countable.
486
+ *
487
+ * NULL means content was lost here and NO count describes it. A salvage reaches that state
488
+ * honestly: a shard whose `requirements` is an object rather than a list has requirements that
489
+ * are structurally unreadable, so there is nothing to count, and answering `0` would report the
490
+ * rebuilt group as a complete one that simply declares nothing. An unknown loss and no loss are
491
+ * different facts, and only a distinct value states the first.
492
+ */
493
+ readonly dropped: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, 0>;
494
+ }, undefined>, undefined>;
495
+ }, undefined>, undefined>;
327
496
  }, undefined>;
328
497
  export type ServiceSpecView = v.InferOutput<typeof serviceSpecViewSchema>;
329
498
  /** The canonical "no spec" view — GitHub not connected, or no spec on the default branch. */
@@ -1 +1 @@
1
- {"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmC5B,wDAAwD;AACxD,eAAO,MAAM,yBAAyB,0DAA0C,CAAA;AAChF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF,uFAAuF;AACvF,eAAO,MAAM,qBAAqB,4EAA4D,CAAA;AAC9F,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,sBAAsB,8DAA8C,CAAA;AACjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;aAOpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF,2FAA2F;AAC3F,eAAO,MAAM,qBAAqB;IAChC,gDAAgD;;IAEhD,sBAAsB;;IAEtB,6DAA6D;;;;IAI7D;;;;;OAKG;;IAEH,wFAAwF;;IAExF,0FAA0F;;;;;;;aAE1F,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;IAE3B,s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AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,GAAG,SAAS,CAGtF;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,SAAS,CAGpF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,CAG1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAgCzD"}
package/dist/spec.js CHANGED
@@ -25,9 +25,17 @@ import * as v from 'valibot';
25
25
  // requirements, domain rules and acceptance criteria, so those inner item types
26
26
  // keep their names.
27
27
  // ---------------------------------------------------------------------------
28
+ /**
29
+ * The two length bounds a READER has to honour to produce a parseable doc, exported so the
30
+ * reassembly clamps to the same numbers the schema enforces instead of restating them. A reader
31
+ * that clamps to its own constant passes its own tests and serves a `200` that fails the published
32
+ * schema the moment either number moves.
33
+ */
34
+ export const SPEC_NAME_MAX = 120;
35
+ export const SPEC_SUMMARY_MAX = 2000;
28
36
  const requirementIdField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(200));
29
- const reqNameField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(120));
30
- const reqSummaryField = v.pipe(v.string(), v.maxLength(2000));
37
+ const reqNameField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(SPEC_NAME_MAX));
38
+ const reqSummaryField = v.pipe(v.string(), v.maxLength(SPEC_SUMMARY_MAX));
31
39
  const reqStatementField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(4000));
32
40
  const blockIdField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(200));
33
41
  /** MoSCoW priority — how essential a requirement is. */
@@ -136,6 +144,25 @@ export const specDocSchema = v.object({
136
144
  /** Modules (domains), each grouping its feature groups; the two-level taxonomy. */
137
145
  modules: v.optional(v.array(specModuleSchema), []),
138
146
  });
147
+ /**
148
+ * The same document as a READER reassembles it, as opposed to as a producer must author it.
149
+ *
150
+ * Derived from {@link specDocSchema} rather than restated, so the two cannot drift, with exactly
151
+ * one field relaxed: `service` may be the empty string. The anchor (`spec/service.json`) is a file
152
+ * in somebody's repository and can be half-written, so a read has to be able to say "this spec
153
+ * names no service" (every consumer falls back to the board frame's own title). The STRICT schema
154
+ * stays the ingestion boundary `parseSpecDoc` guards, so nothing can AUTHOR a nameless spec; this
155
+ * one exists because refusing to describe one that already exists is the worse answer.
156
+ *
157
+ * Both infer the same TypeScript type. The difference is entirely in what each will PARSE, which
158
+ * is the difference that matters: a view typed `SpecDoc` while carrying `service: ''` is a value
159
+ * that fails the schema its own type names, and on `/api/v1` that is a published contract the
160
+ * response violates.
161
+ */
162
+ export const readSpecDocSchema = v.object({
163
+ ...specDocSchema.entries,
164
+ service: v.optional(v.pipe(v.string(), v.trim(), v.maxLength(SPEC_NAME_MAX)), ''),
165
+ });
139
166
  // ---- In-repo spec artifact paths ------------------------------------------
140
167
  // The sharded folder layout, the prescriptive sibling of `blueprints/`. The
141
168
  // canonical machine-readable files are the per-group `modules/<m>/<g>.json` shards;
@@ -167,6 +194,53 @@ export const specFeatureFileSchema = v.object({
167
194
  /** The raw Gherkin content. */
168
195
  content: v.string(),
169
196
  });
197
+ /**
198
+ * What became of ONE file the reader touched. The reader is deliberately total and salvaging
199
+ * (a flaky read or a malformed shard degrades to a partial tree rather than a thrown error), and
200
+ * a salvage that reports nothing is indistinguishable from a repo that genuinely holds less:
201
+ *
202
+ * - `read_failed`: the provider answered with something other than "absent" (rate limit, 5xx,
203
+ * a permission the installation lost). The file may well exist; we cannot say.
204
+ * - `unparsed`: the file was read and NOTHING could be recovered from it (unreadable JSON,
205
+ * or a shard whose own identity is missing), so its whole subtree is missing from the view.
206
+ * - `partial`: the file was read and salvaged item by item; `dropped` says how many
207
+ * requirements/rules failed validation and are therefore absent from an otherwise valid group.
208
+ * - `unread`: the pass ran out of its read budget before reaching this path, so it was never
209
+ * fetched. `dropped` counts the files left unread. Reported against the `spec` root, once per
210
+ * pass: a per-file row would make the budget's own report the largest thing in the response.
211
+ */
212
+ export const specReadIssueKindSchema = v.picklist(['read_failed', 'unparsed', 'partial', 'unread']);
213
+ /** One file the reader could not fully account for, named rather than silently dropped. */
214
+ export const specReadIssueSchema = v.object({
215
+ /** Repo-relative path of the file (or directory, for a failed listing). */
216
+ path: v.string(),
217
+ kind: specReadIssueKindSchema,
218
+ /**
219
+ * How much this row cost the tree: items lost from a `partial` file, files left unread by an
220
+ * exhausted budget, 0 on the kinds that lose nothing countable.
221
+ *
222
+ * NULL means content was lost here and NO count describes it. A salvage reaches that state
223
+ * honestly: a shard whose `requirements` is an object rather than a list has requirements that
224
+ * are structurally unreadable, so there is nothing to count, and answering `0` would report the
225
+ * rebuilt group as a complete one that simply declares nothing. An unknown loss and no loss are
226
+ * different facts, and only a distinct value states the first.
227
+ */
228
+ dropped: v.optional(v.nullable(v.number()), 0),
229
+ });
230
+ /**
231
+ * How the PRESENCE ANCHOR (`spec/service.json`) resolved. Four states rather than the boolean
232
+ * `present` beside it, because three of them produce the same empty tree and demand different
233
+ * reactions: a branch with no spec is a normal answer, a provider outage is a retry, and a corrupt
234
+ * anchor is a repo somebody has to fix. Collapsing them is how "this service has no requirements"
235
+ * comes to be reported during every VCS incident.
236
+ */
237
+ export const specAnchorStateSchema = v.picklist(['present', 'absent', 'read_failed', 'unparsed']);
238
+ /** What the reader could and could not account for on this pass. */
239
+ export const specReadDiagnosticsSchema = v.object({
240
+ anchor: specAnchorStateSchema,
241
+ /** Every file the pass could not fully account for. Empty on a clean read. */
242
+ issues: v.array(specReadIssueSchema),
243
+ });
170
244
  /**
171
245
  * The service-spec view served to the SPA: the reassembled prescriptive spec tree read
172
246
  * from the service repo's default branch, plus its rendered Gherkin feature files.
@@ -176,12 +250,24 @@ export const specFeatureFileSchema = v.object({
176
250
  export const serviceSpecViewSchema = v.object({
177
251
  /** Whether a spec exists on the service repo's default branch (a `spec/service.json`). */
178
252
  present: v.boolean(),
179
- /** The reassembled spec tree, or null when none is present. */
180
- spec: v.nullable(specDocSchema),
253
+ /**
254
+ * The reassembled spec tree, or null when none is present.
255
+ *
256
+ * {@link readSpecDocSchema}, not the strict authoring schema: this is what a READER got back
257
+ * out of a repository, and an anchor that names no service is a state a repository can be in.
258
+ */
259
+ spec: v.nullable(readSpecDocSchema),
181
260
  /** The rendered Gherkin feature files (empty when none present). The producer always
182
261
  * sends this field (`[]` when there are none), and the SPA dereferences it unguarded, so
183
262
  * it is required — not optional — to keep the wire shape and its sole consumer in lockstep. */
184
263
  features: v.array(specFeatureFileSchema),
264
+ /**
265
+ * What the READ itself could account for, as distinct from what the spec says. Optional
266
+ * because absent means "this producer diagnosed nothing", which is a different fact from a
267
+ * clean pass and is the honest answer for the callers that assemble a view by hand (a memo, a
268
+ * test fixture). `readServiceSpec` always sets it.
269
+ */
270
+ diagnostics: v.optional(specReadDiagnosticsSchema),
185
271
  });
186
272
  /** The canonical "no spec" view — GitHub not connected, or no spec on the default branch. */
187
273
  export const EMPTY_SERVICE_SPEC_VIEW = { present: false, spec: null, features: [] };
package/dist/spec.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"spec.js","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,wEAAwE;AACxE,EAAE;AACF,8EAA8E;AAC9E,kFAAkF;AAClF,gFAAgF;AAChF,yDAAyD;AACzD,EAAE;AACF,gFAAgF;AAChF,mFAAmF;AACnF,gFAAgF;AAChF,kFAAkF;AAClF,+EAA+E;AAC/E,oFAAoF;AACpF,oFAAoF;AACpF,4EAA4E;AAC5E,oFAAoF;AACpF,kFAAkF;AAClF,uDAAuD;AACvD,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,wEAAwE;AACxE,gFAAgF;AAChF,oB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AAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;gBAC7E,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.278.0",
3
+ "version": "0.280.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",