Every AI coding session starts with amnesia. The agent doesn't remember your project, so it re-reads dozens of files and tens of thousands of tokens just to answer basic questions like "what is this and how do I run it?" Then, mid-task, it hits an error you solved together last week. It doesn't remember that either, so it debugs from zero. Sometimes it even "fixes" it a new, worse way. Developer notarshzzz argues that the fix for a forgetful teammate isn't a bigger brainβit's a notebook.
The Two-Part Architecture
The solution, called FixMap, lives inside the project as two distinct markdown components. Part 1 is MAP.md, a hard-capped context diet of approximately 150 lines and 2,000 tokens. This file contains the project's purpose, structure, key files, exact run/test/build commands, conventions, and a critical "do-not-touch" list. The strict budget is intentional; the author notes that a map growing into full documentation stops being read. In the worked example provided in the repository, agent orientation time drops from roughly 30,000 tokens of file-reading to just 1,600.
The Fix Bank Protocol
Part 2 is the fixbank/ directory, which treats every solved error as a small file containing the exact error signature, context, root cause, the fix that actually worked, and proof. Crucially, it also records what did not work to prevent retrying dead ends. Two strict rules govern this bank: "Search before debug," meaning agents must query the bank by exact error text first, and "Bank only what's verified," ensuring guesses never enter the memory. A tiny ranked-search script and a scaffolding script manage the entries.
Vendor-Agnostic Integration
FixMap is plain markdown plus two small shell scripts, requiring no server, account, or external dependencies. The repository includes adapters for major agents including Claude Code, Muse, Codex, Cursor, and ChatGPT. Installation is handled by instructing the agent to read INSTALL-FOR-AI.md from the GitHub repo. Once initialized in a project with the command "fixmap this," the map and bank grow automatically as the developer works, keeping knowledge in the project rather than in a vendor's chat history.
Key Takeaways
- FixMap reduces initial context loading from ~30,000 tokens to ~1,600 by enforcing a 2KB markdown limit.
- The system relies on strict verification: only proven fixes are banked, and dead ends are explicitly recorded.
- It is vendor-agnostic, allowing developers to switch between Claude, Cursor, or Codex without losing project memory.
- The project is free, MIT-licensed, and available at github.com/notarshzzz/fixmap.
The Bottom Line
FixMap correctly identifies that persistent memory is a data structure problem, not a model intelligence problem. By enforcing a strict 2KB context diet, it forces agents to be efficient rather than exhaustive, a necessary discipline as context windows grow.