dsh-memory-archiver

Approval-free memory archiving for DeepSeek Harness: writes Markdown memory files without approval prompts, backs the old file up before any overwrite, marks a revised conclusion as status: superseded in one call, and prunes old backups after 30 days by default (optional size cap). The writable scope is hard-limited to configured memory roots (default ~/.dsh/memory). Companion to dsh-kb-lite, which indexes these files and down-weights superseded ones. Host-only, no npm dependencies; requires Node.js 18+.

Overview

Approval-free memory archiving for DeepSeek Harness: writes Markdown memory files without approval prompts, backs the old file up before any overwrite, marks a revised conclusion as status: superseded in one call, and prunes old backups after 30 days by default (optional size cap). The writable scope is hard-limited to configured memory roots (default ~/.dsh/memory). Companion to dsh-kb-lite, which indexes these files and down-weights superseded ones. Host-only, no npm dependencies; requires Node.js 18+.

Installation

Install from GitHub

dsh plugin --profile web add github:imaused/dsh-memory-archiver

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.