NeFut Logo NeFut
Admin Login

[CS.AI] Git as the Memory Solution for Agentic Development Lifecycle

Published at: 2026-07-18 22:00 Last updated: 2026-07-22 01:24
#algorithm #C++ #Open Source

In the current development environment, coding agents produce an increasing share of a team's code, but 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 a retrieval problem and built as machinery: tiered stores, memory graphs, compiled wikis, model-judged admission. We argue memory should instead be git-bound—integrated 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 were 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.

Blogger's Review: This article presents an innovative perspective by integrating Git's version control mechanism with memory storage, aimed at enhancing information management efficiency in the agentic development lifecycle. This approach not only improves the traceability of information but also reduces reliance on annotations, offering broad application potential. With effective answer assembly and routing strategies, the system provides developers with a more efficient knowledge retrieval method, warranting further research and practice.

Original Source: https://arxiv.org/abs/2607.14390

[h] Back to Home