Guided security lab
Retrieval Relevance vs Trust
A guided exercise on reading retrieval evidence correctly: separate relevance, rank and citations from provenance, current version, user authorization and purpose-specific source authority before relying on a retrieved answer.
This exercise uses authored, deterministic examples with fictional names and neutral synthetic claims. It runs no retrieval, embeddings, ranking, index, model or tools, and it does not predict how any real model behaves.
Learning objectives
- Distinguish relevance evidence from security and authority evidence.
- Explain why rank, similarity and reranker scores can order candidates but cannot authorize or certify them.
- Treat citations as traceability, not as proof of correctness, currency or authority.
- Use application-side source identity, source category, version state, ACL and purpose-specific source-of-truth rules outside model text.
- Recognize that an authentic source can still lack authority for the current purpose, and allow a bounded answer when all required dimensions align.
Prerequisites
- RAG Prompt Injection lab (recommended)
- Poisoned Knowledge Base lab (recommended)
Retrieval path and trust flow
Candidates are ranked by relevance, filtered by access, then checked against source, version and purpose rules. Components are system; documents and the model proposal stay variable.
- Indexed itemVariable content->
- Source registrySystem component->
- Retriever and rerankerSystem component->
- ModelSystem component->
- Proposed answerVariable content->
- Answer reliance policySystem component
Model-visible retrieved content
Retrieved text the model reads. Bracketed text marks a neutral synthetic claim, not real guidance.
- Retrieved item r-31 (rank 1)
[synthetic factual claim] The support desk is staffed on public holidays.
Retrieval scores and application-side evidence
Recorded by the retriever, the source and version registries, the ACL and the purpose-specific source-of-truth rules outside model text.