From e6768cff2ad7e38297b79c7d5619737cddd4c295 Mon Sep 17 00:00:00 2001 From: Marqdo Extension Fixtures Date: Sun, 22 Nov 2026 00:46:26 +0800 Subject: [PATCH] evidence: record frozen-release conformance run (linux x86_64) --- evidence/README.md | 13 ++ evidence/results-linux-x86_64.json | 261 +++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+) create mode 100644 evidence/README.md create mode 100644 evidence/results-linux-x86_64.json diff --git a/evidence/README.md b/evidence/README.md new file mode 100644 index 0000000..90ded84 --- /dev/null +++ b/evidence/README.md @@ -0,0 +1,13 @@ +# Evidence + +`results-linux-x86_64.json` is generated by `tests/run_all.py` against a frozen +release CLI and records: + +* the fixture repository SHA and CLI binary SHA-256, +* OS/arch, +* per-category PASS/FAIL/UNSUPPORTED, +* per-case commands (workspace-normalised) and structured `error[code]` values. + +It is a repository-side record; the authoritative release evidence manifest is +generated by the CLI repository's `tools/ci/verify_extension_contracts.py` from +this run. Never hand-edit PASS values. diff --git a/evidence/results-linux-x86_64.json b/evidence/results-linux-x86_64.json new file mode 100644 index 0000000..bc5bdcc --- /dev/null +++ b/evidence/results-linux-x86_64.json @@ -0,0 +1,261 @@ +{ + "schema": "marqdo.ext-fixture-results", + "schema_version": 1, + "tool_sha": "b729afc5b19ef4f49801752372ce1d24b4543089", + "cli_binary_sha256": "28e3776dd3d0ee9134323dd449edb9a7b5d2d8a5e6d3225845f54fc818397c74", + "os": "linux", + "arch": "x86_64", + "results": { + "callable_registry": "PASS", + "plugin_worker": "PASS", + "foreign_kernel": "PASS", + "resource_provider_cli": "PASS", + "package_pinned_git": "PASS", + "tool_analysis_consumer": "PASS", + "negative_security": "PASS" + }, + "cases": [ + { + "category": "plugin_worker", + "name": "plugin check is static and succeeds", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo check /marqdo-extension-conformance/plugin/demo.mq.md --plugin /marqdo-extension-conformance/plugin/build" + ], + "error_codes": [] + }, + { + "category": "plugin_worker", + "name": "worker plugin executes three exports", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/plugin/demo.mq.md --plugin /marqdo-extension-conformance/plugin/build --allow-plugin demo.ext" + ], + "error_codes": [] + }, + { + "category": "callable_registry", + "name": "missing plugin export is symbol.unknown", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/plugin/negative-missing-export.mq.md --plugin /marqdo-extension-conformance/plugin/build --allow-plugin demo.ext" + ], + "error_codes": [ + "symbol.unknown" + ] + }, + { + "category": "callable_registry", + "name": "bad plugin args fail statically", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo check /marqdo-extension-conformance/plugin/negative-bad-args.mq.md --plugin /marqdo-extension-conformance/plugin/build" + ], + "error_codes": [ + "call.arity" + ] + }, + { + "category": "negative_security", + "name": "plugin without grant is permission.denied", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/plugin/demo.mq.md --plugin /marqdo-extension-conformance/plugin/build" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "tampered plugin artifact fails before main", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/plugin/demo.mq.md --plugin /tmp/ext-plugin-tamper-8r8w879d --allow-plugin demo.ext" + ], + "error_codes": [ + "ext.artifact_integrity" + ] + }, + { + "category": "negative_security", + "name": "check does not require the plugin artifact to exist", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo check /marqdo-extension-conformance/plugin/demo.mq.md --plugin /tmp/ext-plugin-missing-5i50ux6a" + ], + "error_codes": [] + }, + { + "category": "foreign_kernel", + "name": "unknown language mocklang executes", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/kernel/demo.mq.md --kernel /marqdo-extension-conformance/kernel/build/kernel.json --allow-foreign" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "foreign kernel without grant is denied", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/kernel/demo.mq.md --kernel /marqdo-extension-conformance/kernel/build/kernel.json" + ], + "error_codes": [] + }, + { + "category": "resource_provider_cli", + "name": "provider v2 reads five bytes through the CLI", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --provider /marqdo-extension-conformance/provider/build/provider.json --allow-provider demo.sensor --json" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "provider without grant is denied", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --provider /marqdo-extension-conformance/provider/build/provider.json" + ], + "error_codes": [ + "permission.denied" + ] + }, + { + "category": "negative_security", + "name": "provider v1 schema is rejected without migration", + "status": "PASS", + "detail": "exit 2", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --provider /tmp/ext-provider-v1-cfp4d3sb/provider.json --allow-provider demo.sensor" + ], + "error_codes": [ + "ext.unsupported_provider_schema" + ] + }, + { + "category": "negative_security", + "name": "provider artifact digest tamper is rejected", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --provider /tmp/ext-provider-tamper-p66ss2hd/provider.json --allow-provider demo.sensor" + ], + "error_codes": [ + "ext.artifact_integrity" + ] + }, + { + "category": "negative_security", + "name": "pure and strict modes reject provider flags", + "status": "PASS", + "detail": "exit 2", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --mode pure --provider /marqdo-extension-conformance/provider/build/provider.json --allow-provider demo.sensor" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "strict mode rejects provider flags", + "status": "PASS", + "detail": "exit 2", + "commands": [ + "/marqdo-cli/target/release/marqdo run /marqdo-extension-conformance/provider/demo.mq.md --mode strict --provider /marqdo-extension-conformance/provider/build/provider.json --allow-provider demo.sensor" + ], + "error_codes": [] + }, + { + "category": "tool_analysis_consumer", + "name": "independent tool consumes Analysis v2", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo tool install /marqdo-extension-conformance/tool/tool.json" + ], + "error_codes": [] + }, + { + "category": "tool_analysis_consumer", + "name": "registered tool command dispatches", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo inspect-ext /marqdo-extension-conformance/tool/demo.mq.md" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "tool install rejects unknown entrypoint traversal", + "status": "PASS", + "detail": "exit 1", + "commands": [ + "/marqdo-cli/target/release/marqdo tool install /tmp/ext-tool-bad-4xqj0_bj" + ], + "error_codes": [] + }, + { + "category": "tool_analysis_consumer", + "name": "tool remove unregisters", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo tool remove inspect-ext" + ], + "error_codes": [] + }, + { + "category": "package_pinned_git", + "name": "pinned Git .mq.md library runs from a separate repo", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo lock", + "/marqdo-cli/target/release/marqdo sync" + ], + "error_codes": [] + }, + { + "category": "package_pinned_git", + "name": "consumer runs the pinned dependency", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo check index.mq.md", + "/marqdo-cli/target/release/marqdo run index.mq.md --json" + ], + "error_codes": [] + }, + { + "category": "package_pinned_git", + "name": "verified cache still runs after moving the checkout and deleting the source", + "status": "PASS", + "detail": "exit 0", + "commands": [ + "/marqdo-cli/target/release/marqdo run index.mq.md" + ], + "error_codes": [] + }, + { + "category": "negative_security", + "name": "frozen CLI binary did not change", + "status": "PASS", + "detail": "sha256 28e3776dd3d0ee9134323dd449edb9a7b5d2d8a5e6d3225845f54fc818397c74", + "commands": [], + "error_codes": [] + } + ] +}