chore: clear dead test and allowlist leftovers of dropped runtimes
Some checks failed
Tests / PR mergeability (push) Successful in 18s
Tests / Base branch health (push) Successful in 9s
Tests / Detect test scope (push) Successful in 16s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 58s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 18s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Duplicate auto-close sweep / sweep (push) Successful in 19s
CI timeout budget report / report (push) Failing after 14s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 9s
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled

This commit is contained in:
Jakub Zych
2026-10-06 20:30:09 +02:00
parent 792139b5ed
commit fe3ed06691
83 changed files with 308 additions and 1997 deletions

View File

@@ -163,7 +163,7 @@ const VOLATILE_FILES = new Set([
// varies by platform and cannot be normalized to a single sentinel reliably.
// Their content is asserted directly by the dedicated hook tests
// (install-minimal-hooks, sh-hook-paths, codex-config, etc.). Matched by basename.
// settings.json = Claude/Antigravity/Augment/etc. hook surface; hooks.json =
// settings.json = Claude/Antigravity hook surface; hooks.json =
// Codex/Cursor hook surface — both embed the platform-varying node-runner command.
// settings.local.json = Claude LOCAL hook surface (#338): same platform-varying
// node-runner command as settings.json, so excluded for the same reason (#2086).
@@ -235,8 +235,7 @@ const SEMVER_ISH_RE = /^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$/;
* - `"version": "<ver>"` — JSON manifests (plugin/extension/capability-style)
* embedding the package version as a string field.
* - `version: "<ver>"` / `version: <ver>` — YAML frontmatter version fields (e.g.
* skill frontmatter's `yamlQuote(pkg.version)`, Hermes' category
* `DESCRIPTION.md`).
* skill frontmatter's `yamlQuote(pkg.version)`).
* - `@golem15/msd-core@<ver>` — pinned package-spec references.
* - a file whose ENTIRE trimmed content IS the version (`msd-core/VERSION`).
* Each pattern only matches when the version in the content EQUALS the supplied
@@ -605,7 +604,7 @@ function runMinimalInstall({ runtime, scope, extraArgs = [], installScript = INS
// includes rewritten on live installs, zero manifest/fixture diffs). The
// explicit flag stays: hermeticity-by-override is immune to ambient
// redirect envs (CI runners export XDG_CONFIG_HOME, which redefines the
// opencode/kilo XDG descriptors' resolution when no explicit dir wins).
// opencode XDG descriptor's resolution when no explicit dir wins).
const globalMeta = RUNTIME_META[runtime];
if (!globalMeta || !globalMeta.globalSuffix) {
// #3023 lesson: a silent `path.join(root, undefined)` here throws a
@@ -623,21 +622,18 @@ function runMinimalInstall({ runtime, scope, extraArgs = [], installScript = INS
cwd = root;
// #3031: local scope reads RUNTIME_META.localDir — the SAME table the
// global branch above reads — instead of a second hand-maintained map.
// That duplicate map was missing several runtimes (e.g. hermes,
// zcode), so `scope: 'local'` for any of them resolved
// `path.join(root, undefined)` and threw a bare TypeError naming neither
// the runtime nor the map at fault. #3023 fixed exactly this for `pi` by
// adding one more entry, which left the divergence itself in place; the
// table is now single-source so a new runtime cannot reintroduce it.
// `cline` keeps its ternary: its local artifacts land at the project root
// itself, which is a genuine exception rather than a directory name.
// That duplicate map was missing several runtimes (e.g. zcode), so
// `scope: 'local'` for any of them resolved `path.join(root, undefined)`
// and threw a bare TypeError naming neither the runtime nor the map at
// fault; the table is now single-source so a new runtime cannot
// reintroduce it.
const localMeta = RUNTIME_META[runtime];
if (runtime !== 'cline' && (!localMeta || !localMeta.localDir)) {
if (!localMeta || !localMeta.localDir) {
throw new Error(
`runMinimalInstall: no RUNTIME_META.localDir for runtime "${runtime}" — refusing to guess a local config dir (#3031)`,
);
}
configDir = runtime === 'cline' ? root : path.join(root, localMeta.localDir);
configDir = path.join(root, localMeta.localDir);
}
args.push(...extraArgs);
const result = runNode(args, {
@@ -680,7 +676,7 @@ function manifestSkillSet(manifest) {
const seg = key.split('/')[1].replace(/^msd-/, '').replace(/\.md$/, '');
out.add(seg);
} else if (key.startsWith('command/')) {
// OpenCode/Kilo: command/msd-<cmd>.md
// OpenCode: command/msd-<cmd>.md
const file = key.split('/')[1];
out.add(file.replace(/^msd-/, '').replace(/\.md$/, ''));
} else if (key.startsWith('commands/msd/')) {