00wz / dsh-compaction-carryover
Keeps skills and subagents in the DeepSeek Harness compaction checkpoint by asking the summarizer to record a Carry-over section.
About this plugin
Written by the registry from verified metadata, not from the README.
dsh-compaction-carryover is a DSH plugin published from the 00wz/dsh-compaction-carryover repository.
Capabilities and topics
Compaction carry-over
Context compaction replaces earlier history with one summary. Skills that were loaded and subagents that were spawned disappear with it: after compaction the agent no longer knows what to re-read or which child sessions it can reuse.
This plugin asks the compaction summarizer — the only participant that still sees the whole conversation — to record that information in the checkpoint it writes:
## Carry-over
- Skills in effect: `agent-organizer` — still governs delegation for the stand build.
- Subagents: `15e1006c-0b88-4a25-9063-8f69d551718c` — Kubernetes deploy, reusable.
Nothing is injected into the conversation and no extra model call is made. The requirement is appended to the summarizer instruction of the call that was already happening.
Install
dsh plugin --profile <profile> add dsh-compaction-carryover
For a local checkout:
dsh plugin --profile <profile> add link:/path/to/dsh-compaction-carryover
Restart DSH after installing.
Configure
- insert:
- id: compaction-carryover
name: 'dsh-compaction-carryover'
config:
enabled: true
sectionTitle: '## Carry-over'
extraInstructions: ''
debug: false
| Key | Default | Meaning |
|---|---|---|
enabled | true | Turn the plugin on or off. |
sectionTitle | ## Carry-over | Heading the checkpoint must contain. |
extraInstructions | built-in guidance | What the section must contain. Replaces the built-in text; an empty string keeps only the section request. |
debug | false | Write diagnostics to ~/.dsh/compaction-carryover.log. |
The built-in guidance asks for the skills still in effect and the subagents still worth reusing, with exact names and ids. Replace it when you want something else carried over:
config:
extraInstructions: |
- Open decisions: one bullet per decision the next step depends on.
- Files in progress: exact paths currently being edited.
Remove a part you do not need by rewriting the list; an explicit empty string requests the heading with no guidance at all.
Check it works
Run /compact in a session that has loaded a skill or spawned a subagent, then
look at the checkpoint: it should contain the ## Carry-over section.
If a checkpoint is written without that section, the host log reports it:
[dsh-compaction-carryover] checkpoint <id> (session <id>) has no "## Carry-over" section;
the summarizer ignored the instruction
With debug: true the plugin also records whether the instruction was extended
and whether the section was found.
Limitations
- This is an instruction to the model, not a guarantee. A checkpoint can still omit the section; the log above is how you notice it.
- It relies on the summarizer marking its call with
purpose: "compaction", which the defaultdsh-compaction-basicbackend does. Other compaction backends are not covered. - Requests the agent freezes are left untouched.
License
MIT
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/00wz/dsh-compaction-carryover)