dsh-standards 1.6.12 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/31-DS-C/346/235/241/346/254/276.md +3 -1
  2. package/31-DSH-ENTRY/345/205/245/351/227/250/350/247/204/350/214/203.md +0 -0
  3. package/34-/344/270/211/345/261/202/345/210/206/347/272/247/346/250/241/345/236/213-GB-GBT-GBZ/347/261/273/346/257/224.md +0 -0
  4. package/40-checker/README.md +0 -0
  5. package/40-checker/bin/dsh-flow-collect.mjs +0 -0
  6. package/40-checker/bin/dsh-plugin-verify.mjs +0 -0
  7. package/40-checker/fixtures/bad/index.mjs +0 -0
  8. package/40-checker/fixtures/bad/package.json +0 -0
  9. package/40-checker/fixtures/bad-manifest/index.js +0 -0
  10. package/40-checker/fixtures/bad-manifest/package.json +0 -0
  11. package/40-checker/fixtures/bundle/cordis.patch.yml +0 -0
  12. package/40-checker/fixtures/bundle/package.json +0 -0
  13. package/40-checker/fixtures/bundle/server.mjs +0 -0
  14. package/40-checker/fixtures/bundle-patch-only/cordis.patch.yml +0 -0
  15. package/40-checker/fixtures/bundle-patch-only/package.json +0 -0
  16. package/40-checker/fixtures/bundle-v0/cordis.patch.yml +0 -0
  17. package/40-checker/fixtures/bundle-v0/package.json +0 -0
  18. package/40-checker/fixtures/bundle-v0/server.mjs +0 -0
  19. package/40-checker/fixtures/c12-command-arg/index.mjs +0 -0
  20. package/40-checker/fixtures/c12-command-arg/package.json +0 -0
  21. package/40-checker/fixtures/c12-comment/index.mjs +0 -0
  22. package/40-checker/fixtures/c12-comment/package.json +0 -0
  23. package/40-checker/fixtures/c12-compare/index.mjs +0 -0
  24. package/40-checker/fixtures/c12-compare/package.json +0 -0
  25. package/40-checker/fixtures/c12-doc-string/index.mjs +0 -0
  26. package/40-checker/fixtures/c12-doc-string/package.json +0 -0
  27. package/40-checker/fixtures/c12-grant/index.mjs +0 -0
  28. package/40-checker/fixtures/c12-grant/package.json +0 -0
  29. package/40-checker/fixtures/c12-string/index.mjs +0 -0
  30. package/40-checker/fixtures/c12-string/package.json +0 -0
  31. package/40-checker/fixtures/client-missing/client.js +0 -0
  32. package/40-checker/fixtures/client-missing/index.js +0 -0
  33. package/40-checker/fixtures/client-missing/package.json +0 -0
  34. package/40-checker/fixtures/declaration-file/index.d.ts +0 -0
  35. package/40-checker/fixtures/declaration-file/index.mjs +0 -0
  36. package/40-checker/fixtures/declaration-file/package.json +0 -0
  37. package/40-checker/fixtures/flow-config/index.js +0 -0
  38. package/40-checker/fixtures/flow-config/package.json +0 -0
  39. package/40-checker/fixtures/fs-write/index.mjs +0 -0
  40. package/40-checker/fixtures/fs-write/package.json +0 -0
  41. package/40-checker/fixtures/good/index.mjs +0 -0
  42. package/40-checker/fixtures/good/package.json +0 -0
  43. package/40-checker/fixtures/hang/index.mjs +0 -0
  44. package/40-checker/fixtures/hang/package.json +0 -0
  45. package/40-checker/fixtures/import-local-side-effect/index.mjs +0 -0
  46. package/40-checker/fixtures/import-local-side-effect/package.json +0 -0
  47. package/40-checker/fixtures/import-local-side-effect/side-effectful.mjs +0 -0
  48. package/40-checker/fixtures/import-open-readonly/index.mjs +0 -0
  49. package/40-checker/fixtures/import-open-readonly/package.json +0 -0
  50. package/40-checker/fixtures/import-package-only/index.mjs +0 -0
  51. package/40-checker/fixtures/import-package-only/package.json +0 -0
  52. package/40-checker/fixtures/import-parse-error/index.mjs +0 -0
  53. package/40-checker/fixtures/import-parse-error/package.json +0 -0
  54. package/40-checker/fixtures/import-side-effect/index.mjs +0 -0
  55. package/40-checker/fixtures/import-side-effect/package.json +0 -0
  56. package/40-checker/fixtures/import-side-effect-nonentry/index.mjs +0 -0
  57. package/40-checker/fixtures/import-side-effect-nonentry/package.json +0 -0
  58. package/40-checker/fixtures/import-side-effect-nonentry/selfcheck.mjs +0 -0
  59. package/40-checker/fixtures/import-void-main/index.mjs +0 -0
  60. package/40-checker/fixtures/import-void-main/package.json +0 -0
  61. package/40-checker/fixtures/known-answer/expected.json +0 -0
  62. package/40-checker/fixtures/market-index-real.json +0 -0
  63. package/40-checker/fixtures/market-index.json +0 -0
  64. package/40-checker/fixtures/negative/bad-entry/package.json +0 -0
  65. package/40-checker/fixtures/negative/no-entry/package.json +0 -0
  66. package/40-checker/fixtures/negative/no-patch/package.json +0 -0
  67. package/40-checker/fixtures/negative/root-missing/cordis.patch.yml +0 -0
  68. package/40-checker/fixtures/negative/root-missing/package.json +0 -0
  69. package/40-checker/fixtures/negative/workspace/package.json +0 -0
  70. package/40-checker/fixtures/no-source/package.json +0 -0
  71. package/40-checker/fixtures/parse-error-nonentry/index.mjs +0 -0
  72. package/40-checker/fixtures/parse-error-nonentry/package.json +0 -0
  73. package/40-checker/fixtures/parse-error-nonentry/references/broken.js +0 -0
  74. package/40-checker/fixtures/security/sec11-cred-declared/index.mjs +0 -0
  75. package/40-checker/fixtures/security/sec11-cred-declared/package.json +0 -0
  76. package/40-checker/fixtures/security/sec11-cred-list/index.mjs +0 -0
  77. package/40-checker/fixtures/security/sec11-cred-list/package.json +0 -0
  78. package/40-checker/fixtures/security/sec11-cred-undeclared/index.mjs +0 -0
  79. package/40-checker/fixtures/security/sec11-cred-undeclared/package.json +0 -0
  80. package/40-checker/fixtures/security/sec15-clean/index.mjs +0 -0
  81. package/40-checker/fixtures/security/sec15-clean/package.json +0 -0
  82. package/40-checker/fixtures/security/sec15-install-cred/index.mjs +0 -0
  83. package/40-checker/fixtures/security/sec15-install-cred/install.js +0 -0
  84. package/40-checker/fixtures/security/sec15-install-cred/package.json +0 -0
  85. package/40-checker/fixtures/security/sec15-install-curl/index.mjs +0 -0
  86. package/40-checker/fixtures/security/sec15-install-curl/package.json +0 -0
  87. package/40-checker/fixtures/security/sec15-install-curl/scripts/install.sh +0 -0
  88. package/40-checker/fixtures/security/sec15-install-danger/index.mjs +0 -0
  89. package/40-checker/fixtures/security/sec15-install-danger/install.js +0 -0
  90. package/40-checker/fixtures/security/sec15-install-danger/package.json +0 -0
  91. package/40-checker/fixtures/security/sec15-install-download-safe/index.js +0 -0
  92. package/40-checker/fixtures/security/sec15-install-download-safe/package.json +0 -0
  93. package/40-checker/fixtures/security/sec15-install-download-safe/scripts/install.js +0 -0
  94. package/40-checker/fixtures/security/sec15-install-download-safe/scripts/local-util.cjs +0 -0
  95. package/40-checker/fixtures/security/sec15-install-dynamic/index.js +0 -0
  96. package/40-checker/fixtures/security/sec15-install-dynamic/package.json +0 -0
  97. package/40-checker/fixtures/security/sec15-install-dynamic/scripts/install.js +0 -0
  98. package/40-checker/fixtures/security/sec15-install-remote-literal/index.js +0 -0
  99. package/40-checker/fixtures/security/sec15-install-remote-literal/package.json +0 -0
  100. package/40-checker/fixtures/security/sec15-install-remote-literal/scripts/install.js +0 -0
  101. package/40-checker/fixtures/security/sec15-install-safe/index.mjs +0 -0
  102. package/40-checker/fixtures/security/sec15-install-safe/install.js +0 -0
  103. package/40-checker/fixtures/security/sec15-install-safe/package.json +0 -0
  104. package/40-checker/fixtures/security/sec15-missing-ref/index.mjs +0 -0
  105. package/40-checker/fixtures/security/sec15-missing-ref/package.json +0 -0
  106. package/40-checker/fixtures/security/sec15-node/index.mjs +0 -0
  107. package/40-checker/fixtures/security/sec15-node/package.json +0 -0
  108. package/40-checker/fixtures/security/sec15-node/scripts/build.mjs +0 -0
  109. package/40-checker/fixtures/security/sec15-pipe/index.mjs +0 -0
  110. package/40-checker/fixtures/security/sec15-pipe/package.json +0 -0
  111. package/40-checker/fixtures/security/sec16-base64-clean/index.mjs +0 -0
  112. package/40-checker/fixtures/security/sec16-base64-clean/package.json +0 -0
  113. package/40-checker/fixtures/security/sec16-base64-eval/index.mjs +0 -0
  114. package/40-checker/fixtures/security/sec16-base64-eval/package.json +0 -0
  115. package/40-checker/fixtures/security/sec16-client/index.mjs +0 -0
  116. package/40-checker/fixtures/security/sec16-client/lib/client.js +0 -0
  117. package/40-checker/fixtures/security/sec16-client/package.json +0 -0
  118. package/40-checker/fixtures/security/sec16-declared/index.mjs +0 -0
  119. package/40-checker/fixtures/security/sec16-declared/package.json +0 -0
  120. package/40-checker/fixtures/security/sec16-eval/index.mjs +0 -0
  121. package/40-checker/fixtures/security/sec16-eval/package.json +0 -0
  122. package/40-checker/fixtures/security/sec16-exec-curl/index.mjs +0 -0
  123. package/40-checker/fixtures/security/sec16-exec-curl/package.json +0 -0
  124. package/40-checker/fixtures/security/sec16-import-only/index.mjs +0 -0
  125. package/40-checker/fixtures/security/sec16-import-only/package.json +0 -0
  126. package/40-checker/fixtures/security/sec16-require/index.mjs +0 -0
  127. package/40-checker/fixtures/security/sec16-require/package.json +0 -0
  128. package/40-checker/fixtures/security/sec16-spawn-shell/index.mjs +0 -0
  129. package/40-checker/fixtures/security/sec16-spawn-shell/package.json +0 -0
  130. package/40-checker/fixtures/security/sec16-subprocess-safe/index.mjs +0 -0
  131. package/40-checker/fixtures/security/sec16-subprocess-safe/package.json +0 -0
  132. package/40-checker/fixtures/security/sec16-vendor-bundle/lib/index.js +0 -0
  133. package/40-checker/fixtures/security/sec16-vendor-bundle/package.json +0 -0
  134. package/40-checker/fixtures/security/sec16-vendor-decoy/lib/index.js +0 -0
  135. package/40-checker/fixtures/security/sec16-vendor-decoy/package.json +0 -0
  136. package/40-checker/fixtures/security/sec16-vendor-path/index.mjs +0 -0
  137. package/40-checker/fixtures/security/sec16-vendor-path/package.json +0 -0
  138. package/40-checker/fixtures/security/sec16-vendor-path/vendor/schemastery.mjs +0 -0
  139. package/40-checker/fixtures/security/sec17-alias-clean/data.txt +0 -0
  140. package/40-checker/fixtures/security/sec17-alias-clean/index.mjs +0 -0
  141. package/40-checker/fixtures/security/sec17-alias-clean/package.json +0 -0
  142. package/40-checker/fixtures/security/sec17-alias-read/index.mjs +0 -0
  143. package/40-checker/fixtures/security/sec17-alias-read/package.json +0 -0
  144. package/40-checker/fixtures/security/sec17-base64-path/index.mjs +0 -0
  145. package/40-checker/fixtures/security/sec17-base64-path/package.json +0 -0
  146. package/40-checker/fixtures/security/sec17-base64-path-clean/data/config.json +0 -0
  147. package/40-checker/fixtures/security/sec17-base64-path-clean/index.mjs +0 -0
  148. package/40-checker/fixtures/security/sec17-base64-path-clean/package.json +0 -0
  149. package/40-checker/fixtures/security/sec17-cred-exfil/index.mjs +0 -0
  150. package/40-checker/fixtures/security/sec17-cred-exfil/package.json +0 -0
  151. package/40-checker/fixtures/security/sec17-env/index.mjs +0 -0
  152. package/40-checker/fixtures/security/sec17-env/package.json +0 -0
  153. package/40-checker/fixtures/security/sec17-home-env/index.js +0 -0
  154. package/40-checker/fixtures/security/sec17-home-env/package.json +0 -0
  155. package/40-checker/fixtures/security/sec17-home-env-clean/index.mjs +0 -0
  156. package/40-checker/fixtures/security/sec17-home-env-clean/package.json +0 -0
  157. package/40-checker/fixtures/security/sec17-seam/index.mjs +0 -0
  158. package/40-checker/fixtures/security/sec17-seam/package.json +0 -0
  159. package/40-checker/fixtures/security/sec17-ssh/index.mjs +0 -0
  160. package/40-checker/fixtures/security/sec17-ssh/package.json +0 -0
  161. package/40-checker/fixtures/security/sec18-bad/index.mjs +0 -0
  162. package/40-checker/fixtures/security/sec18-bad/package.json +0 -0
  163. package/40-checker/fixtures/security/sec18-good/index.mjs +0 -0
  164. package/40-checker/fixtures/security/sec18-good/package.json +0 -0
  165. package/40-checker/fixtures/security/sec18-split-fetch/index.mjs +0 -0
  166. package/40-checker/fixtures/security/sec18-split-fetch/package.json +0 -0
  167. package/40-checker/fixtures/security/sec18-split-fetch-clean/index.mjs +0 -0
  168. package/40-checker/fixtures/security/sec18-split-fetch-clean/package.json +0 -0
  169. package/40-checker/fixtures/security/sec18-undeclared/index.mjs +0 -0
  170. package/40-checker/fixtures/security/sec18-undeclared/package.json +0 -0
  171. package/40-checker/fixtures/security/sec19-blob/index.mjs +0 -0
  172. package/40-checker/fixtures/security/sec19-blob/package.json +0 -0
  173. package/40-checker/fixtures/security/sec19-clean/index.mjs +0 -0
  174. package/40-checker/fixtures/security/sec19-clean/package.json +0 -0
  175. package/40-checker/fixtures/security/sec19-wasm/blob.wasm +0 -0
  176. package/40-checker/fixtures/security/sec19-wasm/index.mjs +0 -0
  177. package/40-checker/fixtures/security/sec19-wasm/package.json +0 -0
  178. package/40-checker/fixtures/security/sec20-unwrapped/index.mjs +0 -0
  179. package/40-checker/fixtures/security/sec20-unwrapped/package.json +0 -0
  180. package/40-checker/fixtures/security/sec20-wrapped/index.mjs +0 -0
  181. package/40-checker/fixtures/security/sec20-wrapped/package.json +0 -0
  182. package/40-checker/fixtures/security/sec21-known/index.mjs +0 -0
  183. package/40-checker/fixtures/security/sec21-known/package.json +0 -0
  184. package/40-checker/fixtures/security/sec21-typosquat/index.mjs +0 -0
  185. package/40-checker/fixtures/security/sec21-typosquat/package.json +0 -0
  186. package/40-checker/fixtures/security/sec22-attested/index.mjs +0 -0
  187. package/40-checker/fixtures/security/sec22-attested/package.json +0 -0
  188. package/40-checker/fixtures/security/sec22-none/index.mjs +0 -0
  189. package/40-checker/fixtures/security/sec22-none/package.json +0 -0
  190. package/40-checker/package.json +0 -0
  191. package/40-checker/samples/README.md +0 -0
  192. package/40-checker/samples/entry18.json +0 -0
  193. package/40-checker/samples/frame.json +0 -0
  194. package/40-checker/scripts/apply-overlay.mjs +0 -0
  195. package/40-checker/scripts/attestation-check.mjs +0 -0
  196. package/40-checker/scripts/build-offline-kit.mjs +0 -0
  197. package/40-checker/scripts/build-sidecar.mjs +0 -0
  198. package/40-checker/scripts/bundle-smoke.mjs +0 -0
  199. package/40-checker/scripts/claim-check.mjs +0 -0
  200. package/40-checker/scripts/clause-map.mjs +0 -0
  201. package/40-checker/scripts/collect-fixtures.mjs +0 -0
  202. package/40-checker/scripts/dashboard.mjs +0 -0
  203. package/40-checker/scripts/dco-check.mjs +0 -0
  204. package/40-checker/scripts/dependabot-check.mjs +0 -0
  205. package/40-checker/scripts/doc-commands-check.mjs +0 -0
  206. package/40-checker/scripts/entry-scan.mjs +0 -0
  207. package/40-checker/scripts/entry-validate.mjs +0 -0
  208. package/40-checker/scripts/entry18-attribution.mjs +0 -0
  209. package/40-checker/scripts/entry18-ci.mjs +0 -0
  210. package/40-checker/scripts/entry18-realweb-summary.mjs +0 -0
  211. package/40-checker/scripts/entry18-web.mjs +0 -0
  212. package/40-checker/scripts/evidence-chain.mjs +0 -0
  213. package/40-checker/scripts/flow-collect.mjs +0 -0
  214. package/40-checker/scripts/flow-index.mjs +0 -0
  215. package/40-checker/scripts/flow-sample-ci.mjs +0 -0
  216. package/40-checker/scripts/governance-check.mjs +0 -0
  217. package/40-checker/scripts/host-farm.mjs +0 -0
  218. package/40-checker/scripts/journey-config-observe.mjs +0 -0
  219. package/40-checker/scripts/journey-disclosure-shape.mjs +0 -0
  220. package/40-checker/scripts/journey-runtime.mjs +0 -0
  221. package/40-checker/scripts/journey.mjs +0 -0
  222. package/40-checker/scripts/label-drift.mjs +0 -0
  223. package/40-checker/scripts/label-sync.mjs +0 -0
  224. package/40-checker/scripts/label-verify.mjs +0 -0
  225. package/40-checker/scripts/land-runtime-artifacts.mjs +0 -0
  226. package/40-checker/scripts/landlock-exec.c +0 -0
  227. package/40-checker/scripts/level-audit.mjs +0 -0
  228. package/40-checker/scripts/m1-sidecar.mjs +0 -0
  229. package/40-checker/scripts/m2-runner.mjs +0 -0
  230. package/40-checker/scripts/repo-anchor-check.mjs +0 -0
  231. package/40-checker/scripts/round-robin.mjs +0 -0
  232. package/40-checker/scripts/run-tests.mjs +0 -0
  233. package/40-checker/scripts/runtime-child.mjs +0 -0
  234. package/40-checker/scripts/sample-frame.mjs +0 -0
  235. package/40-checker/scripts/sample20-ci.mjs +0 -0
  236. package/40-checker/scripts/sample60-ci.mjs +0 -0
  237. package/40-checker/scripts/sign-evidence.mjs +0 -0
  238. package/40-checker/scripts/stale-check.mjs +0 -0
  239. package/40-checker/scripts/surveillance.mjs +0 -0
  240. package/40-checker/scripts/web-probe.mjs +0 -0
  241. package/40-checker/src/author-cli.mjs +0 -0
  242. package/40-checker/src/author-report.mjs +0 -0
  243. package/40-checker/src/bundle-static.mjs +0 -0
  244. package/40-checker/src/cli.mjs +0 -0
  245. package/40-checker/src/client-shape.mjs +0 -0
  246. package/40-checker/src/declarations.mjs +2 -1
  247. package/40-checker/src/flow-evidence.mjs +0 -0
  248. package/40-checker/src/index.mjs +0 -0
  249. package/40-checker/src/install-spec.mjs +0 -0
  250. package/40-checker/src/label.mjs +0 -0
  251. package/40-checker/src/manifest.mjs +0 -0
  252. package/40-checker/src/npm-command.mjs +0 -0
  253. package/40-checker/src/permissions.mjs +0 -0
  254. package/40-checker/src/remediation.mjs +0 -0
  255. package/40-checker/src/report.mjs +0 -0
  256. package/40-checker/src/result.mjs +0 -0
  257. package/40-checker/src/runtime-child.mjs +0 -0
  258. package/40-checker/src/runtime.mjs +0 -0
  259. package/40-checker/src/sandbox-env.mjs +0 -0
  260. package/40-checker/src/sandbox-run.mjs +0 -0
  261. package/40-checker/src/security.mjs +0 -0
  262. package/40-checker/src/semver.mjs +0 -0
  263. package/40-checker/src/signature.mjs +0 -0
  264. package/40-checker/src/util.mjs +0 -0
  265. package/40-checker/vendor/babel/README.md +0 -0
  266. package/40-checker/vendor/babel/index.cjs +0 -0
  267. package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/LICENSE +0 -0
  268. package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/README.md +0 -0
  269. package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.d.ts +0 -0
  270. package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.js +0 -0
  271. package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/package.json +0 -0
  272. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/LICENSE +0 -0
  273. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/README.md +0 -0
  274. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier-browser.js +0 -0
  275. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -0
  276. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.d.ts +0 -0
  277. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -0
  278. package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/package.json +0 -0
  279. package/40-checker/vendor/babel/node_modules/@babel/parser/CHANGELOG.md +0 -0
  280. package/40-checker/vendor/babel/node_modules/@babel/parser/LICENSE +0 -0
  281. package/40-checker/vendor/babel/node_modules/@babel/parser/README.md +0 -0
  282. package/40-checker/vendor/babel/node_modules/@babel/parser/bin/babel-parser.js +0 -0
  283. package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.d.ts +0 -0
  284. package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.js +0 -0
  285. package/40-checker/vendor/babel/node_modules/@babel/parser/package.json +0 -0
  286. package/40-checker/vendor/babel/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -0
  287. package/40-checker/vendor/babel/node_modules/@babel/types/LICENSE +0 -0
  288. package/40-checker/vendor/babel/node_modules/@babel/types/README.md +0 -0
  289. package/40-checker/vendor/babel/node_modules/@babel/types/lib/index-legacy.d.ts +0 -0
  290. package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.d.ts +0 -0
  291. package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js +0 -0
  292. package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js.flow +0 -0
  293. package/40-checker/vendor/babel/node_modules/@babel/types/package.json +0 -0
  294. package/CHANGELOG.md +21 -0
  295. package/LICENSE +0 -0
  296. package/LICENSE-APACHE +0 -0
  297. package/LICENSE-CC-BY +0 -0
  298. package/NOTICE +0 -0
  299. package/NOTICE.md +0 -0
  300. package/README.en.md +1 -1
  301. package/README.es.md +1 -1
  302. package/README.hi.md +1 -1
  303. package/README.md +5 -3
  304. package/README.pt.md +1 -1
  305. package/SECURITY.md +0 -0
  306. package/bin/dsh-flow-collect.mjs +0 -0
  307. package/bin/dsh-levels.mjs +0 -0
  308. package/bin/dsh-standards.mjs +0 -0
  309. package/docs/BOOST-FIXTURES-2026-11-02.md +0 -0
  310. package/docs/COMPATUM.md +193 -0
  311. package/docs/DEVELOPER-JOURNEY.md +0 -0
  312. package/docs/HOST-J3-BUG-REPORT-DRAFT.md +0 -0
  313. package/docs/HOST-J3-CONFIG-REPRO-2026-11-02.md +0 -0
  314. package/docs/NAMING-FALLBACK.md +0 -0
  315. package/docs/SIGNING.md +0 -0
  316. package/docs/assets/dsh-standards-flow-dark.svg +0 -0
  317. package/docs/assets/dsh-standards-flow-light.svg +0 -0
  318. package/docs/assets/dsh-standards-flow-v3-dark.svg +0 -0
  319. package/docs/assets/dsh-standards-flow-v3-light.svg +0 -0
  320. package/docs/assets/dsh-standards-flow-v4-dark.svg +0 -0
  321. package/docs/assets/dsh-standards-flow-v4-light.svg +0 -0
  322. package/docs/assets/dsh-standards-hero-en-dark.webp +0 -0
  323. package/docs/assets/dsh-standards-hero-en-light.webp +0 -0
  324. package/docs/assets/dsh-standards-hero-zh-dark.webp +0 -0
  325. package/docs/assets/dsh-standards-hero-zh-light.webp +0 -0
  326. package/docs/coverage.md +0 -0
  327. package/docs/fork-policy.md +0 -0
  328. package/docs/full-test-plan-2026-11-02.md +0 -0
  329. package/docs/incident.md +0 -0
  330. package/docs/onboarding.md +0 -0
  331. package/docs/privacy.md +0 -0
  332. package/docs/release.md +0 -0
  333. package/docs/repo-anchors-rc3-2026-11-14.md +0 -0
  334. package/docs/scope-security.md +0 -0
  335. package/docs/status-taxonomy.md +0 -0
  336. package/docs/sunset.md +0 -0
  337. package/docs/translating.md +0 -0
  338. package/examples/compatum/mcp-profile.json +105 -0
  339. package/examples/compatum/permission-rules-profile.json +97 -0
  340. package/examples/compatum/plugin-full.json +155 -0
  341. package/examples/compatum/plugin-min.json +48 -0
  342. package/package.json +3 -1
  343. package/spec/README.md +3 -0
  344. package/spec/boost/README.md +0 -0
  345. package/spec/clauses.json +0 -0
  346. package/spec/compatum-validate.mjs +791 -0
  347. package/spec/compatum.schema.json +939 -0
  348. package/spec/coverage-contract.md +0 -0
  349. package/spec/dsc-clauses.json +0 -0
  350. package/spec/entry/README.md +0 -0
  351. package/spec/examples/boost-card.example.json +0 -0
  352. package/spec/examples/flow-evidence.example.json +0 -0
  353. package/spec/flow/README.md +0 -0
  354. package/spec/flow-evidence.schema.json +0 -0
  355. package/spec/levels.json +0 -0
  356. package/spec/levels.schema.json +0 -0
  357. package/spec/reference-suite.json +0 -0
  358. package/spec/remediation.json +1 -1
  359. package/spec/schemas/advice.schema.json +0 -0
  360. package/spec/schemas/attestation.schema.json +0 -0
  361. package/spec/schemas/boost-card.schema.json +0 -0
  362. package/spec/schemas/conformance.schema.json +0 -0
  363. package/spec/schemas/evidence.schema.json +0 -0
  364. package/spec/schemas/report.schema.json +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -10,7 +10,7 @@ import { validateCommitments, validateDisclosure } from './permissions.mjs'
