Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / OrchestrateDraftToFinal

Interface: OrchestrateDraftToFinal

Defined in: packages/core/src/orchestrator/orchestrate.ts:1803

How the shipped artifact relates to the draft the run composed it from (RV2509), present on the acceptance envelope whenever a synthesis was configured. Two hashes and the answer they imply: a semantic verdict rendered over the draft describes the final only when rewritten is false, and until this shipped a consumer had no way to ask.

Properties

PropertyTypeDescriptionDefined in
claimsJudgedOn?"draft" | "final" | "both"Which documents the claim-consistency pass actually judged; absent when it never ran.packages/core/src/orchestrator/orchestrate.ts:1811
draftHashstringsha256 over the canonical coordination draft.packages/core/src/orchestrator/orchestrate.ts:1805
finalHashstringsha256 over the canonical artifact the run settled on.packages/core/src/orchestrator/orchestrate.ts:1807
rewrittenbooleanFalse exactly when the two hashes agree: the synthesis returned the draft unchanged.packages/core/src/orchestrator/orchestrate.ts:1809