dsh-memory-delta: Cross-Session Long-Term Memory with Automatic Injection and Only Pushing Changes

dsh-memory-delta is a memory plugin for DeepSeek Harness, accompanied by a zero-dependency CLI called mem. It employs layered storage with inbox, facts, decisions, and archive. The model can only write to the inbox; content is promoted by humans into the standing layer, which is injected in each turn. At the start of a session, distilled active entries are pushed, and via side-car state, only incremental changes (additions, deletions, and modifications) relative to the previous turn are pushed—no injection occurs when there are no changes. It supports memory_search, memory_write, expiry review, and an optional sidebar memory Tab. Installation can be performed via `cd ~/.dsh && dsh plugin --profile web add dsh-memory-delta`, or by manually copying node_modules and registering with insert in cordis.patch.yml. It is suitable for developers who require long-term project memory and accept manual review. The plugin accesses files with DSH process permissions; please review the source code and MIT license before installation.

Read More