dsh-standards 0.0.3 → 1.0.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/40-checker/.github/workflows/plugin-verify.yml +70 -0
- package/40-checker/README.md +251 -0
- package/40-checker/bin/dsh-levels.mjs +15 -0
- package/40-checker/bin/dsh-plugin-verify.mjs +8 -0
- package/40-checker/fixtures/bad/index.mjs +12 -0
- package/40-checker/fixtures/bad/package.json +15 -0
- package/40-checker/fixtures/bad-manifest/index.js +1 -0
- package/40-checker/fixtures/bad-manifest/package.json +5 -0
- package/40-checker/fixtures/bundle/cordis.patch.yml +3 -0
- package/40-checker/fixtures/bundle/package.json +15 -0
- package/40-checker/fixtures/bundle/server.mjs +7 -0
- package/40-checker/fixtures/bundle-v0/cordis.patch.yml +3 -0
- package/40-checker/fixtures/bundle-v0/package.json +21 -0
- package/40-checker/fixtures/bundle-v0/server.mjs +7 -0
- package/40-checker/fixtures/client-missing/client.js +1 -0
- package/40-checker/fixtures/client-missing/index.js +1 -0
- package/40-checker/fixtures/client-missing/package.json +6 -0
- package/40-checker/fixtures/flow-config/index.js +9 -0
- package/40-checker/fixtures/flow-config/package.json +10 -0
- package/40-checker/fixtures/fs-write/index.mjs +7 -0
- package/40-checker/fixtures/fs-write/package.json +10 -0
- package/40-checker/fixtures/good/index.mjs +10 -0
- package/40-checker/fixtures/good/package.json +19 -0
- package/40-checker/fixtures/hang/index.mjs +5 -0
- package/40-checker/fixtures/hang/package.json +10 -0
- package/40-checker/fixtures/known-answer/expected.json +18 -0
- package/40-checker/fixtures/market-index-real.json +18 -0
- package/40-checker/fixtures/market-index.json +18 -0
- package/40-checker/fixtures/negative/bad-entry/package.json +1 -0
- package/40-checker/fixtures/negative/no-entry/package.json +1 -0
- package/40-checker/fixtures/negative/no-patch/package.json +1 -0
- package/40-checker/fixtures/negative/root-missing/cordis.patch.yml +2 -0
- package/40-checker/fixtures/negative/root-missing/package.json +1 -0
- package/40-checker/fixtures/negative/workspace/package.json +1 -0
- package/40-checker/package.json +22 -0
- package/40-checker/results/boost/REPORT.md +304 -0
- package/40-checker/results/boost/lev12458.json +1747 -0
- package/40-checker/results/client/README.md +16 -0
- package/40-checker/results/entry/18/DDDMUC__dsh-free-search.json +381 -0
- package/40-checker/results/entry/18/DDDMUC__dsh-free-search.runtime.json +34 -0
- package/40-checker/results/entry/18/Ebony-Vinyl__dsh-our-free-model.json +361 -0
- package/40-checker/results/entry/18/Ebony-Vinyl__dsh-our-free-model.runtime.json +34 -0
- package/40-checker/results/entry/18/README.md +24 -0
- package/40-checker/results/entry/18/RUNTIME.md +18 -0
- package/40-checker/results/entry/18/SeaOf0__dsh-redteam-model.json +391 -0
- package/40-checker/results/entry/18/YuJunZhiXue__dsh-purge.json +432 -0
- package/40-checker/results/entry/18/ci-diet.json +365 -0
- package/40-checker/results/entry/18/ci-diet.runtime-attempt.json +38 -0
- package/40-checker/results/entry/18/daily-log.json +357 -0
- package/40-checker/results/entry/18/daily-log.runtime.json +519 -0
- package/40-checker/results/entry/18/fullbase/ATTRIBUTION.md +29 -0
- package/40-checker/results/entry/18/fullbase/DDDMUC__dsh-free-search.json +99 -0
- package/40-checker/results/entry/18/fullbase/Ebony-Vinyl__dsh-our-free-model.json +95 -0
- package/40-checker/results/entry/18/fullbase/REPORT.md +261 -0
- package/40-checker/results/entry/18/fullbase/SeaOf0__dsh-redteam-model.json +144 -0
- package/40-checker/results/entry/18/fullbase/YuJunZhiXue__dsh-purge.json +106 -0
- package/40-checker/results/entry/18/fullbase/ci-diet.json +99 -0
- package/40-checker/results/entry/18/fullbase/daily-log.json +94 -0
- package/40-checker/results/entry/18/fullbase/howmp__dsh-pentest.json +104 -0
- package/40-checker/results/entry/18/fullbase/kingcharleslzy-ai__dsh-purge.json +143 -0
- package/40-checker/results/entry/18/fullbase/liguobao__ds-harness-remote.json +134 -0
- package/40-checker/results/entry/18/fullbase/mmparko__dsh-purge.json +138 -0
- package/40-checker/results/entry/18/fullbase/project-memory.json +108 -0
- package/40-checker/results/entry/18/fullbase/qiushi.json +94 -0
- package/40-checker/results/entry/18/fullbase/shaobeichen__dsh-pocket.json +94 -0
- package/40-checker/results/entry/18/fullbase/status-rotator.json +94 -0
- package/40-checker/results/entry/18/fullbase/summary.json +297 -0
- package/40-checker/results/entry/18/fullbase/telemetry.json +94 -0
- package/40-checker/results/entry/18/fullbase/ui-auth.json +94 -0
- package/40-checker/results/entry/18/fullbase/verification.json +94 -0
- package/40-checker/results/entry/18/fullbase/ysr666__dsh-vision-router.json +106 -0
- package/40-checker/results/entry/18/howmp__dsh-pentest.json +361 -0
- package/40-checker/results/entry/18/kingcharleslzy-ai__dsh-purge.json +411 -0
- package/40-checker/results/entry/18/liguobao__ds-harness-remote.json +379 -0
- package/40-checker/results/entry/18/mmparko__dsh-purge.json +441 -0
- package/40-checker/results/entry/18/project-memory.json +361 -0
- package/40-checker/results/entry/18/project-memory.runtime.json +519 -0
- package/40-checker/results/entry/18/qiushi.json +353 -0
- package/40-checker/results/entry/18/qiushi.runtime.json +519 -0
- package/40-checker/results/entry/18/realweb/REPORT.md +73 -0
- package/40-checker/results/entry/18/realweb/SeaOf0__dsh-redteam-model.json +104 -0
- package/40-checker/results/entry/18/realweb/YuJunZhiXue__dsh-purge.json +64 -0
- package/40-checker/results/entry/18/realweb/howmp__dsh-pentest.json +65 -0
- package/40-checker/results/entry/18/realweb/kingcharleslzy-ai__dsh-purge.json +75 -0
- package/40-checker/results/entry/18/realweb/mmparko__dsh-purge.json +70 -0
- package/40-checker/results/entry/18/realweb/shaobeichen__dsh-pocket.json +56 -0
- package/40-checker/results/entry/18/realweb/summary.json +196 -0
- package/40-checker/results/entry/18/realweb/ui-auth.json +56 -0
- package/40-checker/results/entry/18/realweb/ysr666__dsh-vision-router.json +61 -0
- package/40-checker/results/entry/18/richbase/REPORT.md +70 -0
- package/40-checker/results/entry/18/richbase/SeaOf0__dsh-redteam-model.json +61 -0
- package/40-checker/results/entry/18/richbase/SeaOf0__dsh-redteam-model.log +38 -0
- package/40-checker/results/entry/18/shaobeichen__dsh-pocket.json +363 -0
- package/40-checker/results/entry/18/status-rotator.json +362 -0
- package/40-checker/results/entry/18/status-rotator.runtime.json +519 -0
- package/40-checker/results/entry/18/summary.json +266 -0
- package/40-checker/results/entry/18/targetonly/DDDMUC__dsh-free-search.json +34 -0
- package/40-checker/results/entry/18/targetonly/Ebony-Vinyl__dsh-our-free-model.json +34 -0
- package/40-checker/results/entry/18/targetonly/SeaOf0__dsh-redteam-model.json +84 -0
- package/40-checker/results/entry/18/targetonly/YuJunZhiXue__dsh-purge.json +52 -0
- package/40-checker/results/entry/18/targetonly/ci-diet.json +34 -0
- package/40-checker/results/entry/18/targetonly/daily-log.json +34 -0
- package/40-checker/results/entry/18/targetonly/howmp__dsh-pentest.json +46 -0
- package/40-checker/results/entry/18/targetonly/kingcharleslzy-ai__dsh-purge.json +61 -0
- package/40-checker/results/entry/18/targetonly/liguobao__ds-harness-remote.json +39 -0
- package/40-checker/results/entry/18/targetonly/mmparko__dsh-purge.json +57 -0
- package/40-checker/results/entry/18/targetonly/project-memory.json +34 -0
- package/40-checker/results/entry/18/targetonly/qiushi.json +34 -0
- package/40-checker/results/entry/18/targetonly/shaobeichen__dsh-pocket.json +34 -0
- package/40-checker/results/entry/18/targetonly/status-rotator.json +34 -0
- package/40-checker/results/entry/18/targetonly/summary.json +133 -0
- package/40-checker/results/entry/18/targetonly/telemetry.json +34 -0
- package/40-checker/results/entry/18/targetonly/ui-auth.json +34 -0
- package/40-checker/results/entry/18/targetonly/verification.json +34 -0
- package/40-checker/results/entry/18/targetonly/ysr666__dsh-vision-router.json +43 -0
- package/40-checker/results/entry/18/telemetry.json +349 -0
- package/40-checker/results/entry/18/ui-auth.json +369 -0
- package/40-checker/results/entry/18/verification.json +358 -0
- package/40-checker/results/entry/18/ysr666__dsh-vision-router.json +409 -0
- package/40-checker/results/fixtures/bad.json +347 -0
- package/40-checker/results/fixtures/bundle.json +378 -0
- package/40-checker/results/fixtures/good-listing.json +382 -0
- package/40-checker/results/fixtures/good-static.json +322 -0
- package/40-checker/results/fixtures/good.json +375 -0
- package/40-checker/results/fixtures/good.sarif +274 -0
- package/40-checker/results/flow/README.md +19 -0
- package/40-checker/results/flow/j3-j7-fixture.json +51 -0
- package/40-checker/results/flow/j5-j8-client-missing.json +45 -0
- package/40-checker/results/flow/j5-j8-good.json +45 -0
- package/40-checker/results/flow/journey-fixture-bundle.json +90 -0
- package/40-checker/results/flow/journey-fixture-j1-j2-j4-j6.json +107 -0
- package/40-checker/results/flow/real/DDDMUC__dsh-free-search.json +297 -0
- package/40-checker/results/flow/real/REPORT.md +335 -0
- package/40-checker/results/flow/real/YuJunZhiXue__dsh-purge.json +317 -0
- package/40-checker/results/flow/real/ci-diet.json +351 -0
- package/40-checker/results/flow/real/daily-log.json +286 -0
- package/40-checker/results/flow/real/index.json +325 -0
- package/40-checker/results/flow/real/project-memory.json +290 -0
- package/40-checker/results/flow/real/qiushi.json +277 -0
- package/40-checker/results/flow/real/status-rotator.json +275 -0
- package/40-checker/results/flow/real/telemetry.json +178 -0
- package/40-checker/results/flow/real/ui-auth.json +288 -0
- package/40-checker/results/flow/real/verification.json +265 -0
- package/40-checker/results/governance/co-maintainer-packet.md +85 -0
- package/40-checker/results/l1/ci-diet.json +406 -0
- package/40-checker/results/l1/npm-dsh-telemetry-redactor-0.1.0.json +390 -0
- package/40-checker/results/l1/npm-dsh-verification-receipt-0.1.0.json +406 -0
- package/40-checker/results/l1/npm-qiushi-dsh-evidence-audit-0.1.0.json +394 -0
- package/40-checker/results/l1/npm-zzerx-dsh-plugin-daily-log-0.4.3.json +405 -0
- package/40-checker/results/l1/project-memory.json +402 -0
- package/40-checker/results/l1/source-DDDMUC__dsh-free-search.json +422 -0
- package/40-checker/results/l1/source-Ebony-Vinyl__dsh-our-free-model.json +421 -0
- package/40-checker/results/l1/source-SeaOf0__dsh-redteam-model.json +432 -0
- package/40-checker/results/l1/source-YuJunZhiXue__dsh-purge.json +473 -0
- package/40-checker/results/l1/source-howmp__dsh-pentest.json +402 -0
- package/40-checker/results/l1/source-kingcharleslzy-ai__dsh-purge.json +452 -0
- package/40-checker/results/l1/source-liguobao__ds-harness-remote.json +420 -0
- package/40-checker/results/l1/source-mmparko__dsh-purge.json +482 -0
- package/40-checker/results/l1/source-shaobeichen__dsh-pocket.json +404 -0
- package/40-checker/results/l1/source-ysr666__dsh-vision-router.json +384 -0
- package/40-checker/results/l1/status-rotator.json +403 -0
- package/40-checker/results/l1/ui-auth.json +429 -0
- package/40-checker/results/l1/ysr666__dsh-vision-router.published.json +384 -0
- package/40-checker/results/lev3/REPORT.md +342 -0
- package/40-checker/results/lev3/lev3.json +4835 -0
- package/40-checker/results/lev6/REPORT.md +460 -0
- package/40-checker/results/lev6/capture-sample.json +241 -0
- package/40-checker/results/lev6/capture.jsonl +4 -0
- package/40-checker/results/lev6/lev6.json +245 -0
- package/40-checker/results/lev6/replication-r1.json +245 -0
- package/40-checker/results/levels/README.md +16 -0
- package/40-checker/results/levels/dsh-plugin-doctor.json +141 -0
- package/40-checker/results/levels/dsh-plugin-guide.json +136 -0
- package/40-checker/results/m1/dsh-ci-diet-0.5.2.json +352 -0
- package/40-checker/results/m1/dsh-status-rotator-0.38.0.json +349 -0
- package/40-checker/results/m1/dsh-telemetry-redactor-0.1.0.json +336 -0
- package/40-checker/results/m1/dsh-ui-auth-0.7.1.json +356 -0
- package/40-checker/results/m1/dsh-verification-receipt-0.1.0.json +344 -0
- package/40-checker/results/m1/index-level.json +13 -0
- package/40-checker/results/m1/levels.json +72100 -0
- package/40-checker/results/m1/qiushi-dsh-evidence-audit-0.1.0.json +339 -0
- package/40-checker/results/m1/yolk_vat-y-dsh-project-memory-0.6.7.json +348 -0
- package/40-checker/results/m1/zzerx-dsh-plugin-daily-log-0.4.3.json +344 -0
- package/40-checker/results/m2/dsh-ci-diet.json +421 -0
- package/40-checker/results/m2/dsh-ci-diet.unshare-landlock.json +424 -0
- package/40-checker/results/m2/dsh-ci-diet.unshare.json +423 -0
- package/40-checker/results/m2/fixture-bundle.image.json +404 -0
- package/40-checker/results/m2/fixture-bundle.json +392 -0
- package/40-checker/results/m2/fixture-bundle.landlock.json +396 -0
- package/40-checker/results/m2/fixture-bundle.unshare.json +395 -0
- package/40-checker/results/m2/fs-write.json +338 -0
- package/40-checker/results/m2/hang.json +31 -0
- package/40-checker/results/m2/hang.unshare-landlock.json +34 -0
- package/40-checker/results/m2/hang.unshare.json +33 -0
- package/40-checker/results/m2/project-memory.json +417 -0
- package/40-checker/results/m2/status-rotator.json +418 -0
- package/40-checker/results/m2/ui-auth.json +444 -0
- package/40-checker/results/negative/bad-entry.json +345 -0
- package/40-checker/results/negative/no-entry.json +345 -0
- package/40-checker/results/negative/no-patch.json +344 -0
- package/40-checker/results/negative/root-missing.json +344 -0
- package/40-checker/results/negative/root-missing.runtime.json +30 -0
- package/40-checker/results/negative/summary.json +51 -0
- package/40-checker/results/negative/workspace.json +344 -0
- package/40-checker/results/patched/Ebony-Vinyl__dsh-our-free-model.json +334 -0
- package/40-checker/results/patched/Ebony-Vinyl__dsh-our-free-model.overlay.json +335 -0
- package/40-checker/results/patched/SeaOf0__dsh-redteam-model.json +315 -0
- package/40-checker/results/patched/SeaOf0__dsh-redteam-model.overlay.json +316 -0
- package/40-checker/results/patched/mmparko__dsh-purge.json +357 -0
- package/40-checker/results/patched/mmparko__dsh-purge.overlay.json +358 -0
- package/40-checker/results/patched/shaobeichen__dsh-pocket.json +315 -0
- package/40-checker/results/patched/shaobeichen__dsh-pocket.overlay.json +316 -0
- package/40-checker/results/real/DDDMUC__dsh-free-search.json +344 -0
- package/40-checker/results/real/Ebony-Vinyl__dsh-our-free-model.json +343 -0
- package/40-checker/results/real/SeaOf0__dsh-redteam-model.json +354 -0
- package/40-checker/results/real/YuJunZhiXue__dsh-purge.json +395 -0
- package/40-checker/results/real/howmp__dsh-pentest.json +324 -0
- package/40-checker/results/real/kingcharleslzy-ai__dsh-purge.json +374 -0
- package/40-checker/results/real/liguobao__ds-harness-remote.json +342 -0
- package/40-checker/results/real/mmparko__dsh-purge.json +404 -0
- package/40-checker/results/real/shaobeichen__dsh-pocket.json +326 -0
- package/40-checker/results/real/ysr666__dsh-vision-router.json +372 -0
- package/40-checker/results/real/ysr666__dsh-vision-router.listing.json +378 -0
- package/40-checker/results/round-robin/compare.json +52 -0
- package/40-checker/results/round-robin/runner-a.json +9 -0
- package/40-checker/results/round-robin/runner-b.json +9 -0
- package/40-checker/results/sample20/123dbl__dsh-side-session.json +344 -0
- package/40-checker/results/sample20/173787247__dsh-wsl-dns.json +360 -0
- package/40-checker/results/sample20/863683348__dsh-insight.json +375 -0
- package/40-checker/results/sample20/Ansellwan__DSH-Custom-Wallpaper.json +344 -0
- package/40-checker/results/sample20/Jamailar__beav-deepseek-harness.json +341 -0
- package/40-checker/results/sample20/ManoloRemiddi__DSH-Metafolder-Plugin.json +344 -0
- package/40-checker/results/sample20/NEAZ71eve__dsh-tool-github.json +384 -0
- package/40-checker/results/sample20/README.md +3 -0
- package/40-checker/results/sample20/RINGOLINK__dsh-desktop-shell.json +352 -0
- package/40-checker/results/sample20/Zxznb666__dsh-qoder-cn-subagent.json +349 -0
- package/40-checker/results/sample20/agent-mobile__dsh-mobile-gateway.json +353 -0
- package/40-checker/results/sample20/fangqiing__dsh-knowledge-lite.json +359 -0
- package/40-checker/results/sample20/fzy0517__deepseek-harness-session-cleaner.json +344 -0
- package/40-checker/results/sample20/gjy1992__dsh-diagram.json +350 -0
- package/40-checker/results/sample20/mrme000m__dsh-prime-orchestrator.json +414 -0
- package/40-checker/results/sample20/redstonedust__dsh-solidworks-copilot.json +362 -0
- package/40-checker/results/sample20/summary.json +234 -0
- package/40-checker/results/sample20/w2112515__dsh-remote-host.json +344 -0
- package/40-checker/results/sample20/wkfedor__deepseek-harness-voice-input.json +350 -0
- package/40-checker/results/sample20/xfgil__dsh-hot-reloader.json +344 -0
- package/40-checker/results/sample20/yizhiyizhi0128__dsh-peak-scheduler.json +360 -0
- package/40-checker/results/sample20-ci/123dbl__dsh-side-session.json +344 -0
- package/40-checker/results/sample20-ci/173787247__dsh-wsl-dns.json +360 -0
- package/40-checker/results/sample20-ci/863683348__dsh-insight.json +375 -0
- package/40-checker/results/sample20-ci/Ansellwan__DSH-Custom-Wallpaper.json +344 -0
- package/40-checker/results/sample20-ci/Jamailar__beav-deepseek-harness.json +367 -0
- package/40-checker/results/sample20-ci/ManoloRemiddi__DSH-Metafolder-Plugin.json +344 -0
- package/40-checker/results/sample20-ci/NEAZ71eve__dsh-tool-github.json +392 -0
- package/40-checker/results/sample20-ci/README.md +5 -0
- package/40-checker/results/sample20-ci/RINGOLINK__dsh-desktop-shell.json +361 -0
- package/40-checker/results/sample20-ci/Zxznb666__dsh-qoder-cn-subagent.json +349 -0
- package/40-checker/results/sample20-ci/agent-mobile__dsh-mobile-gateway.json +384 -0
- package/40-checker/results/sample20-ci/fangqiing__dsh-knowledge-lite.json +360 -0
- package/40-checker/results/sample20-ci/fzy0517__deepseek-harness-session-cleaner.json +354 -0
- package/40-checker/results/sample20-ci/gjy1992__dsh-diagram.json +381 -0
- package/40-checker/results/sample20-ci/mrme000m__dsh-prime-orchestrator.json +452 -0
- package/40-checker/results/sample20-ci/redstonedust__dsh-solidworks-copilot.json +371 -0
- package/40-checker/results/sample20-ci/summary.json +195 -0
- package/40-checker/results/sample20-ci/w2112515__dsh-remote-host.json +399 -0
- package/40-checker/results/sample20-ci/wkfedor__deepseek-harness-voice-input.json +358 -0
- package/40-checker/results/sample20-ci/xfgil__dsh-hot-reloader.json +344 -0
- package/40-checker/results/sample20-ci/yizhiyizhi0128__dsh-peak-scheduler.json +370 -0
- package/40-checker/results/sample20-ci/zed1902209846-dotcom__DPwhale-plugin.json +231 -0
- package/40-checker/results/sample60/123dbl__dsh-side-session.json +344 -0
- package/40-checker/results/sample60/173787247__dsh-wsl-dns.json +360 -0
- package/40-checker/results/sample60/863683348__dsh-insight.json +375 -0
- package/40-checker/results/sample60/Anionex__dsh-turn-rewind.json +349 -0
- package/40-checker/results/sample60/Ansellwan__DSH-Custom-Wallpaper.json +344 -0
- package/40-checker/results/sample60/Ebony-Vinyl__EAC-Pack.json +352 -0
- package/40-checker/results/sample60/EricWang1358__dsh-web-studyhub.json +376 -0
- package/40-checker/results/sample60/GanyuanRan__Aegis.json +349 -0
- package/40-checker/results/sample60/HiSeax__dsh-codely.json +358 -0
- package/40-checker/results/sample60/Jamailar__beav-deepseek-harness.json +341 -0
- package/40-checker/results/sample60/ManoloRemiddi__DSH-Metafolder-Plugin.json +344 -0
- package/40-checker/results/sample60/MichengAI__dsh-archive-manager.json +357 -0
- package/40-checker/results/sample60/MichengAI__dsh-im-connect.json +347 -0
- package/40-checker/results/sample60/MindLab-Research__dsh-generative-ui.json +350 -0
- package/40-checker/results/sample60/NEAZ71eve__dsh-tool-github.json +384 -0
- package/40-checker/results/sample60/README.md +7 -0
- package/40-checker/results/sample60/RINGOLINK__dsh-desktop-shell.json +352 -0
- package/40-checker/results/sample60/SeanTolstoyevski__dsh-code-review.json +352 -0
- package/40-checker/results/sample60/Tasihi89__dsh-talk-map.json +344 -0
- package/40-checker/results/sample60/Tyan66666__billion-context-dsh.json +469 -0
- package/40-checker/results/sample60/V1ki__dsh-plugin-subscriptions.json +350 -0
- package/40-checker/results/sample60/Yu-tao-Li__dsh-computer-use-win.json +341 -0
- package/40-checker/results/sample60/ZSeven-W__dsh-ios.json +344 -0
- package/40-checker/results/sample60/Zxznb666__dsh-qoder-cn-subagent.json +349 -0
- package/40-checker/results/sample60/agent-mobile__dsh-mobile-gateway.json +353 -0
- package/40-checker/results/sample60/c3cvld7aag__fujiang-dsh.json +361 -0
- package/40-checker/results/sample60/cxzrdxy__dsh-file-explorer.json +389 -0
- package/40-checker/results/sample60/dhicoc__dsh-reverse-skill.json +341 -0
- package/40-checker/results/sample60/fangqiing__dsh-knowledge-lite.json +359 -0
- package/40-checker/results/sample60/fwerkor__local-shell-mcp.json +369 -0
- package/40-checker/results/sample60/fzy0517__deepseek-harness-session-cleaner.json +344 -0
- package/40-checker/results/sample60/gjy1992__dsh-diagram.json +350 -0
- package/40-checker/results/sample60/howmp__dsh-pentest.json +341 -0
- package/40-checker/results/sample60/linhay__harmony-next.skills.json +344 -0
- package/40-checker/results/sample60/liustack__modsearch.json +371 -0
- package/40-checker/results/sample60/mmparko__dsh-purge.json +372 -0
- package/40-checker/results/sample60/mrme000m__dsh-prime-orchestrator.json +414 -0
- package/40-checker/results/sample60/omdsh-dev__dsh_workflow.json +439 -0
- package/40-checker/results/sample60/redstonedust__dsh-solidworks-copilot.json +362 -0
- package/40-checker/results/sample60/seriousz158__dsh-memory.json +350 -0
- package/40-checker/results/sample60/shanliuling__dsh-image-gen.json +353 -0
- package/40-checker/results/sample60/shanliuling__skills-link.json +344 -0
- package/40-checker/results/sample60/shengsheng90__DSH-taskboard.json +341 -0
- package/40-checker/results/sample60/sjh9714__dsh-win32.json +374 -0
- package/40-checker/results/sample60/skymecode__deepseek-harness-for-vscode.json +351 -0
- package/40-checker/results/sample60/sopaco__terrain.json +352 -0
- package/40-checker/results/sample60/summary.json +658 -0
- package/40-checker/results/sample60/tinqiao-oss__engramory.json +352 -0
- package/40-checker/results/sample60/tong-io__tongflow.json +359 -0
- package/40-checker/results/sample60/vibeinging__dsh-desktop.json +382 -0
- package/40-checker/results/sample60/w2112515__dsh-remote-host.json +344 -0
- package/40-checker/results/sample60/wkfedor__deepseek-harness-voice-input.json +350 -0
- package/40-checker/results/sample60/wz20__dsh-dafeiyu-dot.json +349 -0
- package/40-checker/results/sample60/xfgil__dsh-hot-reloader.json +344 -0
- package/40-checker/results/sample60/yi-yezhiqiu__dsh-prompt-market.json +360 -0
- package/40-checker/results/sample60/yizhiyizhi0128__dsh-peak-scheduler.json +360 -0
- package/40-checker/results/sample60/yjh051108__dsh-routing-suite.json +366 -0
- package/40-checker/results/sample60-ci/123dbl__dsh-side-session.json +344 -0
- package/40-checker/results/sample60-ci/173787247__dsh-wsl-dns.json +360 -0
- package/40-checker/results/sample60-ci/863683348__dsh-insight.json +375 -0
- package/40-checker/results/sample60-ci/Anionex__dsh-turn-rewind.json +379 -0
- package/40-checker/results/sample60-ci/Ansellwan__DSH-Custom-Wallpaper.json +344 -0
- package/40-checker/results/sample60-ci/Ebony-Vinyl__EAC-Pack.json +362 -0
- package/40-checker/results/sample60-ci/EricWang1358__dsh-web-studyhub.json +378 -0
- package/40-checker/results/sample60-ci/GanyuanRan__Aegis.json +349 -0
- package/40-checker/results/sample60-ci/HiSeax__dsh-codely.json +368 -0
- package/40-checker/results/sample60-ci/Jamailar__beav-deepseek-harness.json +367 -0
- package/40-checker/results/sample60-ci/LiarMTTT__TavernWeave.json +231 -0
- package/40-checker/results/sample60-ci/ManoloRemiddi__DSH-Metafolder-Plugin.json +344 -0
- package/40-checker/results/sample60-ci/MichengAI__dsh-archive-manager.json +395 -0
- package/40-checker/results/sample60-ci/MichengAI__dsh-im-connect.json +404 -0
- package/40-checker/results/sample60-ci/MindLab-Research__dsh-generative-ui.json +410 -0
- package/40-checker/results/sample60-ci/NEAZ71eve__dsh-tool-github.json +392 -0
- package/40-checker/results/sample60-ci/README.md +7 -0
- package/40-checker/results/sample60-ci/RINGOLINK__dsh-desktop-shell.json +361 -0
- package/40-checker/results/sample60-ci/Ruler4396__dsh-launcher.json +231 -0
- package/40-checker/results/sample60-ci/SeanTolstoyevski__dsh-code-review.json +363 -0
- package/40-checker/results/sample60-ci/Tasihi89__dsh-talk-map.json +372 -0
- package/40-checker/results/sample60-ci/Tyan66666__billion-context-dsh.json +469 -0
- package/40-checker/results/sample60-ci/V1ki__dsh-plugin-subscriptions.json +368 -0
- package/40-checker/results/sample60-ci/Yu-tao-Li__dsh-computer-use-win.json +349 -0
- package/40-checker/results/sample60-ci/ZSeven-W__dsh-ios.json +344 -0
- package/40-checker/results/sample60-ci/Zxznb666__dsh-qoder-cn-subagent.json +349 -0
- package/40-checker/results/sample60-ci/agent-mobile__dsh-mobile-gateway.json +384 -0
- package/40-checker/results/sample60-ci/c3cvld7aag__fujiang-dsh.json +361 -0
- package/40-checker/results/sample60-ci/cxzrdxy__dsh-file-explorer.json +399 -0
- package/40-checker/results/sample60-ci/dhicoc__dsh-reverse-skill.json +352 -0
- package/40-checker/results/sample60-ci/fangqiing__dsh-knowledge-lite.json +360 -0
- package/40-checker/results/sample60-ci/fwerkor__local-shell-mcp.json +387 -0
- package/40-checker/results/sample60-ci/fzy0517__deepseek-harness-session-cleaner.json +354 -0
- package/40-checker/results/sample60-ci/gjy1992__dsh-diagram.json +381 -0
- package/40-checker/results/sample60-ci/howmp__dsh-pentest.json +361 -0
- package/40-checker/results/sample60-ci/linhay__harmony-next.skills.json +344 -0
- package/40-checker/results/sample60-ci/liustack__modsearch.json +382 -0
- package/40-checker/results/sample60-ci/mmparko__dsh-purge.json +441 -0
- package/40-checker/results/sample60-ci/mrme000m__dsh-prime-orchestrator.json +452 -0
- package/40-checker/results/sample60-ci/omdsh-dev__dsh_workflow.json +439 -0
- package/40-checker/results/sample60-ci/plastic-labs__honcho.json +231 -0
- package/40-checker/results/sample60-ci/redstonedust__dsh-solidworks-copilot.json +371 -0
- package/40-checker/results/sample60-ci/seriousz158__dsh-memory.json +351 -0
- package/40-checker/results/sample60-ci/shanliuling__dsh-image-gen.json +382 -0
- package/40-checker/results/sample60-ci/shanliuling__skills-link.json +344 -0
- package/40-checker/results/sample60-ci/shengsheng90__DSH-taskboard.json +370 -0
- package/40-checker/results/sample60-ci/sjh9714__dsh-win32.json +410 -0
- package/40-checker/results/sample60-ci/skymecode__deepseek-harness-for-vscode.json +391 -0
- package/40-checker/results/sample60-ci/sopaco__deepwiki-rs.json +231 -0
- package/40-checker/results/sample60-ci/sopaco__terrain.json +352 -0
- package/40-checker/results/sample60-ci/summary.json +555 -0
- package/40-checker/results/sample60-ci/tinqiao-oss__engramory.json +362 -0
- package/40-checker/results/sample60-ci/tong-io__tongflow.json +393 -0
- package/40-checker/results/sample60-ci/vibeinging__dsh-desktop.json +555 -0
- package/40-checker/results/sample60-ci/w2112515__dsh-remote-host.json +399 -0
- package/40-checker/results/sample60-ci/wkfedor__deepseek-harness-voice-input.json +358 -0
- package/40-checker/results/sample60-ci/wz20__dsh-dafeiyu-dot.json +390 -0
- package/40-checker/results/sample60-ci/xfgil__dsh-hot-reloader.json +344 -0
- package/40-checker/results/sample60-ci/yi-yezhiqiu__dsh-prompt-market.json +373 -0
- package/40-checker/results/sample60-ci/yizhiyizhi0128__dsh-peak-scheduler.json +370 -0
- package/40-checker/results/sample60-ci/yjh051108__dsh-routing-suite.json +437 -0
- package/40-checker/results/sample60-ci/zed1902209846-dotcom__DPwhale-plugin.json +231 -0
- package/40-checker/results/triage/REPORT.md +317 -0
- package/40-checker/results/triage/evidence/g2-rejections.txt +63 -0
- package/40-checker/results/triage/evidence/purge-baseline-0.2.1-rc.5.json +51 -0
- package/40-checker/results/triage/evidence/purge-baseline-0.2.2-alpha.2.json +51 -0
- package/40-checker/results/triage/evidence/purge-postinstall.txt +62 -0
- package/40-checker/results/triage/evidence/purge-with-profile-0.2.1-rc.5.json +71 -0
- package/40-checker/results/triage/evidence/purge-with-profile-0.2.2-alpha.2.json +71 -0
- package/40-checker/results/triage/evidence/semver-matrix.json +32 -0
- package/40-checker/results/triage/triage.json +295 -0
- package/40-checker/results/webapp/README.md +10 -0
- package/40-checker/results/webapp/summary.json +46 -0
- package/40-checker/results/webapp/web-auth.json +19 -0
- package/40-checker/results/webruntime/DDDMUC__dsh-free-search/client-export.json +7 -0
- package/40-checker/results/webruntime/DDDMUC__dsh-free-search/installed-package.json +123 -0
- package/40-checker/results/webruntime/DDDMUC__dsh-free-search/probe.json +129 -0
- package/40-checker/results/webruntime/DDDMUC__dsh-free-search/shot.png +0 -0
- package/40-checker/results/webruntime/DDDMUC__dsh-free-search/summary.md +16 -0
- package/40-checker/results/webruntime/Ebony-Vinyl__dsh-our-free-model/client-export.json +7 -0
- package/40-checker/results/webruntime/Ebony-Vinyl__dsh-our-free-model/installed-package.json +76 -0
- package/40-checker/results/webruntime/Ebony-Vinyl__dsh-our-free-model/probe.json +129 -0
- package/40-checker/results/webruntime/Ebony-Vinyl__dsh-our-free-model/shot.png +0 -0
- package/40-checker/results/webruntime/Ebony-Vinyl__dsh-our-free-model/summary.md +16 -0
- package/40-checker/results/webruntime/REPORT.md +253 -0
- package/40-checker/results/webruntime/SeaOf0__dsh-redteam-model/client-export.json +7 -0
- package/40-checker/results/webruntime/SeaOf0__dsh-redteam-model/installed-package.json +97 -0
- package/40-checker/results/webruntime/SeaOf0__dsh-redteam-model/probe.json +129 -0
- package/40-checker/results/webruntime/SeaOf0__dsh-redteam-model/shot.png +0 -0
- package/40-checker/results/webruntime/SeaOf0__dsh-redteam-model/summary.md +16 -0
- package/40-checker/results/webruntime/YuJunZhiXue__dsh-purge/client-export.json +7 -0
- package/40-checker/results/webruntime/YuJunZhiXue__dsh-purge/installed-package.json +98 -0
- package/40-checker/results/webruntime/YuJunZhiXue__dsh-purge/probe.json +136 -0
- package/40-checker/results/webruntime/YuJunZhiXue__dsh-purge/shot.png +0 -0
- package/40-checker/results/webruntime/YuJunZhiXue__dsh-purge/summary.md +16 -0
- package/40-checker/results/webruntime/ci-diet/client-export.json +10 -0
- package/40-checker/results/webruntime/ci-diet/installed-package.json +100 -0
- package/40-checker/results/webruntime/ci-diet/probe.json +129 -0
- package/40-checker/results/webruntime/ci-diet/shot.png +0 -0
- package/40-checker/results/webruntime/ci-diet/summary.md +16 -0
- package/40-checker/results/webruntime/daily-log/client-export.json +10 -0
- package/40-checker/results/webruntime/daily-log/installed-package.json +113 -0
- package/40-checker/results/webruntime/daily-log/probe.json +129 -0
- package/40-checker/results/webruntime/daily-log/shot.png +0 -0
- package/40-checker/results/webruntime/daily-log/summary.md +16 -0
- package/40-checker/results/webruntime/howmp__dsh-pentest/client-export.json +7 -0
- package/40-checker/results/webruntime/howmp__dsh-pentest/installed-package.json +90 -0
- package/40-checker/results/webruntime/howmp__dsh-pentest/probe.json +129 -0
- package/40-checker/results/webruntime/howmp__dsh-pentest/shot.png +0 -0
- package/40-checker/results/webruntime/howmp__dsh-pentest/summary.md +16 -0
- package/40-checker/results/webruntime/kingcharleslzy-ai__dsh-purge/client-export.json +7 -0
- package/40-checker/results/webruntime/kingcharleslzy-ai__dsh-purge/installed-package.json +164 -0
- package/40-checker/results/webruntime/kingcharleslzy-ai__dsh-purge/probe.json +129 -0
- package/40-checker/results/webruntime/kingcharleslzy-ai__dsh-purge/shot.png +0 -0
- package/40-checker/results/webruntime/kingcharleslzy-ai__dsh-purge/summary.md +16 -0
- package/40-checker/results/webruntime/liguobao__ds-harness-remote/client-export.json +7 -0
- package/40-checker/results/webruntime/liguobao__ds-harness-remote/installed-package.json +166 -0
- package/40-checker/results/webruntime/liguobao__ds-harness-remote/probe.json +129 -0
- package/40-checker/results/webruntime/liguobao__ds-harness-remote/shot.png +0 -0
- package/40-checker/results/webruntime/liguobao__ds-harness-remote/summary.md +16 -0
- package/40-checker/results/webruntime/local-pre-ci/README.md +67 -0
- package/40-checker/results/webruntime/local-pre-ci/client-exports.json +158 -0
- package/40-checker/results/webruntime/local-pre-ci/dsh-free-search.probe.json +119 -0
- package/40-checker/results/webruntime/local-pre-ci/dsh-pocket.probe.json +119 -0
- package/40-checker/results/webruntime/local-pre-ci/dsh-redteam-model.probe.json +119 -0
- package/40-checker/results/webruntime/local-pre-ci/qiushi-shell-only.probe.json +104 -0
- package/40-checker/results/webruntime/local-pre-ci/ui-auth-no-login.fail.json +52 -0
- package/40-checker/results/webruntime/local-pre-ci/ui-auth.probe.json +123 -0
- package/40-checker/results/webruntime/mmparko__dsh-purge/client-export.json +7 -0
- package/40-checker/results/webruntime/mmparko__dsh-purge/installed-package.json +95 -0
- package/40-checker/results/webruntime/mmparko__dsh-purge/probe.json +136 -0
- package/40-checker/results/webruntime/mmparko__dsh-purge/shot.png +0 -0
- package/40-checker/results/webruntime/mmparko__dsh-purge/summary.md +16 -0
- package/40-checker/results/webruntime/project-memory/client-export.json +7 -0
- package/40-checker/results/webruntime/project-memory/installed-package.json +118 -0
- package/40-checker/results/webruntime/project-memory/probe.json +129 -0
- package/40-checker/results/webruntime/project-memory/shot.png +0 -0
- package/40-checker/results/webruntime/project-memory/summary.md +16 -0
- package/40-checker/results/webruntime/qiushi/client-export.json +7 -0
- package/40-checker/results/webruntime/qiushi/installed-package.json +84 -0
- package/40-checker/results/webruntime/qiushi/probe.json +114 -0
- package/40-checker/results/webruntime/qiushi/shot.png +0 -0
- package/40-checker/results/webruntime/qiushi/summary.md +16 -0
- package/40-checker/results/webruntime/shaobeichen__dsh-pocket/client-export.json +7 -0
- package/40-checker/results/webruntime/shaobeichen__dsh-pocket/installed-package.json +85 -0
- package/40-checker/results/webruntime/shaobeichen__dsh-pocket/probe.json +129 -0
- package/40-checker/results/webruntime/shaobeichen__dsh-pocket/shot.png +0 -0
- package/40-checker/results/webruntime/shaobeichen__dsh-pocket/summary.md +16 -0
- package/40-checker/results/webruntime/status-rotator/client-export.json +7 -0
- package/40-checker/results/webruntime/status-rotator/installed-package.json +107 -0
- package/40-checker/results/webruntime/status-rotator/probe.json +129 -0
- package/40-checker/results/webruntime/status-rotator/shot.png +0 -0
- package/40-checker/results/webruntime/status-rotator/summary.md +16 -0
- package/40-checker/results/webruntime/summary.json +323 -0
- package/40-checker/results/webruntime/telemetry/probe.json +20 -0
- package/40-checker/results/webruntime/telemetry/summary.md +4 -0
- package/40-checker/results/webruntime/ui-auth/client-export.json +7 -0
- package/40-checker/results/webruntime/ui-auth/installed-package.json +94 -0
- package/40-checker/results/webruntime/ui-auth/probe.json +129 -0
- package/40-checker/results/webruntime/ui-auth/shot.png +0 -0
- package/40-checker/results/webruntime/ui-auth/summary.md +16 -0
- package/40-checker/results/webruntime/verification/probe.json +20 -0
- package/40-checker/results/webruntime/verification/summary.md +4 -0
- package/40-checker/results/webruntime/ysr666__dsh-vision-router/client-export.json +7 -0
- package/40-checker/results/webruntime/ysr666__dsh-vision-router/installed-package.json +142 -0
- package/40-checker/results/webruntime/ysr666__dsh-vision-router/probe.json +129 -0
- package/40-checker/results/webruntime/ysr666__dsh-vision-router/shot.png +0 -0
- package/40-checker/results/webruntime/ysr666__dsh-vision-router/summary.md +16 -0
- package/40-checker/samples/README.md +8 -0
- package/40-checker/samples/entry18.json +139 -0
- package/40-checker/samples/frame.json +485 -0
- package/40-checker/scripts/apply-overlay.mjs +59 -0
- package/40-checker/scripts/attestation-check.mjs +151 -0
- package/40-checker/scripts/bundle-smoke.mjs +126 -0
- package/40-checker/scripts/claim-check.mjs +145 -0
- package/40-checker/scripts/clause-map.mjs +94 -0
- package/40-checker/scripts/collect-fixtures.mjs +44 -0
- package/40-checker/scripts/dashboard.mjs +85 -0
- package/40-checker/scripts/dco-check.mjs +147 -0
- package/40-checker/scripts/dependabot-check.mjs +40 -0
- package/40-checker/scripts/doc-commands-check.mjs +92 -0
- package/40-checker/scripts/entry-scan.mjs +190 -0
- package/40-checker/scripts/entry-validate.mjs +291 -0
- package/40-checker/scripts/entry18-attribution.mjs +66 -0
- package/40-checker/scripts/entry18-ci.mjs +685 -0
- package/40-checker/scripts/entry18-realweb-summary.mjs +71 -0
- package/40-checker/scripts/entry18-web.mjs +307 -0
- package/40-checker/scripts/evidence-chain.mjs +100 -0
- package/40-checker/scripts/flow-index.mjs +82 -0
- package/40-checker/scripts/flow-sample-ci.mjs +529 -0
- package/40-checker/scripts/governance-check.mjs +210 -0
- package/40-checker/scripts/host-farm.mjs +165 -0
- package/40-checker/scripts/journey-config-observe.mjs +109 -0
- package/40-checker/scripts/journey-disclosure-shape.mjs +83 -0
- package/40-checker/scripts/journey-runtime.mjs +178 -0
- package/40-checker/scripts/journey.mjs +76 -0
- package/40-checker/scripts/label-drift.mjs +74 -0
- package/40-checker/scripts/label-sync.mjs +87 -0
- package/40-checker/scripts/label-verify.mjs +90 -0
- package/40-checker/scripts/landlock-exec.c +101 -0
- package/40-checker/scripts/level-audit.mjs +336 -0
- package/40-checker/scripts/m1-sidecar.mjs +126 -0
- package/40-checker/scripts/m2-runner.mjs +213 -0
- package/40-checker/scripts/round-robin.mjs +88 -0
- package/40-checker/scripts/sample-frame.mjs +72 -0
- package/40-checker/scripts/sample20-ci.mjs +25 -0
- package/40-checker/scripts/sample60-ci.mjs +25 -0
- package/40-checker/scripts/stale-check.mjs +59 -0
- package/40-checker/scripts/surveillance.mjs +88 -0
- package/40-checker/scripts/web-probe.mjs +504 -0
- package/40-checker/src/cli.mjs +300 -0
- package/40-checker/src/client-shape.mjs +37 -0
- package/40-checker/src/declarations.mjs +242 -0
- package/40-checker/src/index.mjs +8 -0
- package/40-checker/src/install-spec.mjs +67 -0
- package/40-checker/src/label.mjs +130 -0
- package/40-checker/src/manifest.mjs +364 -0
- package/40-checker/src/permissions.mjs +60 -0
- package/40-checker/src/report.mjs +204 -0
- package/40-checker/src/result.mjs +60 -0
- package/40-checker/src/runtime.mjs +299 -0
- package/40-checker/src/semver.mjs +128 -0
- package/40-checker/src/util.mjs +148 -0
- package/40-checker/test/attestation.test.mjs +59 -0
- package/40-checker/test/checks.test.mjs +172 -0
- package/40-checker/test/claim.test.mjs +28 -0
- package/40-checker/test/client-shape.test.mjs +35 -0
- package/40-checker/test/dco.test.mjs +51 -0
- package/40-checker/test/entry-validate.test.mjs +172 -0
- package/40-checker/test/governance.test.mjs +76 -0
- package/40-checker/test/label.test.mjs +97 -0
- package/40-checker/test/level-audit.test.mjs +99 -0
- package/40-checker/test/levels.test.mjs +31 -0
- package/40-checker/test/ops.test.mjs +117 -0
- package/40-checker/test/permissions.test.mjs +40 -0
- package/40-checker/test/semver.test.mjs +32 -0
- package/40-checker/test/verify.test.mjs +57 -0
- package/LICENSE +28 -0
- package/LICENSE-APACHE +190 -0
- package/LICENSE-CC-BY +23 -0
- package/NOTICE.md +11 -0
- package/README.md +146 -3
- package/bin/dsh-levels.mjs +4 -0
- package/bin/dsh-standards.mjs +18 -0
- package/docs/BOOST-FIXTURES-2026-11-02.md +38 -0
- package/docs/DEVELOPER-JOURNEY.md +40 -0
- package/docs/HOST-J3-BUG-REPORT-DRAFT.md +27 -0
- package/docs/HOST-J3-CONFIG-REPRO-2026-11-02.md +36 -0
- package/docs/NAMING-FALLBACK.md +11 -0
- package/docs/fork-policy.md +12 -0
- package/docs/full-test-plan-2026-11-02.md +207 -0
- package/docs/incident.md +37 -0
- package/docs/onboarding.md +27 -0
- package/docs/privacy.md +12 -0
- package/docs/release.md +16 -0
- package/docs/scope-security.md +62 -0
- package/docs/status-taxonomy.md +54 -0
- package/docs/sunset.md +44 -0
- package/docs/translating.md +12 -0
- package/package.json +49 -12
- package/spec/README.md +27 -0
- package/spec/boost/README.md +8 -0
- package/spec/clauses.json +253 -0
- package/spec/entry/README.md +9 -0
- package/spec/flow/README.md +8 -0
- package/spec/levels.json +371 -0
- package/spec/levels.schema.json +45 -0
- package/spec/reference-suite.json +35 -0
- package/spec/schemas/attestation.schema.json +284 -0
- package/spec/schemas/evidence.schema.json +331 -0
- package/spec/schemas/report.schema.json +64 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
name: plugin-verify
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
pull_request:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
jobs:
|
|
7
|
+
l0:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/setup-node@v4
|
|
12
|
+
with:
|
|
13
|
+
node-version: 22
|
|
14
|
+
- name: unit tests
|
|
15
|
+
run: node --test
|
|
16
|
+
- name: good fixture (static-only M1; expect 0)
|
|
17
|
+
run: |
|
|
18
|
+
node bin/dsh-plugin-verify.mjs fixtures/good \
|
|
19
|
+
--static-only \
|
|
20
|
+
--market-index fixtures/market-index.json \
|
|
21
|
+
--plugin-name @dsh-fixtures/good-plugin \
|
|
22
|
+
--format json --out /tmp/good.json
|
|
23
|
+
- name: bad fixture (expect 1; 0 would be a false green)
|
|
24
|
+
run: |
|
|
25
|
+
set +e
|
|
26
|
+
node bin/dsh-plugin-verify.mjs fixtures/bad --format json --out /tmp/bad.json
|
|
27
|
+
code=$?
|
|
28
|
+
test "$code" -eq 1
|
|
29
|
+
- name: SARIF smoke
|
|
30
|
+
run: |
|
|
31
|
+
node bin/dsh-plugin-verify.mjs fixtures/good \
|
|
32
|
+
--static-only \
|
|
33
|
+
--market-index fixtures/market-index.json \
|
|
34
|
+
--plugin-name @dsh-fixtures/good-plugin \
|
|
35
|
+
--format sarif --out /tmp/good.sarif
|
|
36
|
+
- uses: actions/upload-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: reports
|
|
39
|
+
path: |
|
|
40
|
+
/tmp/good.json
|
|
41
|
+
/tmp/bad.json
|
|
42
|
+
/tmp/good.sarif
|
|
43
|
+
|
|
44
|
+
l1-manual:
|
|
45
|
+
if: github.event_name == 'workflow_dispatch'
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
- uses: actions/setup-node@v4
|
|
50
|
+
with:
|
|
51
|
+
node-version: 22
|
|
52
|
+
- name: build host farm (requires a DSH checkout at DSH_HOST)
|
|
53
|
+
env:
|
|
54
|
+
DSH_HOST: ${{ vars.DSH_HOST }}
|
|
55
|
+
run: |
|
|
56
|
+
test -n "$DSH_HOST"
|
|
57
|
+
node scripts/host-farm.mjs --plugin fixtures/bundle --farm /tmp/farm --link --quiet
|
|
58
|
+
- name: L1 on bundle fixture
|
|
59
|
+
env:
|
|
60
|
+
DSH_HOST: ${{ vars.DSH_HOST }}
|
|
61
|
+
run: |
|
|
62
|
+
node bin/dsh-plugin-verify.mjs /tmp/farm/plugins/bundle \
|
|
63
|
+
--treat-as-plugin \
|
|
64
|
+
--runtime "$DSH_HOST/vendor/cordis/lib/index.js" \
|
|
65
|
+
--runtime-version 0.2.2-alpha.2 \
|
|
66
|
+
--format json --out /tmp/l1.json
|
|
67
|
+
- uses: actions/upload-artifact@v4
|
|
68
|
+
with:
|
|
69
|
+
name: l1-report
|
|
70
|
+
path: /tmp/l1.json
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# 40 · DS-C 一致性检查器(MVP)
|
|
2
|
+
|
|
3
|
+
> 版本:0.1.0 | 日期:2026-10-31 | 标准:DS-C v1.0.0 | 许可:Apache-2.0
|
|
4
|
+
> 零依赖,Node ≥ 20。只读目标包;不修改被检对象。
|
|
5
|
+
>
|
|
6
|
+
> **未发布到 npm。** npm 上的 `dsh-plugin-verify` 是另一个项目;`dsh-levels` 也是第三方包。请从本仓运行 `node bin/...`,不要 `npx dsh-plugin-verify` / `npx dsh-levels`。
|
|
7
|
+
|
|
8
|
+
## 1. 它做什么
|
|
9
|
+
|
|
10
|
+
对**一个插件包目录**跑 DS-C 的检查项,输出 `text` / `json` / `SARIF 2.1.0`,exit `0/1/2/3`。
|
|
11
|
+
|
|
12
|
+
- 覆盖 `DSC-01`~`DSC-13`(对应 31 §2 的 C-1~C-13)。
|
|
13
|
+
- `--scope mvp` 只跑 E 路 MVP 13 项落到的 8 个检查 ID:`DSC-01/02/04/05/06/07/08/09`。
|
|
14
|
+
- `--scope ds-c`(默认)按 `package` / `listing` profile 判定;缺项输出 `incomplete`,**不会**"跳过即通过"。
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
node bin/dsh-plugin-verify.mjs /path/to/plugin
|
|
18
|
+
node bin/dsh-plugin-verify.mjs /path/to/plugin --format json --out report.json
|
|
19
|
+
node bin/dsh-plugin-verify.mjs /path/to/plugin --format sarif --out report.sarif
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2. 检查项
|
|
23
|
+
|
|
24
|
+
| ID | 条款 | 层 | 说明 |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
| `DSC-01` | C-1 | L0 | manifest / name / version / license / 入口 / `dsh.bundle.patch` / 导出形态 |
|
|
27
|
+
| `DSC-02` | C-2 | L0 | `engines.dsh` 或 `@deepseek-ai/dsh*` peer,被 runtime 满足 |
|
|
28
|
+
| `DSC-03` | C-3 | L0 | install spec / 市场索引条目 / 供应链固定性 |
|
|
29
|
+
| `DSC-04` | C-4 | L1 | 装载到 ACTIVE |
|
|
30
|
+
| `DSC-05` | C-5 | L1 | 声明的 `provide` 真实注册 |
|
|
31
|
+
| `DSC-06` | C-6 | L1+L2 | effect 拓扑 / 私有注册面 |
|
|
32
|
+
| `DSC-07` | C-7 | L2 | 卸载后 effect/store/registry 归零 |
|
|
33
|
+
| `DSC-08` | C-8 | L3 | restart 幂等 + 冷重装 |
|
|
34
|
+
| `DSC-09` | C-9 | L1 | 声明 vs 实测交叉 |
|
|
35
|
+
| `DSC-10` | C-10 | L0 | import 期副作用(**advisory,不 FAIL**) |
|
|
36
|
+
| `DSC-11` | C-11 | L0 | `dsh.capabilities` + 高信号触发 |
|
|
37
|
+
| `DSC-12` | C-12 | L0 | 凭据 backing file / `listRecords` / 全局 seam;并读取 `dsh.commitments`/`dsh.disclosure` 的形状 |
|
|
38
|
+
| `DSC-13` | C-13 | L0 | `dsh.labels` / `upstream` / 禁用语标签 |
|
|
39
|
+
|
|
40
|
+
**MVP 覆盖缺口**:E 路的 13 个检查项只落到 8 个 ID;`DSC-03/10/11/12/13` 不在 MVP。`--scope mvp` 的结论是 `subset: "MVP-13"`、`level: null`,**不得**当 DS-C 徽章。
|
|
41
|
+
|
|
42
|
+
## 3. 两种 profile(对齐 31 §1.3)
|
|
43
|
+
|
|
44
|
+
| profile | 强制条款 | C-3 |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `package`(默认) | 11 条(不含 C-3) | NA |
|
|
47
|
+
| `listing` | 12 条(含 C-3) | 需要 `--market-index` + `--plugin-name` |
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# package:作者本地
|
|
51
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin
|
|
52
|
+
|
|
53
|
+
# listing:市场门禁
|
|
54
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin \
|
|
55
|
+
--profile listing \
|
|
56
|
+
--market-index ./market.json \
|
|
57
|
+
--plugin-name @acme/dsh-greet
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`NA` 是显式不适用(例如 bundle 的 C-4~C-9);`not-run` 是该跑没跑。二者都**不是** PASS。
|
|
61
|
+
|
|
62
|
+
### M1 的 `--static-only`
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin \
|
|
66
|
+
--static-only \
|
|
67
|
+
--market-index ./market.json --plugin-name @acme/dsh-greet
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
- 只判 `DSC-01/02/03/11/12/13`;C-4~C-9 显式映射为 `NA/out-of-scope`。
|
|
71
|
+
- 结论是 `DS-C static` / `DS-C static (warnings)`;**不是**完整 `DS-C`。
|
|
72
|
+
- 这是 T3 的 M1 通道;M2 通过后才可标 `DS-C verified`。
|
|
73
|
+
|
|
74
|
+
### bundle 的 `--treat-as-plugin`
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
node bin/dsh-plugin-verify.mjs ./my-bundle \
|
|
78
|
+
--treat-as-plugin \
|
|
79
|
+
--runtime /path/to/cordis/lib/index.js
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- 对 `dsh.bundle.patch` 包,按 `lib/index.js` / `index.js` / `lib/public-entry.js` / `src/index.ts` 选 server entry,跑 L1–L3。
|
|
83
|
+
- 入口缺失相对文件 → FAIL;缺一个**裸包**(如 `ajv`、`@deepseek-ai/schemastery`)→ `ERROR/not-run`,因为检查器分不清是宿主农场缺依赖还是插件漏依赖。
|
|
84
|
+
- 真实 bundle 的 L1 需要隔离 host farm;没有它,报告只能是 `incomplete`,不是 PASS。
|
|
85
|
+
|
|
86
|
+
### 入门 `--scope entry`(DSH-ENTRY)
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# 只做结构识别:recognized(不声明运行)
|
|
90
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin --scope entry --entry-claim static
|
|
91
|
+
|
|
92
|
+
# plugin:必须 L1 真跑,才算 runtime
|
|
93
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin --scope entry \
|
|
94
|
+
--runtime /path/to/cordis/lib/index.js --runtime-version 0.2.2-alpha.2
|
|
95
|
+
|
|
96
|
+
# bundle:默认 require,有 --host 时跑 G0–G3(无 host 则 incomplete)
|
|
97
|
+
node bin/dsh-plugin-verify.mjs ./my-bundle --scope entry --host /path/to/app-boot/lib/index.js
|
|
98
|
+
|
|
99
|
+
# 兼容旧数据:只跑 server entry,明确标 proxy,不冒充 bundle
|
|
100
|
+
node bin/dsh-plugin-verify.mjs ./my-bundle --scope entry \
|
|
101
|
+
--entry-runtime server-entry --treat-as-plugin \
|
|
102
|
+
--runtime /path/to/cordis/lib/index.js --runtime-version 0.2.2-alpha.2
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
- `interop-static` 只表示可识别/可安装,不是通过;只有 `interop-runtime` 才是通过。
|
|
106
|
+
- `DSC-14` 是 run evidence;plugin 用 L1,bundle 用 G0–G3(`--host`),G4 client 只做静态。
|
|
107
|
+
- `--entry-runtime server-entry` 只给 `DSH-ENTRY runtime (server-entry)`,**不是 bundle pass**。
|
|
108
|
+
- C-2.2/C-2.3 在 entry 是 blocking;C-2.1 只 WARN。
|
|
109
|
+
|
|
110
|
+
### 三层自检 `level-audit.mjs`
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
# 只做 ENTRY 静态;FLOW/BOOST 明确 not-run/not-measured
|
|
114
|
+
node scripts/level-audit.mjs ./my-plugin
|
|
115
|
+
|
|
116
|
+
# ENTRY 真跑 + 可选的 FLOW/BOOST 证据
|
|
117
|
+
node scripts/level-audit.mjs ./my-bundle \
|
|
118
|
+
--host /path/to/app-boot/lib/index.js \
|
|
119
|
+
--base /path/to/dsh-base/cordis.patch.yml --bare /tmp/farm \
|
|
120
|
+
--flow-evidence flow.json --boost-evidence boost.json --format json
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
- 机器源:`spec/levels.json`;标签格式:`publish/level-labels.example.json`。
|
|
124
|
+
- ENTRY 自动;FLOW 只读 `--flow-evidence`(J1–J8),BOOST 只读 `--boost-evidence`(LEV-1–8)。
|
|
125
|
+
- 没有证据就写 `not-run` / `not-measured`,工具不会替作者升级。
|
|
126
|
+
|
|
127
|
+
## 4. 运行 L1–L3
|
|
128
|
+
|
|
129
|
+
需要一个**已构建**的 `@deepseek-ai/cordis` 入口。检查器不修改宿主,也不从源码构建宿主:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
node bin/dsh-plugin-verify.mjs ./my-plugin \
|
|
133
|
+
--runtime /path/to/deepseek-harness/vendor/cordis/lib/index.js \
|
|
134
|
+
--runtime-version 0.2.2-alpha.2 \
|
|
135
|
+
--cordis-version 4.0.6-alpha.1
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
- 只对 `kind: plugin` 跑;`bundle`/`client` 默认输出 NA。`--treat-as-plugin` 可对 bundle 的 server entry 跑(见下)。
|
|
139
|
+
- 缺失宿主包 / 夹具桩不完整 → `ERROR` + `not-run`,**不 FAIL**。
|
|
140
|
+
- 插件可能留下 timer/子进程;CLI 写完报告后强制退出(250 ms),不靠事件循环自然结束。
|
|
141
|
+
- 运行时用隔离的临时 `DSH_HOME`/子进程是 T2 的下一阶段;当前 MVP 在检查器进程内跑,**只用于可执行样本**。
|
|
142
|
+
|
|
143
|
+
## 5. 三值 / exit / 覆盖度
|
|
144
|
+
|
|
145
|
+
| 结果 | 含义 |
|
|
146
|
+
|---|---|
|
|
147
|
+
| `PASS` | 有证据满足 |
|
|
148
|
+
| `WARN` | 部分满足 / 替代声明 / 证据不足;不阻断,但不等于 PASS |
|
|
149
|
+
| `FAIL` | 有明确反例;exit 1 |
|
|
150
|
+
| `NA` | 形态/上下文不适用;不是 PASS |
|
|
151
|
+
| `ERROR` | 检查器失效或该跑没跑;exit 2 |
|
|
152
|
+
|
|
153
|
+
| exit | 含义 |
|
|
154
|
+
|---|---|
|
|
155
|
+
| 0 | 完成,无 FAIL(可能 WARN;`level` 带 `warnings`) |
|
|
156
|
+
| 1 | 完成,有 FAIL |
|
|
157
|
+
| 2 | incomplete:强制项 not-run/ERROR,或检查器内部失败 |
|
|
158
|
+
| 3 | 用法错误 |
|
|
159
|
+
|
|
160
|
+
**结论门**:`--scope ds-c` 只有在 profile 对应的强制项全部 `coverage: full`(允许显式 NA)时才给 `level`;否则 `status: incomplete`、exit 2。WARN 仍给 `level`,但写 `DS-C (profile, warnings)`,不冒充干净通过。
|
|
161
|
+
|
|
162
|
+
## 6. 已知限制
|
|
163
|
+
|
|
164
|
+
1. **C-3 只在 listing 模式可判**;package 模式是 NA,仅附供应链 advisory 证据。
|
|
165
|
+
2. **L1–L3 已覆盖 13/14 个真实包**:4 个 npm bundle + 9/10 GitHub 源码样本 C-4/C-7 PASS;仅 `dsh-vision-router` 构建后仍缺 `lib/session-affinity.js` FAIL。host farm 用 `scripts/host-farm.mjs` 搭建,仍是临时目录。
|
|
166
|
+
3. **C-8.2 的 revision/epoch 在 Cordis 4.0.5 构建里不可观测**,因此 good fixture 的 C-8 是 WARN;4.0.6 源码有 `_revision`,换运行时后应变 PASS。
|
|
167
|
+
4. **C-13 只判声明一致性**;没有 `dsh.capabilities` 的插件无法被分类,高风险样本需要人工/市场复核(见 41)。
|
|
168
|
+
5. **C-10 是 advisory**,不产生 FAIL;危险 AST/句柄泄漏仍不进强制级。
|
|
169
|
+
6. `dsh.commitments`/`dsh.disclosure` 缺失只记 NA/WARN;C-12 不会因“没写承诺”而 FAIL。
|
|
170
|
+
6. 目标只支持**目录**;tarball/npm 包解包是 T2 下一阶段。
|
|
171
|
+
7. 未实现 L4 冒烟、GitHub Action、M1/M2 双通道;这些分别在 T2 phase 2 / T3。
|
|
172
|
+
|
|
173
|
+
## 7. 开发与测试
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
cd 40-checker
|
|
177
|
+
node --test
|
|
178
|
+
node bin/dsh-plugin-verify.mjs fixtures/good --format text
|
|
179
|
+
node bin/dsh-plugin-verify.mjs fixtures/bad --format text
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
目录:
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
bin/dsh-plugin-verify.mjs CLI 入口
|
|
186
|
+
src/cli.mjs 参数、编排、exit
|
|
187
|
+
src/manifest.mjs DSC-01/02/03
|
|
188
|
+
src/declarations.mjs DSC-10/11/12/13
|
|
189
|
+
src/runtime.mjs DSC-04..09
|
|
190
|
+
scripts/host-farm.mjs 临时 host farm(符号链接依赖 + npm install/build)
|
|
191
|
+
scripts/m1-sidecar.mjs format-1 索引 → levels.json(index-only + pilot 合并)
|
|
192
|
+
scripts/m2-runner.mjs M2:临时 HOME/DSH_HOME、超时杀进程树、unshare/landlock
|
|
193
|
+
scripts/doc-commands-check.mjs 文档命令/模板一致性(防第三方 npx)
|
|
194
|
+
scripts/dependabot-check.mjs no-Dependabot 策略检查
|
|
195
|
+
scripts/entry18-web.mjs 真实 web profile 的 ENTRY row 检查(runProfile)
|
|
196
|
+
scripts/entry18-realweb-summary.mjs realweb rows → summary.json(含行哈希)
|
|
197
|
+
scripts/landlock-exec.c Landlock fs 写限制 launcher(C,按需编译)
|
|
198
|
+
scripts/apply-overlay.mjs 把 T5 overlay 应用到包副本(不碰上游)
|
|
199
|
+
src/report.mjs text/json/SARIF + 结论门
|
|
200
|
+
src/semver.mjs 子集 SemVer
|
|
201
|
+
src/install-spec.mjs parseInstallSpec 的子集
|
|
202
|
+
fixtures/ good/bad/bundle/hang/fs-write/market-index
|
|
203
|
+
results/ 样本与 fixtures 的实际输出
|
|
204
|
+
test/ node:test
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## 8. M1 sidecar
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
node scripts/m1-sidecar.mjs \
|
|
211
|
+
--index /tmp/dsh-catalog/index.json \
|
|
212
|
+
--pilot results/m1 \
|
|
213
|
+
--out results/m1/levels.json
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
- `index-only`:只校验索引字段,不下包、不执行,`level: null`;**不是** DS-C level。
|
|
217
|
+
- `static-only` / `static-only-warn` / `failed`:8 个 pilot 的包级结论。
|
|
218
|
+
- 全量 3,993 条生成一次约 1 秒;不含插件代码、会话数据、凭据。
|
|
219
|
+
|
|
220
|
+
## 9. M2 runner(process / unshare / Landlock)
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
node scripts/m2-runner.mjs \
|
|
224
|
+
--package /tmp/dsh-host/plugins/ci-diet \
|
|
225
|
+
--modules /tmp/dsh-host/node_modules \
|
|
226
|
+
--runtime /path/to/cordis/lib/index.js \
|
|
227
|
+
--backend unshare-landlock \
|
|
228
|
+
--timeout 60000 \
|
|
229
|
+
--out results/m2/ci-diet.unshare-landlock.json
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
- 临时 `HOME`/`DSH_HOME`/`TMPDIR`;复制包;detached 子进程;超时杀进程树。
|
|
233
|
+
- 映射:checker `pass`→`verified`、`warn`→`verified-warn`、`fail`→`failed`、`incomplete`→`inconclusive`。
|
|
234
|
+
- `--backend process`:`containment: none`;`--backend unshare`:`unshare -Urn --fork --pid --mount-proc`,`containment: network-namespace+process`。
|
|
235
|
+
- `--backend landlock`:Landlock ABI 3,拒绝 HOME/TMP/cwd 之外的写;`unshare-landlock` 再叠 network/PID。
|
|
236
|
+
- `--image ref@sha256:<64hex>` 只做格式校验并记录 `sandbox.image`(`verified:false`);本机没有 Docker 后端。
|
|
237
|
+
- **仍不是完整安全沙箱**:读权限仍打开,无 seccomp/cgroup/只读 root;OCI 容器是下一阶段。
|
|
238
|
+
- 实测:`dsh-ci-diet`/`dsh-project-memory` → `verified-warn`;`dsh-status-rotator`/`dsh-ui-auth` → `failed`(仅 C-2);`fixtures/hang` → `inconclusive`(3s kill);`fixtures/fs-write` 写 `<home>/...` → EACCES,文件未生成。
|
|
239
|
+
|
|
240
|
+
## 10. CI
|
|
241
|
+
|
|
242
|
+
`.github/workflows/plugin-verify.yml` 是模板:
|
|
243
|
+
|
|
244
|
+
- push/PR 只跑 L0(`node --test` + good/bad fixture + SARIF);
|
|
245
|
+
- `workflow_dispatch` 手工跑 L1(需要仓库变量 `DSH_HOST` 指向一个 DSH checkout)。
|
|
246
|
+
|
|
247
|
+
## 11. 下一步(T2 phase 2)
|
|
248
|
+
|
|
249
|
+
1. `--scope entry` + `DSC-14` + `bundle-smoke.mjs`(G0–G3)已接进 `entry18-runtime` CI;G4 client root 是组合静态,client 运行时由 `web-runtime` 的真实浏览器 probe 提供。
|
|
250
|
+
2. 18 包 base-only 真实基线:`results/entry/18/fullbase/`,10/18 G3 `verified`、8 `partial`、0 `error`;host gate 后 8 clean `verified` + 2 `reject` + 8 `partial`(`92` §七)。web profile 的 4 个 web-app 看 `results/webruntime/`。
|
|
251
|
+
3. M2 OCI 化、LEV-6/证据卡、三份开发建议。
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* dsh-levels — one entry point for the three-level audit.
|
|
4
|
+
* It forwards to level-audit.mjs so there is a single documented command.
|
|
5
|
+
*/
|
|
6
|
+
import path from 'node:path'
|
|
7
|
+
import { spawnSync } from 'node:child_process'
|
|
8
|
+
import { fileURLToPath } from 'node:url'
|
|
9
|
+
|
|
10
|
+
const HERE = path.dirname(fileURLToPath(import.meta.url))
|
|
11
|
+
const AUDIT = path.resolve(HERE, '..', 'scripts', 'level-audit.mjs')
|
|
12
|
+
const args = process.argv.slice(2)
|
|
13
|
+
if (args[0] === 'audit') args.shift()
|
|
14
|
+
const run = spawnSync(process.execPath, [AUDIT, ...args], { stdio: 'inherit' })
|
|
15
|
+
process.exitCode = run.status ?? 1
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { main } from '../src/cli.mjs'
|
|
3
|
+
|
|
4
|
+
const code = await main()
|
|
5
|
+
process.exitCode = code
|
|
6
|
+
// A plugin under L1 may leave timers, sockets, or child processes behind.
|
|
7
|
+
// The report is already written; do not let those handles keep the checker alive.
|
|
8
|
+
setTimeout(() => process.exit(code), 250)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Intentionally bad fixture: top-level side effect (C-10 advisory),
|
|
2
|
+
// a declared provide that never registers (C-5), a throwing apply (C-4),
|
|
3
|
+
// and a forbidden endorsement label (C-13.4).
|
|
4
|
+
setInterval(() => {}, 1000)
|
|
5
|
+
|
|
6
|
+
export const name = 'fixture-bad'
|
|
7
|
+
export const inject = ['tools']
|
|
8
|
+
export const provide = ['missing']
|
|
9
|
+
|
|
10
|
+
export function apply() {
|
|
11
|
+
throw new Error('fixture-bad: apply always throws')
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/bad-plugin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./index.mjs",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./index.mjs"
|
|
8
|
+
},
|
|
9
|
+
"dsh": {
|
|
10
|
+
"manifestVersion": 1,
|
|
11
|
+
"kind": "plugin",
|
|
12
|
+
"capabilities": ["network:ingress"],
|
|
13
|
+
"labels": ["official"]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function apply() {}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/bundle-with-server",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./server.mjs",
|
|
7
|
+
"exports": { ".": "./server.mjs" },
|
|
8
|
+
"engines": { "dsh": ">=0.2.2-alpha.2 <0.3.0" },
|
|
9
|
+
"dsh": {
|
|
10
|
+
"manifestVersion": 1,
|
|
11
|
+
"bundle": { "patch": "./cordis.patch.yml" },
|
|
12
|
+
"capabilities": [],
|
|
13
|
+
"labels": []
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/bundle-with-server",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./server.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./server.mjs"
|
|
9
|
+
},
|
|
10
|
+
"engines": {
|
|
11
|
+
"dsh": ">=0.2.2-alpha.2 <0.3.0"
|
|
12
|
+
},
|
|
13
|
+
"dsh": {
|
|
14
|
+
"manifestVersion": 1,
|
|
15
|
+
"bundle": {
|
|
16
|
+
"patch": "./cordis.patch.yml"
|
|
17
|
+
},
|
|
18
|
+
"capabilities": [],
|
|
19
|
+
"labels": []
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function apply() {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function apply() {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const name = 'flow-config'
|
|
2
|
+
|
|
3
|
+
export function apply(ctx, config = {}) {
|
|
4
|
+
if (config.port !== undefined && typeof config.port !== 'number') {
|
|
5
|
+
throw new Error('config.port must be a number; got ' + JSON.stringify(config.port))
|
|
6
|
+
}
|
|
7
|
+
console.log(`flow-config@1.0.0 started (port=${config.port ?? 'default'})`)
|
|
8
|
+
ctx.effect(() => () => {}, 'flow-config.effect')
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/fs-write",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.mjs",
|
|
7
|
+
"exports": { ".": "./index.mjs" },
|
|
8
|
+
"engines": { "dsh": ">=0.2.2-alpha.2 <0.3.0" },
|
|
9
|
+
"dsh": { "manifestVersion": 1, "kind": "plugin", "capabilities": [], "labels": [] }
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const name = 'fixture-good'
|
|
2
|
+
export const inject = ['sessions']
|
|
3
|
+
export const provide = ['good']
|
|
4
|
+
|
|
5
|
+
export function apply(ctx) {
|
|
6
|
+
// Touch the declared capability so C-11's static trigger fires.
|
|
7
|
+
const sessions = ctx.sessions
|
|
8
|
+
ctx.provide('good', { hello: () => 'hi', hasSessions: Boolean(sessions) })
|
|
9
|
+
ctx.effect(() => () => {}, 'fixture.good.effect')
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/good-plugin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.mjs"
|
|
9
|
+
},
|
|
10
|
+
"engines": {
|
|
11
|
+
"dsh": ">=0.2.2-alpha.2 <0.3.0"
|
|
12
|
+
},
|
|
13
|
+
"dsh": {
|
|
14
|
+
"manifestVersion": 1,
|
|
15
|
+
"kind": "plugin",
|
|
16
|
+
"capabilities": ["sessions:read"],
|
|
17
|
+
"labels": []
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-fixtures/hang",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.mjs",
|
|
7
|
+
"exports": { ".": "./index.mjs" },
|
|
8
|
+
"engines": { "dsh": ">=0.2.2-alpha.2 <0.3.0" },
|
|
9
|
+
"dsh": { "manifestVersion": 1, "kind": "plugin", "capabilities": [], "labels": [] }
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"good": {
|
|
3
|
+
"expected": "pass",
|
|
4
|
+
"control": "positive",
|
|
5
|
+
"note": "entry static passes"
|
|
6
|
+
},
|
|
7
|
+
"bad-manifest": {
|
|
8
|
+
"expected": "fail",
|
|
9
|
+
"control": "negative",
|
|
10
|
+
"note": "invalid name/version must fail"
|
|
11
|
+
},
|
|
12
|
+
"skipped": {
|
|
13
|
+
"expected": "not-run",
|
|
14
|
+
"control": "not-run",
|
|
15
|
+
"note": "must not be treated as PASS",
|
|
16
|
+
"ignored": true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"title": "Synthetic listing fixture over a real package (not a real market)",
|
|
4
|
+
"plugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "dsh-vision-router",
|
|
7
|
+
"title": "dsh-vision-router",
|
|
8
|
+
"versions": [
|
|
9
|
+
{
|
|
10
|
+
"version": "3.1.0",
|
|
11
|
+
"publishTimestamp": 1760000000,
|
|
12
|
+
"source": { "type": "npm" },
|
|
13
|
+
"engines": { "dsh": ">=0.1.5-rc.1 <0.2.0-0 || >=0.2.0-rc.2 <0.3.0-0" }
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"title": "DS-C fixture market",
|
|
4
|
+
"plugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "@dsh-fixtures/good-plugin",
|
|
7
|
+
"title": "Good fixture",
|
|
8
|
+
"versions": [
|
|
9
|
+
{
|
|
10
|
+
"version": "1.0.0",
|
|
11
|
+
"publishTimestamp": 1760000000,
|
|
12
|
+
"source": { "type": "npm" },
|
|
13
|
+
"engines": { "dsh": ">=0.2.2-alpha.2 <0.3.0" }
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@dsh-fixtures/neg-bad-entry","version":"1.0.0","license":"MIT","main":"./missing.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@dsh-fixtures/neg-no-entry","version":"1.0.0","license":"MIT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@dsh-fixtures/neg-no-patch","version":"1.0.0","license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@dsh-fixtures/neg-root-missing","version":"1.0.0","license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@dsh-fixtures/neg-workspace","version":"1.0.0","license":"MIT","engines":{"dsh":"workspace:*"}}
|