dsh-standards 1.6.9 → 1.6.11
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 +62 -55
- package/31-DSH-ENTRY/345/205/245/351/227/250/350/247/204/350/214/203.md +2 -1
- 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 +2 -2
- package/40-checker/README.md +6 -6
- 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 +1 -1
- 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 +4 -1
- package/40-checker/scripts/build-sidecar.mjs +78 -9
- 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 +5 -1
- 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 +7 -6
- 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/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 +5 -2
- 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 +1 -1
- package/40-checker/src/author-report.mjs +0 -0
- package/40-checker/src/bundle-static.mjs +0 -0
- package/40-checker/src/cli.mjs +11 -3
- package/40-checker/src/client-shape.mjs +0 -0
- package/40-checker/src/declarations.mjs +69 -5
- package/40-checker/src/flow-evidence.mjs +4 -3
- package/40-checker/src/index.mjs +1 -1
- package/40-checker/src/install-spec.mjs +0 -0
- package/40-checker/src/label.mjs +0 -0
- package/40-checker/src/manifest.mjs +6 -2
- package/40-checker/src/npm-command.mjs +22 -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 +40 -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 +11 -5
- package/README.es.md +5 -5
- package/README.hi.md +5 -5
- package/README.md +9 -3
- package/README.pt.md +5 -5
- 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/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 +1 -1
- 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/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/package.json +1 -1
- package/spec/README.md +0 -0
- package/spec/boost/README.md +0 -0
- package/spec/clauses.json +0 -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 +2 -2
- package/spec/examples/flow-evidence.example.json +4 -4
- 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 +9 -6
- package/spec/remediation.json +3 -3
- package/spec/schemas/advice.schema.json +0 -0
- package/spec/schemas/attestation.schema.json +0 -0
- package/spec/schemas/boost-card.schema.json +2 -2
- package/spec/schemas/conformance.schema.json +1 -2
- package/spec/schemas/evidence.schema.json +0 -0
- package/spec/schemas/report.schema.json +0 -0
- package/spec/schemas/sidecar.schema.json +0 -228
|
File without changes
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* node scripts/m2-runner.mjs \
|
|
12
12
|
* --package /tmp/dsh-host/plugins/ci-diet \
|
|
13
13
|
* --runtime <dsh-checkout>/vendor/cordis/lib/index.js \
|
|
14
|
-
* --runtime-version 0.2.2-
|
|
14
|
+
* --runtime-version 0.2.2-rc.3 \
|
|
15
|
+
* --cordis-version 4.1.0 \
|
|
15
16
|
* --out results/m2/ci-diet.json
|
|
16
17
|
*/
|
|
17
18
|
import fs from 'node:fs'
|
|
@@ -19,10 +20,12 @@ import os from 'node:os'
|
|
|
19
20
|
import path from 'node:path'
|
|
20
21
|
import { spawn, spawnSync } from 'node:child_process'
|
|
21
22
|
import { sanitizedEnv } from '../src/sandbox-env.mjs'
|
|
23
|
+
import { DEFAULT_RUNTIME_VERSION } from '../src/manifest.mjs'
|
|
24
|
+
import { DEFAULT_CORDIS } from '../src/cli.mjs'
|
|
22
25
|
|
|
23
26
|
function parse(argv) {
|
|
24
27
|
const options = {
|
|
25
|
-
package: null, runtime: null, runtimeVersion:
|
|
28
|
+
package: null, runtime: null, runtimeVersion: DEFAULT_RUNTIME_VERSION, cordisVersion: DEFAULT_CORDIS,
|
|
26
29
|
timeoutMs: 60_000, out: null, keep: false, json: false, modules: null, backend: 'process', image: null,
|
|
27
30
|
}
|
|
28
31
|
for (let i = 0; i < argv.length; i += 1) {
|
|
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
|
|
@@ -67,7 +67,7 @@ Safety:
|
|
|
67
67
|
|
|
68
68
|
Any other flag is forwarded to the checker, e.g.:
|
|
69
69
|
--scope entry --entry-claim static --no-exec
|
|
70
|
-
--runtime-version 0.2.2-rc.
|
|
70
|
+
--runtime-version 0.2.2-rc.3
|
|
71
71
|
--market-index index.json --plugin-name @scope/name
|
|
72
72
|
|
|
73
73
|
Exit codes (same as the checker):
|
|
File without changes
|
|
File without changes
|
package/40-checker/src/cli.mjs
CHANGED
|
@@ -14,8 +14,12 @@ import { readSourcesWithStats } from './util.mjs'
|
|
|
14
14
|
import { buildReport, writeReport } from './report.mjs'
|
|
15
15
|
|
|
16
16
|
const VERSION = '0.1.0'
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
// The released anchor the standards are calibrated against (DSH 0.2.2-rc.3,
|
|
18
|
+
// released 2026-11-13, tag dsh-v0.2.2-rc.3). These are recorded in every report
|
|
19
|
+
// when the caller does not pass --commit/--cordis-version; use --host-version
|
|
20
|
+
// to judge C-2 against the actually installed host.
|
|
21
|
+
export const DEFAULT_COMMIT = '38a6a5c965aa99ab525161efb7cc5cf1fe62fced'
|
|
22
|
+
export const DEFAULT_CORDIS = '4.1.0'
|
|
19
23
|
const HOST_RUNTIME_TIMEOUT_MS = 5000
|
|
20
24
|
|
|
21
25
|
function binName() {
|
|
@@ -28,6 +32,10 @@ function usage() {
|
|
|
28
32
|
const bin = binName()
|
|
29
33
|
return `${process.env.DSH_CHECKER_BRAND || 'dsh-plugin-verify ' + VERSION} — DS-C conformance checker (MVP)
|
|
30
34
|
|
|
35
|
+
Anchor defaults (recorded in every report): dsh ${DEFAULT_RUNTIME_VERSION} · cordis ${DEFAULT_CORDIS} · commit ${DEFAULT_COMMIT}
|
|
36
|
+
Without --host-version or a working \`dsh --version\`, anchor.dsh is this placeholder
|
|
37
|
+
(source=default, suspect=true) and C-2.1/C-2.2 are NA — not PASS and not FAIL.
|
|
38
|
+
|
|
31
39
|
Usage:
|
|
32
40
|
${bin} check [dir] [--json] [--html <file>] author-facing report (Markdown by default)
|
|
33
41
|
${bin} <package-dir> [options] raw conformance report
|
|
@@ -681,7 +689,7 @@ export async function main(argv = process.argv.slice(2)) {
|
|
|
681
689
|
scan = read.scan
|
|
682
690
|
} catch { sources = [] }
|
|
683
691
|
const declarationChecks = manifest ? [
|
|
684
|
-
checkCapabilities(manifest, sources, patch),
|
|
692
|
+
checkCapabilities(manifest, sources, patch, scan),
|
|
685
693
|
checkCredentials(manifest, sources),
|
|
686
694
|
checkLabels(manifest, sources),
|
|
687
695
|
] : [
|
|
File without changes
|
|
@@ -35,6 +35,37 @@ const TRIGGERS = [
|
|
|
35
35
|
{ cap: 'network:egress', pattern: /ctx\.web\b|\bfetch\s*\(/g },
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
+
// C-11.5 observation evidence (NOT C-11.2 triggers). The coarse `ctx.fs` trigger
|
|
39
|
+
// cannot see direct `node:fs` use, and it cannot tell reads from writes: a plugin
|
|
40
|
+
// that declares fs:read/fs:write and reads/writes through node:fs was told its
|
|
41
|
+
// declaration was "over-declared" (#5). These patterns only suppress that false
|
|
42
|
+
// positive; they never produce a new FAIL.
|
|
43
|
+
const FS_CTX_READ = /ctx\.fs\.(?:readText|streamText|readBytes|readByteRange|listDir|stat|lstat)\s*\(/g
|
|
44
|
+
const FS_CTX_WRITE = /ctx\.fs\.(?:writeText|editText|patchText|deleteFile|moveFile)\s*\(/g
|
|
45
|
+
const NODE_FS_IMPORT = /(?:from\s*['"](?:node:)?fs(?:\/promises)?['"]|require\(\s*['"](?:node:)?fs(?:\/promises)?['"])/g
|
|
46
|
+
const NODE_FS_READ = /\b(?:readFileSync|readFile|createReadStream|readdirSync|readdir|statSync|stat|lstatSync|lstat|existsSync|accessSync|access|readlinkSync|readlink|realpathSync|realpath)\s*\(/g
|
|
47
|
+
const NODE_FS_WRITE = /\b(?:writeFileSync|writeFile|appendFileSync|appendFile|createWriteStream|mkdirSync|mkdir|rmSync|rm|rmdirSync|rmdir|unlinkSync|unlink|renameSync|rename|copyFileSync|copyFile|chmodSync|chmod|symlinkSync|symlink|truncateSync|truncate|writeSync)\s*\(/g
|
|
48
|
+
|
|
49
|
+
// Capabilities with no static observation surface in this checker version. C-11.5
|
|
50
|
+
// is reported as not-run for them instead of a permanent, misleading WARN.
|
|
51
|
+
const NO_OBSERVATION_SURFACE = new Set(['credentials:provider'])
|
|
52
|
+
|
|
53
|
+
/** Per-capability observation evidence for C-11.5 (never used by C-11.2). */
|
|
54
|
+
function observationEvidence(sources) {
|
|
55
|
+
const out = new Map()
|
|
56
|
+
const add = (cap, hits) => {
|
|
57
|
+
if (hits.length > 0) out.set(cap, [...(out.get(cap) ?? []), ...hits])
|
|
58
|
+
}
|
|
59
|
+
add('fs:read', regexHits(sources, FS_CTX_READ))
|
|
60
|
+
add('fs:write', regexHits(sources, FS_CTX_WRITE))
|
|
61
|
+
for (const source of sources) {
|
|
62
|
+
if (regexHits([source], NODE_FS_IMPORT).length === 0) continue
|
|
63
|
+
add('fs:read', regexHits([source], NODE_FS_READ))
|
|
64
|
+
add('fs:write', regexHits([source], NODE_FS_WRITE))
|
|
65
|
+
}
|
|
66
|
+
return out
|
|
67
|
+
}
|
|
68
|
+
|
|
38
69
|
function capabilityList(manifest) {
|
|
39
70
|
const value = manifest?.dsh?.capabilities
|
|
40
71
|
if (value === undefined) return { defined: false, list: [], error: null }
|
|
@@ -604,10 +635,21 @@ export function checkImportTimeAdvisory(sources, entryRelative = null, scan = nu
|
|
|
604
635
|
})
|
|
605
636
|
}
|
|
606
637
|
|
|
638
|
+
/**
|
|
639
|
+
* Bounded-scan statement for C-11.5. A truncated scan cannot prove a declared
|
|
640
|
+
* capability is unused: the use may live in the files the budget never read, so
|
|
641
|
+
* the finding is not-run (NA) with partial coverage, never a WARN.
|
|
642
|
+
*/
|
|
643
|
+
function capabilityTruncationReason(scan) {
|
|
644
|
+
if (!scan?.truncated) return ''
|
|
645
|
+
return `source scan truncated at ${scan.maxFiles} files / ${scan.maxBytes} bytes (scanned ${scan.files} files / ${scan.bytes} bytes)`
|
|
646
|
+
}
|
|
647
|
+
|
|
607
648
|
/** DSC-11: dsh.capabilities declaration + high-signal static triggers. */
|
|
608
|
-
export function checkCapabilities(manifest, sources, patch) {
|
|
649
|
+
export function checkCapabilities(manifest, sources, patch, scan = null) {
|
|
609
650
|
const caps = capabilityList(manifest)
|
|
610
651
|
const details = []
|
|
652
|
+
const truncation = capabilityTruncationReason(scan)
|
|
611
653
|
if (caps.error) details.push(detail('C-11.1', 'FAIL', caps.error, ['package.json#dsh.capabilities']))
|
|
612
654
|
if (!caps.defined) {
|
|
613
655
|
details.push(detail('C-11.1', 'WARN', 'dsh.capabilities is not declared (transitional WARN; host does not read it yet)', ['package.json#dsh.capabilities']))
|
|
@@ -622,6 +664,7 @@ export function checkCapabilities(manifest, sources, patch) {
|
|
|
622
664
|
const hits = regexHits(sources, trigger.pattern)
|
|
623
665
|
if (hits.length > 0) triggered.set(trigger.cap, hits)
|
|
624
666
|
}
|
|
667
|
+
const observedEvidence = observationEvidence(sources)
|
|
625
668
|
if (!caps.defined) {
|
|
626
669
|
for (const [cap, hits] of triggered) {
|
|
627
670
|
details.push(detail('C-11.2', 'WARN', `trigger for ${cap} observed but dsh.capabilities is absent`, hitEvidence(hits)))
|
|
@@ -637,9 +680,30 @@ export function checkCapabilities(manifest, sources, patch) {
|
|
|
637
680
|
details.push(detail('C-11.2', 'FAIL', `static trigger ${cap} is not declared in dsh.capabilities`, hitEvidence(hits)))
|
|
638
681
|
}
|
|
639
682
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
683
|
+
if (sources.length === 0) {
|
|
684
|
+
details.push(detail('C-11.5', 'NA', truncation
|
|
685
|
+
? `not-run: ${truncation}, so no capability can be observed`
|
|
686
|
+
: 'not-run: no source files were scanned, so no capability can be observed', []))
|
|
687
|
+
} else {
|
|
688
|
+
for (const cap of caps.list) {
|
|
689
|
+
if (NO_OBSERVATION_SURFACE.has(cap)) {
|
|
690
|
+
details.push(detail('C-11.5', 'NA', `not-run: no static observation surface for ${cap} in this checker version`, []))
|
|
691
|
+
continue
|
|
692
|
+
}
|
|
693
|
+
// `fs:write` used to be "observed" by any `ctx.fs` use; that let a
|
|
694
|
+
// read-only plugin declare a write capability and pass. Read and write
|
|
695
|
+
// are now observed independently (ctx.fs method + direct node:fs).
|
|
696
|
+
const observed = triggered.has(cap) || observedEvidence.has(cap)
|
|
697
|
+
if (!observed) {
|
|
698
|
+
// A truncated scan is missing coverage, not an over-declaration:
|
|
699
|
+
// report NA/partial instead of WARN so the cap is not accused.
|
|
700
|
+
if (truncation) {
|
|
701
|
+
details.push(detail('C-11.5', 'NA', `not-run: ${truncation}; declared capability ${cap} may be used outside the scanned subset`, ['package.json#dsh.capabilities']))
|
|
702
|
+
} else {
|
|
703
|
+
details.push(detail('C-11.5', 'WARN', `declared capability ${cap} was not observed statically (this is not proof it is unused: node:fs and dynamic calls are outside the trigger surface)`, ['package.json#dsh.capabilities']))
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
643
707
|
}
|
|
644
708
|
}
|
|
645
709
|
|
|
@@ -659,7 +723,7 @@ export function checkCapabilities(manifest, sources, patch) {
|
|
|
659
723
|
const result = worst(details.map(item => item.result))
|
|
660
724
|
return check({
|
|
661
725
|
id: 'DSC-11', clause: 'C-11', layer: 'L0', result,
|
|
662
|
-
coverage: dangerUnparsableAll ? 'not-run' : dangerScan.parseErrors.length > 0 ? 'partial' : 'full',
|
|
726
|
+
coverage: dangerUnparsableAll ? 'not-run' : (dangerScan.parseErrors.length > 0 || truncation !== '') ? 'partial' : 'full',
|
|
663
727
|
reason: details.filter(item => item.result !== 'PASS').map(item => `${item.item}: ${item.reason}`).join(' | '),
|
|
664
728
|
details,
|
|
665
729
|
evidence: ['package.json#dsh.capabilities', 'dsh.bundle.patch'],
|
|
@@ -28,6 +28,7 @@ import fs from 'node:fs'
|
|
|
28
28
|
import os from 'node:os'
|
|
29
29
|
import path from 'node:path'
|
|
30
30
|
import { spawnSync } from 'node:child_process'
|
|
31
|
+
import { npmPackInvocation } from './npm-command.mjs'
|
|
31
32
|
import { signEvidence } from './signature.mjs'
|
|
32
33
|
|
|
33
34
|
// Signing helpers live in signature.mjs; re-exported here so callers that
|
|
@@ -167,8 +168,6 @@ export function treeSha256(dir, { exclude = [] } = {}) {
|
|
|
167
168
|
return { hash: sha256Value(rows.join('\n')), files: rows.length, bytes }
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
const NPM = process.platform === 'win32' ? 'npm.cmd' : 'npm'
|
|
171
|
-
|
|
172
171
|
function subjectFields(subject) {
|
|
173
172
|
if (!isPlainObject(subject)) return null
|
|
174
173
|
return {
|
|
@@ -193,7 +192,9 @@ export function recomputeSubject(dir, { exclude = [], timeoutMs = 120_000 } = {}
|
|
|
193
192
|
const tree = treeSha256(root, { exclude })
|
|
194
193
|
const destination = fs.mkdtempSync(path.join(os.tmpdir(), 'dsh-subject-'))
|
|
195
194
|
try {
|
|
196
|
-
const
|
|
195
|
+
const invocation = npmPackInvocation(process.platform, ['pack', '--ignore-scripts', '--json', '--pack-destination', destination])
|
|
196
|
+
const run = spawnSync(invocation.command, invocation.args, {
|
|
197
|
+
shell: invocation.shell,
|
|
197
198
|
cwd: root, encoding: 'utf8', timeout: timeoutMs, maxBuffer: 16 * 1024 * 1024,
|
|
198
199
|
})
|
|
199
200
|
if (run.error) throw new Error(`npm pack failed to start: ${run.error.message}`)
|
package/40-checker/src/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Programmatic API for dsh-plugin-verify. */
|
|
2
|
-
export { main, parseArgs, usage, VERSION, detectHostRuntime, resolveRuntimeAnchor, declarationsOf } from './cli.mjs'
|
|
2
|
+
export { main, parseArgs, usage, VERSION, detectHostRuntime, resolveRuntimeAnchor, declarationsOf, DEFAULT_COMMIT, DEFAULT_CORDIS } from './cli.mjs'
|
|
3
3
|
export { runManifestChecks, checkMarketEntry, DEFAULT_RUNTIME_VERSION, inferKind, resolveEntry } from './manifest.mjs'
|
|
4
4
|
export { checkCapabilities, checkCredentials, checkLabels, checkImportTimeAdvisory, scanTruncationReason, CAPABILITIES, LABELS } from './declarations.mjs'
|
|
5
5
|
export { readSources, readSourcesWithStats, listSourceFiles, scanSourceFiles } from './util.mjs'
|
|
File without changes
|
package/40-checker/src/label.mjs
CHANGED
|
File without changes
|
|
@@ -17,7 +17,11 @@ const REGISTRY_ID = /^[a-z0-9][a-z0-9._~-]*(?:\/[a-z0-9][a-z0-9._~-]*)?$/
|
|
|
17
17
|
const UNKNOWN_HOST_HOW = 'pass --host-version <v> (or run `check --allow-host-probe`); without a host version C-2.1/C-2.2 stay NA and compatibility is not judged'
|
|
18
18
|
const UNKNOWN_HOST_REASON = '未指定 host 版本(host version not specified),兼容性未判定(compatibility not judged);C-2.1/C-2.2 are NA, not FAIL/PASS'
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
// The release this checker is calibrated against. It is only a placeholder:
|
|
21
|
+
// when no host version is known the anchor records it with
|
|
22
|
+
// runtimeSource=default and suspect=true, and C-2 stays NA. Never judge
|
|
23
|
+
// compatibility against it as if it were the installed host.
|
|
24
|
+
export const DEFAULT_RUNTIME_VERSION = '0.2.2-rc.3'
|
|
21
25
|
|
|
22
26
|
export function inferKind(manifest, entryExists) {
|
|
23
27
|
const declared = manifest?.dsh?.kind
|
|
@@ -457,7 +461,7 @@ export function runManifestChecks(dir, options = {}) {
|
|
|
457
461
|
}
|
|
458
462
|
}
|
|
459
463
|
if (!invalid) {
|
|
460
|
-
compatDetails.push(detail('C-2.1', 'PASS', 'dsh peer range(s) are valid SemVer; no engines.dsh declared'))
|
|
464
|
+
compatDetails.push(detail('C-2.1', 'PASS', 'dsh peer range(s) are valid SemVer; no engines.dsh declared (peer substitute, weaker than engines.dsh)'))
|
|
461
465
|
}
|
|
462
466
|
if (invalid) {
|
|
463
467
|
compatDetails.push(detail('C-2.1', 'FAIL', 'one or more dsh peer ranges are invalid'))
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* npm's Windows launcher is `npm.cmd`. Since Node 18.20/20.12 a bare
|
|
3
|
+
* `spawnSync('npm.cmd', ...)` without a shell fails with EINVAL (the
|
|
4
|
+
* CVE-2024-27980 mitigation). On Windows route the call through
|
|
5
|
+
* `cmd.exe /d /s /c npm.cmd ...`; keeping the arguments separate lets Node's
|
|
6
|
+
* own Windows quoting handle paths with spaces, and unlike `shell: true` it
|
|
7
|
+
* does not emit the DEP0190 deprecation warning. POSIX keeps a direct spawn.
|
|
8
|
+
*/
|
|
9
|
+
export function npmCommand(platform = process.platform, args = []) {
|
|
10
|
+
if (platform === 'win32') {
|
|
11
|
+
return {
|
|
12
|
+
command: process.env.ComSpec || 'cmd.exe',
|
|
13
|
+
args: ['/d', '/s', '/c', 'npm.cmd', ...args],
|
|
14
|
+
shell: false,
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return { command: 'npm', args, shell: false }
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function npmPackInvocation(platform = process.platform, args = ['pack', '--ignore-scripts', '--json']) {
|
|
21
|
+
return npmCommand(platform, args)
|
|
22
|
+
}
|
|
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/40-checker/src/util.mjs
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/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/identifier.js
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.d.ts
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/lib/index.js
CHANGED
|
File without changes
|
package/40-checker/vendor/babel/node_modules/@babel/helper-validator-identifier/package.json
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## 1.6.11 — 2026-11-14
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- **Anchors and default values move to DSH `0.2.2-rc.3`** (`dsh-v0.2.2-rc.3` = `38a6a5c9…`, 2026-11-13): `spec/reference-suite.json` → `dsh=0.2.2-rc.3` / `cordis=4.1.0` / `node >=24.9.0` (suite `1.1.0`, expected results unchanged; `limits` says the 11 expectations are still alpha.2-era evidence), five READMEs, `31-DS-C条款.md` §1.5/§3.3, `35` §7, `SUPPORTED.md`, `publish/*.example.json`, `spec/examples/*`, `spec/schemas/*` examples and `examples/plugin-template/package.json` now carry rc.3 / vendored cordis `4.1.0` (upstream `4.0.0-rc.11`) / `38a6a5c9…` / Node `>=24.9.0`. `0.2.2-alpha.2` + `4.0.6-alpha.1` + `ce7073d…` are kept only as dated historical anchors. **Only reports and examples that do not pass an explicit anchor are affected; committed `40-checker/results/**` keep their alpha.2 anchor and are stale for rc.3.**
|
|
6
|
+
- Runtime evidence CI re-pinned to rc.3: `entry18-runtime.yml` (install line, title, `--expected-dsh-version`) together with `40-checker/samples/entry18.json#targetDshVersion` (the pair must move together or `entry18-ci.mjs` throws), plus `web-runtime.yml`/`web-smoke.yml`/`lev6-capture.yml` `DSH_VERSION` and `40-checker/.github/workflows/plugin-verify.yml --runtime-version`. No rc.3 runtime result is committed yet, so `SUPPORTED.md` keeps `not-run` and says so.
|
|
7
|
+
- Node 22 jobs in `cross-platform.yml`, `governance.yml`, `round-robin.yml`, `surveillance.yml` and `40-checker/.github/workflows/plugin-verify.yml` moved to Node 24, matching `engines.node >=24.9.0`.
|
|
8
|
+
- `publish/README.md` + `index.example.json`: labels now use the `spec/levels.json` vocabulary (`dsh-flow:manual`, `dsh-boost:measured`, `dsh-entry:blocked`); `draft` / `lev7` / `unavailable` are documented as not emitted. `level-labels.example.json` shows a coherent rc.3 example (status `not-run` because no rc.3 evidence exists, asOf 2026-11-14).
|
|
9
|
+
- `SUPPORTED.md`: A7 now says the real host is `0.2.2-rc.3`; matrix gained `0.2.2-rc.2`/`0.2.2-rc.3` rows (all `not-run`/`NA`); counts re-checked at rc3 (243 alpha.2 anchors, 155 without anchor, 0 rc.2/rc.3; new A12).
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `31-DS-C条款.md`: §1.5 five-part anchor and §3.3 report example are rc.3; the 2026-10-30 alpha.2 anchor is fenced off as history; the C-2 three-value table now matches the checker (`peer-only` + satisfied → PASS with a weaker "peer substitute" note, no longer WARN); REPO line anchors re-taken at rc3 (`plugin-manager/src/index.ts` 873→969, `tools.ts` 108→109/149→150, `package-manifest/src/types.ts` `dsh` :28 and `DshManifest` :32-41, `cordis-host-runner/sandbox.ts` 8→7, `vendor/README.md` 19→15, `install-spec.ts` 69-92→70-93 and 94-95→131, `plugin-market-index/src/index.ts` ranges +3~4); `ctx.root.fiber.await()` keeps a future-only note (still valid in rc3).
|
|
14
|
+
- `35-三层开发建议与验收清单.md`: new §7.1 rc.3 baseline; the alpha.3 table is demoted to a dated §7.2 history; the "npm default semver ignores prereleases" claim is corrected (`>=0.2.2-0 <0.3.0` already includes `0.2.2-rc.*`).
|
|
15
|
+
- `93-开发建议-入门.md`: client example no longer uses the removed `@deepseek-ai/dsh-client-runtime` (and explains `dsh.client.inject` is informational, `external` is the module-table field); `--runtime-version` examples → `0.2.2-rc.3`; `engines.dsh` example → `>=0.2.2-0 <0.3.0`.
|
|
16
|
+
- `32-DS-R条款.md`: evidence anchors for `practices.md` moved to the rc3 path `skills/dsh-doc/references/practices.md` (same line, now marked "rc3 重取"); `20-研究底稿/B-…` only gained a dated history note, no row changes.
|
|
17
|
+
- `spec/schemas/conformance.schema.json`: `runtimeSource` enum drops `fallback` (the code only emits `cli`/`host`/`default`); description now states `suspect` is true for `default`.
|
|
18
|
+
- `40-checker/README.md` / `docs/coverage.md`: examples use rc.3, `--cordis-version 4.1.0`, and the anchor fallback is described as `default` (not `fallback`).
|
|
19
|
+
|
|
20
|
+
### Verified
|
|
21
|
+
|
|
22
|
+
- `npm test` (`node 40-checker/test/*.mjs test/*.mjs`): 321 tests, 320 pass, 1 skipped, 0 failed.
|
|
23
|
+
- `spec/examples/boost-card.example.json` `recordHash` and `spec/examples/flow-evidence.example.json` `chain.evidenceHash` recomputed after the anchor edits (spec-contract tests green).
|
|
24
|
+
- Checker default constants (`DEFAULT_RUNTIME_VERSION` / `DEFAULT_CORDIS` / `DEFAULT_COMMIT`) are `0.2.2-rc.3` / `4.1.0` / `38a6a5c9…` in this version (changed in the same release alongside the checker work); the README default tables match them.
|
|
25
|
+
- Not verified here: rc.3 runtime re-runs and the sidecar rebuild (evidence work owned by the checker changes), so `SUPPORTED.md` keeps every rc.3 cell `not-run`.
|
|
26
|
+
|
|
27
|
+
## 1.6.10 — 2026-11-13
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- **C-11.5 no longer calls a static blind spot "over-declaration".** The clause fired for plugins that declare `fs:read`/`fs:write` and use `node:fs` directly, because the only trigger was `ctx.fs`; the remediation even told authors to delete a declaration they were really using. Direct `node:fs` reads/writes are now observation evidence (only for C-11.5 — they never produce a new C-11.2 FAIL), and `ctx.fs` reads/writes are observed separately instead of `fs:write` borrowing `fs:read`'s hit.
|
|
32
|
+
- **C-11.5 records `NA` instead of `WARN` when nothing can be observed**: no source files were scanned, or the capability has no static observation surface in this checker version (`credentials:provider`). Wording across `31-DS-C条款.md`, `60-权限与标注规范.md`, `spec/dsc-clauses.json` and `spec/remediation.json` now says "静态未观测(不等于未使用)" and no longer advises deleting a real declaration.
|
|
33
|
+
|
|
1
34
|
## 1.6.9 — 2026-11-08
|
|
2
35
|
|
|
3
36
|
### Fixed
|
|
@@ -270,6 +303,13 @@
|
|
|
270
303
|
|
|
271
304
|
# Changelog
|
|
272
305
|
|
|
306
|
+
## 1.6.10 — 2026-11-13
|
|
307
|
+
|
|
308
|
+
### Fixed
|
|
309
|
+
|
|
310
|
+
- **C-11.5 no longer calls a static blind spot "over-declaration".** The clause fired for plugins that declare `fs:read`/`fs:write` and use `node:fs` directly, because the only trigger was `ctx.fs`; the remediation even told authors to delete a declaration they were really using. Direct `node:fs` reads/writes are now observation evidence (only for C-11.5 — they never produce a new C-11.2 FAIL), and `ctx.fs` reads/writes are observed separately instead of `fs:write` borrowing `fs:read`'s hit.
|
|
311
|
+
- **C-11.5 records `NA` instead of `WARN` when nothing can be observed**: no source files were scanned, or the capability has no static observation surface in this checker version (`credentials:provider`). Wording across `31-DS-C条款.md`, `60-权限与标注规范.md`, `spec/dsc-clauses.json` and `spec/remediation.json` now says "静态未观测(不等于未使用)" and no longer advises deleting a real declaration.
|
|
312
|
+
|
|
273
313
|
## 2026-11-04 — 0.2.2-alpha.3 baseline in the three-level docs
|
|
274
314
|
|
|
275
315
|
- Add the 0.2.2-alpha.3 baseline table and six PR-review evidence gates to `35`.
|
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,9 +44,15 @@ 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.6.11`), 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
|
+
|
|
51
|
+
### Upstream and usage (facts, 2026-11)
|
|
52
|
+
|
|
53
|
+
- **dsh-plugin-hub** — a version-aware npm metadata check is on main ([`4f3a560`](https://github.com/dshplugin/dsh-plugin-hub/commit/4f3a560), 2026-11-09). Scope: install-time npm metadata only (package/version existence and the `repository` back-link); it does not run ENTRY and is not an endorsement of any plugin.
|
|
54
|
+
- **Usage** (npm registry, 2026-11): `dsh-plugin-guide` ~12.6k/month, `dsh-standards` ~4.4k/month, `dsh-plugin-start` ~1.65k/month. Downloads are not unique users and are not a ranking, certification, or security claim.
|
|
55
|
+
- **Toolchain**: `dsh-plugin-guide` (guide / skill), `dsh-plugin-start` (scaffolder with the check and an advisory CI snippet in its output), `dsh-check-action` (read-only ENTRY Action), `dsh-plugin-spec` (clause text), `dsh-primer` (older development skill / CLI).
|
|
50
56
|
|
|
51
57
|
### Current hard numbers
|
|
52
58
|
|
|
@@ -197,9 +203,9 @@ The eight you will actually use:
|
|
|
197
203
|
| `--scope` | `ds-c` | check scope: `mvp` / `ds-c` / `entry` |
|
|
198
204
|
| `--profile` | `package` | evaluation profile: `package` / `listing` / `both` |
|
|
199
205
|
| `--runtime` | — | path to a built `@deepseek-ai/cordis` `lib/index.js`; enables L1–L3 |
|
|
200
|
-
| `--runtime-version` | `0.2.2-
|
|
201
|
-
| `--cordis-version` | `4.0
|
|
202
|
-
| `--commit` | `
|
|
206
|
+
| `--runtime-version` | `0.2.2-rc.3` | dsh runtime version recorded in the anchor and used by C-2 (built-in fallback; `check` prefers the host version) |
|
|
207
|
+
| `--cordis-version` | `4.1.0` | cordis version recorded in the anchor |
|
|
208
|
+
| `--commit` | `38a6a5c965aa` | harness commit recorded in the anchor |
|
|
203
209
|
| `--install-spec` | — | recommended install spec for C-3 |
|
|
204
210
|
| `--market-index` | — | format-1 market index JSON; turns on listing mode |
|
|
205
211
|
| `--plugin-name` | — | plugin name inside the market index |
|
package/README.es.md
CHANGED
|
@@ -44,9 +44,9 @@ 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.6.11`) 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
|
|
|
51
51
|
### Cifras duras actuales
|
|
52
52
|
|
|
@@ -197,9 +197,9 @@ Los ocho que de verdad se usan:
|
|
|
197
197
|
| `--scope` | `ds-c` | alcance: `mvp` / `ds-c` / `entry` |
|
|
198
198
|
| `--profile` | `package` | perfil de evaluación: `package` / `listing` / `both` |
|
|
199
199
|
| `--runtime` | — | ruta al `lib/index.js` compilado de `@deepseek-ai/cordis`; activa L1–L3 |
|
|
200
|
-
| `--runtime-version` | `0.2.2-
|
|
201
|
-
| `--cordis-version` | `4.0
|
|
202
|
-
| `--commit` | `
|
|
200
|
+
| `--runtime-version` | `0.2.2-rc.3` | versión de dsh anotada en el anchor, usada por C-2 (valor incorporado; `check` prefiere la versión del host) |
|
|
201
|
+
| `--cordis-version` | `4.1.0` | versión de cordis anotada en el anchor |
|
|
202
|
+
| `--commit` | `38a6a5c965aa` | commit del harness anotado en el anchor |
|
|
203
203
|
| `--install-spec` | — | spec de instalación recomendada para C-3 |
|
|
204
204
|
| `--market-index` | — | JSON de índice de mercado formato 1; activa el modo listing |
|
|
205
205
|
| `--plugin-name` | — | nombre del plugin dentro del índice de mercado |
|
package/README.hi.md
CHANGED
|
@@ -44,9 +44,9 @@ 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.6.11`), और दोनों 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
|
|
|
51
51
|
### वर्तमान ठोस आँकड़े
|
|
52
52
|
|
|
@@ -197,9 +197,9 @@ coverage: mandatory=5 pass=5 warn=0 fail=0 na=0 notRun=0
|
|
|
197
197
|
| `--scope` | `ds-c` | जाँच दायरा: `mvp` / `ds-c` / `entry` |
|
|
198
198
|
| `--profile` | `package` | मूल्यांकन प्रोफ़ाइल: `package` / `listing` / `both` |
|
|
199
199
|
| `--runtime` | — | बने हुए `@deepseek-ai/cordis` के `lib/index.js` का पथ; L1–L3 चालू करता है |
|
|
200
|
-
| `--runtime-version` | `0.2.2-
|
|
201
|
-
| `--cordis-version` | `4.0
|
|
202
|
-
| `--commit` | `
|
|
200
|
+
| `--runtime-version` | `0.2.2-rc.3` | anchor में दर्ज dsh रनटाइम संस्करण, C-2 के लिए (अंतर्निहित; `check` होस्ट संस्करण को प्राथमिकता देता है) |
|
|
201
|
+
| `--cordis-version` | `4.1.0` | anchor में दर्ज cordis संस्करण |
|
|
202
|
+
| `--commit` | `38a6a5c965aa` | anchor में दर्ज harness commit |
|
|
203
203
|
| `--install-spec` | — | C-3 के लिए सुझाया गया इंस्टॉल spec |
|
|
204
204
|
| `--market-index` | — | फ़ॉर्मैट-1 मार्केट इंडेक्स JSON; listing मोड चालू करता है |
|
|
205
205
|
| `--plugin-name` | — | मार्केट इंडेक्स के भीतर प्लगइन का नाम |
|
package/README.md
CHANGED
|
@@ -42,9 +42,15 @@ 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
|
+
### 上游与使用(事实,2026-11)
|
|
46
|
+
|
|
47
|
+
- **dsh-plugin-hub** —— 版本感知的 npm 元数据校验已合入 main([`4f3a560`](https://github.com/dshplugin/dsh-plugin-hub/commit/4f3a560),2026-11-09)。范围仅安装侧的 npm 元数据(包/版本存在性、`repository` 回链);不运行 ENTRY,也不构成对任何插件的背书。
|
|
48
|
+
- **使用量**(npm registry,2026-11):`dsh-plugin-guide` ≈12.6k/月、`dsh-standards` ≈4.4k/月、`dsh-plugin-start` ≈1.65k/月。下载量不是独立用户数,也不构成排名、认证或安全结论。
|
|
49
|
+
- **工具链**:`dsh-plugin-guide`(指南 / skill)、`dsh-plugin-start`(生成器,产物自带检查与 advisory CI)、`dsh-check-action`(只读 ENTRY 的 Action)、`dsh-plugin-spec`(条款原文)、`dsh-primer`(旧版开发 skill / CLI)。
|
|
50
|
+
|
|
45
51
|
仓里就三样东西:`40-checker/`(DS-C 一致性检查器与全部证据脚本)、`bin/`(两个公开入口 `dsh-standards` 与 `dsh-levels`),以及 `spec/` 与 `31`–`35` 号规范正文。工具只读目标包,不改被检对象;结论只认证据,`not-run`、`NA`、`static` 都不会被写成 PASS。
|
|
46
52
|
|
|
47
|
-
npm 上的旧占位 `dsh-standards@0.0.3` 只是名字预留,这条 1.x 线取代了它(当前 `1.6.
|
|
53
|
+
npm 上的旧占位 `dsh-standards@0.0.3` 只是名字预留,这条 1.x 线取代了它(当前 `1.6.11`);两个 bin 分别叫 `dsh-standards` 与 `dsh-levels`。
|
|
48
54
|
|
|
49
55
|
锚点不是硬编码的通行证:`repo` / `commit` / `cordis` 记在报告里,`dsh` 由 `--host-version`、`DSH_HOST_VERSION` 或显式 `--allow-host-probe` 解析;都没有时报告写「host 版本未知」,并标 `source=default, suspect=true`。换一次版本就是另一把尺子,旧报告不能直接当新版本的证据。
|
|
50
56
|
|
|
@@ -224,8 +230,8 @@ coverage: mandatory=5 pass=5 warn=0 fail=0 na=0 notRun=0
|
|
|
224
230
|
| `--profile` | `package` | 评估 profile:`package` / `listing` / `both` |
|
|
225
231
|
| `--runtime` | — | 指向构建好的 `@deepseek-ai/cordis` `lib/index.js`,开启 L1–L3 |
|
|
226
232
|
| `--runtime-version` | 宿主版本(`check`);否则内置常量 | 写进 anchor 的 dsh 运行时版本,供 C-2 判定;报告用 `anchor.runtimeSource` 说明来源 |
|
|
227
|
-
| `--cordis-version` | `4.0
|
|
228
|
-
| `--commit` | `
|
|
233
|
+
| `--cordis-version` | `4.1.0` | 写进 anchor 的 cordis 版本 |
|
|
234
|
+
| `--commit` | `38a6a5c965aa` | 写进 anchor 的 harness commit |
|
|
229
235
|
| `--install-spec` | — | 给 C-3 用的推荐安装 spec |
|
|
230
236
|
| `--market-index` | — | 格式 1 的市场索引 JSON,开启 listing 模式 |
|
|
231
237
|
| `--plugin-name` | — | 市场索引里的插件名 |
|