jevbooks

← All projects

pi-fast-jev-compaction

joelhooks/pi-fast-jev-compaction

Pi extension pruning stale tool history with TypeSafe Jev decisions.

Agent Decisions88%Runner-up: Data Labeling & Curation

What it is

A stock Pi 0.85.1 extension for developers managing long agent sessions. It keeps conversation text verbatim while pruning stale tool history, falling back to Pi's built-in summary compaction only when pruning cannot free enough context.

How it uses Jev

Jev receives a compact representation of tool calls and surrounding conversation at /v1/systemone. Two noul questions per eligible tool call decide keep the call and keep its result. Decisions map to keep, drop_result, or drop_call and are stored as append-only fast-jev-decisions entries.

Primitives:noul

Technique worth stealing

Append-only decision ledger rebuilt from the session branch, filtering only model context and never rewriting the JSONL session file.

Try it

pi install git:github.com/joelhooks/pi-fast-jev-compaction, or pi -e git:github.com/joelhooks/pi-fast-jev-compaction

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricyes0.87
  • Shows a System One patternyes0.82
  • Handles uncertaintyyes0.81
  • Measuredno0.05
  • Runnableyes0.97
  • Worth recommendingunclear0.43
  • Model replicano0.03
  • Problem scopescore on a 0–2 scale1.16
  • About Jevyes0.98

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.