Dev turns Git into a shared memory layer for multiple Claude Code sessions

DJIRNMAN · reddit · 2026-09-09

A developer shares his open-source approach (project MEX) to shared memory for coding agents: instead of building a database/sync backend, project memory lives as plain files committed to the repo. Decisions, specs, handoffs and activity share the same history as code, diffs make memory changes reviewable, and conflicting edits surface as normal Git conflicts. Structured handoffs replace giant chat summaries, and a proposal flow requires explicit human approval before an agent's writes become shared truth. Local search indexes are rebuilt per checkout; tradeoffs include no realtime sync.

Related event: MEX: Using Git as Shared Memory Layer for Coding Agents(2 posts)→

Original post →

More from coding & agent

coding & agent channel →