Not All Sources Are Equal
Enterprise repositories contain approved policy, drafts, outdated content, confidential material, and user-generated text. Retrieval should account for source trust, freshness, ownership, and access control.
Trust Inputs
Useful scoring inputs include repository, document owner, label, age, access policy, historical abuse, content type, and whether the source can contain untrusted user instructions.
Runtime Decisions
Low-trust sources may be excluded, summarized with caution, inspected more deeply, or prevented from influencing tool actions. The decision should be logged for tuning.
Governance Loop
RAG security improves when findings feed source cleanup, permission fixes, label improvements, and red team retesting.