Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FinishValidationInput

Interface: FinishValidationInput

Defined in: packages/core/src/orchestrator/finish-validators.ts:63

What a FinishValidator judges.

Properties

PropertyModifierTypeDescriptionDefined in
children?readonlyreadonly 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
resultreadonlyJsonThe finish call's result argument exactly as the model passed it.packages/core/src/orchestrator/finish-validators.ts:65
runId?readonlystringThe 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
textreadonlystringThe 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