Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / OutputContractManifest

Interface: OutputContractManifest ​

Defined in: packages/core/src/orchestrator/finish-validators.ts:1846

One declaration for the shape a host both PROMPTS for and GATES on (RV3308). The 2026-08-12 comparison run drifted exactly here: the harness prompt named one heading while its finish contract named an older one, the host accepted its own contract, and the common audit refused the answer. A manifest is read twice, by manifestValidators to build the gate and by renderContractRequirements to build the prompt block, so the two surfaces cannot disagree by construction.

Properties ​

PropertyTypeDescriptionDefined in
citationPattern?stringOverrides the citation shape; only meaningful beside minCitations.packages/core/src/orchestrator/finish-validators.ts:1856
minCitations?numberMinimum citation occurrences over DEFAULT_CITATION_PATTERN or citationPattern.packages/core/src/orchestrator/finish-validators.ts:1854
requiredMentions?readonly string[]Literal strings the result must contain, each at least once.packages/core/src/orchestrator/finish-validators.ts:1850
sections?readonly string[]The exact heading lines, ordered and exclusive when present.packages/core/src/orchestrator/finish-validators.ts:1848
words?{ max?: number; min?: number; }Whitespace word bounds, either side optional.packages/core/src/orchestrator/finish-validators.ts:1852
words.max?number-packages/core/src/orchestrator/finish-validators.ts:1852
words.min?number-packages/core/src/orchestrator/finish-validators.ts:1852