Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FinishContractCitations

Interface: FinishContractCitations

Defined in: packages/core/src/orchestrator/output-contract.ts:36

The citation demands of a FinishContractManifest.

Properties

PropertyTypeDescriptionDefined in
flags?string-packages/core/src/orchestrator/output-contract.ts:39
min?numberTotal matches required across the whole result text.packages/core/src/orchestrator/output-contract.ts:41
pattern?stringRegex source over the result text; default DEFAULT_CITATION_PATTERN.packages/core/src/orchestrator/output-contract.ts:38
perSection?numberMatches required inside EVERY declared section; requires sections.packages/core/src/orchestrator/output-contract.ts:43
sample?stringA literal string matching pattern, embedded in the golden fixtures (a regex cannot be sampled mechanically). REQUIRED with a custom pattern; defaults to DEFAULT_CITATION_SAMPLE for the default pattern. Must contain no whitespace and no declared section marker.packages/core/src/orchestrator/output-contract.ts:51