Rulvar API reference / @rulvar/core / toolsetAuthorityHash
Function: toolsetAuthorityHash()
ts
function toolsetAuthorityHash(authorities): string;Defined in: packages/core/src/tools/toolset-hash.ts:86
The aggregate authority hash (RV1802): sha256 over the JCS-canonical array of per-tool authority records, each carrying its tool name, sorted by name; toolsetHash's exact aggregation shape, over the authority side.
Parameters
| Parameter | Type |
|---|---|
authorities | Record<string, ToolAuthority> |
Returns
string