Rulvar API reference / @rulvar/core / FinishValidationInput
Interface: FinishValidationInput
Defined in: packages/core/src/orchestrator/finish-validators.ts:63
What a FinishValidator judges.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
children? | readonly | readonly FinishValidationChild[] | Every spawned child at finish time, in spawn order (the RV-202 provenance contract). Optional in the TYPE only so hand built inputs stay source compatible; the orchestrator runtime always supplies it, so validators can hold the finish result against the evidence the children actually produced. | packages/core/src/orchestrator/finish-validators.ts:79 |
result | readonly | Json | The finish call's result argument exactly as the model passed it. | packages/core/src/orchestrator/finish-validators.ts:65 |
runId? | readonly | string | The id of the run being judged (RV2501). Optional in the TYPE only so hand built inputs stay source compatible; the orchestrator runtime always supplies it, at every gate that judges a finish (the validator-bound finish, the contract draft gate, and the skipWhenDraftValid pre-pass), so a validator can accept the run's own id as the artifact a claim about THIS run points at. | packages/core/src/orchestrator/finish-validators.ts:88 |
text | readonly | string | The result as text: a string result verbatim, anything else its JSON serialization (the same convention the child result evidence tools use), so textual validators never re-implement serialization. | packages/core/src/orchestrator/finish-validators.ts:71 |