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
- Celesto AI launches CelestoFS, petabyte-scale durable workspaces for AI agent sandboxes — aniketmaurya · 2026-09-08
- Astra on low reasoning beats Sol on high, and runs twice as fast, devs confirm — steipete · 2026-09-08
- Critical review of agentic AI offers framework for how much authority to delegate — dair_ai · 2026-09-08
- Codex tip: Astra reads your remaining usage %, so you can budget in plain English — keyanzhang · 2026-09-08
- Rork launches Element Selection: point at any element instead of screenshots — rudrank · 2026-09-08
- Feeding bank statements to an AI agent finds every tax exemption, saving thousands a year — menhguin · 2026-09-08