Interface: RagRetrievalScope
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:232
Enterprise access scope applied at retrieval time. The augmentor translates these into the vector-store layer's metadata filter so forbidden context is excluded from results, not retrieved and then asked-to-be-ignored.
Empty/undefined fields are treated as "no constraint" (e.g. no tenantId
means cross-tenant retrieval is allowed). When set, only chunks whose
matching field matches the scope are eligible:
tenantId— exact matchaclGroups— intersection with chunk'saclGroupsmust be non-emptyclassification— chunk's classification must be <= max sensitivitystatus— chunk must be one of the listed lifecycle states (default:['active'])now— chunk'seffectiveDate≤ now ≤expiresAtwindow
Properties
aclGroups?
optionalaclGroups:string[]
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:234
maxClassification?
optionalmaxClassification:"internal"|"public"|"confidential"|"restricted"
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:236
Maximum sensitivity the requesting principal is allowed to see.
now?
optionalnow:string
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:240
ISO timestamp for effective-date / expires-at filtering. Defaults to "now".
status?
optionalstatus: ("draft"|"deprecated"|"active"|"archived")[]
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:238
Allowed lifecycle states. Defaults to ['active'] when omitted.
tenantId?
optionaltenantId:string
Defined in: packages/agentos/src/cognition/rag/IRetrievalAugmentor.ts:233