dsh-plugin-jev-compaction: Context Compaction Based on Relevance Scoring

By default, DeepSeek Harness manages context in chronological order, which often causes critical constraints or error messages to be mistakenly removed. The `dsh-plugin-jev-compaction` plugin addresses this issue by introducing a Jev relevance scoring mechanism that prioritizes high-value messages and supports protecting specific information via regex patterns. It provides configurable byte budgets, graceful degradation, credential logging, and CLI/programmatic interfaces, ensuring that important data is accurately preserved during context overflow. This makes it well suited for long conversations or complex reasoning tasks.

Read More