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:128

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