istarwyh/harbor-self-evolving--packages-dsh-plugin ↗★ 1
dsh-harbor-evolution
用于对 Cordis 候选插件进行快照并使用 Harbor 进行评估的 DeepSeek Harness 插件。
AI 分析
核心用途是提供 4 个模型工具,用于对 DSH 插件候选版本进行快照、运行评估、对比结果。适合从事 DSH 插件开发、需要自动化评估插件表现的开发者。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:istarwyh/harbor-self-evolving#d7153be028ca50a78d80010f6ca7c71917a1cafb&path:packages/dsh-plugin說明文件
閱讀完整 README ↗dsh-harbor-evolution
Cordis bundle for evaluating immutable DeepSeek Harness Candidates with Harbor.
Install from this checkout
./hse dsh-install headless
-w is required by pnpm when the DSH profile directory is its workspace root.
The bundle inserts one harbor-evolution entry and registers four model-facing tools:
harbor_candidate_snapshotharbor_eval_runharbor_eval_resultharbor_candidate_compare
The shortest evaluation call needs only candidatePath and datasetPath. Candidate identity defaults to package.json, the Job name is generated automatically, and harbor_eval_run returns the completed evaluation summary directly.
The helper launches a fixed DSH version through pnpm dlx, so it does not conflict with a long-running npx DSH process. When installed from this monorepo, the bundle automatically discovers the sibling Python virtual environment created by ./hse dsh-install. Otherwise it uses HARBOR_BIN / HARBOR_DSH_BIN, then falls back to PATH. Override the inserted entry in the profile's cordis.patch.yml when the binaries or Python source live elsewhere:
- id: harbor-evolution
config:
projectRoot: /workspace/my-agent
jobsDir: jobs
harborBin: /workspace/venv/bin/harbor
harborDshBin: /workspace/venv/bin/harbor-dsh
pythonPath: /workspace/harbor-self-evolving/packages/harbor-plugin/src
This replaces the complete config for the entry, following DSH patch semantics.
The plugin never mutates the active DSH profile and never deploys a Candidate. Another system updates the Champion only after the external Promotion Gate passes.