dsh-self-memory

Four-layer memory for DeepSeek Harness, ported from the memory design of NoMindSama/qq-dsh-bridge (MIT) with the QQ channel removed: an append-only dialogue log, a weighted long-term fact store with decay and one-way archiving, self-notes the agent writes about itself, Chinese bigram recall over the raw log, and incremental AES-256-GCM sync to a private git repo where only ciphertext is stored. Archived sessions drop out of recall without losing their history.

Overview

Four-layer memory for DeepSeek Harness, ported from the memory design of NoMindSama/qq-dsh-bridge (MIT) with the QQ channel removed: an append-only dialogue log, a weighted long-term fact store with decay and one-way archiving, self-notes the agent writes about itself, Chinese bigram recall over the raw log, and incremental AES-256-GCM sync to a private git repo where only ciphertext is stored. Archived sessions drop out of recall without losing their history.

Installation

Install from GitHub

dsh plugin --profile web add github:lzk112233/dsh-self-memory

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.