Solving agentic amnesia: a file-system state machine for Claude Code
SnooComics4579 · reddit · 2026-09-08
The author argues that fighting agentic amnesia (context overflow, hallucination, forgotten decisions) with better prompts is a losing battle—prompt rules are requests the model can starve out under pressure. So they built Craft, an open-source Claude Code plugin moving context management from the prompt to the file system:
- File system as long-term memory: a local .craft folder acts as a deterministic state machine; the LLM reads/writes it to track learnings, design tokens, and locked decisions.
- Write Gate: the LLM has read-only access to the codebase by default and open write access only to .craft; touching source code requires an approved "story" or "fix" proposal.
- Room protocol: before each session, the LLM reviews its own on-disk notes to resume exactly where it left off.
Takeaway: to make an LLM act like a senior engineer, give it a senior engineer's tools—a notebook, a staging environment, and a strict PR process. MIT-licensed, installable via claude plugin marketplace add drobins25/craft.
More from coding & agent
- A Fallback for an Auto-Posting Bot: Silence Is the Default, Posting Is the Exception — petrusenko_max · 2026-10-26
- Claude Code can now edit videos: a 10-prompt workflow from raw footage to final cut — TawohAwa · 2026-10-26
- Developer Moves All Prompts to Skills: AI Coding Workflow v3 Explained — rseroter · 2026-10-26
- charlie Marsh: rewrites beat external deps in the AI era — mohamedmansour · 2026-10-26
- OpenAI and Twitch launch Codex hackathon with $25,000 in prizes — OpenAIDevs · 2026-10-26
- Filtering secrets on the write path: why agent memory deserves more suspicion at ingest than retrieval — Classic-Being-7960 · 2026-10-26