Configurable auto-compact triggers (percentage and/or absolute tokens, per-model
presets), a model-written structured handoff archived on every compaction, and
a /compact-config chat command + web settings card for DeepSeek Harness (DSH).
Three plugins (all source-loaded TypeScript ESM, no build step except the card's CJS client bundle):
compaction-handoff/— engine (trigger math + hot-reload + archive/pointer/summary)compact-config-command/—/compact-config show|set|preset|testweb-compact-config/— settings card (host service + React client bundle)
node scripts/link-node-modules.mjs— build the junction farm against your DSH checkout (records the target inscripts/.dsh-target.txt).- Boot DSH with
--patch <this-workspace>/cordis.patch.yml. - For the web card, junction
web-compact-configby package name into$DSH_HOME/profiles/node_modules(seedocs/compaction-handoff.md). - Edit
handoff-config.json(or the card, or the command) — changes apply immediately, mid-turn included.
Full configuration reference, archive layout, and limitations: docs/compaction-handoff.md.
Agent guide: AGENTS.md (map) and CLAUDE.md (operating system). Status: TASKS.md · narrative: HANDOFF.md · lessons: MEMORY.md · machine facts: ENVIRONMENT.md.