RAG knowledge freshness: updates, deletions and late-arriving events

An assistant can faithfully answer from a document that should no longer apply. The model may not be the cause: delayed ingestion, an undeleted chunk or a cache created before a policy change can be responsible. Knowledge freshness therefore needs a complete data-lifecycle design rather than only a reindexing schedule.

Give sources durable identities

We recommend a document identity independent of its filename, with explicit versions for content, metadata and permissions. Renaming should not create orphaned copies, while a new version should not silently erase the history needed to explain an earlier answer. Establish the authoritative system for each material type.

Index chunks should identify their parent document and version. That makes it possible to verify complete processing and remove the whole representation. Deleting a header record is insufficient if accessible fragments remain elsewhere.

Distinguish applicability from modification time

A file's write timestamp does not establish when its procedure takes effect. A document can be published in advance, become effective later or apply only to one business unit. Represent the relevant applicability context where it affects the answer.

In an illustrative scenario, a company publishes revised complaint procedures with a future effective date. The assistant should not merge both versions into one summary. A question about today's process and one about a historical case may need different documents and a clearly stated time period.

Deletion needs durable evidence and precedence

For deletion or withdrawal, keep a durable change marker that prevents a late import from accidentally restoring material. An older event should not overwrite a newer known state. During backfill, arrival order alone must not determine which version wins.

Define invalidation across indexes, previews, caches and derived artefacts. Retention of copies and operating records should follow an agreed data policy. Do not promise removal from the entire environment when the mechanism only affects the current search index.

Define the freshness contract

EventEvidence of correct handling
New versionAll relevant chunks identify the right version
WithdrawalMaterial is excluded from new answers
Permission changeCache and retrieval respect current policy
Late ingestionOlder records cannot restore outdated state
Synchronisation failureCapability restrictions are visible

Expose lag rather than hiding it

Set freshness expectations by data class. General guidance and live product availability need different treatment. Highly variable information may be better obtained through a controlled source-system read than an index copy. Show retrieval time or validity scope where it matters to the decision.

Monitor the interval between an approved source change and its effective use, together with inconsistent-document counts. The timestamp of the last ingestion run does not prove correctness. A technically successful job can still omit particular records or leave downstream representations unchanged.

Test recovery as well as normal updates

Combine a document update, its withdrawal and a late message representing an older state. Then rebuild the index from a copy and test whether withdrawn content reappears. Include a permission change during reconstruction. Ordinary questions about the newest document will not expose these failure paths.

Also test partial processing: some chunks updated and others still on the previous version. Establish whether the collection is temporarily excluded, the old complete version remains available or a validated replacement is switched atomically. The choice depends on the process's tolerance for stale information, but should be deliberate.

Acceptance requires documented freshness limitations and named ownership of discrepancies. Operators need a way to inspect one document's state and restrict an inconsistent source. A manual refresh-everything action should not be the only recovery procedure.

Separate service availability from usable knowledge

An endpoint can respond quickly and correctly at the technical level while a source has not been updated for a long time. Availability alerts therefore do not replace freshness alerts. For each important source, define an owner, a tolerated delay and behaviour after that delay is exceeded. Restriction can affect one knowledge area rather than disabling the whole assistant.

An operating view should expose omitted, pending and withdrawn documents instead of only the latest ingestion count. The operator needs to distinguish source, permission, extraction and indexing failures. These require different remedies; running a schedule more often will not repair a broken data contract.

Keep company knowledge current with Geekforce

We can design synchronisation, versioning and freshness controls for an enterprise assistant. Together, we can improve access to information while accounting for updates, withdrawals and the actual requirements of your business processes.

Sources and further reading

Don't just take our word for it — read what our clients say on independent platforms.