Kind: Function
Source: atloria-monorepo/apps/api/src/reader-access/visibility.util.ts
Deterministic key for an effective rule — stamped on RAG chunks at index time so retrieval can filter to the caller's satisfiable segments. 'public' when unrestricted. Key stability relies on canonical JSON (sorted object keys), so semantically-identical rules hash identically across restamps.
Signature
tsfunction visibilityKey(rule: unknown): string
Parameters
| Name | Type |
|---|---|
rule | unknown |
Returns: string
Was this page helpful?