
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-simple-wiki-memory
Advanced tools
DSWM — Simple Wiki Memory for DeepSeek Harness: a self-maintaining persistent memory system (index + reference/pending/archive + git backup + memory skills).
超级简化版 llm-wiki 记忆插件:一个索引文档(自动加载)+ 每个 topic 一个单独 md 文件(需要时才 read),避免啥都往上下文里面塞浪费 token。简单轻量,安装卸载都没有压力,想怎么改就怎么改。
基于 DeepSeek Harness(DSH)原生 dsh-agent-instructions(AGENTS.md)机制的自维护持久记忆系统。无 RAG、无向量库、无运行时 LLM 调用——纯 Markdown + git。
English: README.en.md.
^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.1 || ^0.1.3-alpha.1 || ^0.1.5-alpha.1,覆盖五条发布线(老版本用户不受影响);dsh-v0.1.5-rc.2 源码验证:session/event + turn/end、agent/pre-step(agent 注入与决策形状不变)、createUserMessage、cordis 4.0.2 prepend、patch insert、dsh.bundle.patch —— 全部兼容;SessionHandle 重构、0.1.5 的「移除 ctx.agent」与 Web 插件面板 Slot 迁移,DSWM 均未使用(只用 session/event 与 agent/pre-step 两个钩子);dsh plugin --profile web add dsh-simple-wiki-memory。^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.1,覆盖 0.1.0-rc.7+ / 0.1.1-rc.2+ / 0.1.2-alpha.1+ 三条发布线;session/event、agent/pre-step、消息构造、cordis patch 等)已对照 dsh-v0.1.2-alpha.2 源码逐项验证,无破坏性变更;dsh plugin --profile web add dsh-simple-wiki-memory(npm 源自动取最新版)。dsh-simple-wiki-memory),支持 dsh-market 版本显示与自动更新;新增 GitHub Actions 自动发布(打 v* tag 即发布);0.1.0-rc.7+ 与 0.1.1-rc.2+;长期记忆多但不费 token。 如果把所有记忆一股脑塞进提示词,记忆越多每个会话烧的 token 越贵。DSWM 默认只加载索引(小、每个会话自动注入),主题文件在任务需要时按需读取。
轻量,不上重型机制。 LLM-Wiki 那套系统功能强但重、维护困难,对大多数用户没必要。DSWM 的所有记忆就是简单的 .md 文件——手动改、或让 agent 改都行,所见即所得。
记忆跨 harness 共享。 长期记忆应该属于你,而不是属于某一个 harness。DSWM 的纯 md 记忆文件随时可以共享给其他 harness 使用——只需要把对应 harness 的 AGENTS.md(或等效文件)指向它即可。
DSH 在每个会话第一个请求前自动注入 ~/.dsh/AGENTS.md(记忆索引 + 规则)。DSWM 维护该文件和一个小型 wiki 库:
~/.dsh/
├── AGENTS.md # 索引 + 六条维护规则(自动注入每个会话)
└── workspace/ # 记忆库(git 仓库)
├── reference/ # 已确认记忆主题(进索引、参与检索)
├── pending/ # 待确认草稿(不参与检索,等你说"存档")
├── archive/ # 过时主题(保留、不参与检索)
└── memory-log.md # 追加式操作日志(审计 + 新鲜度)
reference/ 里就是按主题命名的 md 文件,一个主题一个文件,像这样:

