By zoahdev · 2026-08-15 · Repo: https://github.com/zoahdev/dsh-rule-evolve (v0.9.0)
Turn "failure → rule → verify → apply → recall → retire" into the agent's own loop: every lesson becomes a rule checked by a real verification, installed into the profile's AGENTS.md, and active in the next session.
dsh plugin --profile web add github:zoahdev/dsh-rule-evolve#path:/plugin
Four tools: evolve_learn, evolve_apply (refuses unverified installs), evolve_touch (usage), evolve_recall (local retrieval).
node scripts/dsh-evolve.mjs extract --task "publish to npm" --from install.log --out experience.jsonl
node scripts/dsh-evolve.mjs verify --experience experience.jsonl --dir ./my-plugin
node scripts/dsh-evolve.mjs evolve --experience experience.jsonl --dir ./my-plugin --profile web
node scripts/dsh-evolve.mjs recall --experience experience.jsonl --query "windows bash"
node scripts/dsh-evolve.mjs score / prune / merge-duplicates
tool-verify on our doctor repo: 8/8 PASS → READY ✅ (before v1.10.1 the same gate caught its own lint bug)Rules carry source, verification history, usage history, and lifecycle state. High-score rules survive; low-score rules are retired auditably — the library remembers what works, not everything.