joelhooks/pi-fast-jev-compaction
User repository on GitHub
Pi extension: verbatim context compaction with TypeSafe Jev decisions
- Forks
- 3
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
Jev directory
joelhooks/pi-fast-jev-compaction
User repository on GitHub
Pi extension: verbatim context compaction with TypeSafe Jev decisions
Repo stats from the GitHub API, cached Oct 2026.
A stock Pi 0.85.1 extension that keeps conversation text verbatim while pruning stale tool history with TypeSafe Jev. This is deliberately layer 1 only. It does not summarize, rewrite, or create memory. When pruning cannot free enough context, Pi's built-in summary compaction takes over. Sends a compact representation of tool calls and surrounding conversation to TypeSafe's /v1/systemone endpoint. Asks two noul questions per eligible tool call: keep the call and keep its result.
Quoted from the project's README. Read the full README.
pi install git:github.com/joelhooks/pi-fast-jev-compaction
pi -e git:github.com/joelhooks/pi-fast-jev-compaction # one run without installing
export TYPESAFE_API_KEY=YOUR_API_KEYWatch out
MIT-licensed with the decision core ported from tamaratran/fast-jev-compaction; needs Node 24.18 and Pi 0.85.1 plus TYPESAFE_API_KEY, every ledger edit invalidates the provider's prompt cache from the first edited message, and decisions are model judgments, not proofs.
Short answers drawn from the linked project or page.
Posts, threads, and videos about this entry from around the web.
X: The compaction plugin, in Chinese
X: Decision outputs in Grep
Hacker News: jevmem keeps Claude Code project memory by asking Jev which turns are worth saving.
avinashjetwani61 pointsJevmem – automatic project memory for Claude Code, built on JevRead the thread on Hacker NewsX: A usage router for Grok Bot
Forks and copies of this project in the directory. This entry is the canonical one.
Original write-ups on what this entry is for.
Posts from builders shipping with Jev right now.