Videos / anchormem
Developer tools · Nov 13, 2026 · 0:30 · @Chiragp1605
anchormem, Codex has to ask
Chirag's post says coding agents remember the code, then the code changes and the memory goes stale. He built anchormem. Every memory is anchored to the function it describes, so it lights up the moment that code changes. Open source. The repository is ChiragPatankar/anchormem. The license is MIT. A memory points at a file, a symbol, or a line range. A check fingerprints the code with the whitespace removed. CHANGED, MOVED, and MISSING come from that fingerprint. FLAGGED means an agent called the memory outdated even though the code did not change. The dashboard with --serve updates on localhost as the code changes. Hooks that hand the memory over are written for Claude Code. Codex and Cursor are told, in AGENTS.md, to run the check themselves. Python symbols use Python's parser. JavaScript, TypeScript, and the other listed languages use a brace matcher. Line-range anchors are fragile. The check flags the memory. It does not rewrite it. The post says it lights up the moment the code changes. It does not say Codex has to run the check. This page did not save a memory.
- memory
- agents
- PRODUCT
- anchormem
- SOURCE
- anchormem
- POSTED BY
- @Chiragp1605
The player uses the public post. The film still belongs to its owner.
Open original post