Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FinishContractSectionPattern

Interface: FinishContractSectionPattern

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

One counted per-section collection demand (RV2206).

Properties

PropertyTypeDescriptionDefined in
flags?string-packages/core/src/orchestrator/output-contract.ts:60
label?stringShort human name for prompts and reasons.packages/core/src/orchestrator/output-contract.ts:70
minnumberMatches (distinct captures when capturing) required inside the section.packages/core/src/orchestrator/output-contract.ts:62
patternstringRegex source; a capture group makes counting DISTINCT by first capture.packages/core/src/orchestrator/output-contract.ts:59
samplesstring[]Literal matches for the golden fixtures and the prompt. Single line each; with a capturing pattern they must together carry at least min distinct captures.packages/core/src/orchestrator/output-contract.ts:68
sectionstringA declared section marker this demand binds to.packages/core/src/orchestrator/output-contract.ts:57