Skip to content

Jev directory

Fast Jev Compaction — leonaaardob

A Codex plugin and npm library that wraps native session compaction: Jev scores every tool call and result, and the verbatim history it keeps is re-injected after Codex summarizes. The README does not recommend using it.
Stars
10
Language
TypeScript
License
MIT
Reading time
4 min
Published by
Community
Author
leonaaardob
Last verified
Sep 2026

This is one of several Jev listings for the same project. The canonical entry is Fast Jev Compaction — tamaratran.

About this project

Codex plugin that wraps session compaction with Jev decisions: before Codex compacts, every tool call and result is scored in fast requests; after compaction, the verbatim history Jev kept is re-injected as context. Also usable as an npm library.

Quoted from the project's README. Read the full README.

Highlights

  • PreCompact replays the rollout JSONL, pairs tool calls with results by call_id, and asks two noul questions per non-pinned call.
  • After Codex compacts, a SessionStart hook emits the kept history as additionalContext capped at FAST_JEV_CONTEXT_CHARS with a pointer to the full file.
  • PostCompact reports kept, truncated, and dropped counts, state size, and request count as a systemMessage.
  • The README warns against using it and cites Theo's critique that pruning on a probability threshold misunderstands compaction and cache rewrites.
  • It falls back cleanly: a Jev failure, missing key, unfittable transcript, or insufficient reduction leaves Codex's built-in summary unchanged.

Quickstart

bash
codex plugin marketplace add leonaaardob/fast-dev-compaction
codex plugin add fast-jev-compaction@fast-jev-compaction
export TYPESAFE_API_KEY=YOUR_API_KEY

Watch out

MIT-licensed with the compaction engine from tamaratran/fast-jev-compaction; needs Node.js 18+ and TYPESAFE_API_KEY or a key file, and the author calls it an experimental proof of concept rather than a tool to run.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

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 News

X: A usage router for Grok Bot

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai