Jevmem – automatic project memory for Claude Code, built on Jev
TL;DR Highlight
Saving chat decisions to JEVMEM.md raised Claude's adherence from 28/72 to 66/72 sessions.
Who Should Read
Developers whose Claude Code sessions forget last week's decisions and keep re-explaining them.
Core Mechanics
- Chat decisions saved as one-line repo notes
- jevmem writes decisions, rules, bugs, to-dos and dead ends to JEVMEM.md as single lines.
- Only lines relevant to your prompt are sent back to Claude next session.
- Teammates share the same file through git.
- Jev scores what to save with probabilities
- Jev, a TypeSafe AI model, answers yes/no questions like 'is this a decision or a rule?' with probabilities.
- Thresholds in jevmem.config.json decide save or skip in code, not a prompt.
- Secrets, emails and card-like numbers are scrubbed before sending.
- Following past decisions: 28/72 to 66/72
- Across 72 real Claude Code sessions, Claude followed earlier decisions in 28 without memory and 66 with jevmem.
- Forbidden changes attempted dropped from 10 of 18 to 0 of 18.
- Repeating failed approaches dropped from 3 of 15 to 0 of 15.
- A hand-kept CLAUDE.md did about as well
- The same lines in a hand-written CLAUDE.md scored 67 of 72 versus jevmem's 66.
- On a convention the prompt doesn't point at, CLAUDE.md got 3/3 and jevmem 0.6 got 0/3.
- Always-on rules in 0.7.1 took six held-out tasks from 14/18 to 18/18.
- A guard checks rules before actions
- Before Claude runs a command or edits a file, the call is checked against saved rules and you are asked if one may break.
- On 274 tool calls it caught 66 of 68 rule breaks.
- It also asked about 3 or 4 of the 206 calls that broke no rule.
- Speed, cost and limits
- Deciding what to save takes 0.24s and $0.00018 per message in the background.
- Recall adds about 0.3–0.5s per prompt, growing with file size.
- All tests are the author's own sets, not independent benchmarks.
Community Reactions
- Opinion that the purpose is unclear
- One commenter read the project and still couldn't tell what problem it solves or why it beats the harness's native memory.
- Pushback on keeping superseded lines
- A commenter said marking old lines superseded instead of deleting them pollutes context with outdated info.
- They said pruning conflicting info is the biggest weakness of built-in memory.
- Privacy concern about TypeSafe AI
- A commenter saw a lot of data going to TypeSafe AI in SECURITY.md and found it a red flag.
- Simpler alternative and KV cache question
- One commenter suggested a cheap agent with one JSON-schema-constrained tool call instead.
- Another asked whether it thrashes the session's KV cache.
How to Apply
- Preview your CLAUDE.md with import
- Run jevmem import in a current project to see what it would add from CLAUDE.md.
- Add --apply to write it, and read PRIVACY.md first to see what is sent.
- Write failed approaches as one-line rules
- Where the agent repeats mistakes, add an 'tried, failed, reason' line to CLAUDE.md or JEVMEM.md.
- Check next session whether Claude still repeats the approach.
- Test the guard with a forbidden rule
- Save a rule like 'Never commit .env files' and ask for a related command.
- Check whether a warning appears and note wordings that slip through.
Try It
# Paste into Claude Code (or Claude/ChatGPT) — simplified version of jevmem's approach (manual project memory extraction)
Below is this chat's history. Extract only items worth reusing next session in JEVMEM.md format.
Each item is one line, at most 200 characters.
Prefix each with one of [decision], [constraint], [bug], [todo], [dead-end].
For failed approaches, include the reason.
If a message reverses an earlier decision, mark the old line [superseded].
{{chat history}}
Next step: save the result to JEVMEM.md in your repo and start the next session with "Read JEVMEM.md first and follow its rules".Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques