Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FinishValidator

Interface: FinishValidator

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

A deterministic host validator of the orchestrator finish result. validate must be pure, synchronous host code: no model calls, no clock, no filesystem, because a verdict must reproduce on replay and a throwing validator is a host defect that fails the run as ConfigError (never journaled, never granted a repair turn).

Properties

PropertyModifierTypeDescriptionDefined in
namereadonlystringUnique within one orchestrate call; appears in the journaled verdicts, the repair feedback, and the orchestrator prompt.packages/core/src/orchestrator/finish-validators.ts:137

Methods

validate()

ts
validate(input): FinishValidationVerdict;

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

Parameters

ParameterType
inputFinishValidationInput

Returns

FinishValidationVerdict