Glossary · Drift Detection (Git-Anchored Invalidation)

Drift Detection (Git-Anchored Invalidation).

The codebase is the ground truth.

Direct answer

Content-anchored invalidation binds memories to the code spans that justify them; when git history moves underneath, affected nodes are flagged LowConfidence or demoted. This solves the staleness problem decay alone can't: a highly-retrieved fact (your auth scheme, your employer) becomes confidently wrong the day reality changes. Drift checks run per session and at session end; anchors, not timestamps, decide.

In Anvaya

How We Implement It.

01Drift Detection (Git-Anchored Invalidation)Anvaya's Invalidation service checks anchors against git diffs each session; drifted nodes drop confidence and stop packing until re-corroborated.

Questions

Asked About Drift Detection (Git-Anchored Invalidation).

Q

Why isn't decay enough?

Decay handles low-relevance aging. Drift handles high-relevance wrongness, the dangerous case where the old fact keeps winning retrieval.

Q

What is an anchor?

The file span, symbol, test, or commit a node cites as evidence. Move the span, trip the check.

Q

How does this compare to editing CLAUDE.md?

Manual edits rely on humans noticing. Anchors notice automatically, every session, against git truth.

Run Agents That Fit On Your Laptop.

25.6 MB median RSS. 25 agents ran in parallel on a Core 2 Duo with 4 GB RAM. Hundreds on your machine. Zero cloud required on the Ollama path.

Requires Rust/cargo to build from source. Linux and macOS today, Windows not yet supported. Pre-1.0, public beta. Pricing TBD.