Global disagreement is not an absolute veto
The reviewed apply.ts has a hard low-retain path that truncates even when should_reduce disagrees. Intermediate cases use both signals and a per-pass truncation limit.
Inspect the supporting source ↗A pre-compaction advisor for DeepSeek Harness that scores eligible tool results before normal compaction and replaces selected model-visible results with markers or archive pointers.
Jev returns a global should_reduce Noul and per-result retain Nouls; deterministic code keeps protected or invalid items and applies hard-low-retain and dual-signal truncation rules.
Makes pruning incremental and distinguishes recoverable workspace archives from unload-and-rerun behavior.
Fixed-version documentation and implementation material were inspected on 2026-10-24. No DSH session was run. Preserving append-only events does not prove the agent will retrieve omitted evidence when needed.
Prune tool results before DeepSeek Harness reaches its normal compaction boundary.
Material analysed:
The reviewed apply.ts has a hard low-retain path that truncates even when should_reduce disagrees. Intermediate cases use both signals and a per-pass truncation limit.
Inspect the supporting source ↗Workspace mode archives original output before replacing it; unload mode asks the agent to rerun the tool. Re-execution is suitable only when repeating that tool is acceptable.
Inspect the supporting source ↗Choose it for early, incremental reduction in DSH. For non-repeatable tools prefer recoverable archival and verify archive-write failures before enabling pruning.
Read src/decision/apply.ts with retain=0.1 and then an intermediate retain under the same global score. Confirm the hard and dual-signal paths differ; compare workspace versus unload recovery in README.