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

@@ -1,4 +1,4 @@
// docs-guard-exempt: codebuddy.ai/docs/... is an external URL and docs/adr/58-...md is a comment citation; neither is read.
// docs-guard-exempt: docs/adr/58-...md is a comment citation; it is not read.
// allow-test-rule: source-text-is-the-product
// Reads .md/.json/.yml product files whose deployed text IS what the
// runtime loads — testing text content tests the deployed contract.
@@ -640,7 +640,7 @@ describe('installOpencodeFamilySkills — emits skills/<name>/SKILL.md (#784)',
!body.includes(`~/${defaultBase}/`),
`${skillName}: must not leak hardcoded ~/${defaultBase}/ — should use install target`,
);
// Regression guard for the prefix-overlap double-rewrite (e.g. kilo-alt-alt).
// Regression guard for the prefix-overlap double-rewrite (e.g. opencode-alt-alt).
assert.ok(
!new RegExp(`${escapeRegex(defaultBase)}-[^/\\s]*-`).test(body),
`${skillName}: must not contain a doubled config-dir suffix`,
@@ -668,7 +668,7 @@ describe('installOpencodeFamilySkills — emits skills/<name>/SKILL.md (#784)',
}
});
// ─── #2362: OpenCode/Kilo combined-family INSTALL path drops the capability
// ─── #2362: OpenCode combined-family INSTALL path drops the capability
// registry — an installed+registered+surfaced+active third-party capability
// skill never materializes ───────────────────────────────────────────────
//
@@ -1353,7 +1353,7 @@ describe('convertClaudeToAntigravityContent bare path replacement (#2418)', () =
// ────────────────────────────────────────────────────────────────────────
// Folded from tests/enh-789-codebuddy-commands.test.cjs — consolidation epic #1969 (B1 #1970)
// (codebuddy runtime retired; the Cursor #2644 guard that lived in the same file is kept)
// (the Cursor #2644 guard that lived in the same file is kept)
// ────────────────────────────────────────────────────────────────────────
{
const { describe: __foldDescribe } = require('node:test');
@@ -3186,9 +3186,7 @@ describe('#443 Source purity: agents/msd-planner.md has no effort: key', () => {
// relocation of pure rewrite-engine helpers out of hand-authored bin/install.js.
// - getDirName -> msd-core/bin/lib/runtime-name-policy.cjs
// - processAttribution -> msd-core/bin/lib/runtime-artifact-conversion.cjs
// getCommitAttribution stays in install.js (impure install-time config I/O); the
// convertClaudeToAugmentMarkdown duplicate dedup is deferred to Phase 2's cleanup
// (entangled converter cluster; not required to unblock Phase 2).
// getCommitAttribution stays in install.js (impure install-time config I/O).
// These tests exercise the REAL relocated functions at their new home (the
// generated .cjs). #2876 (epic #2866 Phase 7) retired install.js's re-export
// of both names — a repo-wide audit found zero production consumers of the
@@ -3390,10 +3388,10 @@ describe('_computePathPrefix', () => {
isGlobal: false,
isOpencode: false,
isWindowsHost: true,
resolvedTarget: 'C:\\Users\\runner\\AppData\\Local\\Temp\\msd-1615-windsurf',
resolvedTarget: 'C:\\Users\\runner\\AppData\\Local\\Temp\\msd-1615-fixture',
homeDir: 'C:\\Users\\runner',
});
assert.strictEqual(prefix, 'C:/Users/runner/AppData/Local/Temp/msd-1615-windsurf/');
assert.strictEqual(prefix, 'C:/Users/runner/AppData/Local/Temp/msd-1615-fixture/');
assert.ok(!prefix.includes('\\'), `prefix must not contain backslashes: ${prefix}`);
});
});
@@ -5281,7 +5279,7 @@ describe('#2873 C1-C6 — install-time shadow report (spawned installer wiring)'
//
// readMsdRuntimeProfileResolver probes for the project's
// .planning/config.json by walking up from the install's targetDir. A GLOBAL
// OpenCode/Kilo install (targetDir ~/.config/<runtime>) can never reach the
// OpenCode install (targetDir ~/.config/<runtime>) can never reach the
// consuming project, and ~/.msd/defaults.json never carries model_profile
// (writeNonClaudeDefaults writes only resolve_model_ids + runtime), so the
// resolver silently fell back to 'balanced' and baked e.g.
@@ -5295,7 +5293,6 @@ describe('#2873 C1-C6 — install-time shadow report (spawned installer wiring)'
// - a found config keeps the documented 'balanced' default (local installs).
// - a profile (or model_overrides pin) declared in ~/.msd/defaults.json is
// machine-level and still bakes on a global install.
// - Kilo mirrors OpenCode (static-frontmatter twin, #2093).
{
const { describe: __d3543, test: __t3543, beforeEach: __be3543, afterEach: __ae3543 } = require('node:test');
const { install: __install3543 } = require('../bin/install.js');