@orkestrel/scaffold 0.0.136 → 0.0.138

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.
@@ -314,22 +314,22 @@ a mistake. [`tests/src/core/shapers.test.ts`](../tests/src/core/shapers.test.ts)
314
314
  over the same values. `createBriefContract` returns `ContractInterface<Infer<typeof briefShape>>`; the value type follows the composed shape. Definitions cross through the contract's `is` method,
315
315
  never its coercing `parse` method. The stored round trip remains JSON text through `parseBrief`.
316
316
 
317
- | Name | Kind | Signature | Summary |
318
- | ---------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
319
- | `textShape` | const | `StringShape` | Describes a single-line string of any length, including empty — the shape mirror of `isText`. |
320
- | `lineShape` | const | `StringShape` | Describes a non-empty single-line string — the shape mirror of `isLine`. |
321
- | `taskShape` | const | `import("@orkestrel/contract").ObjectShape<{ operation: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskOperation[]>; domain: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskDomain[]>; statement: StringShape; }, false>` | Describes the `Task` shape — closed operation and domain vocabularies plus a non-empty statement. |
322
- | `referenceShape` | const | `import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>` | Describes the `Reference` shape — a path and the note that justifies listing it. |
323
- | `manifestShape` | const | `import("@orkestrel/contract").ObjectShape<{ read: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; edit: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; locked: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; forbidden: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; }, false>` | Describes the `Manifest` shape — disjoint reference partitions. |
324
- | `outcomeShape` | const | `import("@orkestrel/contract").ObjectShape<{ rank: import("@orkestrel/contract").NumberShape; text: StringShape; required: import("@orkestrel/contract").BooleanShape; }, false>` | Describes the `Outcome` shape — a one-based rank, the result text, and whether it gates done. |
325
- | `givenShape` | const | `import("@orkestrel/contract").ObjectShape<{ category: StringShape; name: StringShape; value: StringShape; }, false>` | Describes the `Given` shape — one categorized context fact. |
326
- | `exampleShape` | const | `import("@orkestrel/contract").ObjectShape<{ input: StringShape; output: StringShape; note: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>` | Describes the `Example` shape — one input to output exemplar. |
327
- | `citationShape` | const | `import("@orkestrel/contract").ObjectShape<{ name: StringShape; url: StringShape; note: StringShape; }, false>` | Describes the `Citation` shape — a name, a locator, and why the source is cited. |
328
- | `gapShape` | const | `import("@orkestrel/contract").ObjectShape<{ field: StringShape; question: StringShape; blocking: import("@orkestrel/contract").BooleanShape; candidates: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; fault: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["type"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["missing"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["constraint"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; constraint: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultConstraint[]>; limit: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").NumberShape, StringShape]>>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>]>>; }, false>` | Describes the `Gap` shape — an unknown, whether it blocks, and the candidates that would close it. |
329
- | `riskShape` | const | `import("@orkestrel/contract").ObjectShape<{ severity: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").RiskSeverity[]>; text: StringShape; mitigation: StringShape; }, false>` | Describes the `Risk` shape — a closed severity, the risk, and its mitigation. |
330
- | `outputShape` | const | `import("@orkestrel/contract").ObjectShape<{ format: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").OutputFormat[]>; sections: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; include: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; exclude: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; }, false>` | Describes the `Output` shape — a closed format plus its optional refinements. |
331
- | `proofShape` | const | `import("@orkestrel/contract").ObjectShape<{ text: StringShape; command: StringShape; }, false>` | Describes the `Proof` shape — the claim and the command that settles it. |
332
- | `briefShape` | const | `import("@orkestrel/contract").ObjectShape<{ task: import("@orkestrel/contract").ObjectShape<{ operation: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskOperation[]>; domain: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskDomain[]>; statement: StringShape; }, false>; authority: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; manifest: import("@orkestrel/contract").ObjectShape<{ read: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; edit: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; locked: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; forbidden: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; }, false>; outcomes: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ rank: import("@orkestrel/contract").NumberShape; text: StringShape; required: import("@orkestrel/contract").BooleanShape; }, false>>; rules: import("@orkestrel/contract").ArrayShape<StringShape>; invariants: import("@orkestrel/contract").ArrayShape<StringShape>; givens: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ category: StringShape; name: StringShape; value: StringShape; }, false>>; examples: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ input: StringShape; output: StringShape; note: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>>; assumptions: import("@orkestrel/contract").ArrayShape<StringShape>; citations: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ name: StringShape; url: StringShape; note: StringShape; }, false>>; gaps: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ field: StringShape; question: StringShape; blocking: import("@orkestrel/contract").BooleanShape; candidates: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; fault: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["type"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["missing"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["constraint"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; constraint: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultConstraint[]>; limit: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").NumberShape, StringShape]>>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>]>>; }, false>>; risks: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ severity: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").RiskSeverity[]>; text: StringShape; mitigation: StringShape; }, false>>; output: import("@orkestrel/contract").ObjectShape<{ format: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").OutputFormat[]>; sections: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; include: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; exclude: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; }, false>; proofs: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ text: StringShape; command: StringShape; }, false>>; trace: import("@orkestrel/contract").OptionalShape<StringShape>; hash: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>` | Describes the whole `Brief` shape, section shapes composed. |
317
+ | Name | Kind | Signature | Summary |
318
+ | ---------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
319
+ | `textShape` | const | `StringShape` | Describes a single-line string of any length, including empty — the shape mirror of `isText`. |
320
+ | `lineShape` | const | `StringShape` | Describes a non-empty single-line string — the shape mirror of `isLine`. |
321
+ | `taskShape` | const | `import("@orkestrel/contract").ObjectShape<{ operation: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskOperation[]>; domain: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskDomain[]>; statement: StringShape; }, false>` | Describes the `Task` shape — closed operation and domain vocabularies plus a non-empty statement. |
322
+ | `referenceShape` | const | `import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>` | Describes the `Reference` shape — a path and the note that justifies listing it. |
323
+ | `manifestShape` | const | `import("@orkestrel/contract").ObjectShape<{ read: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; edit: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; locked: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; forbidden: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; }, false>` | Describes the `Manifest` shape — disjoint reference partitions. |
324
+ | `outcomeShape` | const | `import("@orkestrel/contract").ObjectShape<{ rank: import("@orkestrel/contract").NumberShape; text: StringShape; required: import("@orkestrel/contract").BooleanShape; }, false>` | Describes the `Outcome` shape — a one-based rank, the result text, and whether it gates done. |
325
+ | `givenShape` | const | `import("@orkestrel/contract").ObjectShape<{ category: StringShape; name: StringShape; value: StringShape; }, false>` | Describes the `Given` shape — one categorized context fact. |
326
+ | `exampleShape` | const | `import("@orkestrel/contract").ObjectShape<{ input: StringShape; output: StringShape; note: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>` | Describes the `Example` shape — one input to output exemplar. |
327
+ | `citationShape` | const | `import("@orkestrel/contract").ObjectShape<{ name: StringShape; url: StringShape; note: StringShape; }, false>` | Describes the `Citation` shape — a name, a locator, and why the source is cited. |
328
+ | `gapShape` | const | `import("@orkestrel/contract").ObjectShape<{ field: StringShape; question: StringShape; blocking: import("@orkestrel/contract").BooleanShape; candidates: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; fault: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["type"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["missing"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["constraint"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; constraint: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultConstraint[]>; limit: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").NumberShape, StringShape]>>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; symbol: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["hidden"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>]>>; }, false>` | Describes the `Gap` shape — an unknown, whether it blocks, and the candidates that would close it. |
329
+ | `riskShape` | const | `import("@orkestrel/contract").ObjectShape<{ severity: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").RiskSeverity[]>; text: StringShape; mitigation: StringShape; }, false>` | Describes the `Risk` shape — a closed severity, the risk, and its mitigation. |
330
+ | `outputShape` | const | `import("@orkestrel/contract").ObjectShape<{ format: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").OutputFormat[]>; sections: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; include: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; exclude: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; }, false>` | Describes the `Output` shape — a closed format plus its optional refinements. |
331
+ | `proofShape` | const | `import("@orkestrel/contract").ObjectShape<{ text: StringShape; command: StringShape; }, false>` | Describes the `Proof` shape — the claim and the command that settles it. |
332
+ | `briefShape` | const | `import("@orkestrel/contract").ObjectShape<{ task: import("@orkestrel/contract").ObjectShape<{ operation: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskOperation[]>; domain: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").TaskDomain[]>; statement: StringShape; }, false>; authority: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; manifest: import("@orkestrel/contract").ObjectShape<{ read: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; edit: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; locked: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; forbidden: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ path: StringShape; note: StringShape; }, false>>; }, false>; outcomes: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ rank: import("@orkestrel/contract").NumberShape; text: StringShape; required: import("@orkestrel/contract").BooleanShape; }, false>>; rules: import("@orkestrel/contract").ArrayShape<StringShape>; invariants: import("@orkestrel/contract").ArrayShape<StringShape>; givens: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ category: StringShape; name: StringShape; value: StringShape; }, false>>; examples: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ input: StringShape; output: StringShape; note: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>>; assumptions: import("@orkestrel/contract").ArrayShape<StringShape>; citations: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ name: StringShape; url: StringShape; note: StringShape; }, false>>; gaps: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ field: StringShape; question: StringShape; blocking: import("@orkestrel/contract").BooleanShape; candidates: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; fault: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["type"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["missing"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["constraint"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; expected: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultKind[]>; constraint: import("@orkestrel/contract").LiteralShape<readonly import("@orkestrel/contract").FaultConstraint[]>; limit: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").UnionShape<readonly [import("@orkestrel/contract").NumberShape, StringShape]>>; received: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["variant"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; variants: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["oneOf"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; matched: import("@orkestrel/contract").NumberShape; key: StringShape; expected: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").NumberShape, import("@orkestrel/contract").BooleanShape]>>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["extra"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; symbol: StringShape; }, false>, import("@orkestrel/contract").ObjectShape<{ reason: import("@orkestrel/contract").LiteralShape<readonly ["hidden"]>; path: import("@orkestrel/contract").UnionShape<readonly [StringShape, import("@orkestrel/contract").ArrayShape<StringShape>]>; }, false>]>>; }, false>>; risks: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ severity: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").RiskSeverity[]>; text: StringShape; mitigation: StringShape; }, false>>; output: import("@orkestrel/contract").ObjectShape<{ format: import("@orkestrel/contract").LiteralShape<readonly import("./types.js").OutputFormat[]>; sections: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; include: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; exclude: import("@orkestrel/contract").OptionalShape<import("@orkestrel/contract").ArrayShape<StringShape>>; }, false>; proofs: import("@orkestrel/contract").ArrayShape<import("@orkestrel/contract").ObjectShape<{ text: StringShape; command: StringShape; }, false>>; trace: import("@orkestrel/contract").OptionalShape<StringShape>; hash: import("@orkestrel/contract").OptionalShape<StringShape>; }, false>` | Describes the whole `Brief` shape, section shapes composed. |
333
333
 
334
334
  ```ts
335
335
  import {