DeepSeek Harness 插件

dsh-blind-arena

A blind, fair, local Agent arena inside DSH Web: same task, same commit, isolated worktrees, shared verification, judge before you reveal.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
changer-changer/dsh-blind-arena
最近更新
2026年8月19日
分类
自动化与任务
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/changer-changer/dsh-blind-arena
插件名:dsh-blind-arena
作者:changer-changer

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

DSH Arena

Blind, fair, local Agent arena inside DSH Web.

Same task. Same commit. Isolated worktrees. Shared verification. Judge before you reveal.

DSH Arena turns your DeepSeek Harness (DSH) Web into a model-vs-model fight club: pick a task, pick 2–4 contestants (any provider/model DSH supports), and let them race on the exact same repository state. Lane identities are kept secret until you decide — no label bias, no prompt leaks, no cherry-picked baselines.

Why this exists

Benchmarks lie. Leaderboards are curated. When you evaluate an agent, the simple act of knowing which model you're looking at biases everything downstream: your prompts, your patience, your verdict.

DSH Arena removes that bias structurally:

  • One repository state — every lane starts from the same commit, in its own git worktree. No drift, no stale forks.
  • Random lane assignment — participants are shuffled onto lanes A/B/C/D at creation. The host knows; the wire doesn't.
  • Identity-free protocol — the public experiment record contains no participant identity. Identities live in a server-side secrets.json and merge into the view only after you call reveal.
  • Shared verification — the same user-defined verify command runs against every lane, in the same environment.
  • Blind verdict — pick the winner from behavior alone (tests, diff, final answer, token/time cost). Then reveal and see who actually won.

Features

  • 🏟 2–4 lane races with live progress feed (tool calls, turns, tokens) per lane
  • 🔒 Anonymity contract enforced at the type level: the wire type ArenaExperiment has no identity field; redactExperiment strips everything before serve
  • Shared verification — user-defined commands, per-lane exit code / timeout / duration, visible in the race view
  • 🏁 Blind verdict → reveal flow with per-lane diffs and final answers
  • 📤 Offline export — self-contained HTML report + raw JSON + per-lane unified patch, no network
  • 🌿 Winner branch — promote the winning lane's worktree to arena/<id>/<label> (real lanes only)
  • 🎬 Zero-cost demo mode — deterministic scripted lanes (focused / verbose / broken / timeout) that exercise the entire pipeline with no API key, no spend: worktree → change → verify → diff → review → reveal
  • 🧹 Cleanup — prune stale worktrees and experiment state from the UI
  • 🖥 Full client UI injected into DSH Web: create / list / live race / review / reveal

Quick start

1. Install the plugin into your DSH Web profile (Cordis bundle — see cordis.patch.yml): ``bash npm install dsh-blind-arena `` 2. Open DSH Web → the Arena plugin row appears. 3. Create an experiment: point at a local repo, write a task, add verify commands, pick contestants. 4. Watch the race live. Judge blind. Reveal. Export the report.

> No credentials? Run the demo mode first — it walks the full product loop with scripted lanes so you can evaluate the flow before spending a single token.

Architecture

DSH Web client (React, injected)          Host plugin (Cordis service `arena`)
┌───────────────────────────┐             ┌──────────────────────────────────────┐
│ CreateView / ListView     │  /api RPC   │ ArenaService (Typert remotes)        │
│ RaceView / ReviewView    │◄───────────►│  preflight · create · cancel ·        │
│ RevealView                │  (redacted  │  verdict · reveal · diff · export ·  │
└───────────────────────────┘   until     │  createWinnerBranch · cleanup        │
                               reveal)    │          │                           │
                                          │          ▼                           │
                                          │  ArenaEngine                         │
                                          │  preflight → worktrees → lanes →     │
                                          │  verify → diff → persisted record   │
                                          └──────────────────────────────────────┘
  • src/engine.ts — orchestration: preflight → worktrees → lanes → verification → diff → persistence; implements the anonymity contract
  • src/runner.ts — one lane's agent lifecycle on top of @deepseek-ai/dsh-agent (session, model selection, consumed-work folding)
  • src/verify.ts — shared verification runner
  • src/git.ts — worktree / diff / branch primitives
  • src/store.ts — durable store under ~/.dsh/arena/<id>/: public experiment.json + server-only secrets.json
  • src/export.ts — offline HTML report + JSON + winner branch
  • src/demo.ts — deterministic demo lanes (no API cost)
  • src/client/ — React UI injected into DSH Web

Storage: ~/.dsh/arena/. Everything is local; nothing leaves your machine except your own browser.

Requirements

  • Node ^22.19.0 || >=24.0.0
  • DSH (DeepSeek Harness) with Web client runtime
  • @deepseek-ai/dsh-agent, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-session (0.1.0-rc.7)

License

MIT