deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:runyuan-wang/dsh-route-certificate
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Installable community RouteCertificate observer bundle for DeepSeek Harness users.
The plugin watches durable turn/end session events, writes separate RouteCertificate receipts, and never rewrites or suppresses the raw Harness result. The bundled default is immediately usable without a user-written validator: it certifies only the Harness terminal state and source-bound event envelope.
completed + a valid, complete envelope → structural pass.error + a valid, complete envelope → structural fail.indeterminate.This policy does not judge answer truth, semantic correctness, output quality, safety, task success, or production fitness. An external validator remains optional when an operator wants a stronger policy.
RouteCertificate × DeepSeek Harness 是一个可直接安装的 Harness 社区插件。它主要服务于多个子 Agent 同时或分阶段干活的场景:在每个子任务结束后旁路生成结构化完成凭证,把请求、执行前缀、终止事件、结果范围和产物指纹绑定起来,帮助上层 Agent 核验各子 Agent 交回的结果是否属于正确的任务、正确的执行和正确的终态。
普通的成功/失败状态或执行轨迹可以告诉人“某个子 Agent 记录了什么”;RouteCertificate 更进一步要回答的是:当多个子 Agent 分头干活时,接收方怎样机械核验,每份交回结果确实属于这一次请求、这一次执行和这一个终态。
它把每个子任务的交接链绑定进同一份可复算回执:
本次请求 → 实际执行前缀 → 终止事件 → 终止事件范围 → 最终产物指纹
因此,它专门帮助发现多子 Agent 协作交接里的四类混乱:
这是一项结构与来源完整性能力,不是语义裁判:它不声称答案正确,也不声称自己是市场上唯一或首创的实现;它的产品中心,是把“多个子 Agent 各自交回结果”从口头声明变成可机械复核的证据链。
dsh plugin 命令即可从固定公开 Commit 安装该包。pass,明确错误终态记为结构 fail;中断、信息不足或无法可靠判断时记为 indeterminate,不把未知包装成成功。它适合多个子 Agent 并行或串行施工、研究和审计后再由上层 Agent 汇总的任务。它证明的是终态与来源绑定的结构完整性,不证明答案语义正确、任务质量、安全性或生产适用性;需要更强判断时,仍可接入独立 validator。
一句话介绍:给 DeepSeek Harness 的多子 Agent 协作加一条可机械复核的交接证据链,避免各子 Agent 串单、错拿产物、用旧结果冒充新完成,或未到终态就被上层当作完成。
Tested against:
https://github.com/deepseek-ai/deepseek-harness, commit 99f6f02fecdb7dff40c3fbc9470f5907c29f74ca, corresponding to the inspected rc.7 package surface.@deepseek-ai/dsh@0.1.0-rc.7.0.Active mode discovers the running @deepseek-ai/dsh package version from the launcher/package installation surface and refuses unsupported versions by default. The source commit is a pinned review anchor; it is not claimed to be runtime-detected from the npm installation.
@deepseek-ai/dsh@0.1.0-rc.7 and session format 0 by default. Install it only into an existing Profile that provides the DSH sessions service. It does not add or replace an official @deepseek-ai/* component.>=22.19.0. The candidate has been mechanically tested on macOS 14.4.1; Linux and Windows runtime installation and behavior have not been validated and remain unknown.@deepseek-ai/schemastery, and—when available—the official DSH subprocess service. Installation through the official DSH CLI requires GitHub/package-network access and pnpm..route-certificate directory by default, or an explicitly configured absolute output directory.subprocess service when available or a bounded Node child process otherwise. If an operator configures another validator, the plugin can launch that selected executable with the configured arguments; shell command strings are rejected.Choose the existing Harness profile you want to observe, then install a fixed public GitHub commit with the official plugin command. Replace <fixed-public-commit> with the reviewed commit that contains this package version; do not use a floating branch or raw-main archive for store review.
PROFILE=tui
PACKAGE_SPEC=git+https://github.com/runyuan-wang/dsh-route-certificate.git#<fixed-public-commit>
dsh plugin --profile "$PROFILE" add "$PACKAGE_SPEC"
dsh --profile "$PROFILE" --dump-config
The official rc.7 dsh plugin command forwards its remaining arguments to pnpm inside the profile directory, then reconciles installed packages that declare dsh.bundle.patch into the profile layer list. This package is prepared as a DSH-Store candidate, but it is not claimed to be listed in DSH-Store.
The plugin owns receipts under that profile directory by default:
$DSH_HOME/profiles/<profile>/.route-certificate/receipts/
Each receipt includes explicit terminal-envelope-only scope and semanticJudgment: false. To remove the plugin:
dsh plugin --profile "$PROFILE" remove -w dsh-route-certificate
dsh --profile "$PROFILE" --dump-config
Patch the installed row by id only when you intentionally want a stronger local policy:
- id: route-certificate-deepseek-harness
config:
mode: observe
command: /absolute/path/to/validator
args: []
outputDir: null
policyId: your-policy-id
policyDigest: sha256:REPLACE_WITH_YOUR_POLICY_DIGEST
Override command, policyId, and policyDigest together. outputDir: null keeps the profile-owned default. Set an absolute outputDir only when you intentionally want receipts elsewhere.
Validation and receipt work is additive. In advisory mode, validator or receipt-persistence failure cannot replace the raw Harness result or create an unhandled observer rejection. Raw terminal error objects stay in the validator's bounded evidence input; the persisted receipt subject keeps only an allowlisted terminal kind plus an optional bounded status/stable code.
Large-log decisions are bounded by the configured limits. Event admission and cold reconciliation inspect only the needed terminal prefix and at most maxEvents + 1 entries to detect count overflow; overflow is a persisted preflight_event_count_oversize indeterminate receipt, and a nonterminal cold-history boundary is not mislabeled as a turn end. Definitely oversized event JSON is rejected before cloning, and the exact canonical request must still fit maxInputBytes. The Node fallback retains at most maxOutputBytes + 1 bytes per output stream, while an official collector's loss/truncation signal is also authoritative; either condition produces indeterminate, never a parsed pass. Artifact oversize is decided from open-handle metadata or a read of at most maxArtifactBytes + 1; the artifact is left untouched, the request uses an omitted descriptor, and the receipt records only path-free eventSeq/reason/size omission facts. Omitted evidence cannot become a pass. The original Harness events, result, and declared artifact remain unmodified and recoverable outside the separate receipt.
Apache-2.0. This package is not official DeepSeek software.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。