dsh-standards 1.6.12 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/31-DS-C/346/235/241/346/254/276.md +3 -1
- 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 +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 +0 -0
- package/40-checker/scripts/repo-anchor-check.mjs +0 -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 +2 -1
- 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 +21 -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 +5 -3
- 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 +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/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 +3 -1
- 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 +0 -0
- 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
|
@@ -0,0 +1,939 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/PerryLink/dsh-standards/spec/compatum.schema.json",
|
|
4
|
+
"title": "Compatum/1 compatibility, capability, and evidence profile",
|
|
5
|
+
"description": "Normative JSON Schema for one compatum/1 block. DSH packages embed the block at package.json#dsh.compatum; other hosts may carry it as vendor metadata. A declaration is disclosure, not enforcement, certification, a badge, a score, or a ranking. Missing is unknown, not none; an empty capabilities array is an explicit none claim but is still a WARN, never a PASS.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"schema",
|
|
10
|
+
"name",
|
|
11
|
+
"version",
|
|
12
|
+
"capabilities",
|
|
13
|
+
"requires",
|
|
14
|
+
"evidence"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"$schema": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "uri-reference",
|
|
20
|
+
"description": "Optional self-reference to this schema. It is not required in package.json."
|
|
21
|
+
},
|
|
22
|
+
"schema": {
|
|
23
|
+
"const": "compatum/1",
|
|
24
|
+
"description": "Profile identifier. The only accepted value in this version."
|
|
25
|
+
},
|
|
26
|
+
"name": {
|
|
27
|
+
"$ref": "#/$defs/name",
|
|
28
|
+
"description": "Package or server name. For a DSH package it MUST equal package.json#name."
|
|
29
|
+
},
|
|
30
|
+
"version": {
|
|
31
|
+
"$ref": "#/$defs/semver",
|
|
32
|
+
"description": "Exact subject version. For a DSH package it MUST equal package.json#version. A version bump resets the effective level to declared."
|
|
33
|
+
},
|
|
34
|
+
"capabilities": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"maxItems": 16,
|
|
37
|
+
"items": {
|
|
38
|
+
"$ref": "#/$defs/capability"
|
|
39
|
+
},
|
|
40
|
+
"description": "Closed-set capability declarations. Missing means unknown. Empty is an explicit none claim and remains a WARN with risk unknown, never a PASS. Duplicate IDs and aliases are invalid; the validator checks both."
|
|
41
|
+
},
|
|
42
|
+
"requires": {
|
|
43
|
+
"$ref": "#/$defs/requires"
|
|
44
|
+
},
|
|
45
|
+
"evidence": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"minItems": 1,
|
|
48
|
+
"items": {
|
|
49
|
+
"$ref": "#/$defs/evidence"
|
|
50
|
+
},
|
|
51
|
+
"description": "At least one record is required so that 'no evidence' is written down rather than inferred. Failures remain evidence and MUST NOT be deleted."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"$comment": "The machine-readable 16-ID registry, alias map, and effect map live in $defs.capabilityRegistry, $defs.capabilityAliases, and $defs.capabilityEffects. Aliases are accepted only by a checker, never by this schema.",
|
|
55
|
+
"$defs": {
|
|
56
|
+
"name": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"maxLength": 214,
|
|
60
|
+
"pattern": "^[A-Za-z0-9@][A-Za-z0-9@._~/-]*$"
|
|
61
|
+
},
|
|
62
|
+
"semver": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
|
|
65
|
+
},
|
|
66
|
+
"semverRange": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 1,
|
|
69
|
+
"maxLength": 128,
|
|
70
|
+
"pattern": "^[0-9A-Za-z.*+<>=^~| -]+$"
|
|
71
|
+
},
|
|
72
|
+
"sha256": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
75
|
+
},
|
|
76
|
+
"capabilityRegistry": {
|
|
77
|
+
"const": [
|
|
78
|
+
"fs:read",
|
|
79
|
+
"fs:write",
|
|
80
|
+
"shell",
|
|
81
|
+
"subprocess",
|
|
82
|
+
"network:egress",
|
|
83
|
+
"network:ingress",
|
|
84
|
+
"credentials:read",
|
|
85
|
+
"credentials:list",
|
|
86
|
+
"credentials:provider",
|
|
87
|
+
"llm:adapter",
|
|
88
|
+
"sessions:read",
|
|
89
|
+
"sessions:write",
|
|
90
|
+
"system-prompt:write",
|
|
91
|
+
"tools:register",
|
|
92
|
+
"remote:expose",
|
|
93
|
+
"plugin:install"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"capabilityAliases": {
|
|
97
|
+
"const": {
|
|
98
|
+
"listen": "network:ingress",
|
|
99
|
+
"exec": "shell",
|
|
100
|
+
"process": "subprocess"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"capabilityEffects": {
|
|
104
|
+
"const": {
|
|
105
|
+
"fs:read": "read",
|
|
106
|
+
"fs:write": "write",
|
|
107
|
+
"shell": "exec",
|
|
108
|
+
"subprocess": "exec",
|
|
109
|
+
"network:egress": "network",
|
|
110
|
+
"network:ingress": "network",
|
|
111
|
+
"credentials:read": "credential",
|
|
112
|
+
"credentials:list": "credential",
|
|
113
|
+
"credentials:provider": "credential",
|
|
114
|
+
"llm:adapter": "control",
|
|
115
|
+
"sessions:read": "read",
|
|
116
|
+
"sessions:write": "write",
|
|
117
|
+
"system-prompt:write": "write",
|
|
118
|
+
"tools:register": "control",
|
|
119
|
+
"remote:expose": "control",
|
|
120
|
+
"plugin:install": "control"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"effect": {
|
|
124
|
+
"enum": [
|
|
125
|
+
"read",
|
|
126
|
+
"write",
|
|
127
|
+
"exec",
|
|
128
|
+
"network",
|
|
129
|
+
"credential",
|
|
130
|
+
"control"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"capability": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"required": [
|
|
137
|
+
"id"
|
|
138
|
+
],
|
|
139
|
+
"properties": {
|
|
140
|
+
"id": {
|
|
141
|
+
"enum": [
|
|
142
|
+
"fs:read",
|
|
143
|
+
"fs:write",
|
|
144
|
+
"shell",
|
|
145
|
+
"subprocess",
|
|
146
|
+
"network:egress",
|
|
147
|
+
"network:ingress",
|
|
148
|
+
"credentials:read",
|
|
149
|
+
"credentials:list",
|
|
150
|
+
"credentials:provider",
|
|
151
|
+
"llm:adapter",
|
|
152
|
+
"sessions:read",
|
|
153
|
+
"sessions:write",
|
|
154
|
+
"system-prompt:write",
|
|
155
|
+
"tools:register",
|
|
156
|
+
"remote:expose",
|
|
157
|
+
"plugin:install"
|
|
158
|
+
],
|
|
159
|
+
"description": "Canonical ID only. Aliases listen, exec, and process MUST be normalized by the checker and MUST NOT be written here."
|
|
160
|
+
},
|
|
161
|
+
"effect": {
|
|
162
|
+
"$ref": "#/$defs/effect"
|
|
163
|
+
},
|
|
164
|
+
"scope": {
|
|
165
|
+
"enum": [
|
|
166
|
+
"workspace",
|
|
167
|
+
"user",
|
|
168
|
+
"host",
|
|
169
|
+
"remote"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"targets": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"minItems": 1,
|
|
175
|
+
"maxItems": 32,
|
|
176
|
+
"uniqueItems": true,
|
|
177
|
+
"items": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"minLength": 1,
|
|
180
|
+
"maxLength": 512
|
|
181
|
+
},
|
|
182
|
+
"description": "Paths, domains, tool names, or service names. MUST NOT contain secrets. Use placeholders such as $DSH_HOME rather than absolute user paths."
|
|
183
|
+
},
|
|
184
|
+
"reversible": {
|
|
185
|
+
"type": "boolean"
|
|
186
|
+
},
|
|
187
|
+
"approval": {
|
|
188
|
+
"enum": [
|
|
189
|
+
"none",
|
|
190
|
+
"once",
|
|
191
|
+
"always"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"hostOnly": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"description": "True when the target carrier cannot express this capability. A loss explanation belongs in the carrier's own projection metadata."
|
|
197
|
+
},
|
|
198
|
+
"reason": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"minLength": 1,
|
|
201
|
+
"maxLength": 280
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"allOf": [
|
|
205
|
+
{
|
|
206
|
+
"if": {
|
|
207
|
+
"required": [
|
|
208
|
+
"reversible"
|
|
209
|
+
],
|
|
210
|
+
"properties": {
|
|
211
|
+
"reversible": {
|
|
212
|
+
"const": false
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"then": {
|
|
217
|
+
"required": [
|
|
218
|
+
"approval"
|
|
219
|
+
],
|
|
220
|
+
"properties": {
|
|
221
|
+
"approval": {
|
|
222
|
+
"enum": [
|
|
223
|
+
"once",
|
|
224
|
+
"always"
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"if": {
|
|
232
|
+
"required": [
|
|
233
|
+
"id"
|
|
234
|
+
],
|
|
235
|
+
"properties": {
|
|
236
|
+
"id": {
|
|
237
|
+
"const": "fs:read"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"then": {
|
|
242
|
+
"properties": {
|
|
243
|
+
"effect": {
|
|
244
|
+
"const": "read"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"if": {
|
|
251
|
+
"required": [
|
|
252
|
+
"id"
|
|
253
|
+
],
|
|
254
|
+
"properties": {
|
|
255
|
+
"id": {
|
|
256
|
+
"const": "fs:write"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"then": {
|
|
261
|
+
"properties": {
|
|
262
|
+
"effect": {
|
|
263
|
+
"const": "write"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"if": {
|
|
270
|
+
"required": [
|
|
271
|
+
"id"
|
|
272
|
+
],
|
|
273
|
+
"properties": {
|
|
274
|
+
"id": {
|
|
275
|
+
"const": "shell"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"then": {
|
|
280
|
+
"properties": {
|
|
281
|
+
"effect": {
|
|
282
|
+
"const": "exec"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"if": {
|
|
289
|
+
"required": [
|
|
290
|
+
"id"
|
|
291
|
+
],
|
|
292
|
+
"properties": {
|
|
293
|
+
"id": {
|
|
294
|
+
"const": "subprocess"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"then": {
|
|
299
|
+
"properties": {
|
|
300
|
+
"effect": {
|
|
301
|
+
"const": "exec"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"if": {
|
|
308
|
+
"required": [
|
|
309
|
+
"id"
|
|
310
|
+
],
|
|
311
|
+
"properties": {
|
|
312
|
+
"id": {
|
|
313
|
+
"const": "network:egress"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"then": {
|
|
318
|
+
"properties": {
|
|
319
|
+
"effect": {
|
|
320
|
+
"const": "network"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"if": {
|
|
327
|
+
"required": [
|
|
328
|
+
"id"
|
|
329
|
+
],
|
|
330
|
+
"properties": {
|
|
331
|
+
"id": {
|
|
332
|
+
"const": "network:ingress"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"then": {
|
|
337
|
+
"properties": {
|
|
338
|
+
"effect": {
|
|
339
|
+
"const": "network"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"if": {
|
|
346
|
+
"required": [
|
|
347
|
+
"id"
|
|
348
|
+
],
|
|
349
|
+
"properties": {
|
|
350
|
+
"id": {
|
|
351
|
+
"const": "credentials:read"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"then": {
|
|
356
|
+
"properties": {
|
|
357
|
+
"effect": {
|
|
358
|
+
"const": "credential"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"if": {
|
|
365
|
+
"required": [
|
|
366
|
+
"id"
|
|
367
|
+
],
|
|
368
|
+
"properties": {
|
|
369
|
+
"id": {
|
|
370
|
+
"const": "credentials:list"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"then": {
|
|
375
|
+
"properties": {
|
|
376
|
+
"effect": {
|
|
377
|
+
"const": "credential"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"if": {
|
|
384
|
+
"required": [
|
|
385
|
+
"id"
|
|
386
|
+
],
|
|
387
|
+
"properties": {
|
|
388
|
+
"id": {
|
|
389
|
+
"const": "credentials:provider"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"then": {
|
|
394
|
+
"properties": {
|
|
395
|
+
"effect": {
|
|
396
|
+
"const": "credential"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"if": {
|
|
403
|
+
"required": [
|
|
404
|
+
"id"
|
|
405
|
+
],
|
|
406
|
+
"properties": {
|
|
407
|
+
"id": {
|
|
408
|
+
"const": "llm:adapter"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"then": {
|
|
413
|
+
"properties": {
|
|
414
|
+
"effect": {
|
|
415
|
+
"const": "control"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"if": {
|
|
422
|
+
"required": [
|
|
423
|
+
"id"
|
|
424
|
+
],
|
|
425
|
+
"properties": {
|
|
426
|
+
"id": {
|
|
427
|
+
"const": "sessions:read"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"then": {
|
|
432
|
+
"properties": {
|
|
433
|
+
"effect": {
|
|
434
|
+
"const": "read"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"if": {
|
|
441
|
+
"required": [
|
|
442
|
+
"id"
|
|
443
|
+
],
|
|
444
|
+
"properties": {
|
|
445
|
+
"id": {
|
|
446
|
+
"const": "sessions:write"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"then": {
|
|
451
|
+
"properties": {
|
|
452
|
+
"effect": {
|
|
453
|
+
"const": "write"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"if": {
|
|
460
|
+
"required": [
|
|
461
|
+
"id"
|
|
462
|
+
],
|
|
463
|
+
"properties": {
|
|
464
|
+
"id": {
|
|
465
|
+
"const": "system-prompt:write"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"then": {
|
|
470
|
+
"properties": {
|
|
471
|
+
"effect": {
|
|
472
|
+
"const": "write"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"if": {
|
|
479
|
+
"required": [
|
|
480
|
+
"id"
|
|
481
|
+
],
|
|
482
|
+
"properties": {
|
|
483
|
+
"id": {
|
|
484
|
+
"const": "tools:register"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"then": {
|
|
489
|
+
"properties": {
|
|
490
|
+
"effect": {
|
|
491
|
+
"const": "control"
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"if": {
|
|
498
|
+
"required": [
|
|
499
|
+
"id"
|
|
500
|
+
],
|
|
501
|
+
"properties": {
|
|
502
|
+
"id": {
|
|
503
|
+
"const": "remote:expose"
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"then": {
|
|
508
|
+
"properties": {
|
|
509
|
+
"effect": {
|
|
510
|
+
"const": "control"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"if": {
|
|
517
|
+
"required": [
|
|
518
|
+
"id"
|
|
519
|
+
],
|
|
520
|
+
"properties": {
|
|
521
|
+
"id": {
|
|
522
|
+
"const": "plugin:install"
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"then": {
|
|
527
|
+
"properties": {
|
|
528
|
+
"effect": {
|
|
529
|
+
"const": "control"
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
]
|
|
535
|
+
},
|
|
536
|
+
"install": {
|
|
537
|
+
"type": "object",
|
|
538
|
+
"additionalProperties": false,
|
|
539
|
+
"required": [
|
|
540
|
+
"unit",
|
|
541
|
+
"entry",
|
|
542
|
+
"activation",
|
|
543
|
+
"data",
|
|
544
|
+
"uninstall"
|
|
545
|
+
],
|
|
546
|
+
"properties": {
|
|
547
|
+
"unit": {
|
|
548
|
+
"enum": [
|
|
549
|
+
"bundle",
|
|
550
|
+
"plugin",
|
|
551
|
+
"server",
|
|
552
|
+
"skill",
|
|
553
|
+
"package",
|
|
554
|
+
"directory"
|
|
555
|
+
]
|
|
556
|
+
},
|
|
557
|
+
"entry": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"minLength": 1,
|
|
560
|
+
"maxLength": 256
|
|
561
|
+
},
|
|
562
|
+
"activation": {
|
|
563
|
+
"enum": [
|
|
564
|
+
"immediate",
|
|
565
|
+
"hot-reload",
|
|
566
|
+
"restart",
|
|
567
|
+
"next-session"
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
"data": {
|
|
571
|
+
"type": "string",
|
|
572
|
+
"minLength": 1,
|
|
573
|
+
"maxLength": 256,
|
|
574
|
+
"description": "none, storage-domain, $DSH_HOME/<name>, ${PLUGIN_DATA}, or ${CLAUDE_PLUGIN_DATA}."
|
|
575
|
+
},
|
|
576
|
+
"uninstall": {
|
|
577
|
+
"$ref": "#/$defs/uninstall"
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"uninstall": {
|
|
582
|
+
"type": "object",
|
|
583
|
+
"additionalProperties": false,
|
|
584
|
+
"required": [
|
|
585
|
+
"stops",
|
|
586
|
+
"removesCode",
|
|
587
|
+
"removesData",
|
|
588
|
+
"residue"
|
|
589
|
+
],
|
|
590
|
+
"properties": {
|
|
591
|
+
"stops": {
|
|
592
|
+
"const": true,
|
|
593
|
+
"description": "Stopping running processes or rows is mandatory when the unit can run."
|
|
594
|
+
},
|
|
595
|
+
"removesCode": {
|
|
596
|
+
"const": true,
|
|
597
|
+
"description": "Removing installed code is mandatory."
|
|
598
|
+
},
|
|
599
|
+
"removesData": {
|
|
600
|
+
"enum": [
|
|
601
|
+
true,
|
|
602
|
+
false,
|
|
603
|
+
"ask"
|
|
604
|
+
],
|
|
605
|
+
"description": "Data handling MUST be explicit; false is a declaration, not a promise that no data exists."
|
|
606
|
+
},
|
|
607
|
+
"residue": {
|
|
608
|
+
"type": "array",
|
|
609
|
+
"maxItems": 32,
|
|
610
|
+
"uniqueItems": true,
|
|
611
|
+
"items": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"minLength": 1,
|
|
614
|
+
"maxLength": 256
|
|
615
|
+
},
|
|
616
|
+
"description": "Known residue. An empty array is an explicit no-residue claim and must be testable."
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"requires": {
|
|
621
|
+
"type": "object",
|
|
622
|
+
"additionalProperties": false,
|
|
623
|
+
"required": [
|
|
624
|
+
"portable",
|
|
625
|
+
"install"
|
|
626
|
+
],
|
|
627
|
+
"anyOf": [
|
|
628
|
+
{
|
|
629
|
+
"required": [
|
|
630
|
+
"dsh"
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"required": [
|
|
635
|
+
"mcp"
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"required": [
|
|
640
|
+
"claude-code"
|
|
641
|
+
]
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"required": [
|
|
645
|
+
"codex"
|
|
646
|
+
]
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"required": [
|
|
650
|
+
"agent-plugins"
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"required": [
|
|
655
|
+
"agent-skills"
|
|
656
|
+
]
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"required": [
|
|
660
|
+
"node"
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"properties": {
|
|
665
|
+
"portable": {
|
|
666
|
+
"const": "1.0"
|
|
667
|
+
},
|
|
668
|
+
"dsh": {
|
|
669
|
+
"$ref": "#/$defs/semverRange",
|
|
670
|
+
"description": "DSH host range. When package.json#engines.dsh exists the two MUST be equal."
|
|
671
|
+
},
|
|
672
|
+
"node": {
|
|
673
|
+
"$ref": "#/$defs/semverRange"
|
|
674
|
+
},
|
|
675
|
+
"claude-code": {
|
|
676
|
+
"$ref": "#/$defs/semverRange"
|
|
677
|
+
},
|
|
678
|
+
"codex": {
|
|
679
|
+
"$ref": "#/$defs/semverRange"
|
|
680
|
+
},
|
|
681
|
+
"agent-plugins": {
|
|
682
|
+
"type": "string",
|
|
683
|
+
"minLength": 1,
|
|
684
|
+
"maxLength": 64
|
|
685
|
+
},
|
|
686
|
+
"agent-skills": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"minLength": 1,
|
|
689
|
+
"maxLength": 64
|
|
690
|
+
},
|
|
691
|
+
"mcp": {
|
|
692
|
+
"type": "array",
|
|
693
|
+
"minItems": 1,
|
|
694
|
+
"uniqueItems": true,
|
|
695
|
+
"maxItems": 16,
|
|
696
|
+
"items": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
699
|
+
},
|
|
700
|
+
"description": "Supported MCP protocol revisions. The client selects the intersection; no intersection means the server is skipped."
|
|
701
|
+
},
|
|
702
|
+
"platform": {
|
|
703
|
+
"type": "array",
|
|
704
|
+
"minItems": 1,
|
|
705
|
+
"uniqueItems": true,
|
|
706
|
+
"maxItems": 3,
|
|
707
|
+
"items": {
|
|
708
|
+
"enum": [
|
|
709
|
+
"linux",
|
|
710
|
+
"darwin",
|
|
711
|
+
"win32"
|
|
712
|
+
]
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"transport": {
|
|
716
|
+
"type": "array",
|
|
717
|
+
"minItems": 1,
|
|
718
|
+
"uniqueItems": true,
|
|
719
|
+
"maxItems": 3,
|
|
720
|
+
"items": {
|
|
721
|
+
"enum": [
|
|
722
|
+
"stdio",
|
|
723
|
+
"streamable-http",
|
|
724
|
+
"sse"
|
|
725
|
+
]
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"denies": {
|
|
729
|
+
"type": "array",
|
|
730
|
+
"uniqueItems": true,
|
|
731
|
+
"maxItems": 32,
|
|
732
|
+
"items": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"pattern": "^[a-z0-9*][a-z0-9*:_-]*:none$"
|
|
735
|
+
},
|
|
736
|
+
"description": "Negative constraints such as network:none. These are not capabilities."
|
|
737
|
+
},
|
|
738
|
+
"install": {
|
|
739
|
+
"$ref": "#/$defs/install"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"subject": {
|
|
744
|
+
"type": "object",
|
|
745
|
+
"additionalProperties": false,
|
|
746
|
+
"required": [
|
|
747
|
+
"repo",
|
|
748
|
+
"version",
|
|
749
|
+
"commit"
|
|
750
|
+
],
|
|
751
|
+
"properties": {
|
|
752
|
+
"name": {
|
|
753
|
+
"$ref": "#/$defs/name"
|
|
754
|
+
},
|
|
755
|
+
"repo": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"format": "uri",
|
|
758
|
+
"minLength": 1,
|
|
759
|
+
"maxLength": 512
|
|
760
|
+
},
|
|
761
|
+
"version": {
|
|
762
|
+
"$ref": "#/$defs/semver"
|
|
763
|
+
},
|
|
764
|
+
"commit": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"pattern": "^[0-9a-f]{7,40}$"
|
|
767
|
+
},
|
|
768
|
+
"path": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"minLength": 1,
|
|
771
|
+
"maxLength": 512
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"host": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"additionalProperties": false,
|
|
778
|
+
"required": [
|
|
779
|
+
"name",
|
|
780
|
+
"version"
|
|
781
|
+
],
|
|
782
|
+
"properties": {
|
|
783
|
+
"name": {
|
|
784
|
+
"type": "string",
|
|
785
|
+
"minLength": 1,
|
|
786
|
+
"maxLength": 64,
|
|
787
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$"
|
|
788
|
+
},
|
|
789
|
+
"version": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"minLength": 1,
|
|
792
|
+
"maxLength": 128,
|
|
793
|
+
"pattern": "^[0-9A-Za-z@][0-9A-Za-z@.+_-]*$"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"description": "Exact host anchor. A range is not an anchor; tested evidence must name the host version that actually ran."
|
|
797
|
+
},
|
|
798
|
+
"evidence": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"additionalProperties": false,
|
|
801
|
+
"required": [
|
|
802
|
+
"schema",
|
|
803
|
+
"level",
|
|
804
|
+
"subject",
|
|
805
|
+
"host",
|
|
806
|
+
"checker",
|
|
807
|
+
"result",
|
|
808
|
+
"scope",
|
|
809
|
+
"checkedAt"
|
|
810
|
+
],
|
|
811
|
+
"anyOf": [
|
|
812
|
+
{
|
|
813
|
+
"required": [
|
|
814
|
+
"reportPath"
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"required": [
|
|
819
|
+
"sha256"
|
|
820
|
+
]
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"properties": {
|
|
824
|
+
"schema": {
|
|
825
|
+
"const": "compatum-evidence/1"
|
|
826
|
+
},
|
|
827
|
+
"level": {
|
|
828
|
+
"enum": [
|
|
829
|
+
"declared",
|
|
830
|
+
"checked",
|
|
831
|
+
"tested"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"subject": {
|
|
835
|
+
"$ref": "#/$defs/subject"
|
|
836
|
+
},
|
|
837
|
+
"host": {
|
|
838
|
+
"$ref": "#/$defs/host"
|
|
839
|
+
},
|
|
840
|
+
"checker": {
|
|
841
|
+
"type": "string",
|
|
842
|
+
"minLength": 1,
|
|
843
|
+
"maxLength": 128,
|
|
844
|
+
"description": "Tool and version, for example dsh-standards@1.6.12. For a declared-only record the author may be named here."
|
|
845
|
+
},
|
|
846
|
+
"result": {
|
|
847
|
+
"enum": [
|
|
848
|
+
"PASS",
|
|
849
|
+
"WARN",
|
|
850
|
+
"FAIL",
|
|
851
|
+
"NOT-RUN",
|
|
852
|
+
"BLOCKED",
|
|
853
|
+
"ERROR"
|
|
854
|
+
],
|
|
855
|
+
"description": "Case-sensitive. NOT-RUN is never a pass."
|
|
856
|
+
},
|
|
857
|
+
"scope": {
|
|
858
|
+
"enum": [
|
|
859
|
+
"install",
|
|
860
|
+
"capability",
|
|
861
|
+
"entry",
|
|
862
|
+
"flow",
|
|
863
|
+
"boost",
|
|
864
|
+
"skill",
|
|
865
|
+
"tool"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"checkedAt": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"format": "date-time"
|
|
871
|
+
},
|
|
872
|
+
"reportPath": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"minLength": 1,
|
|
875
|
+
"maxLength": 512
|
|
876
|
+
},
|
|
877
|
+
"sha256": {
|
|
878
|
+
"$ref": "#/$defs/sha256",
|
|
879
|
+
"description": "sha256: plus 64 lowercase hex characters over the canonical JSON (RFC 8785 JCS) of the record body, excluding this field."
|
|
880
|
+
},
|
|
881
|
+
"expiresAt": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"format": "date"
|
|
884
|
+
},
|
|
885
|
+
"stale": {
|
|
886
|
+
"type": "boolean"
|
|
887
|
+
},
|
|
888
|
+
"runId": {
|
|
889
|
+
"type": "string",
|
|
890
|
+
"minLength": 1,
|
|
891
|
+
"maxLength": 256
|
|
892
|
+
},
|
|
893
|
+
"url": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"format": "uri"
|
|
896
|
+
},
|
|
897
|
+
"command": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"minLength": 1,
|
|
900
|
+
"maxLength": 1024
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"allOf": [
|
|
904
|
+
{
|
|
905
|
+
"if": {
|
|
906
|
+
"required": [
|
|
907
|
+
"level"
|
|
908
|
+
],
|
|
909
|
+
"properties": {
|
|
910
|
+
"level": {
|
|
911
|
+
"const": "tested"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"then": {
|
|
916
|
+
"anyOf": [
|
|
917
|
+
{
|
|
918
|
+
"required": [
|
|
919
|
+
"command"
|
|
920
|
+
]
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"required": [
|
|
924
|
+
"runId"
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"required": [
|
|
929
|
+
"url"
|
|
930
|
+
]
|
|
931
|
+
}
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"description": "One record per level and observed run. Failures remain evidence. A version or host change makes older records historical (stale: true), not deleted."
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|