You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evals: A/B runs against Claude Code's built-in summary on
nine coding tasks, with a cost model of compacting harder or lighter. The
harness is jetcompact-eval.
provider: "algorithmic" (library decider: 'algorithmic'): compaction with
no decision model and no key. Calls are scored from the transcript alone,
after pi-vcc's ranking and pi-blackhole's error tracking: superseded reads,
repeated calls and older todo lists near 0, resolved errors low, open errors
kept, search output lower, test and build output higher.
ageCutResults (default off): a result an earlier compaction cut to a head
keeps only its cut note at the next compaction.
questionCriteria (default off): each decision question gets true/false
criteria for what is worth keeping.
Changed
Before an automatic compaction falls back to the built-in summary, a harder
cut is tried: the keep budgets halve and heads shrink to 100 characters.
Identical Jev requests within one compaction are sent once; an error status is
asked again.
Once a session holds a cut from an earlier compaction, every compaction cuts
that hard from its first attempt, so a long session keeps less context per
compaction and compacts less often. The first compaction stays light.
A /compact you type is applied whenever it frees anything; the size guards
hold back only automatic compactions. The /compact the plugin queues in a
headless session carries automatic, from jetcompact and stays automatic.
(ferrisworks bd4a01d)
When Claude Code moves on (Esc, another hook settling first), the in-flight
request is abandoned and nothing is returned or delegated. When the hook runs
over Claude Code's time budget, or Claude Code refuses its result, that is
logged and the built-in summary runs where builtinFallback allows it.
(k-metehan 18f69f8, 0f4ca22)
When the built-in summary fails after a fallback, the plugin installs its own
result if that freed anything. (deadczarvc a45402e)
Fixed
compactAtPercent and targetPercent count against the window Claude Code
compacts at (CLAUDE_CODE_AUTO_COMPACT_WINDOW or a setting when set), not the
model's whole window. With a smaller compaction window, or on a 1M model, the
plugin asked for compaction late and the size target never applied.
The estimate of the context after a compaction keeps the system prompt, tools
and memory files as they are; it shrank them with the messages, so it came out
low.
A stubbed call's input is cut on a code point boundary, so an emoji is never
split. (k-metehan 11bd2be)