You're deployed at a customer whose knowledge base has overlapping documents: a retired policy and its current replacement both exist. The agent sometimes quotes the outdated one. The retrieval code is below; each doc carries metadata with a status and effective date. AI tools are allowed. Make the agent resolve conflicts (exclude retired policies, prefer the current/newest, and surface genuine conflicts) instead of picking by raw similarity. Then explain to the policy owner how conflicts are handled now.