Verification-driven self-evolution loop: failure logs become verified AGENTS.md rules; in-session plugin (evolve_learn / evolve_apply / evolve_touch / evolve_recall), tool-verify gate, rule lifecycle, local recall.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zoahdev/dsh-rule-evolve#path:/plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a 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(验证→安装)。
Links
More in this category
strukto-ai/mirage#dsh★ 3443
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 189
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Jayden-X-L/forkprobe★ 66
Compare multiple skills on the same task and pick the winner.
vlln/plugin-registry★ 43
Ecosystem infrastructure: a thin browser console for managing official repository plugins (zero patches) plus a make-dsh-plugin skill for guided plugin development.
forrestchang/dsh-multica-runtime★ 37
Run the dsh runtime on Multica.
omdsh-dev/dsh-plugin-check★ 18
Plugin health checks: manifest protocol / patch format / build traps, zero-dependency and read-only.