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
| Property | Type | Description | Defined 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 |
draftHash | string | sha256 over the canonical coordination draft. | packages/core/src/orchestrator/orchestrate.ts:1805 |
finalHash | string | sha256 over the canonical artifact the run settled on. | packages/core/src/orchestrator/orchestrate.ts:1807 |
rewritten | boolean | False exactly when the two hashes agree: the synthesis returned the draft unchanged. | packages/core/src/orchestrator/orchestrate.ts:1809 |