dsh-evolve
基于证据的运行时优化:卡住检测与策略重置干预。 适合想减少智能体卡死并挖掘经验的可拆卸插件用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Atman-Angle/dsh-evolve說明文件
閱讀完整 README ↗配置
默认 bundle 使用 reset-v1:检测到明确的卡住轨迹时,最多按 recipe 的冷却与总量限制注入通用策略重置。若只想观察,不注入,请在 profile 的后续 Cordis patch 中覆盖为:
- id: dsh-evolve
config:
recipe: baseline
Experience 挖掘侧车只有在显式提供 evolution 配置时才启用。下面是最小的本地经验配置:
- id: dsh-evolve
config:
evolution:
enabled: true
mining: true
routing: true
skillInjection: false
commons:
enabled: false
常用开关:
| 配置 | 默认值 | 作用 |
|---|---|---|
recipe | reset-v1 | baseline 只记录;reset-v1 可注入策略重置。 |
evolution.enabled | true | 启用或关闭经验侧车。 |
evolution.mining | true | 在 Session 结束后挖掘本地 Experience。 |
evolution.routing | true | 记录已激活 Skill 的任务匹配结果。 |
evolution.skillInjection | false | 仅在已激活 Skill 场景下允许注入其说明。 |
evolution.commons.enabled | false | 启用 Commons 缓存同步;不会自动信任或激活远端内容。 |
日常使用与诊断
插件装载后无需每个任务手动操作。它在 Session 结束后将数据写到 DSH evolve 根目录(默认由 DSH_HOME/用户目录解析;也可通过 storageRoot 覆盖)。可用 CLI 检查本地状态:
dsh-evolve status
dsh-evolve experience list
dsh-evolve mutations list
dsh-evolve audit --all
dsh-evolve benchmark
对可能改变未来行为的内容,先查看提案与证据,再显式确认;不要把普通 Experience 当作自动生效的 Skill 或策略。