QA: harden runner metadata and install hints

Move optional QA runner install hints onto a generated metadata catalog so the
host no longer needs a Matrix-specific fallback list for missing plugins.

This also tightens the runner contract by rejecting runtime-only commands that
are not declared in manifest metadata, and adds an installed-plugin smoke test
for the generic QA runner loader path.
This commit is contained in:
Gustavo Madeira Santana
2026-04-14 13:22:38 -04:00
parent ff0cb40712
commit 2fc9fc7892
9 changed files with 387 additions and 32 deletions

View File

@@ -1230,6 +1230,8 @@
"plugin-sdk:sync-exports": "node scripts/sync-plugin-sdk-exports.mjs",
"plugin-sdk:usage": "node --import tsx scripts/analyze-plugin-sdk-usage.ts",
"plugins:sync": "node --import tsx scripts/sync-plugin-versions.ts",
"qa-runners:check": "node --import tsx scripts/generate-qa-runner-catalog.ts --check",
"qa-runners:gen": "node --import tsx scripts/generate-qa-runner-catalog.ts --write",
"postinstall": "node scripts/postinstall-bundled-plugins.mjs",
"prepack": "node --import tsx scripts/openclaw-prepack.ts",
"prepare": "command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git config core.hooksPath git-hooks || exit 0",