Interface: OrderRule
Defined in: src/batteries/validation/types.ts:27
Relative order required between two primitive kinds.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
after | OrderingPrimitiveKind | Primitive that must occur after OrderRule.before. | src/batteries/validation/types.ts:35 |
before | OrderingPrimitiveKind | Primitive that must occur first. | src/batteries/validation/types.ts:33 |
id | string | Stable identifier used in violations and advisory configuration. | src/batteries/validation/types.ts:31 |
onlyLatestGroup? | boolean | When true, evaluate only the current/latest group; earlier malformed historical groups are intentionally ignored, as with Anthropic's current-turn thinking requirement. | src/batteries/validation/types.ts:42 |
scope | "adjacent-same-role-group" | "entire-turn" | Whether the relationship is local to a role group or spans the whole turn. | src/batteries/validation/types.ts:37 |
type | "order" | Discriminator selecting the relative-order evaluator. | src/batteries/validation/types.ts:29 |