dsh-mem-weave

MemWeave — long-term memory and a persona editor for DeepSeek Harness (DSH). Seven memory layers with per-layer half-life and a decay floor feed three capped injection sections (persona, first-turn snapshot plus user profile, per-turn delta plus recall); recall fuses FTS5/BM25, embeddings and links with RRF. Writes pass source detection, dedupe/merge and risk-tiered conflict governance with human confirmation, are audited and can be undone for 24 hours; extraction candidates persist by risk tier; credentials are blocked, sensitive fields redacted before injection, and turn notices stay scoped to the current session. 22 weave_* tools, nine settings pages, promise and anniversary reminders, one local SQLite file, no runtime dependencies.

Overview

MemWeave — long-term memory and a persona editor for DeepSeek Harness (DSH). Seven memory layers with per-layer half-life and a decay floor feed three capped injection sections (persona, first-turn snapshot plus user profile, per-turn delta plus recall); recall fuses FTS5/BM25, embeddings and links with RRF. Writes pass source detection, dedupe/merge and risk-tiered conflict governance with human confirmation, are audited and can be undone for 24 hours; extraction candidates persist by risk tier; credentials are blocked, sensitive fields redacted before injection, and turn notices stay scoped to the current session. 22 weave_* tools, nine settings pages, promise and anniversary reminders, one local SQLite file, no runtime dependencies.

Installation

Install from npm

dsh plugin --profile web add dsh-mem-weave

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:QuaonY/dsh-mem-weave

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.

Installation notes

  • May run terminal commands