Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / OrchestrateDeterministicPatches

Interface: OrchestrateDeterministicPatches

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

The deterministic-repair aggregate of the shipped run (RV3904, the fourth comparison experiment): the patches themselves stay on the journaled finish-validation decisions (RV3801, byte-exact with before/after hashes per decision); the acceptance envelope carries the aggregate, so "was the shipped document machine-patched, and from what bytes" is an envelope read instead of a journal walk. Present exactly when at least one ACCEPTED deterministic repair exists; every other envelope stays byte identical.

Properties

PropertyTypeDescriptionDefined in
decisionsnumberFinish decisions whose deterministic repair was accepted.packages/core/dist/index.d.ts
lastAfterHashstringThe LAST accepted repair's canonical post-patch hash; the judge rules on these bytes.packages/core/dist/index.d.ts
lastBeforeHashstringThe LAST accepted repair's canonical pre-patch hash.packages/core/dist/index.d.ts
patchesnumberTotal individual patches across those decisions.packages/core/dist/index.d.ts