10
10
  export const CAPABILITIES = new Set([
11
11
  'fs:read', 'fs:write', 'shell', 'subprocess', 'network:egress', 'network:ingress',
12
12
  'credentials:read', 'credentials:list', 'credentials:provider', 'llm:adapter',
13
- 'sessions:read', 'system-prompt:write', 'tools:register', 'remote:expose', 'plugin:install',
13
+ 'sessions:read', 'sessions:write', 'system-prompt:write', 'tools:register', 'remote:expose', 'plugin:install',
14
14
  ])
15
15
 
16
16
  // Reserved capability IDs (2026-11-14, P1-6): names the current standard version
@@ -50,6 +50,7 @@ const TRIGGERS = [
50
50
  { cap: 'credentials:list', pattern: /\.listRecords\s*\(/g },
51
51
  { cap: 'credentials:read', pattern: /ctx\.credentials\b/g },
52
52
  { cap: 'sessions:read', pattern: /ctx\.(?:sessions|sessionQuery)\b/g },
53
+ { cap: 'sessions:write', pattern: /\bsession\.append\s*\(/g },
53
54
  { cap: 'shell', pattern: /ctx\.(?:shell|bash)\b/g },
54
55
  { cap: 'subprocess', pattern: /ctx\.subprocess\b/g },
55
56
  { cap: 'fs:read', pattern: /ctx\.fs\b/g },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 1.7.0 — 2026-11-14
2
+
3
+ ### Added
4
+
5
+ - **`sessions:write` (issue #8).** The capability registry now has **16 IDs**: `sessions:write` sits after `sessions:read` with effect `write`, so a plugin that appends to a session log can declare that instead of overloading `sessions:read`. `sessions:read` semantics are unchanged.
6
+ - Compatum: `spec/compatum.schema.json` updates `$defs.capabilityRegistry`, `$defs.capabilityEffects`, the `capabilities[].id` enum, the per-ID effect rule, `capabilities.maxItems`, and the `$comment` (15→16); `spec/compatum-validate.mjs` now enforces exactly 16 IDs.
7
+ - Checker: `40-checker/src/declarations.mjs` adds `sessions:write` to the judged set and maps `session.append(...)` (e.g. `agent.session.append`) to it for C-11.2, with C-11.5 observation from the same trigger; `40-checker/test/checks.test.mjs` covers declared PASS and undeclared FAIL.
8
+ - **`examples/compatum/permission-rules-profile.json`** — the `dsh-permission-rules` capability shape (`fs:read`, `fs:write`, `network:egress`, `sessions:write`), declared/NOT-RUN. All four Compatum examples validate.
9
+ - Docs 31 §8.1 / 60 §2.2 / 81 / 00-index / spec README / `docs/COMPATUM.md` / `spec/remediation.json` now say 16 IDs and list the new trigger.
10
+
11
+ ### Changed
12
+
13
+ - Version 1.7.0 (`package.json` + five READMEs).
14
+
15
+ ### Verified
16
+
17
+ - `node spec/compatum-validate.mjs`: registry 16 IDs, 3 aliases, 16 effects; self-test 5/5 negative cases rejected; **4/4 examples valid** (the three existing examples still pass).
18
+ - Independent Python `jsonschema` 4.10.3: Draft 2020-12 metaschema OK; **4/4 examples** pass with `FormatChecker`.
19
+ - `DSH_GUIDE_DOCS=<fresh dsh-plugin-guide>/docs npm test`: 323 tests, 322 pass, 1 skipped, 0 failed. The default sibling guide checkout at `audit-2026-11-03/own/dsh-plugin-guide` is stale and fails the docs-anchor test; pointing `DSH_GUIDE_DOCS` at the current guide makes it green. The failure is pre-existing and unrelated to this change.
20
+ - Not verified here: no npm publish (local + `main` only), no runtime/host run for the new example.
21
+
1
22
  ## 1.6.12 — 2026-11-14
2
23
 
3
24
  ### Added
package/LICENSE CHANGED
File without changes
package/LICENSE-APACHE CHANGED
File without changes
package/LICENSE-CC-BY CHANGED
File without changes
package/NOTICE CHANGED
File without changes
package/NOTICE.md CHANGED
File without changes
package/README.en.md CHANGED
@@ -44,7 +44,7 @@ DSH adoption depth has three levels, each with its own question and evidence voc
44
44
 
45
45
  Three things live here: `40-checker/` (the DS-C conformance checker plus every evidence script), `bin/` (two public entry points, `dsh-standards` and `dsh-levels`), and `spec/` with the canonical clause text in the numbered `31`–`35` documents. The tools only read the target package and never modify what they inspect; the verdict only accepts evidence, so `not-run`, `NA`, and `static` are never written up as PASS.
46
46
 
47
- The old npm reservation `dsh-standards@0.0.3` only held the name; this 1.x line replaces it (currently `1.6.12`), and the two bins are `dsh-standards` and `dsh-levels`.
47
+ The old npm reservation `dsh-standards@0.0.3` only held the name; this 1.x line replaces it (currently `1.7.0`), and the two bins are `dsh-standards` and `dsh-levels`.
48
48
 
49
49
  The anchor is recorded in every report, not in `spec/levels.json` (the checker resolves it at run time: CLI flag, then host probe, then the built-in default): `repo=deepseek-ai/deepseek-harness`, `commit=38a6a5c965aa`, `dsh=0.2.2-rc.3`, `cordis=4.1.0`. Pass a different runtime version explicitly and the report records which ruler you measured with.
50
50
 
package/README.es.md CHANGED
@@ -44,7 +44,7 @@ La profundidad de adopción de DSH tiene tres niveles, cada uno con su pregunta
44
44
 
45
45
  Aquí viven tres cosas: `40-checker/` (el verificador DS-C y todos los scripts de evidencia), `bin/` (dos puntos de entrada públicos, `dsh-standards` y `dsh-levels`) y `spec/` junto con el texto normativo de los documentos numerados `31`–`35`. Las herramientas solo leen el paquete objetivo y nunca modifican lo que inspeccionan; el veredicto solo acepta evidencia, así que `not-run`, `NA` y `static` jamás se escriben como PASS.
46
46
 
47
- La antigua reserva de npm `dsh-standards@0.0.3` solo ocupaba el nombre; esta línea 1.x la sustituye (hoy `1.6.12`) y los dos bins son `dsh-standards` y `dsh-levels`.
47
+ La antigua reserva de npm `dsh-standards@0.0.3` solo ocupaba el nombre; esta línea 1.x la sustituye (hoy `1.7.0`) y los dos bins son `dsh-standards` y `dsh-levels`.
48
48
 
49
49
  El ancla se registra en cada informe, no en `spec/levels.json` (el checker la resuelve en tiempo de ejecución: flag de CLI, luego sondeo del host y por último la constante incorporada): `repo=deepseek-ai/deepseek-harness`, `commit=38a6a5c965aa`, `dsh=0.2.2-rc.3`, `cordis=4.1.0`. Si pasas otra versión de runtime, el informe deja constancia de con qué regla mediste.
50
50
 
package/README.hi.md CHANGED
@@ -44,7 +44,7 @@ DSH अपनाव की गहराई के तीन स्तर है
44
44
 
45
45
  यहाँ तीन चीज़ें हैं: `40-checker/` (DS-C जाँचकर्ता और सभी साक्ष्य-स्क्रिप्ट), `bin/` (दो सार्वजनिक प्रवेश बिंदु, `dsh-standards` और `dsh-levels`), और `spec/` के साथ संख्यांकित `31`–`35` दस्तावेज़ों का मानक पाठ। उपकरण लक्ष्य पैकेज को केवल पढ़ते हैं, उसे बदलते नहीं; निर्णय केवल साक्ष्य स्वीकार करता है, इसलिए `not-run`, `NA` और `static` कभी PASS के रूप में नहीं लिखे जाते।
46
46
 
47
- npm पर पुराना आरक्षण `dsh-standards@0.0.3` केवल नाम रखता था; यह 1.x श्रृंखला उसकी जगह लेती है (अभी `1.6.12`), और दोनों bin `dsh-standards` तथा `dsh-levels` हैं।
47
+ npm पर पुराना आरक्षण `dsh-standards@0.0.3` केवल नाम रखता था; यह 1.x श्रृंखला उसकी जगह लेती है (अभी `1.7.0`), और दोनों bin `dsh-standards` तथा `dsh-levels` हैं।
48
48
 
49
49
  एंकर हर रिपोर्ट में दर्ज होता है, `spec/levels.json` में नहीं (checker इसे रनटाइम पर तय करता है: CLI फ़्लैग, फिर होस्ट जाँच, अंत में अंतर्निहित डिफ़ॉल्ट): `repo=deepseek-ai/deepseek-harness`, `commit=38a6a5c965aa`, `dsh=0.2.2-rc.3`, `cordis=4.1.0`। अलग रनटाइम संस्करण दें तो रिपोर्ट लिख देती है कि आपने किस लकीर से मापा।
50
50
 
package/README.md CHANGED
@@ -42,6 +42,8 @@ DSH 插件的采用深度分三层,每层一个问题、一套证据状态,*
42
42
  | 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** |
43
43
  | 3 | **DSH-BOOST 加速实践** | 插件是否用 Cordis 原语(effect、inject、volatile、事件、seam、job、有界并行)让开发和使用可测量地更省? | draft;LEV-1–8 **8/8 measured**(loader / context / provider-capture / synthetic timer;非生产基线) |
44
44
 
45
+ **Compatum/1 (draft)** —— 面向插件清单的兼容性 / 能力 / 证据 profile(`capabilities[]` / `requires` / `evidence[]`),非官方标准。文本见 [docs/COMPATUM.md](docs/COMPATUM.md),JSON Schema 见 [spec/compatum.schema.json](spec/compatum.schema.json),示例见 [examples/compatum/](examples/compatum/),校验器见 [spec/compatum-validate.mjs](spec/compatum-validate.mjs),公开 RFC 见 [issue](https://github.com/PerryLink/dsh-standards/issues)。
46
+
45
47
  ### 上游与使用(事实,2026-11)
46
48
 
47
49
  - **dsh-plugin-hub** —— 版本感知的 npm 元数据校验已合入 main([`4f3a560`](https://github.com/dshplugin/dsh-plugin-hub/commit/4f3a560),2026-11-09)。范围仅安装侧的 npm 元数据(包/版本存在性、`repository` 回链);不运行 ENTRY,也不构成对任何插件的背书。
@@ -50,7 +52,7 @@ DSH 插件的采用深度分三层,每层一个问题、一套证据状态,*
50
52
 
51
53
  仓里就三样东西:`40-checker/`(DS-C 一致性检查器与全部证据脚本)、`bin/`(两个公开入口 `dsh-standards` 与 `dsh-levels`),以及 `spec/` 与 `31`–`35` 号规范正文。工具只读目标包,不改被检对象;结论只认证据,`not-run`、`NA`、`static` 都不会被写成 PASS。
52
54
 
53
- npm 上的旧占位 `dsh-standards@0.0.3` 只是名字预留,这条 1.x 线取代了它(当前 `1.6.12`);两个 bin 分别叫 `dsh-standards` 与 `dsh-levels`。
55
+ npm 上的旧占位 `dsh-standards@0.0.3` 只是名字预留,这条 1.x 线取代了它(当前 `1.7.0`);两个 bin 分别叫 `dsh-standards` 与 `dsh-levels`。
54
56
 
55
57
  锚点不是硬编码的通行证:`repo` / `commit` / `cordis` 记在报告里,`dsh` 由 `--host-version`、`DSH_HOST_VERSION` 或显式 `--allow-host-probe` 解析;都没有时报告写「host 版本未知」,并标 `source=default, suspect=true`。换一次版本就是另一把尺子,旧报告不能直接当新版本的证据。
56
58
 
@@ -388,6 +390,6 @@ docs/ DEVELOPER-JOURNEY 等长期文档与 README 配图
388
390
  <p align="center"><sub>CC BY 4.0(文本)· Apache-2.0(代码)· 社区项目,与 DeepSeek 无关。</sub></p>
389
391
 
390
392
 
391
- ## 相关:HCB 兼容矩阵
393
+ ## 相关:HCB 数据层(dsh-hcb)
392
394
 
393
- [HCB(Host Compatibility Baseline)](https://github.com/PerryLink/dsh-compat-baseline) 把插件的 `engines.dsh` 声明映射到最近 10 个 DSH host 版本,输出 `declared-compatible / declared-incompatible / unknown` 矩阵。它与 dsh-standards 的静态检查互补:HCB 回答「声明支持哪些版本」,dsh-standards 回答「代码是否满足规范」。
395
+ HCB 是本栈的**数据/门禁子项目**:规则、checker 与 ENTRY/FLOW/BOOST 定义都在本仓;兼容矩阵、三轨声明数据、capability risk 与 `hcb-gate/1` 在 [dsh-hcb](https://github.com/PerryLink/dsh-hcb)。HCB 消费 `dsh-levels/1`,不把三轨压成分数,也不替代 checker——HCB 回答「声明了什么」,dsh-standards 回答「实际是否通过」。
package/README.pt.md CHANGED
@@ -44,7 +44,7 @@ A profundidade de adoção do DSH tem três níveis, cada um com sua pergunta e
44
44
 
45
45
  Três coisas vivem aqui: `40-checker/` (o verificador DS-C e todos os scripts de evidência), `bin/` (dois pontos de entrada públicos, `dsh-standards` e `dsh-levels`) e `spec/` com o texto normativo nos documentos numerados `31`–`35`. As ferramentas apenas leem o pacote alvo e nunca modificam o que inspecionam; o veredito só aceita evidência, então `not-run`, `NA` e `static` jamais são escritos como PASS.
46
46
 
47
- A antiga reserva de npm `dsh-standards@0.0.3` apenas ocupava o nome; esta linha 1.x a substitui (hoje `1.6.12`) e os dois bins são `dsh-standards` e `dsh-levels`.
47
+ A antiga reserva de npm `dsh-standards@0.0.3` apenas ocupava o nome; esta linha 1.x a substitui (hoje `1.7.0`) e os dois bins são `dsh-standards` e `dsh-levels`.
48
48
 
49
49
  A âncora é registrada em cada relatório, não em `spec/levels.json` (o checker a resolve em tempo de execução: flag de CLI, depois sondagem do host e, por fim, a constante embutida): `repo=deepseek-ai/deepseek-harness`, `commit=38a6a5c965aa`, `dsh=0.2.2-rc.3`, `cordis=4.1.0`. Se você passar outra versão de runtime, o relatório registra com qual régua mediu.
50
50
 
package/SECURITY.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,193 @@
1
+ # Compatum/1 — compatibility, capability, and evidence profile
2
+
3
+ > **Status:** Draft 0.9 · 2026-11-14 · Editor: PerryLink (independent community project)
4
+ > **Notice:** This is **not an official standard**. It is not a W3C, AAIF, OpenAtom,
5
+ > OpenSSF, IETF, or DeepSeek deliverable and carries no endorsement from any of
6
+ > them. “Compatum” is an unregistered working name; no trademark is claimed.
7
+ > **License:** text CC BY 4.0, schemas and code Apache-2.0 (§6).
8
+ > **Feedback:** open an issue at <https://github.com/PerryLink/dsh-standards/issues>
9
+ > and quote the clause or field name.
10
+
11
+ Normative keywords **MUST**, **SHOULD**, and **MAY** are used as in RFC 2119/8174.
12
+
13
+ ## 1. Purpose
14
+
15
+ Agent hosts change faster than plugin ecosystems absorb. Compatibility claims
16
+ are scattered across `engines`, peers, READMEs, badges, and marketplaces, and
17
+ “compatible” conflates three facts: a version range is a claim, a static check
18
+ is not a boot, and one boot is not a matrix. Capability vocabulary drifts
19
+ (`network:egress` vs `listen`), evidence lacks host and commit anchors, and
20
+ inconsistent result words let `not-run` read as a pass. Compatum/1 defines one
21
+ additive, opt-in metadata block that keeps these facts separate and
22
+ machine-readable.
23
+
24
+ ## 2. Scope
25
+
26
+ **In scope:** the `compatum` block in package metadata; `capabilities[]`,
27
+ `requires`, and `evidence[]`; three evidence levels (`declared → checked →
28
+ tested`); six result values; content hashing and anchors; JSON Schema,
29
+ conformance cases, and a one-page implementer guide.
30
+
31
+ **Out of scope:** runtime sandboxing or enforcement; security audit;
32
+ certification, badges, scores, or ranking; host API semantics; registry policy;
33
+ SBOM; signing or PKI (reuse Sigstore and in-toto); new cryptographic primitives.
34
+
35
+ ## 3. Profile fields
36
+
37
+ A conforming package carries a `compatum` object with `schema: "compatum/1"`:
38
+ for DSH at `package.json#dsh.compatum`, elsewhere as a vendor extension. It is
39
+ authoritative at package level, MUST be valid JSON, and MUST NOT contain
40
+ secrets. The object also carries `name` and `version`, which bind the claim to
41
+ one exact package version and let the block travel outside `package.json`; for
42
+ a DSH package they MUST equal `package.json#name` and `package.json#version`.
43
+ The [JSON Schema](../spec/compatum.schema.json) validates the inner object; the
44
+ wrapper below only shows the embedding.
45
+
46
+ ```json
47
+ {
48
+ "compatum": {
49
+ "schema": "compatum/1",
50
+ "name": "dsh-example",
51
+ "version": "1.2.0",
52
+ "capabilities": [
53
+ { "id": "network:egress", "scope": "user", "approval": "once" },
54
+ { "id": "tools:register", "scope": "host", "approval": "once" }
55
+ ],
56
+ "requires": {
57
+ "portable": "1.0",
58
+ "dsh": ">=0.2.1-0 <0.3.0",
59
+ "node": "^22.19.0 || >=24.9.0",
60
+ "platform": ["linux", "darwin", "win32"],
61
+ "install": {
62
+ "unit": "bundle",
63
+ "entry": "dsh.bundle.patch",
64
+ "activation": "hot-reload",
65
+ "data": "$DSH_HOME/dsh-example",
66
+ "uninstall": {
67
+ "stops": true,
68
+ "removesCode": true,
69
+ "removesData": false,
70
+ "residue": []
71
+ }
72
+ }
73
+ },
74
+ "evidence": [
75
+ {
76
+ "schema": "compatum-evidence/1",
77
+ "level": "checked",
78
+ "subject": { "repo": "https://github.com/PerryLink/example", "version": "1.2.0", "commit": "ce7073d" },
79
+ "host": { "name": "dsh", "version": "0.2.2-rc.3" },
80
+ "checker": "dsh-standards@1.6.12",
81
+ "result": "PASS",
82
+ "scope": "capability",
83
+ "checkedAt": "2026-11-14T09:00:00Z",
84
+ "reportPath": "evidence/dsh-example/1.2.0/0.2.2-rc.3.json"
85
+ }
86
+ ]
87
+ }
88
+ }
89
+ ```
90
+
91
+ ### 3.1 `capabilities[]`
92
+
93
+ An array of objects. `id` is required and MUST come from the 16-ID closed set
94
+ in [`60-权限与标注规范.md` §2.2](../60-权限与标注规范.md); `effect`, `scope`,
95
+ `targets`, `reversible`, `approval`, `hostOnly`, and `reason` MAY qualify it,
96
+ using registry defaults when absent. Aliases (`listen`, `exec`, `process`) MUST
97
+ be normalized by the checker and MUST NOT be written here. Unknown or duplicate
98
+ IDs make the declaration invalid.
99
+
100
+ **Missing ≠ empty ≠ unknown.** A missing field means *unknown* and MUST NOT be
101
+ read as “no risk”. An empty array is an explicit “no capabilities” claim but is
102
+ still a WARN with risk `unknown`, never a PASS.
103
+
104
+ ### 3.2 `requires`
105
+
106
+ A declarative object: `portable` (profile version, currently `"1.0"`) plus host
107
+ constraints such as `dsh` and `node` (SemVer ranges), `platform` (enum), and the
108
+ required `install` object. `install` states the unit, entry, activation, data
109
+ location, and uninstall semantics: whether uninstall stops processes, removes
110
+ code, removes data (`true`, `false`, or `"ask"`), and what residue remains
111
+ (`residue: []` is an explicit no-residue claim). `mcp`, `claude-code`, `codex`,
112
+ `agent-plugins`, `agent-skills`, `transport`, and `denies` MAY further constrain
113
+ the claim. Tested hosts belong in `evidence[]`: a test result is not a
114
+ requirement. Missing or unsatisfied requirements mean *not run*, not *pass*.
115
+
116
+ ### 3.3 `evidence[]`
117
+
118
+ Each record carries `schema: "compatum-evidence/1"`, `level`, `subject` (repo,
119
+ version, commit), `host` (name, version), `checker`, `result`, `scope`,
120
+ `checkedAt`, and either `reportPath` or `sha256`; `expiresAt` and `stale` are
121
+ optional. Hashes use `sha256:` plus 64 lowercase hex characters over the
122
+ canonical JSON (RFC 8785 JCS) of the record body, excluding the hash field.
123
+
124
+ - **Levels:** `declared → checked → tested`, in order, no skipping. `checked`
125
+ means an offline/static check observed the package, not that it booted;
126
+ `tested` means a run was observed on the named host anchors.
127
+ - **Reset:** a version bump resets the claim to `declared`; a host change makes
128
+ older records historical (`stale: true`) but keeps them as evidence.
129
+ - **Failures remain evidence.** `FAIL`, `BLOCKED`, and `ERROR` records MUST NOT
130
+ be deleted to improve the apparent level.
131
+ - **Results:** `PASS | WARN | FAIL | NOT-RUN | BLOCKED | ERROR`, case-sensitive.
132
+ `NOT-RUN` is never a pass and MUST be preserved as such.
133
+
134
+ ### 3.4 Machine-readable artifacts
135
+
136
+ - [`spec/compatum.schema.json`](../spec/compatum.schema.json) — JSON Schema
137
+ 2020-12 for one `compatum/1` block, including the 16-ID registry, the alias
138
+ map (`listen`, `exec`, `process`), the effect map, `requires.install`, and the
139
+ evidence record.
140
+ - [`examples/compatum/`](../examples/compatum/) — `plugin-min.json`,
141
+ `plugin-full.json`, `mcp-profile.json`, and `permission-rules-profile.json`;
142
+ all four validate.
143
+ - [`spec/compatum-validate.mjs`](../spec/compatum-validate.mjs) — zero-dependency
144
+ validator. It checks the schema plus rules JSON Schema cannot express
145
+ (duplicate IDs, aliases, effect consistency, historical evidence on a version
146
+ bump, and `declared` evidence that tries to carry `PASS`/`WARN`). Run
147
+ `node spec/compatum-validate.mjs`; CI runs the same command.
148
+
149
+ ## 4. Relationship to HCB and dsh-standards
150
+
151
+ **dsh-standards** is the normative source for the 16 capability IDs, the
152
+ `dsh-levels/1` evidence vocabulary and expiry (90/180/365 days), and the
153
+ checker. Compatum/1 does not redefine those; it adds a host-neutral envelope and
154
+ compatibility requirements, and `dsh-standards` wins where they differ for a DSH
155
+ package.
156
+
157
+ **HCB v0.5.0** ([dsh-hcb](https://github.com/PerryLink/dsh-hcb)) is the
158
+ reference implementation and data layer: 143 packages, 10 `checked`, 133
159
+ `declared`, 0 `tested`; gate 22 `review` / 121 `pilot` / 0
160
+ `production-candidate`. HCB answers “what was declared” for the DSH ecosystem;
161
+ Compatum answers “how another host or registry reads and compares it”.
162
+
163
+ HCB is DSH-specific and this profile is not affiliated with DeepSeek. A
164
+ reference implementation does not make this an official standard.
165
+
166
+ ## 5. Non-goals
167
+
168
+ - No runtime sandboxing, permission enforcement, or install blocking. The
169
+ profile is disclosure; a host MAY ignore it, in which case the state is
170
+ `unknown`, not `none`.
171
+ - No security audit, certification, badge, grade, score, ranking, or
172
+ “verified/secure” claim. The gate `blocked | review | pilot |
173
+ production-candidate` is advisory only.
174
+ - No host API semantics, registry policy, SBOM, signing, or PKI; no new
175
+ cryptography; no new capability IDs or result values outside a versioned
176
+ change to `dsh-standards`.
177
+ - Not a W3C, AAIF, OpenAtom, OpenSSF, or DeepSeek document. Do not cite it as an
178
+ official standard or as an endorsement by any organization.
179
+
180
+ ## 6. License and contribution
181
+
182
+ - **Text and specification:** CC BY 4.0 ([`LICENSE-CC-BY`](../LICENSE-CC-BY));
183
+ modifications must carry a visible Change Notice per
184
+ [`MODIFICATION-POLICY.md`](../MODIFICATION-POLICY.md).
185
+ - **Schemas, test suite, and code:** Apache-2.0
186
+ ([`LICENSE-APACHE`](../LICENSE-APACHE)), including its patent grant and
187
+ defensive termination.
188
+ - **Contributions:** DCO 1.1 plus a non-exclusive copyright license and a
189
+ royalty-free patent commitment; no copyright assignment. Reading or
190
+ implementing this draft requires no CLA.
191
+ - **Trademark:** “Compatum” is an unregistered working name; this draft makes no
192
+ trademark claim and is not a trademark clearance. No W3C, AAIF, OpenAtom,
193
+ OpenSSF, or DeepSeek marks are used.
File without changes
File without changes
File without changes
File without changes
package/docs/SIGNING.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/docs/coverage.md CHANGED
File without changes
File without changes
File without changes
package/docs/incident.md CHANGED
File without changes
File without changes
package/docs/privacy.md CHANGED
File without changes
package/docs/release.md CHANGED
File without changes
File without changes
File without changes
File without changes
package/docs/sunset.md CHANGED
File without changes
File without changes