Skip to content

About

Execution umbrella for DSH plugin standards: ENTRY/FLOW conformance checks, level audit, and spec files. Non-official; no certification or ranking.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

109 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Execution home. dsh-standards is the public execution umbrella for the three DSH layers: it ships the conformance checker, the level audit, and the canonical specification files. The prose guide is dsh-plugin-guide; the low-level rule text remains in dsh-plugin-spec. The old npm reservation (dsh-standards@0.0.3) is replaced by this 1.x line.

dsh-standards

非官方、非认证、非安全审计。 这是 DSH 插件规范与实践草稿(canonical: dsh-standards),不代表 DeepSeek 官方背书。 "DeepSeek Harness" 是 DeepSeek 的商标;本项目只使用 DSH 缩写。

⚠️ 修改必须说明:复制或修改本仓文本时,必须在显著位置给出 Change Notice(来源 commit、改了哪个章节、改了什么、为什么、日期)。见 MODIFICATION-POLICY.md。

一个项目,三层采用深度:

层 规范/实践 当前状态
1 DSH-ENTRY 入门规范 18/18 recognized;base-only 10/18 有 runtime 证据(8 clean + 2 reject);real web profile 16/18 无告警、2 个 host-gate reject(自评,无独立复核);client 15/15 loaded;18/18 clean 未达成
2 DSH-FLOW 顺畅规范 draft;fixture 上 J1/J2/J4/J6 12 PASS;J3/J7 fixture runtime;J5/J8 static preflight;10 个真实包 78 PASS / 4 FAIL / 2 blocked / 66 not-run
3 DSH-BOOST 加速实践 draft;LEV-1–8 8/8 measured(loader / context / provider-capture / synthetic timer;非生产基线)

先看什么

快速命令

# Published umbrella (package `dsh-standards`)
npx dsh-standards <plugin-dir> --scope entry --entry-claim static
npx -p dsh-standards dsh-levels <dir> --format json

# From a source checkout
cd 40-checker
node --test test/*.test.mjs

# 只做结构识别(不声明运行)
node 40-checker/bin/dsh-plugin-verify.mjs <plugin-dir> --scope entry --entry-claim static

# 声明运行(bundle 需要 host)
node 40-checker/bin/dsh-plugin-verify.mjs <bundle-dir> --scope entry \
  --host /path/to/@deepseek-ai/dsh-app-boot/lib/index.js

# 三层自检(ENTRY 自动;FLOW/BOOST 证据文件)
node bin/dsh-levels.mjs <dir> --format json

# J1 安装/卸载旅程
node scripts/journey-runtime.mjs --package <dir> --json

# 治理/贡献/评价记录检查
node scripts/governance-check.mjs
node scripts/attestation-check.mjs
node scripts/claim-check.mjs
node scripts/dco-check.mjs --range HEAD~1..HEAD
node ../publish/verify.mjs --id DSH-ATT-2026-001

# LEV-7 有界并行基准
cd ../examples/boost
node lev7-bench.mjs 64 20

当前硬数据

  • 18 包 entry static:18/18 recognized,0 clean;
  • 18 包 DS-C static:0 PASS / 9 WARN / 9 FAIL;
  • 18 包 base-only runtime:18/18 有原始 JSON;10/18 G3 verified,8 partial,0 error;host gate 后 8 clean + 2 reject + 8 partial;
  • client runtime:15/15 client-module-loaded(真实 Chromium);web-app 4/4 loaded;
  • 不可用:0 plugin code FAIL;2 host-gate reject(telemetry/verification);
  • 检查器:98/98 tests(含治理/DCO/评价记录/声明/验真/链/漂移测试);
  • J1:6 PASS + 1 WARN;LEV-3:volatile 0/20 vs control 20/20 remount;LEV-6:稳定 prefix 100% vs 易变 0%;LEV-7:8.24×(合成,非生产基线)。

给插件开发者:什么时候用哪个工具

阶段 命令 工具 产出
开始 dsh-dev new / dsh-start new dsh-plugin-start 可安装骨架
静态预检 dsh-dev check / dsh-ready dsh-plugin-ready static report(host not-run)
宿主契约 dsh-clinic --only R,K,X dsh-plugin-doctor/clinic 宿主契约
隔离安装 dsh-test-drive dsh-test-drive C3 证据
市场提交 entry-validate --host-evidence 本仓 40-checker C1–C8 + C3
工具管理 dsh-tools list/doctor/install dsh-plugin-tools 版本/安装指引

完整图见 docs/DEVELOPER-JOURNEY.md;工具家族见 dsh-plugin-devtools。旧名项目见 RENAMES.md。

治理与贡献

  • 角色与权限:governance/roles.json;一页说明:GOVERNANCE.md
  • 贡献:DCO 1.1 + DCT v1(dsh-ct/1,许可而非版权转让);见 CONTRIBUTING.md
  • 标志:governance/mark-policy.md(自动授予、可撤销、必须带免责声明)
  • 申诉:governance/appeals.md;AI 只受理/计时/复核,人类终裁
  • 三用途采用包:adoption/{official,market,developer}/(按 45 落地)

边界

  • 不收费、不卖等级、不卖排名;
  • 不做认证/安全审计;
  • 不把 static 写成 runtime;
  • 不把 10/18 base-only 写成 18/18 web/生产;不把 client-module-loaded 写成 UI/认证;
  • 不声称官方推荐/采纳;
  • 不声称认证/认可/安全审计;A–D 是质量等级,不是 ENTRY/FLOW/BOOST。

许可

  • 文本/规范/文档/翻译:CC BY 4.0(LICENSE-CC-BY);修改必须按 MODIFICATION-POLICY.md 给出 Change Notice;
  • 代码/脚本/schema:Apache-2.0(LICENSE-APACHE,含专利授权与防御终止);
  • 标志/badge:单独规则,见 governance/mark-policy.md,不随上述许可授权;
  • 贡献:DCO 1.1 + DCT v1,不要求版权转让。

目录

00-99*.md         规范/研究/画像/沟通包
40-checker/       检查器、J1 旅程、bundle smoke、样本框、结果
governance/       角色/贡献条款/标志/申诉/COI/决策日志 + 机器检查
adoption/         official / market / developer 三套采用包
spec/             levels.json + clauses.json + schemas(evidence / report / attestation)
examples/boost/   LEV-7 参考实现与基准
publish/          labels 示例 + 评价记录 JSON

先行项目

dsh-plugin-standard(lanbaolu)是同生态的先行项目;本项目与其无隶属关系,引用/对比时将标注来源。许可见 LICENSE(文本 CC BY 4.0 / 代码 Apache-2.0);修改必须说明。

About

Execution umbrella for DSH plugin standards: ENTRY/FLOW conformance checks, level audit, and spec files. Non-official; no certification or ranking.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages