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
| Property | Type | Description | Defined in |
|---|---|---|---|
flags? | string | - | packages/core/src/orchestrator/output-contract.ts:60 |
label? | string | Short human name for prompts and reasons. | packages/core/src/orchestrator/output-contract.ts:70 |
min | number | Matches (distinct captures when capturing) required inside the section. | packages/core/src/orchestrator/output-contract.ts:62 |
pattern | string | Regex source; a capture group makes counting DISTINCT by first capture. | packages/core/src/orchestrator/output-contract.ts:59 |
samples | string[] | 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 |
section | string | A declared section marker this demand binds to. | packages/core/src/orchestrator/output-contract.ts:57 |