Why Git Is the Memory Solution for the Agentic Development Lifecycle
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding agents now produce a growing share of a team's code, while the reasoning behind each change -- the alternatives weighed, the constraints discovered, the approaches rejected -- is trapped in assistant transcripts that vanish with the session. Memory for this setting, the agentic development lifecycle (ADLC), is usually posed as one retrieval problem and built as machinery: tiered stores, memory graphs, compiled wikis, model-judged admission. We argue memory should instead be git-bound -- built into the repository's version control, inheriting the guarantees the machinery struggles to construct: ground truth from commits, freshness from rebuild, verification from the merge, containment from review. On this ledger we solve two problems separately, then combine them. Seed supply is closed as an eight-corpus retrieval study under a pre-registered ship discipline: five imported ranking mechanisms rejected, two kept, and a best configuration of ~0.31 pooled MRR -- ~60x the raw-transcript grep floor, ~15x an honest parsed-turn floor. Answer assembly is where ranking stops helping: single-shot retrieval scores only 0.07-0.20 answer-sufficiency on real developer questions, and ungated episode injection measurably degrades good answers. A router dispatches breadth to a git-anchored structural map, pointed lookups to confidence-gated episodes, and rationale to decision synthesis, which reconstructs why-arcs no single session contains (0.83 sufficiency on a young ~50k-LOC production system). Routed, the system answers at 382-980 tokens per question -- three orders of magnitude below the recorded history. Because ground truth is mined from commit-session links rather than annotated, every result is replicable on any user's own history at zero labeling cost. The remaining constraint is capture. Code, benchmark, and paper source: github.com/rekal-dev/rekal-cli.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 11 of its 16 references that are in the map. First posted on arXiv 15 Jul 2026.
Builds on
11 of 16 references.
References · 11
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2026Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interactioncited by 38
- 2025A Simple Yet Strong Baseline for Long-Term Conversational Memory of LLM Agentscited by 21
- 2026Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preferencecited by 19
- 2026Are We Ready For An Agent-Native Memory System?cited by 15
- 2026AdaMem: Adaptive User-Centric Memory for Long-Horizon Dialogue Agentscited by 11
- 2026GrepSeek: Training Search Agents for Direct Corpus Interactioncited by 10
- 2026Retrieval as Reasoning: Self-Evolving Agent-Native Retrieval via LLM-Wikicited by 9
- 2026Towards Retrieving Interaction Spaces for Agentic Searchcited by 7
- 2026AutoMem: Automated Learning of Memory as a Cognitive Skillcited by 5
- 2026Escaping the Self-Confirmation Trap: An Execute-Distill-Verify Paradigm for Agentic Experience Learningcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026GitOfThoughts: Version-Controlled Reasoning and Agent Memory You Can Replay, Diff, and Merge
- 2026Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agents
- 2026GitLake: Git-for-data for the agentic lakehouse
- 2026CommitDistill: A Lightweight Knowledge-Centric Memory Layer for Software Repositories
- 2026Learning to Commit: Generating Organic Pull Requests via Online Repository Memory
- 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
- 2025Git Context Controller: Manage the Context of LLM-based Agents like Git
- 2026Specifying and Maintaining Agentic Workflows: An Empirical Study of GitHub Agentic Workflows