插件目录 / Developer / dsh-action-parity
dsh-action-parity
已验证 · 实测可装 dongsheng123132
功能简介
跨表面动作绑定与重放一致性证据
可用 — 实测通过,早期项目
跨表面动作绑定与重放一致性证据 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
DSH Action Parity
Evidence that a business action is implemented once and reached consistently from CLI, MCP and GUI surfaces in DeepSeek Harness.
This plugin does not execute business actions and does not test buttons by pixels. It verifies a manifest of stable Action IDs, content-addressed action-core and binding declarations, and structural replay observations produced by each interface.
What it verifies
- every CLI, MCP and GUI binding names the same stable
actionIdandcoreActionId; - GUI bindings expose
data-action-id:<actionId>while CLI and MCP use stable machine identifiers; - core modules, binding declarations and replay fixtures still match their declared SHA-256;
- the same fixture yields the same result digest, success state and state-version transition on every surface;
- stale mutations fail closed with
STALE_STATEand do not advance state; - confirmation-required actions enforce confirmation on every surface;
- missing/stale evidence and every parity failure are disclosed in a deterministic content-addressed report.
Inputs containing secret-, prompt-, chat-, raw input/output-, argv-, stdout- or stderr-shaped fields are rejected. Paths must remain inside workspaceRoot; symlink inputs and output directories are rejected. Only the explicit artifactDir is written, with atomic publication and SHA-256 read-back verification.
Install
dsh plugin --profile web add github:dongsheng123132/dsh-action-parity
The bundle registers dsh_action_parity_inspect and dsh_action_parity_verify.
CLI
dsh-action-parity inspect --workspace-root examples/basic --manifest action-parity.manifest.json
dsh-action-parity verify --workspace-root examples/basic --manifest action-parity.manifest.json --observations observations.jsonl --artifact-dir artifacts
Exit code 0 means verified, 2 means evidence was processed but parity failed, and 1 means invalid or unsafe input.
See examples/basic for a mutation whose CLI, MCP and GUI bindings share one core, including success and stale-state fixtures.
Development
npm test
npm run check
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-action-parity」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:dongsheng123132/dsh-action-parity Headless(CLI)profile:
dsh plugin --profile headless add github:dongsheng123132/dsh-action-parity 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。
适合谁
想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。
二次开发建议
工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。