shipwithjev

Catalog / Tools & apps

0332GitHub

fast-dev-compaction

Codex port that restores Jev-selected verbatim history around native session compaction.

leonaaardob/fast-dev-compactionREADME ↗
# fast-jev-compaction

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.

> [!WARNING]
> **I do not recommend using this.** This is an experimental proof of concept, not a
> tool I stand behind — for real work, just use the default compaction in Codex or
> Claude Code.
>
> The approach has been [critiqued in detail by Theo (@t3.gg)](https://x.com/theo/status/2100762304862384257),
> who argues that pruning tool calls and results on a probability threshold
> misunderstands how compaction and context management actually work: it discards the
> reasoning traces frontier models never expose over the API, ignores that models are
> trained on their own compaction flows, and makes history edits trigger expensive cache
> rewrites. Treat this repo as a write-up of an idea, not as something to run in a
> real workflow.

> **Codex port of [tamaratran/fast-jev-compaction](https://github.com/tamaratran/fast-jev-compaction).**
> The compaction engine (`src/`) and the Jev scoring design are by
> [@tamaratran](https://github.com/tamaratran); this repository replaces the
> original Claude Code function-hook adapter with Codex lifecycle hooks.

## What and why

Codex's built-in compaction asks a model to summarize old turns. A summary is
lossy: a file path, exact error, constraint, or command can disappear even
when it matters later. This plugin never rewrites anything. It only deletes
the tool calls and tool results Jev says are no longer needed, and it asks Jev
while showing it the whole conversation. User and assistant text stays
verbatim and in order.

The repository is both an npm package (

Also filed under Tools & apps

  1. 0573

    Support chat: agent offered a human escalation path

    A frustrated customer hits a bot loop twice; the judge checks whether a human handoff was offered.

    everyai-com · Tools & apps

  2. 0572

    Subscription cancel: effective date is explicit

    An agent cancels a subscription; the judge checks the exact date the cancellation takes effect.

    everyai-com · Tools & apps

  3. 0571

    Sales quote: numbers match the official price list

    An agent quotes $29/seat against a price list; the judge checks the quote matches exactly.

    everyai-com · Tools & apps

  4. 0570

    Refund chat: agent stated the amount before issuing it

    A support agent issues a $42.50 refund; the judge checks the exact amount was stated before the refund was confirmed.

    everyai-com · Tools & apps