Metraipolis › archive › dc_e46c9dafb0e1

Temporal Validity on Real Software Histories: Eliminating Stale-Fact Errors in Code-Assistant Memory over GitHub Fixes — arXiv:2608.20685

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.20685
License (as archived)
CC0-1.0
Archived
2026-10-18T10:18:38.807Z
SHA-256 of the archived text
e7261a4ccfd73200c1858b54a13c00818d11cf4ec0410ff00c2679a70d2e0c27
Stable URL of this page
https://metraipolis.com/documento/dc_e46c9dafb0e1

How to cite

Temporal Validity on Real Software Histories: Eliminating Stale-Fact Errors in Code-Assistant Memory over GitHub Fixes — arXiv:2608.20685 — arXiv (en), https://arxiv.org/abs/2608.20685 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e46c9dafb0e1 (Metraipolis archive dc_e46c9dafb0e1, sha256 e7261a4ccfd73200c1858b54a13c00818d11cf4ec0410ff00c2679a70d2e0c27)
BibTeX
@misc{dce46c9dafb0e1,
  title = {Temporal Validity on Real Software Histories: Eliminating Stale-Fact Errors in Code-Assistant Memory over GitHub Fixes — arXiv:2608.20685},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.20685},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e46c9dafb0e1; sha256 e7261a4ccfd73200c1858b54a13c00818d11cf4ec0410ff00c2679a70d2e0c27},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20685. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Retrieval-augmented generation (RAG) has no model of time: when a fact changes across a coding session - a function is renamed, an endpoint moves, a dependency is bumped - RAG retrieves both the old and new value with near-identical similarity and cannot tell which is current, so it serves the superseded value. Paper 1 showed, on synthetic single-value benchmarks, that a deterministic (subject, relation, object) supersession memory eliminates this failure. Here we validate it end-to-end on real software history. From 707 real GitHub issues (SWE-bench Lite + Verified) we extract 130 clean atomic state transitions, a fix that changes one identifiable value from a pre-fix to a post-fix form, and render each marker-free (the stale and current statements differ only in the value). On this set, MemStrata reaches 0.91 answer accuracy versus RAG's 0.57-0.59; and, the structural result, when forced to answer RAG serves the superseded value 36-38% of the time (an LLM reranker does not help) while MemStrata drives this to ~0, at RAG retrieval latency (~2.1 s vs ~18 s for the reranker). We are explicit about scope: only ~18% of real fixes are clean atomic transitions; Paper 2 isolates the memory mechanism on that class, and extraction coverage of the remaining fixes is the orthogonal problem we defer to follow-on work. A real product bug surfaced and was fixed during the study (a case/punctuation-insensitive value comparison), with the moat property (deterministic-supersession accuracy on clean code mutations) preserved and verified.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-24 in cs.CL).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.20685 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T10:17:37.612Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).