Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / FinishValidationChild

Interface: FinishValidationChild

Defined in: packages/core/dist/index.d.ts

One child as the finish validators see it (the RV-202 provenance contract): a pure read of the durable state the orchestrator already tracks, identical live and on replay.

Properties

PropertyModifierTypeDescriptionDefined in
handlereadonlynumberThe spawn handle (the journal seq, stable across resume).packages/core/dist/index.d.ts
nodeIdreadonlystringThe child's node identity, the same one acceptance reasons use.packages/core/dist/index.d.ts
salvageableOutput?readonlybooleanPresent and true ONLY when acceptance.acceptValidatedTerminalOutputOnLimit is configured and this child settled 'limit' CARRYING a terminal output (the finalization reserve summary that, for a schema child, already validated against the declared output schema) that the acceptance arms WILL count: under acceptance.requireEvidenceFloor a below-floor child is never promoted (RV1207), so it is never marked either (RV1403). Acceptance counts a marked child as a success, so evidencePreservedValidator treats its text as part of the cited evidence pool. Absent in every other configuration, keeping the old pool exactly.packages/core/dist/index.d.ts
salvageablePartial?readonlybooleanThe partial-arm twin of salvageableOutput (RV1403): present and true ONLY when acceptance.acceptPartialChildren is configured and this child settled 'limit' CARRYING a structured partial the acceptance arms WILL count (the output arm wins when both apply, and a below-floor child under requireEvidenceFloor is never marked). The accepted partial IS part of the composed result, so its citations are evidence: without the mark, an orchestrator quoting a partial the policy accepted was flagged by requireKnown as fabricating citations.packages/core/dist/index.d.ts
statusreadonlystringThe terminal status, or 'running' for a child unsettled at finish time.packages/core/dist/index.d.ts
textreadonlystringThe child's full output serialized (a raw string verbatim, anything else JSON; a failed child's errorMessage), '' while unsettled. The same serialization the child result evidence tools page.packages/core/dist/index.d.ts