dsh-compaction-policy-engine: Hierarchical, Hot-Loadable Context Compaction Policies for DSH

Introduces dsh-compaction-policy-engine (@magic6/dsh-compaction-policy-engine), a DSH plugin maintained by T-splines. Built on top of the official dsh-compaction-basic, it provides a three-tier policy hierarchy (models/providers/default), field-level inheritance, dual-unit support (ratio and tokens), hot reloading of settings.yaml, and a Compaction Policy settings panel. The article covers the differences from modelPolicies, the npm installation command, mounting considerations for headless and web planes, and includes typical compaction-control configuration examples along with applicable use cases.

Read More