DeepSeek Harness 插件

dsh-memory-boomzika

DSH memory plugin: RRF multi-lane recall / confirm-based writes / Fernet vault / session harvest(DSH 记忆插件:五路 RRF 召回 / 确认制写入 / Fernet 加密库 / 会话转录)(英文原文)

跳到安装方式

来源信息

GitHub 仓库
boomzikazita/dsh-memory
最近更新
2026年8月20日
分类
记忆
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/boomzikazita/dsh-memory
插件名:dsh-memory-boomzika
作者:boomzikazita

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-memory

Persistent memory system for DeepSeek Harness (dsh). Provides multi-channel recall, confirmed writes, an encrypted secrets vault, session transcription, and maintenance tooling as a dsh plugin.

> 记忆系统插件:RRF 多路召回 / 确认制写入 / Fernet 加密库 / 会话转录 / 维护工具。

Features

  • RRF 五路召回 (five-way RRF recall) — fuse evidence from L1 rules (MEMORY.md / USER.md), L2 session FTS5, L3 semantic (optional Honcho/MCP), L4 wiki, and L5 time-window sources into a single ranked evidence ledger with per-item trust labels.
  • 确认制写入 (confirm-before-write) — nothing mutates your memory directly: memory_suggest enqueues a proposal, memory_confirm / memory_reject decide it. Budget checks, sensitive-pattern scanning, and automatic trigger: tags guard what lands in L1.
  • Fernet 加密库 (encrypted vault) — secrets live in a Fernet-authenticated encrypted store (VAULT.md.enc); plaintext appears only as → vault:<ref> references.
  • 会话转录 (session transcription) — incrementally indexes dsh session logs into an FTS5 store and extracts correction signals for skill distillation.
  • 维护工具 (maintenance) — health checks, git backups, hit auditing, and an asset de-duplication checker.

Tools

ToolDescription
memory_recallFive-way RRF recall with source labels and trust levels; date= for time-window queries, deep=true for deeper recall
memory_graphEntity graph walk (curated relation edges + automatic co-occurrence edges)
memory_suggestEnqueue a memory write proposal (track: memory / user / skill; lifecycle: rule / stable / situational / record)
memory_confirmAccept a pending proposal into MEMORY.md / USER.md / skill
memory_rejectReject a pending proposal
memory_vault_getRead an encrypted vault entry
memory_vault_setWrite an encrypted vault entry
memory_harvestTranscribe dsh session logs into the L2 FTS5 index and extract correction signals
memory_healthOne-line-per-layer health report (L1 budgets, vault decryptability, L2 index, graph freshness, pending queue)
memory_backupGit commit + push of the memory directory
memory_notifyPush a message to a Feishu/Lark chat (requires credentials, see below)
check_assetsDe-duplication check before creating new scripts/skills/plugins/automations

Installation

dsh plugin --profile web add github:boomzikazita/dsh-memory

The plugin registers its tools and hooks (primer recall injection, write guard, turn-end transcription) automatically. Python scripts under scripts/ are executed on demand by the Node host.

Configuration

The bundle patch (cordis.patch.yml) mounts the plugin with defaults; override per profile, e.g.:

- insert:
    - id: dsh-memory
      name: 'dsh-memory'
      config:
        memoryDir: '~/.dsh/memories'
        # scriptsDir: '~/.dsh/plugins/dsh-memory/scripts'
        # wikiRoot:  '~/wiki'            # env DSH_WIKI_ROOT also works
        # guardBlock: false
        # primerBudget: 800
        # primerTopK: 3

Key paths (all overridable):

SettingDefaultNotes
memoryDir~/.dsh/memoriesL1 files, FTS5 indexes, vault, outbox
scriptsDirplugin scripts/ dirPython helper scripts
wikiRoot / DSH_WIKI_ROOT~/wikiObsidian/wiki root used by the L4 channel (raw/, _meta/, entities/ live under it)

Dependencies

  • Node side: @deepseek-ai/dsh-tools and @deepseek-ai/dsh-llm (declared as peer dependencies, >=0.1.0-rc.6).
  • Python side (optional, for recall/graph/vault/harvest features): Python 3 with the standard library; SQLite 3. The vault additionally requires cryptography (Fernet). If Python is missing, tools degrade gracefully with an error message.
  • Feishu/Lark push (memory_notify / scripts/feishu_push.py): set LARK_APP_ID / LARK_APP_SECRET (env or ~/.env) and optionally LARK_DEFAULT_CHAT for the default chat target.
  • L3 semantic recall (optional): set DSH_HONCHO_MCP_URL / DSH_HONCHO_MCP_TOKEN to an MCP endpoint exposing honcho_search. Unset → L3 silently skipped.

License

MIT — see [LICENSE](LICENSE). Copyright (c) 2026 boomzikazita.