dsh-standards 1.6.11 → 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.
- package/31-DS-C/346/235/241/346/254/276.md +26 -5
- package/31-DSH-ENTRY/345/205/245/351/227/250/350/247/204/350/214/203.md +0 -0
- 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
- package/40-checker/README.md +0 -0
- package/40-checker/bin/dsh-flow-collect.mjs +0 -0
- package/40-checker/bin/dsh-plugin-verify.mjs +0 -0
- package/40-checker/fixtures/bad/index.mjs +0 -0
- package/40-checker/fixtures/bad/package.json +0 -0
- package/40-checker/fixtures/bad-manifest/index.js +0 -0
- package/40-checker/fixtures/bad-manifest/package.json +0 -0
- package/40-checker/fixtures/bundle/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle/package.json +0 -0
- package/40-checker/fixtures/bundle/server.mjs +0 -0
- package/40-checker/fixtures/bundle-patch-only/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle-patch-only/package.json +0 -0
- package/40-checker/fixtures/bundle-v0/cordis.patch.yml +0 -0
- package/40-checker/fixtures/bundle-v0/package.json +0 -0
- package/40-checker/fixtures/bundle-v0/server.mjs +0 -0
- package/40-checker/fixtures/c12-command-arg/index.mjs +0 -0
- package/40-checker/fixtures/c12-command-arg/package.json +0 -0
- package/40-checker/fixtures/c12-comment/index.mjs +0 -0
- package/40-checker/fixtures/c12-comment/package.json +0 -0
- package/40-checker/fixtures/c12-compare/index.mjs +0 -0
- package/40-checker/fixtures/c12-compare/package.json +0 -0
- package/40-checker/fixtures/c12-doc-string/index.mjs +0 -0
- package/40-checker/fixtures/c12-doc-string/package.json +0 -0
- package/40-checker/fixtures/c12-grant/index.mjs +0 -0
- package/40-checker/fixtures/c12-grant/package.json +0 -0
- package/40-checker/fixtures/c12-string/index.mjs +0 -0
- package/40-checker/fixtures/c12-string/package.json +0 -0
- package/40-checker/fixtures/client-missing/client.js +0 -0
- package/40-checker/fixtures/client-missing/index.js +0 -0
- package/40-checker/fixtures/client-missing/package.json +0 -0
- package/40-checker/fixtures/declaration-file/index.d.ts +0 -0
- package/40-checker/fixtures/declaration-file/index.mjs +0 -0
- package/40-checker/fixtures/declaration-file/package.json +0 -0
- package/40-checker/fixtures/flow-config/index.js +0 -0
- package/40-checker/fixtures/flow-config/package.json +0 -0
- package/40-checker/fixtures/fs-write/index.mjs +0 -0
- package/40-checker/fixtures/fs-write/package.json +0 -0
- package/40-checker/fixtures/good/index.mjs +0 -0
- package/40-checker/fixtures/good/package.json +0 -0
- package/40-checker/fixtures/hang/index.mjs +0 -0
- package/40-checker/fixtures/hang/package.json +0 -0
- package/40-checker/fixtures/import-local-side-effect/index.mjs +0 -0
- package/40-checker/fixtures/import-local-side-effect/package.json +0 -0
- package/40-checker/fixtures/import-local-side-effect/side-effectful.mjs +0 -0
- package/40-checker/fixtures/import-open-readonly/index.mjs +0 -0
- package/40-checker/fixtures/import-open-readonly/package.json +0 -0
- package/40-checker/fixtures/import-package-only/index.mjs +0 -0
- package/40-checker/fixtures/import-package-only/package.json +0 -0
- package/40-checker/fixtures/import-parse-error/index.mjs +0 -0
- package/40-checker/fixtures/import-parse-error/package.json +0 -0
- package/40-checker/fixtures/import-side-effect/index.mjs +0 -0
- package/40-checker/fixtures/import-side-effect/package.json +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/index.mjs +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/package.json +0 -0
- package/40-checker/fixtures/import-side-effect-nonentry/selfcheck.mjs +0 -0
- package/40-checker/fixtures/import-void-main/index.mjs +0 -0
- package/40-checker/fixtures/import-void-main/package.json +0 -0
- package/40-checker/fixtures/known-answer/expected.json +0 -0
- package/40-checker/fixtures/market-index-real.json +0 -0
- package/40-checker/fixtures/market-index.json +0 -0
- package/40-checker/fixtures/negative/bad-entry/package.json +0 -0
- package/40-checker/fixtures/negative/no-entry/package.json +0 -0
- package/40-checker/fixtures/negative/no-patch/package.json +0 -0
- package/40-checker/fixtures/negative/root-missing/cordis.patch.yml +0 -0
- package/40-checker/fixtures/negative/root-missing/package.json +0 -0
- package/40-checker/fixtures/negative/workspace/package.json +0 -0
- package/40-checker/fixtures/no-source/package.json +0 -0
- package/40-checker/fixtures/parse-error-nonentry/index.mjs +0 -0
- package/40-checker/fixtures/parse-error-nonentry/package.json +0 -0
- package/40-checker/fixtures/parse-error-nonentry/references/broken.js +0 -0
- package/40-checker/fixtures/security/sec11-cred-declared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-declared/package.json +0 -0
- package/40-checker/fixtures/security/sec11-cred-list/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-list/package.json +0 -0
- package/40-checker/fixtures/security/sec11-cred-undeclared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec11-cred-undeclared/package.json +0 -0
- package/40-checker/fixtures/security/sec15-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-cred/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-curl/scripts/install.sh +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-danger/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-download-safe/scripts/local-util.cjs +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-dynamic/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/index.js +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/package.json +0 -0
- package/40-checker/fixtures/security/sec15-install-remote-literal/scripts/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/install.js +0 -0
- package/40-checker/fixtures/security/sec15-install-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec15-missing-ref/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-missing-ref/package.json +0 -0
- package/40-checker/fixtures/security/sec15-node/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-node/package.json +0 -0
- package/40-checker/fixtures/security/sec15-node/scripts/build.mjs +0 -0
- package/40-checker/fixtures/security/sec15-pipe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec15-pipe/package.json +0 -0
- package/40-checker/fixtures/security/sec16-base64-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-base64-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec16-base64-eval/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-base64-eval/package.json +0 -0
- package/40-checker/fixtures/security/sec16-client/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-client/lib/client.js +0 -0
- package/40-checker/fixtures/security/sec16-client/package.json +0 -0
- package/40-checker/fixtures/security/sec16-declared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-declared/package.json +0 -0
- package/40-checker/fixtures/security/sec16-eval/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-eval/package.json +0 -0
- package/40-checker/fixtures/security/sec16-exec-curl/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-exec-curl/package.json +0 -0
- package/40-checker/fixtures/security/sec16-import-only/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-import-only/package.json +0 -0
- package/40-checker/fixtures/security/sec16-require/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-require/package.json +0 -0
- package/40-checker/fixtures/security/sec16-spawn-shell/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-spawn-shell/package.json +0 -0
- package/40-checker/fixtures/security/sec16-subprocess-safe/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-subprocess-safe/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-bundle/lib/index.js +0 -0
- package/40-checker/fixtures/security/sec16-vendor-bundle/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-decoy/lib/index.js +0 -0
- package/40-checker/fixtures/security/sec16-vendor-decoy/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/index.mjs +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/package.json +0 -0
- package/40-checker/fixtures/security/sec16-vendor-path/vendor/schemastery.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/data.txt +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-alias-read/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-alias-read/package.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-base64-path/package.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/data/config.json +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-base64-path-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-cred-exfil/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-cred-exfil/package.json +0 -0
- package/40-checker/fixtures/security/sec17-env/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-env/package.json +0 -0
- package/40-checker/fixtures/security/sec17-home-env/index.js +0 -0
- package/40-checker/fixtures/security/sec17-home-env/package.json +0 -0
- package/40-checker/fixtures/security/sec17-home-env-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-home-env-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec17-seam/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-seam/package.json +0 -0
- package/40-checker/fixtures/security/sec17-ssh/index.mjs +0 -0
- package/40-checker/fixtures/security/sec17-ssh/package.json +0 -0
- package/40-checker/fixtures/security/sec18-bad/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-bad/package.json +0 -0
- package/40-checker/fixtures/security/sec18-good/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-good/package.json +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch/package.json +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-split-fetch-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec18-undeclared/index.mjs +0 -0
- package/40-checker/fixtures/security/sec18-undeclared/package.json +0 -0
- package/40-checker/fixtures/security/sec19-blob/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-blob/package.json +0 -0
- package/40-checker/fixtures/security/sec19-clean/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-clean/package.json +0 -0
- package/40-checker/fixtures/security/sec19-wasm/blob.wasm +0 -0
- package/40-checker/fixtures/security/sec19-wasm/index.mjs +0 -0
- package/40-checker/fixtures/security/sec19-wasm/package.json +0 -0
- package/40-checker/fixtures/security/sec20-unwrapped/index.mjs +0 -0
- package/40-checker/fixtures/security/sec20-unwrapped/package.json +0 -0
- package/40-checker/fixtures/security/sec20-wrapped/index.mjs +0 -0
- package/40-checker/fixtures/security/sec20-wrapped/package.json +0 -0
- package/40-checker/fixtures/security/sec21-known/index.mjs +0 -0
- package/40-checker/fixtures/security/sec21-known/package.json +0 -0
- package/40-checker/fixtures/security/sec21-typosquat/index.mjs +0 -0
- package/40-checker/fixtures/security/sec21-typosquat/package.json +0 -0
- package/40-checker/fixtures/security/sec22-attested/index.mjs +0 -0
- package/40-checker/fixtures/security/sec22-attested/package.json +0 -0
- package/40-checker/fixtures/security/sec22-none/index.mjs +0 -0
- package/40-checker/fixtures/security/sec22-none/package.json +0 -0
- package/40-checker/package.json +0 -0
- package/40-checker/samples/README.md +0 -0
- package/40-checker/samples/entry18.json +0 -0
- package/40-checker/samples/frame.json +0 -0
- package/40-checker/scripts/apply-overlay.mjs +0 -0
- package/40-checker/scripts/attestation-check.mjs +0 -0
- package/40-checker/scripts/build-offline-kit.mjs +0 -0
- package/40-checker/scripts/build-sidecar.mjs +0 -0
- package/40-checker/scripts/bundle-smoke.mjs +0 -0
- package/40-checker/scripts/claim-check.mjs +0 -0
- package/40-checker/scripts/clause-map.mjs +0 -0
- package/40-checker/scripts/collect-fixtures.mjs +0 -0
- package/40-checker/scripts/dashboard.mjs +0 -0
- package/40-checker/scripts/dco-check.mjs +0 -0
- package/40-checker/scripts/dependabot-check.mjs +0 -0
- package/40-checker/scripts/doc-commands-check.mjs +0 -0
- package/40-checker/scripts/entry-scan.mjs +0 -0
- package/40-checker/scripts/entry-validate.mjs +0 -0
- package/40-checker/scripts/entry18-attribution.mjs +0 -0
- package/40-checker/scripts/entry18-ci.mjs +0 -0
- package/40-checker/scripts/entry18-realweb-summary.mjs +0 -0
- package/40-checker/scripts/entry18-web.mjs +0 -0
- package/40-checker/scripts/evidence-chain.mjs +0 -0
- package/40-checker/scripts/flow-collect.mjs +0 -0
- package/40-checker/scripts/flow-index.mjs +0 -0
- package/40-checker/scripts/flow-sample-ci.mjs +0 -0
- package/40-checker/scripts/governance-check.mjs +0 -0
- package/40-checker/scripts/host-farm.mjs +0 -0
- package/40-checker/scripts/journey-config-observe.mjs +0 -0
- package/40-checker/scripts/journey-disclosure-shape.mjs +0 -0
- package/40-checker/scripts/journey-runtime.mjs +0 -0
- package/40-checker/scripts/journey.mjs +0 -0
- package/40-checker/scripts/label-drift.mjs +0 -0
- package/40-checker/scripts/label-sync.mjs +0 -0
- package/40-checker/scripts/label-verify.mjs +0 -0
- package/40-checker/scripts/land-runtime-artifacts.mjs +184 -0
- package/40-checker/scripts/landlock-exec.c +0 -0
- package/40-checker/scripts/level-audit.mjs +0 -0
- package/40-checker/scripts/m1-sidecar.mjs +0 -0
- package/40-checker/scripts/m2-runner.mjs +0 -0
- package/40-checker/scripts/repo-anchor-check.mjs +206 -0
- package/40-checker/scripts/round-robin.mjs +0 -0
- package/40-checker/scripts/run-tests.mjs +0 -0
- package/40-checker/scripts/runtime-child.mjs +0 -0
- package/40-checker/scripts/sample-frame.mjs +0 -0
- package/40-checker/scripts/sample20-ci.mjs +0 -0
- package/40-checker/scripts/sample60-ci.mjs +0 -0
- package/40-checker/scripts/sign-evidence.mjs +0 -0
- package/40-checker/scripts/stale-check.mjs +0 -0
- package/40-checker/scripts/surveillance.mjs +0 -0
- package/40-checker/scripts/web-probe.mjs +0 -0
- package/40-checker/src/author-cli.mjs +0 -0
- package/40-checker/src/author-report.mjs +0 -0
- package/40-checker/src/bundle-static.mjs +0 -0
- package/40-checker/src/cli.mjs +0 -0
- package/40-checker/src/client-shape.mjs +0 -0
- package/40-checker/src/declarations.mjs +29 -2
- package/40-checker/src/flow-evidence.mjs +0 -0
- package/40-checker/src/index.mjs +0 -0
- package/40-checker/src/install-spec.mjs +0 -0
- package/40-checker/src/label.mjs +0 -0
- package/40-checker/src/manifest.mjs +0 -0
- package/40-checker/src/npm-command.mjs +0 -0
- package/40-checker/src/permissions.mjs +0 -0
- package/40-checker/src/remediation.mjs +0 -0
- package/40-checker/src/report.mjs +0 -0
- package/40-checker/src/result.mjs +0 -0
- package/40-checker/src/runtime-child.mjs +0 -0
- package/40-checker/src/runtime.mjs +0 -0
- package/40-checker/src/sandbox-env.mjs +0 -0
- package/40-checker/src/sandbox-run.mjs +0 -0
- package/40-checker/src/security.mjs +0 -0
- package/40-checker/src/semver.mjs +0 -0
- package/40-checker/src/signature.mjs +0 -0
- package/40-checker/src/util.mjs +0 -0
- package/40-checker/vendor/babel/README.md +0 -0
- package/40-checker/vendor/babel/index.cjs +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-string-parser/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier-browser.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/CHANGELOG.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/bin/babel-parser.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/package.json +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/LICENSE +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/README.md +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index-legacy.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.d.ts +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/lib/index.js.flow +0 -0
- package/40-checker/vendor/babel/node_modules/@babel/types/package.json +0 -0
- package/CHANGELOG.md +44 -0
- package/LICENSE +0 -0
- package/LICENSE-APACHE +0 -0
- package/LICENSE-CC-BY +0 -0
- package/NOTICE +0 -0
- package/NOTICE.md +0 -0
- package/README.en.md +1 -1
- package/README.es.md +1 -1
- package/README.hi.md +1 -1
- package/README.md +8 -1
- package/README.pt.md +1 -1
- package/SECURITY.md +0 -0
- package/bin/dsh-flow-collect.mjs +0 -0
- package/bin/dsh-levels.mjs +0 -0
- package/bin/dsh-standards.mjs +0 -0
- package/docs/BOOST-FIXTURES-2026-11-02.md +0 -0
- package/docs/COMPATUM.md +193 -0
- package/docs/DEVELOPER-JOURNEY.md +0 -0
- package/docs/HOST-J3-BUG-REPORT-DRAFT.md +0 -0
- package/docs/HOST-J3-CONFIG-REPRO-2026-11-02.md +0 -0
- package/docs/NAMING-FALLBACK.md +0 -0
- package/docs/SIGNING.md +0 -0
- package/docs/assets/dsh-standards-flow-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-light.svg +0 -0
- package/docs/assets/dsh-standards-flow-v3-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-v3-light.svg +0 -0
- package/docs/assets/dsh-standards-flow-v4-dark.svg +0 -0
- package/docs/assets/dsh-standards-flow-v4-light.svg +0 -0
- package/docs/assets/dsh-standards-hero-en-dark.webp +0 -0
- package/docs/assets/dsh-standards-hero-en-light.webp +0 -0
- package/docs/assets/dsh-standards-hero-zh-dark.webp +0 -0
- package/docs/assets/dsh-standards-hero-zh-light.webp +0 -0
- package/docs/coverage.md +0 -0
- package/docs/fork-policy.md +0 -0
- package/docs/full-test-plan-2026-11-02.md +0 -0
- package/docs/incident.md +0 -0
- package/docs/onboarding.md +0 -0
- package/docs/privacy.md +0 -0
- package/docs/release.md +0 -0
- package/docs/repo-anchors-rc3-2026-11-14.md +58 -0
- package/docs/scope-security.md +0 -0
- package/docs/status-taxonomy.md +0 -0
- package/docs/sunset.md +0 -0
- package/docs/translating.md +0 -0
- package/examples/compatum/mcp-profile.json +105 -0
- package/examples/compatum/permission-rules-profile.json +97 -0
- package/examples/compatum/plugin-full.json +155 -0
- package/examples/compatum/plugin-min.json +48 -0
- package/package.json +5 -2
- package/spec/README.md +3 -0
- package/spec/boost/README.md +0 -0
- package/spec/clauses.json +0 -0
- package/spec/compatum-validate.mjs +791 -0
- package/spec/compatum.schema.json +939 -0
- package/spec/coverage-contract.md +0 -0
- package/spec/dsc-clauses.json +1 -1
- package/spec/entry/README.md +0 -0
- package/spec/examples/boost-card.example.json +0 -0
- package/spec/examples/flow-evidence.example.json +0 -0
- package/spec/flow/README.md +0 -0
- package/spec/flow-evidence.schema.json +0 -0
- package/spec/levels.json +0 -0
- package/spec/levels.schema.json +0 -0
- package/spec/reference-suite.json +0 -0
- package/spec/remediation.json +1 -1
- package/spec/schemas/advice.schema.json +0 -0
- package/spec/schemas/attestation.schema.json +0 -0
- package/spec/schemas/boost-card.schema.json +0 -0
- package/spec/schemas/conformance.schema.json +0 -0
- package/spec/schemas/evidence.schema.json +0 -0
- 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
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
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
|
+
|
|
22
|
+
## 1.6.12 — 2026-11-14
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Reserved capability IDs (P1-6, 2026-11-14 rc3 audit).** `31-DS-C条款.md` §8.1 and `60-权限与标注规范.md` §2.2 now carry a reserved-id table for DSH `0.2.2-rc.3` host seams the standard does not judge yet: `computer:control`, `browser:control`, `mcp:manage`, `mcp:resources`, `ssh:connect`, `terminal:control`, `sandbox:override`, `approval:override`, `authorization:delegate`, `remote-access:use`, `session-log:egress`, alongside the pre-existing `mcp:client`, `browser`, `webhook:rule`, `theme:ui`, `client:ui`. The checker accepts reserved ids in C-11.1 (declaring one is never an "unknown capability id" FAIL) and reports C-11.5 as `NA` (not-run) for them; the C-11.2 FAIL surface is **unchanged** — a reserved id never satisfies a judged trigger (e.g. declaring `computer:control` does not cover a `ctx.shell` trigger). `spec/dsc-clauses.json` C-11.1 wording follows.
|
|
27
|
+
- **`40-checker/scripts/repo-anchor-check.mjs`** — mechanical re-take of every `REPO/<path>:<line>` evidence anchor against a read-only host checkout at a pinned commit: it proves the file exists, every referenced line is in range, and (for single-line anchors) points at a non-blank line, and prints the current line so the semantic match can be reviewed. 2026-11-14 run at `38a6a5c9`: **368 anchors across 31/32/33/35/60/93 → 0 drift, 0 warnings** after fixing three `docs/tool-catalog.md:9` anchors to `:8` (they pointed at a blank line). Evidence summary: `docs/repo-anchors-rc3-2026-11-14.md`.
|
|
28
|
+
- **rc3 runtime evidence landed (P0-4).** `40-checker/results/entry/18/fullbase-rc3-20261114/` (18 raw `dsh-entry18-fullbase/1` rows + `summary.json` + `REPORT.md`) and `40-checker/results/webruntime-rc3-20261114/` (18 row dirs + `REPORT.md`), downloaded from runs `43560480242` / `43560484422` by `40-checker/scripts/land-runtime-artifacts.mjs`. The 2026-10-31 alpha.2 evidence directories are untouched. ENTRY: 10 verified / 7 partial / 1 error (the `YuJunZhiXue/dsh-purge` fixture is not cloneable from CI). Web: 14/15 client-bearing rows `client-module-loaded`, 4/4 web-app rows, 2 host-gate rejects, 1 install failure (same fixture), so the run-level denominator gate is red. `40-checker/results/entry/18/RUNTIME.md`, `SUPPORTED.md` (new `checker 1.6.12` column, evidence anchor A13, A12 marked historical) and the counts paragraph were updated. The rc3 cell is **`partial`**, not `runtime`: the run was produced by the 1.6.11-era tree, attribution relies on the evidence being committed at the v1.6.12 release commit, and web 15/15 coverage was not reached.
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- `SUPPORTED.md`: counts re-derived at 2026-11-14 14:40 (398 legacy static results: `anchor.dsh=0.2.2-alpha.2` 241, no anchor 157; A12's 243/155 kept as the 05:23 snapshot, difference noted) and the matrix gained the `checker 1.6.12` column; §3 not-run conditions and §8 known limits updated to stop claiming rc.3 was never run.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- `.github/workflows/publish.yml`: skip an already-published version before `npm publish` and add a `concurrency` group, so a manual publish and a tag-triggered publish cannot race into `E409 Cannot publish over previously staged version` (the 1.6.11 red run). A re-run of a red tag run is now safe.
|
|
37
|
+
|
|
38
|
+
### Verified
|
|
39
|
+
|
|
40
|
+
- `npm test`: 322 tests, 321 pass, 1 skipped, 0 failed (Node 24).
|
|
41
|
+
- `node 40-checker/scripts/repo-anchor-check.mjs --host /home/yy/deepseek-harness`: 368 anchors, 0 drift, 0 warnings at `38a6a5c9`.
|
|
42
|
+
- `40-checker/scripts/land-runtime-artifacts.mjs` round-trips both GitHub Actions artifact zips into the committed directories; `REPORT.md` numbers match `summary.json` / each `probe.json`.
|
|
43
|
+
- Not verified: web denominator 15/15 — blocked by the private fixture and recorded as such instead of being papered over.
|
|
44
|
+
|
|
1
45
|
## 1.6.11 — 2026-11-14
|
|
2
46
|
|
|
3
47
|
### Changed
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|
@@ -386,3 +388,8 @@ docs/ DEVELOPER-JOURNEY 等长期文档与 README 配图
|
|
|
386
388
|
- **贡献**:DCO 1.1 + DCT v1,不要求版权转让。
|
|
387
389
|
|
|
388
390
|
<p align="center"><sub>CC BY 4.0(文本)· Apache-2.0(代码)· 社区项目,与 DeepSeek 无关。</sub></p>
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
## 相关:HCB 数据层(dsh-hcb)
|
|
394
|
+
|
|
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.
|
|
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
|
package/bin/dsh-flow-collect.mjs
CHANGED
|
File without changes
|
package/bin/dsh-levels.mjs
CHANGED
|
File without changes
|
package/bin/dsh-standards.mjs
CHANGED
|
File without changes
|
|
File without changes
|
package/docs/COMPATUM.md
ADDED
|
@@ -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
|
package/docs/NAMING-FALLBACK.md
CHANGED
|
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
|
package/docs/fork-policy.md
CHANGED
|
File without changes
|
|
File without changes
|
package/docs/incident.md
CHANGED
|
File without changes
|
package/docs/onboarding.md
CHANGED
|
File without changes
|
package/docs/privacy.md
CHANGED
|
File without changes
|
package/docs/release.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# REPO evidence anchors at DSH 0.2.2-rc.3
|
|
2
|
+
|
|
3
|
+
> **asOf 2026-11-14 14:55 +08 (Asia/Shanghai).** This is the evidence summary for
|
|
4
|
+
> the P1-8 item of the 2026-11-14 rc3 audit: the `REPO/<path>:<line>` anchors in
|
|
5
|
+
> the standard documents are only as good as the commit they were re-taken at.
|
|
6
|
+
|
|
7
|
+
## What was checked
|
|
8
|
+
|
|
9
|
+
`40-checker/scripts/repo-anchor-check.mjs` scans the standard documents for
|
|
10
|
+
`REPO/<path>:<line>` and `<line>-<line>` / `<line>,<line>` anchors and resolves
|
|
11
|
+
each against a read-only host checkout (`/home/yy/deepseek-harness`) at commit
|
|
12
|
+
`38a6a5c965aa99ab525161efb7cc5cf1fe62fced` (`dsh-v0.2.2-rc.3`, 2026-11-13).
|
|
13
|
+
|
|
14
|
+
For every anchor it proves:
|
|
15
|
+
|
|
16
|
+
1. the referenced file exists at that commit;
|
|
17
|
+
2. every referenced line number is within the file;
|
|
18
|
+
3. a single-line anchor does not point at a blank line (a blank line is almost
|
|
19
|
+
always an off-by-one).
|
|
20
|
+
|
|
21
|
+
It does **not** prove that the line still contains the symbol named around the
|
|
22
|
+
anchor — that is a semantic review, and the script prints the current line text
|
|
23
|
+
to make it cheap. Do not read this file as "the prose is semantically correct";
|
|
24
|
+
read it as "no anchor is broken or off the end of its file at rc.3".
|
|
25
|
+
|
|
26
|
+
## Result
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
REPO anchors at 38a6a5c965aa (host: /home/yy/deepseek-harness)
|
|
30
|
+
OK 31-DS-C条款.md: 127 anchors, 0 drift, 0 warning
|
|
31
|
+
OK 32-DS-R条款.md: 106 anchors, 0 drift, 0 warning
|
|
32
|
+
OK 33-DS-G条款.md: 125 anchors, 0 drift, 0 warning
|
|
33
|
+
OK 35-三层开发建议与验收清单.md: 0 anchors, 0 drift, 0 warning
|
|
34
|
+
OK 60-权限与标注规范.md: 10 anchors, 0 drift, 0 warning
|
|
35
|
+
OK 93-开发建议-入门.md: 0 anchors, 0 drift, 0 warning
|
|
36
|
+
total: 368 anchors, 0 drift, 0 warning
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
- The 6 known drifts from the audit (`plugin-manager/src/index.ts` 873→969,
|
|
40
|
+
`tools.ts` 108→109, `package-manifest/src/types.ts`, `cordis-host-runner/
|
|
41
|
+
sandbox.ts` 8→7, `vendor/README.md` 19→15, `install-spec.ts` 94-95→131) had
|
|
42
|
+
already been fixed in 1.6.11; this run proves nothing else is out of range.
|
|
43
|
+
- Three anchors cited `REPO/docs/tool-catalog.md:9`, which is a blank line at
|
|
44
|
+
rc.3 (the sentence "a tool schema is not statically knowable" is on line 8).
|
|
45
|
+
They are corrected to `:8` in `31-DS-C条款.md` (§8.3 table row 56),
|
|
46
|
+
`33-DS-G条款.md` (evidence list + §table row 6) and re-checked clean.
|
|
47
|
+
|
|
48
|
+
## Reproduce
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
node 40-checker/scripts/repo-anchor-check.mjs --host /home/yy/deepseek-harness
|
|
52
|
+
# JSON: node 40-checker/scripts/repo-anchor-check.mjs --host /home/yy/deepseek-harness --json
|
|
53
|
+
# pin a different commit: --commit <sha>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`--host` must be a git checkout with the pinned commit object; the script only
|
|
57
|
+
reads (`git show`), it never fetches or writes. `DSH_HOST` / `DSH_COMMIT` set the
|
|
58
|
+
same defaults.
|
package/docs/scope-security.md
CHANGED
|
File without changes
|
package/docs/status-taxonomy.md
CHANGED
|
File without changes
|
package/docs/sunset.md
CHANGED
|
File without changes
|
package/docs/translating.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../spec/compatum.schema.json",
|
|
3
|
+
"schema": "compatum/1",
|
|
4
|
+
"name": "mcp-example-filesystem",
|
|
5
|
+
"version": "1.4.0",
|
|
6
|
+
"capabilities": [
|
|
7
|
+
{
|
|
8
|
+
"id": "fs:read",
|
|
9
|
+
"effect": "read",
|
|
10
|
+
"scope": "workspace",
|
|
11
|
+
"targets": [
|
|
12
|
+
"workspace"
|
|
13
|
+
],
|
|
14
|
+
"reversible": true,
|
|
15
|
+
"approval": "none",
|
|
16
|
+
"reason": "The server exposes read-only file tools."
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "fs:write",
|
|
20
|
+
"effect": "write",
|
|
21
|
+
"scope": "workspace",
|
|
22
|
+
"targets": [
|
|
23
|
+
"workspace"
|
|
24
|
+
],
|
|
25
|
+
"reversible": true,
|
|
26
|
+
"approval": "once",
|
|
27
|
+
"reason": "The write tool is available but off by default."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "subprocess",
|
|
31
|
+
"effect": "exec",
|
|
32
|
+
"scope": "host",
|
|
33
|
+
"targets": [
|
|
34
|
+
"stdio server process"
|
|
35
|
+
],
|
|
36
|
+
"reversible": true,
|
|
37
|
+
"approval": "always",
|
|
38
|
+
"reason": "stdio transport starts one child process."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "tools:register",
|
|
42
|
+
"effect": "control",
|
|
43
|
+
"scope": "host",
|
|
44
|
+
"targets": [
|
|
45
|
+
"read_file",
|
|
46
|
+
"write_file",
|
|
47
|
+
"list_directory"
|
|
48
|
+
],
|
|
49
|
+
"reversible": true,
|
|
50
|
+
"approval": "once",
|
|
51
|
+
"reason": "The server publishes three MCP tools."
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"requires": {
|
|
55
|
+
"portable": "1.0",
|
|
56
|
+
"mcp": [
|
|
57
|
+
"2025-06-18",
|
|
58
|
+
"2025-11-25",
|
|
59
|
+
"2026-07-28"
|
|
60
|
+
],
|
|
61
|
+
"node": ">=22.19.0",
|
|
62
|
+
"platform": [
|
|
63
|
+
"linux",
|
|
64
|
+
"darwin",
|
|
65
|
+
"win32"
|
|
66
|
+
],
|
|
67
|
+
"transport": [
|
|
68
|
+
"stdio"
|
|
69
|
+
],
|
|
70
|
+
"install": {
|
|
71
|
+
"unit": "server",
|
|
72
|
+
"entry": "mcpServers.filesystem",
|
|
73
|
+
"activation": "immediate",
|
|
74
|
+
"data": "none",
|
|
75
|
+
"uninstall": {
|
|
76
|
+
"stops": true,
|
|
77
|
+
"removesCode": true,
|
|
78
|
+
"removesData": false,
|
|
79
|
+
"residue": []
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"evidence": [
|
|
84
|
+
{
|
|
85
|
+
"schema": "compatum-evidence/1",
|
|
86
|
+
"level": "checked",
|
|
87
|
+
"subject": {
|
|
88
|
+
"repo": "https://github.com/example/mcp-example-filesystem",
|
|
89
|
+
"version": "1.4.0",
|
|
90
|
+
"commit": "fedcba9876543210fedcba9876543210fedcba98"
|
|
91
|
+
},
|
|
92
|
+
"host": {
|
|
93
|
+
"name": "mcp",
|
|
94
|
+
"version": "2026-07-28"
|
|
95
|
+
},
|
|
96
|
+
"checker": "mcp-inspector@0.21.0",
|
|
97
|
+
"result": "PASS",
|
|
98
|
+
"scope": "tool",
|
|
99
|
+
"checkedAt": "2026-11-14T10:15:00Z",
|
|
100
|
+
"reportPath": "evidence/mcp-example-filesystem/1.4.0/2026-07-28/tools-list.json",
|
|
101
|
+
"expiresAt": "2027-05-13",
|
|
102
|
+
"stale": false
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|