验证驱动的自我进化循环:失败日志自动变成经过验证的 AGENTS.md 规则;会话内插件(evolve_learn/evolve_apply/evolve_touch/evolve_recall)、工具体检、规则生命周期、本地召回。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:zoahdev/dsh-rule-evolve#path:/plugin
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
In-session self-evolution for DeepSeek Harness. Install the plugin, and your agent can learn from failures and install verified rules into the profile — without leaving the conversation.
Install
dsh plugin --profile web add github:zoahdev/dsh-rule-evolve#path:/plugin
Tools
| Tool | What it does |
|---|---|
evolve_learn |
Extracts lessons from a failure log or retrospective and persists them to profiles/<p>/data/dsh-evolve/experience.jsonl |
evolve_apply |
Verifies rules with a user-supplied command, then installs them into profiles/<p>/AGENTS.md (backup created); refuses to install unverified rules |
Example flow the agent can run itself:
evolve_learn(task: "fix plugin install", experience: <error log>, hint: "check allowBuilds")
evolve_apply(profile: "web", verifyCmd: "node <doctor>/lib/bin.js check <repo> --json")
Rules are auditable: each one carries its source, tag, and last verification
status. Same core logic as the CLI (dsh-evolve extract/evolve/audit).
中文
把自我改进循环装进 DSH:agent 在会话里直接从失败日志提取规则,经真实检查 验证后安装进 profile 的 AGENTS.md(自动备份),未验证的规则绝不安装。
dsh plugin --profile web add github:zoahdev/dsh-rule-evolve#path:/plugin
两个工具:evolve_learn(失败→经验)、evolve_apply(验证→安装)。
链接
同类插件
strukto-ai/mirage#dsh★ 3443
把文件系统与 bash 提供者换成 mirage 虚拟工作区:文件工具与 shell 命令作用于挂载的资源(RAM、S3、Redis、Slack、Gmail、Notion、Postgres)而非宿主磁盘,支持按挂载点设置读/写/执行模式、按命令选择沙箱(进程内 monty、pyodide、quickjs;远程 docker、e2b、daytona),并可在虚拟终端中安装 CLI(git、gh、slack、linear、ntn、gws,或自行注册的程序树)作为命令头词。
hust-open-atom-club/oh-dsh★ 189
社区发行版:TUI、桌面端与 Web UI 统一体验,分层安装、一步到位。
Jayden-X-L/forkprobe★ 66
同一任务并行试跑多个技能,对比结果选出最优。
vlln/plugin-registry★ 43
插件生态基建:浏览器面板管理官方 repository 插件(0 patch)+ make-dsh-plugin 插件开发引导技能。
forrestchang/dsh-multica-runtime★ 37
让 dsh 运行时跑在 Multica 上。
omdsh-dev/dsh-plugin-check★ 18
插件健康检查:扫描清单协议/patch 格式/构建陷阱,零依赖只读。