跳到正文

ZK-Andy/dsh-continual-evolve

61最近提交 2026年8月15日

dsh-continual-evolve DSH 插件

dsh-continual-evolve 让 DeepSeek Harness 代理能够在会话间持久存储和优化经验。它提供代码强制安全的版本化条目、确定性回滚,以及带人工审批的自动审查门。插件还包括带排名注入、轨迹引用和归档功能的记忆层。

如何安装 dsh-continual-evolve DSH 插件

dsh plugin --profile web add dsh-continual-evolve

复制不会执行命令。安装 dsh-continual-evolve DSH 插件前请核对仓库和版本。

dsh-continual-evolve DSH 插件数据来源

dsh-continual-evolve DSH 插件快照日期:2026年8月16日

discovered

dsh-continual-evolve DSH 插件能做什么

  • 支持提示笔记、记忆、技能和子代理规格的版本化条目,并记录来源
  • 通过逆操作编辑实现确定性回滚(无需 LLM 重新猜测)
  • 代码强制安全:模式验证、原子写入、损坏文件降级、乐观并发、不可变基础系统提示
  • 本地(会话内)和全局(跨会话)作用域,带合并语义
  • 记忆层:排名注入(BM25+时效性)、轨迹引用、归档/取消归档
  • 自动审查门:基于轮次间隔/检查点触发,全局编辑需人工审批
  • 基准驱动验证循环:代码所有评分、非回归接受
  • 技能物化与热挂载为实时 cordis 插件
  • 插件自有文件日志(JSONL 导出器,带轮转)

dsh-continual-evolve DSH 插件适合哪些场景

  • 跨会话持久化有用的代理记忆和技能,避免在下一轮或下一会话丢失
  • 审计并回滚任何优化,附带完整事件轨迹
  • 通过可配置的审查门自动审批/拒绝自我进化提议
  • 将技能条目热挂载为实时插件,向代理暴露工具
  • 导出/导入存储以备份或迁移到其他 DSH 安装

dsh-continual-evolve DSH 插件适合谁

  • 构建需要持久记忆和技能优化的长期运行 DeepSeek Harness 代理的开发者
  • 希望为代理获得生产级、代码强制自我进化循环的研究人员或工程师

dsh-continual-evolve DSH 插件的限制

  • 需要 DeepSeek Harness 环境,Node.js 版本 ^22.19.0 || >=24.0.0(与 DSH 一致)
  • 记忆注入每类最多 6 条(带排名选择)
  • 技能标准循环依赖可选的 skill-creator/skill-audit 技能安装;否则回退到内置精简指南(约 1KB)
  • 自动审查门使用原始 ctx.llm 调用,不加载代理技能(规划器/审查上下文中不可用 skill 工具)
  • 插件处于长期维护阶段;无新阶段计划,但持续进行使用驱动的增强

dsh-continual-evolve DSH 插件的仓库 README 摘录

以下文字摘自 dsh-continual-evolve DSH 插件的上游仓库 ZK-Andy/dsh-continual-evolve 的 README,版权归原作者,仅作引用。

Continual self-evolution for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): a versioned, auditable, rollback-safe layer of harness state — prompt notes, memories, skills, and subagent specs — refined from session trajectories. > **Status: all phases complete; in long-term maintenance.** Phases 1–3 > shipped the full evolution loop: the pure-core engine, model tools and > the `/evolve` command, the automatic review gate (turn-interval + > compaction checkpoints, human approval for global edits), real > system-prompt injection (prompt notes + delegation specs, zero token > cost when empty), and the benchmark-driven validation loop (code-owned > scoring, non-regressive acceptance, rubric ACL). Since then the plugin > keeps growing with usage-driven enhancements — the memory layer (ranked > injection, trajectory citations, archive), per-installation rubric keys, > and plugin-owned file logging. See the Roadmap for the full shipped and > candidate lists. ## Background This project started as a research question: *can a harness improve itself, and what would a production-grade version look like?* Three lines of evidence shaped the answer: - **penguin-harness** d

阅读完整 README仓库许可: MIT

dsh-continual-evolve DSH 插件常见问题

如何安装 dsh-continual-evolve?

运行 `dsh plugin --profile web add dsh-continual-evolve` 从 npm 安装。也可以从源码安装:`dsh plugin --profile web add github:ZK-Andy/dsh-continual-evolve`。将 `web` 替换为你的实际 profile 名称(如 headless)。安装后重启 DSH 即可激活插件。

能否回滚一项优化?

可以。使用 `/evolve rollback <id>`,其中 `<id>` 是 `/evolve history` 显示的优化 ID。回滚是确定性的:逆操作编辑基于已应用结果生成,无需 LLM 猜测。回滚本身会作为新事件记录在审计轨迹中,因此你可以随时再次回滚。

这个插件需要外部记忆服务吗?

不需要。它完全自包含,全部使用纯函数。记忆层使用排名注入(BM25+时效性)和轨迹引用,均在本地计算。不依赖任何外部服务,如 Mem0、Letta 或 Zep。

如何查看插件已经进化了什么?

使用 `/evolve list` 列出所有条目,或 `/evolve list global` 查看全局条目。`/evolve history` 显示已应用的优化及其 ID。你还可以使用 `/evolve log` 查看插件自己的文件日志(JSONL 格式)。

如果存储文件损坏了怎么办?

插件实现了损坏文件降级:如果存储文件损坏,它会优雅降级而不是崩溃。状态模块在读取存储时会进行完整性检查,并可回退到安全状态。如果你有备份,可以通过 `/evolve import <path>` 恢复。