Skip to main content
archive Search
Submit Donate Log in

Press Enter to search · Advanced search

Computer Science > Artificial Intelligence

arXiv:2606.12329 (cs)
[Submitted on 10 Jun 2026 (v1), last revised 30 Sep 2026 (this version, v2)]

Title:PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents

Authors:Ripon Chandra Malo, Tong Qiu
View a PDF of the paper titled PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents, by Ripon Chandra Malo and 1 other authors
View PDF HTML (experimental)
Abstract:AI coding agents often lose project-specific rationale across sessions and may repeat approaches that previously failed. The bottleneck is often not model capability but missing coding agent memory: a durable record of what was decided, tried, and ruled out. We present projectmem, an open-source, local-first memory and judgment layer for AI coding agents, which records development as an append-only, plain-text log of typed events (issues, attempts, fixes, decisions, and notes) and deterministically projects it into compact summaries served through the Model Context Protocol (MCP). When invoked before an edit, a file-scoped advisory precheck returns recorded failures, open issues, and churn for the target file, a design point we call Memory-as-Governance. We evaluate feasibility through an author-run, six-month self-study on two machines, a controlled latency benchmark, and client-compatibility tests. The study contains 3,228 unique events from 27 projects; 56% are issue-lifecycle events, and 86 of 427 distinct issues closed by a recorded fix had at least one failed attempt before the first fix in event-log order. These histories are candidates for later warnings, not evidence that warnings prevented failures. On a synthetic repository, the median analysis time for a 1,500-event log decreased from 42.0 seconds to 79.3 milliseconds, while git subprocesses per check decreased from 1,500 to two and the tested warning output was preserved. The results establish the feasibility of persistent project memory for AI coding agents and motivate a controlled repeat-failure benchmark for measuring whether coding-agent memory prevents repeated failures. Source code is available at this https URL.
Comments: 19 pages, 6 figures, 6 tables. Major revision: expanded the study to six months and 3,228 events across 27 projects; added judgment-gate latency, supersession, cross-project attribution, and client-compatibility evaluations; and revised the system design, related work, limitations, and worked example. Code and reproducibility artifacts: this https URL
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2606.12329 [cs.AI]
  (or arXiv:2606.12329v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2606.12329
arXiv-issued DOI via DataCite

Submission history

From: Ripon Chandra Malo [view email]
[v1] Wed, 10 Jun 2026 17:02:56 UTC (288 KB)
[v2] Wed, 30 Sep 2026 03:04:41 UTC (911 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents, by Ripon Chandra Malo and 1 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Additional Features

  • Audio Summary

Current browse context:

cs.AI
< prev   |   next >
new | recent | 2026-06
Change to browse by:
cs

References & Citations

  • SciX
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation (opens in new tab) Simons Foundation International (opens in new tab) Schmidt Sciences (opens in new tab)