Coding Agent Memory: Causal History Instead of Text Retrieval
jonah_omninode · reddit · 2026-08-15
The author proposes a new memory object for coding agents: an immutable, typed causal history joined to versioned artifacts. The model records the full causal chain from goal, context selection, repository state, attempted actions, failures, validation, to accepted outcome, stored in an event ledger with content-addressed artifacts. The author suggests that successful causal subgraphs can serve as exemplars, reusing structure after comparing dependency graph changes. The post discusses minimal event sets, boundary issues, and seeks feedback.
More from coding & agent
- Coding agents keep opening 3 stacked PRs per chat, and merging them is a nightmare — holdenmatt · 2026-10-16
- Google-led paper uses sequential auctions to organize decentralized LLM agent workflows — _onionesque · 2026-10-16
- Since OpenAI's math release, GitHub contributors keep driving down the integer-multiplication kappa — xennygrimmato_ · 2026-10-16
- Pattern MCP makes coding agents check existing components before writing new code — DonR954 · 2026-10-16
- Zero-keyframe procedural spider walks walls and ceilings using pure raycasts — yshan2u · 2026-10-16
- OpenCode v1.19.2 keeps 1.x installs off the 2.x update path — opencode-agent[bot] · 2026-10-16