Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / profileRegistrySnapshotHash

Function: profileRegistrySnapshotHash() ​

ts
function profileRegistrySnapshotHash(profiles): string;

Defined in: packages/core/src/journal/termination.ts:143

The deterministic profile-registry snapshot hash frozen inside termination.init: profile names mapped to their declared ladder lengths, canonical JSON, sha256.

Parameters ​

ParameterType
profilesRecord<string, unknown> | undefined

Returns ​

string