deulofeu1/context-guardian
Adds a human review layer before an agent compacts its context, making the hidden keep-and-drop decision inspectable and editable.
Compaction silently decides what to keep and what to drop. Guardian makes that decision reviewable: it shows the native preview, runs a semantic audit of what is being discarded, offers an auto-correct or accept path, asks at most three topic questions, and produces exact summary edits plus a reviewed-facts appendix before the compacted context is committed. It changes nothing the host would not have done on its own — it just puts a person in front of the decision.
Install
dsh plugin --profile web add context-guardian-deepseek-harnessThe install line from the README's DSH adapter section; a pinned 0.4.2 variant is also listed. npm package context-guardian-deepseek-harness, latest 0.4.2, registry repository resolves to this repo. README labels the plugin experimental alpha and says it does not guarantee better compression.
Compatibility
An inspection layer around the host agent's native compaction, not a replacement for its memory system, summarizer, token manager or compaction engine. Runs in the web profile against a DSH adapter; the README warns it is experimental alpha.
Details
- Repo: deulofeu1/context-guardian
- Category: Memory
- Stars: 1
- Version: 0.4.2 (npm); MIT
Alternatives
JohnXu22786/context-pruner · melandlabs/opencontext · spicycorn/dsh-context-sniper