xushilianzhuren/dsh-memgate ↗★ 0

dsh-memgate

Memory gate: search-before-answer discipline mounted into every session, with a native ripgrep workspace search and surface inventory tool. 记忆门:答前先搜纪律常驻+rg 全文检索工作区。

包名
dsh-memgate
兼容性
待验证
版本
1.0.0
许可证
MIT
最近更新
2026年10月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xushilianzhuren/dsh-memgate

dsh-memgate

Memory gate · 记忆门

Mounts a search-before-answer discipline into every session, backed by a native ripgrep workspace search.

行为

  • 常驻纪律区块:答前先搜(凡事实性回答先检索再答,查不到明标"未经记忆校验")、记忆三域(规则记忆=指令文件 / 经历记忆=.jsonl 台账 / 写入回仓=重要结论落盘不留在对话里)
  • 原生工具 memory_search:
    • 检索 — 按范围全文检索工作区(全部/四文件/脚本/台账/文档),rg 直调
    • 扇出 — 一次跑全部数据源,聚合报告
    • 检索面 — 盘点检索面(各源文件数、台账数),检索前心里有底
  • rg 不可用时自动退回 Node 内扫指令文件(保底可用);零外部脚本依赖

安装

dsh plugin add github:xushilianzhuren/dsh-memgate

MIT License.