Mental model
Module 12: Know which source should win- Handle stale documents, superseded policies and conflicting evidence using explicit source authority and lifecycle metadata.
Handle stale documents, superseded policies and conflicting evidence using explicit source authority and lifecycle metadata.
Engineering focus: Know which source should win
Handle stale documents, superseded policies and conflicting evidence using explicit source authority and lifecycle metadata.
You are not expected to know the engineering vocabulary before using the idea. Formal terminology comes after the mental model.
Carry one evidence-grounded knowledge assistant through all 18 modules. Preserve source IDs, retrieval evidence, evaluation cases, authority decisions and security assumptions so every improvement is measurable.
Relevance answers “is this about the question?” Authority answers “should this source win?” Production systems need both.
A high similarity score cannot override a superseded or unauthorized source.
An old policy can be semantically perfect and still be wrong for today's decision.
Owner, version, effective date, status and supersedes relationships help determine which source governs.
If two authoritative sources disagree, the system should surface the conflict or route for review rather than hide uncertainty.
Record which exact source versions and chunks produced an answer.
Module 12: Know which source should winold-policy.md status=superseded effective=2025-01-01
new-policy.md status=active effective=2026-08-01
Resolution: new-policy.md authoritative
If two ACTIVE authoritative sources conflict:
status = AUTHORITY_CONFLICTTwo policies answer the same question differently.
Conflict is a first-class state, not something to hide with similarity.
Goal: Rank current policy over superseded policy and detect unresolved conflicts.
python3 - <<'PY2'
docs=[{'id':'p1','effective':'2025-01-01','status':'superseded'},{'id':'p2','effective':'2026-08-01','status':'active'}]
active=[d for d in docs if d['status']=='active']; assert len(active)==1; print(active[0])
PY2Record the intermediate source IDs, ranks, metadata or state produced by the baseline. Explain which pipeline layer this evidence belongs to.
Mark two contradictory policies as active and equally authoritative. The correct state is AUTHORITY_CONFLICT, not a guessed winner.
Conflict is a first-class state, not something to hide with similarity. State the failing layer, change only that layer, then repeat the verification checks.
Record: hypothesis → evidence → change → observed result → remaining limitation. Keep this note with the running Evidence Desk project.
Production RAG improves when every change can be traced to evidence at a specific pipeline layer. In production, retain the before/after evidence so the same failure can become a regression test.
Authority policy explicit
Superseded sources excluded from authoritative path
Conflict state supported
A highly relevant source may be stale or non-authoritative.
Status, effective date, owner, version and supersession links.
Surface or escalate the conflict rather than fabricate certainty.
For reproducibility and audit.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.