Atman-Angle/dsh-evolve ↗★ 0

dsh-evolve

Evidence-driven runtime optimization for DeepSeek Harness: deterministic stuck detection + STRATEGY_RESET intervention, as a detachable DSH plugin. 适合想减少智能体卡死并挖掘经验的可拆卸插件用户。

Package
dsh-evolve
Compatibility
Unverified
Harness peer range
>=0
Cordis peer range
>=4.0.0-rc.7
Version
0.1.0
License
MIT
Last updated
Aug 20, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Atman-Angle/dsh-evolve

配置

默认 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

常用开关:

配置默认值作用
recipereset-v1baseline 只记录;reset-v1 可注入策略重置。
evolution.enabledtrue启用或关闭经验侧车。
evolution.miningtrue在 Session 结束后挖掘本地 Experience。
evolution.routingtrue记录已激活 Skill 的任务匹配结果。
evolution.skillInjectionfalse仅在已激活 Skill 场景下允许注入其说明。
evolution.commons.enabledfalse启用 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 或策略。