每个文件是一个主题的完整细节(如 DOCKER-NAS.md、INFRA-SERVERS.md、HOME-ASSISTANT-CONTROL.md),由 AGENTS.md 索引条目指向;任务需要时才 read 对应文件,平时只加载索引,不占上下文。
pending/),确认是延迟的(下次会话开始时汇报)——/new 或关闭页面都不会丢失。pending/;说"存档/确认" → 晋升到 reference/ + 更新索引 + 记日志。TTL:交互 7 天 / 无人值守 30 天。pending/,不自动晋升。archive/。workspace/ 是 git 仓库;记忆变更后自动 commit。reference/ 目录兜底,绝不直接认定"没有记忆"。0.1.0-rc.7+ / 0.1.1-rc.2+ / 0.1.2-alpha.1+ / 0.1.3-alpha.1+ / 0.1.5-alpha.1+ 五条发布线。dsh-agent-instructions 机制(dsh-base bundle 默认启用);若你的部署禁用了它,记忆注入将不生效。liangshen 模式(梁神模式)和 Anchored Standard 模式会在会话首轮清空运行时上下文、只保留你的直接消息,从而屏蔽 dsh-agent-instructions 对 ~/.dsh/AGENTS.md 的自动注入。DSWM 的记忆索引与六条规则正是靠这个注入生效的,因此在上述模式下,会话开头不会自动加载记忆。
这不是 bug,而是锚定模式的刻意设计(用最小上下文锚定推理轨迹)。解决方式很简单:
AGENTS.md 即可,例如说:
先读一下 ~/.dsh/AGENTS.md 再开始按 AGENTS.md 里的记忆规则处理AGENTS.md,之后记忆规则即按 DSWM 正常运作。方式一:npm(推荐,支持自动更新)
dsh plugin --profile web add dsh-simple-wiki-memory
本包已发布到 npm。dsh-market 插件市场会显示版本号并自动检测更新(新版本发布满一天后提示更新);也可以随时手动
dsh plugin --profile web add dsh-simple-wiki-memory拉最新版。
方式二:GitHub(源码安装)
dsh plugin --profile web add github:rainow/dsh-simple-wiki-memory
方式三:交给 agent 安装
直接把下面的链接丢给 DSH 会话里的 agent,让它帮你安装即可:
https://github.com/rainow/dsh-simple-wiki-memory
agent 会执行
dsh plugin --profile web add dsh-simple-wiki-memory,并完成首次同步。
首次启动自动:同步 AGENTS.md 骨架、创建 vault 目录、git init workspace/。幂等、只合并、绝不覆盖你已有的 ~/.dsh/AGENTS.md 索引条目。
dsh plugin --profile web remove dsh-simple-wiki-memory
移除插件会停止运行时钩子(自动 commit、pending 汇报),但保留你的数据:~/.dsh/AGENTS.md 和 ~/.dsh/workspace/ 不会被删除。六条规则仍留在 AGENTS.md(它是 agent 遵循的纯文本);想彻底移除就手动删掉那段。
pending/。memory-query 技能处理检索(含目录扫描兜底)。下次新会话开始时,agent 会自动提醒你待确认的记忆(写入是实时的,所以 /new 或关页面都不丢):

v0.1 无用户可见配置项,默认值安全。计划(v0.2):settings 段提供 TTL 天数、自动 commit 开关、记忆目录路径。
~/.dsh/AGENTS.md 和 ~/.dsh/workspace/(创建 reference/、pending/、archive/、memory-log.md;把规则段合并进 AGENTS.md——绝不覆盖你的索引条目)。~/.dsh/workspace/ 内执行 git init / add / commit(自动备份)。~/.dsh/workspace/ 需要 danger-full-access,或 workspace-write + 按需批准升级。~/.dsh/workspace/.git 是否存在;若 git 不可用,插件会优雅降级(记忆仍工作,只是没有备份)。dsh-agent-instructions(它负责自动加载 AGENTS.md)。git -C ~/.dsh/workspace log / git -C ~/.dsh/workspace reset --hard <commit>。node --check lib/index.js # 语法检查
包结构:lib/index.js(同步 + 钩子)、assets/(AGENTS.md / memory-log 模板)、skills/memory-query/。采用 DSH bundle 分发模型(dsh.bundle.patch → cordis.patch.yml)。
MIT
FAQs
DSWM — Simple Wiki Memory for DeepSeek Harness: a self-maintaining persistent memory system (index + reference/pending/archive + git backup + memory skills).
We found that dsh-simple-wiki-memory demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.