dongsheng123132/dsh-action-parity

DeepSeek Harness 的跨表面动作绑定与重放一致性验证

Project Overview项目介绍

dsh-action-parity is a native DSH plugin built exclusively for DeepSeek Harness. To install it into your local DSH instance, run the command dsh plugin --profile web add github:dongsheng123132/dsh-action-parity. Once installed, it registers two new DSH tools: dsh_action_parity_inspect and dsh_action_parity_verify. It verifies that business actions implemented for DeepSeek Harness behave consistently across three different access surfaces: CLI, MCP, and GUI. It does not execute business actions or run pixel-based UI tests. Instead, it checks that action IDs, core module hashes, binding declarations, and test results match across all three surfaces, and outputs a structured, deterministic report of any parity failures.

This plugin is intended for developers who build cross-surface business actions for DeepSeek Harness. A typical workflow starts with the developer writing a parity manifest that lists the expected action attributes and hashes. Next, the developer runs an inspection or verification via either the DSH plugin interface, the standalone CLI, or the provided proof-only MCP server, all of which are supported by this package. It also includes a formal Codex plugin manifest for integration with Codex agents. After the run completes, the developer can review the generated parity report to fix any mismatches between interfaces. This helps ensure that users get consistent behavior no matter how they access the action.

This package requires Node.js version 22 or higher to run, and is released under the permissive MIT open source license. It enforces strict rules around input and output to ensure security and consistency. For the CLI, an exit code of 0 means all checks passed, 2 means parity checks failed, and 1 means invalid or unsafe input was provided. Any inputs containing secrets, chat content, raw input/output, or command line arguments are automatically rejected. All file paths must stay inside the configured workspace root, and symlink inputs and output directories are rejected. Only the explicitly specified artifact directory can be written to, and all written content is verified with SHA-256 hash checks after writing.

这是 DeepSeek Harness 的原生插件,用于验证业务动作在 CLI、MCP、GUI 三种交互界面上的实现一致性。它不执行业务动作,也不做像素级按钮测试,只验证不同界面的动作 ID、核心模块、绑定声明和测试结果是否一致。它会生成确定性的、内容寻址的一致性检查报告,披露所有不一致问题和缺失证据。

开发 DeepSeek Harness 跨界面业务动作的开发者可以使用本工具进行一致性校验。典型工作流是先编写动作一致性校验清单,然后通过 DSH 插件入口或 CLI 命令运行检查,最后根据生成的报告修正不一致问题。它支持检查动作标识稳定性、内容哈希一致性、状态转换正确性和确认要求一致性。

本插件要求 Node.js 版本不低于 22,采用 MIT 许可证开源。它对输入输出有严格限制:不接受含敏感信息、输入输出内容的字段,要求所有路径都在工作区根目录内,拒绝符号链接输入和输出目录。只允许向指定的 artifact 目录写入内容,且会对写入内容进行 SHA-256 校验。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:dongsheng123132/dsh-action-parity

把 dongsheng123132/dsh-action-parity 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Action Parity

CI MIT license Node.js 22+ Awesome DSH Plugins

Evidence that a business action is implemented once and reached consistently from CLI, MCP and GUI surfaces in DeepSeek Harness. Version 0.2 adds a formal Codex plugin manifest, a proof-only MCP server, real ToolRuntime smoke coverage and a namespace-export regression test for the stock DSH Web loader.

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 actionId and coreActionId;
  • 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_STATE and 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

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-daily-progress 下一个 Next DSH-CODEX-SUBSCRIPTION-POOL →