How to Prove an Outdated Document Actually Left Your Vector Database (The Tombstone Canary Pattern)
Why DELETE 200 OK is an unverified hypothesis in RAG pipelines, and how to build deterministic out-of-band canary probes that catch ghost embeddings before agents commit mutations.
A senior platform engineer watches an autonomous billing agent issue a 45% enterprise discount that the executive committee eliminated three weeks ago.
The incident report starts with the obvious question: "Did anyone delete the old pricing policy?"
The lead developer pulls the audit logs. The primary Postgres database confirms:
UPDATE documents SET status = 'DEPRECATED' , deleted_at = NOW ( ) WHERE document_id = 'doc_pricing_enterprise_2024' ; -- Rows affected: 1 (Execution time: 4ms)
Enter fullscreen mode
Exit fullscreen mode
The microservice issued a DELETE /v1/indexes/documents/vectors/doc_pricing_enterprise_2024 to the vector cluster.β¦