dsh-memory-xfy: DSH Hierarchical Memory — Files as Source of Truth, On-Demand Retrieval

dsh-memory-xfy is a memory plugin by xiaofeiyu39 for DeepSeek Harness: Markdown serves as the single source of truth, SQLite FTS5 handles indexing, and cross-layer retrieval is performed via mem_search and mem_pack with budget-driven brief generation. It avoids per-round prompt injection and has zero native dependencies. The plugin supports a six-layer hierarchy, hot/cold zones with archived paths, a web panel, and the memq CLI. To install, run `dsh plugin --profile web add dsh-memory-xfy`; for initial setup, use `npx dsh-memory-init`. Configuration is centralized in ~/.dsh/layers.json. It is designed for long-cycle agent development. Before installing, be aware of process permissions and the MIT-licensed source code.

Read More