deepseek-harness/packages/compact/compact-tool-result-prune/src
imccyu 59df683ef1 fix(token-meter): bound projection state via logged shadow prices
The contextBreakdown and contextPressure units carried the full priced
surface, so each session's persisted projection checkpoint grew without
bound. A surface replacement is now priced by the shadow-price event
logged directly before it — compact/summary for compaction, the new
compact/prune from tool-result pruning (priced through the injected
token meter) — and the unit states shrink to a fixed handful of numbers.
Regenerate the persistence/cordis/module/config catalogs.
2026-08-06 02:50:38 +08:00
..
config.ts refactor(compact): align pruning contracts (round 3) 2026-07-16 18:51:26 +08:00
index.ts fix(token-meter): bound projection state via logged shadow prices 2026-08-06 02:50:38 +08:00
invariant.ts Merge branch 'codex/invariant-service-seam' into codex/invariant-package-registration-gate 2026-07-20 19:48:51 +08:00
types.ts refactor(compact): align pruning contracts (round 3) 2026-07-16 18:51:26 +08:00