Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
As AI coding agents become both primary producers and consumers of source code, the software industry faces an accelerating loss of institutional knowledge. Each commit captures a code diff but discards the reasoning behind it - the constraints, rejected alternatives, and forward-looking context that shaped the decision. I term this discarded reasoning the Decision Shadow. This paper proposes Lore, a lightweight protocol that restructures commit messages - using native git trailers - into self-contained decision records carrying constraints, rejected alternatives, agent directives, and verification metadata. Lore requires no infrastructure beyond git, is queryable via a standalone CLI tool, and is discoverable by any agent capable of running shell commands. The paper formalizes the protocol, compares it against five competing approaches, stress-tests it against its strongest objections, and outlines an empirical validation path.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 3 of its 15 references that are in the map. First posted on arXiv 16 Mar 2026.
Builds on
3 of 15 references.
References · 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026CommitDistill: A Lightweight Knowledge-Centric Memory Layer for Software Repositories
- 2026Why Git Is the Memory Solution for the Agentic Development Lifecycle
- 2026Detecting AI Coding Agents in Open Source: A Validated Multi-Method Census of 180 Million Repositories
- 2026Git-Assistant: Planning-Based Support for Updating Git Repositories
- 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub
- 2026Learning to Commit: Generating Organic Pull Requests via Online Repository Memory
- 2026GitLake: Git-for-data for the agentic lakehouse
- 2026AgentLogs: A Dataset for Opening the Black Box of GitHub's Cloud Agent