refactor: drop 12 runtimes, keep Claude, Codex, OpenCode, Cursor, ZCode, Antigravity

Removes kilo, kimi, kimi-code, copilot, windsurf, augment, trae, qwen, hermes,
cline, codebuddy and pi end to end: capability descriptors, installer branches
and converters (bin/install.js 14.9k -> 11.2k lines), TypeScript converters,
hook surfaces and runtime homes, review lanes qwen/kimi-code, the two pi
migrations, Kimi payload normalization in the hook guards, dead hostBehaviors
vocabulary, launcher home probes, fixtures, runtime-specific tests and the
prose that presented them as supported.

Installer output for the six kept runtimes is byte-identical to before the
prune. The Kimi tool-vocabulary tests in workflow-guard, read-guard and
read-injection-scanner are left in place pending a decision.
This commit is contained in:
Jakub Zych
2026-10-06 20:02:40 +02:00
parent 12ee75a509
commit 6cfa0c55d2
509 changed files with 1869 additions and 47737 deletions

View File

@@ -432,17 +432,17 @@ describe('Fix 3: reserved-key guard on hostIntegration and hostIntegration.dispa
});
// ---------------------------------------------------------------------------
// #3673 — ADR-1239 Phase 1: all 19 shipped descriptors carry
// #3673 — ADR-1239 Phase 1: all 7 shipped descriptors carry
// dispatch.maxConcurrency (a real sourced integer or the "undocumented"
// sentinel — never silently absent), and every one validates clean.
// ---------------------------------------------------------------------------
describe('#3673 dispatch.maxConcurrency — all 19 shipped descriptors', () => {
describe('#3673 dispatch.maxConcurrency — all 7 shipped descriptors', () => {
const registry = require(path.join(__dirname, '../msd-core/bin/lib/capability-registry.cjs'));
test('registry carries exactly 19 runtime descriptors', () => {
assert.strictEqual(Object.keys(registry.runtimes).length, 19,
`expected exactly 19 shipped runtimes; got: ${Object.keys(registry.runtimes).sort().join(', ')}`);
test('registry carries exactly 7 runtime descriptors', () => {
assert.strictEqual(Object.keys(registry.runtimes).length, 7,
`expected exactly 7 shipped runtimes; got: ${Object.keys(registry.runtimes).sort().join(', ')}`);
});
test('every shipped descriptor declares dispatch.maxConcurrency as a number or "undocumented" — never absent', () => {
@@ -468,7 +468,7 @@ describe('#3673 dispatch.maxConcurrency — all 19 shipped descriptors', () => {
}
});
test('validateCapability accepts all 19 shipped descriptors\' dispatch.maxConcurrency with zero errors', () => {
test('validateCapability accepts all 7 shipped descriptors\' dispatch.maxConcurrency with zero errors', () => {
for (const [id, cap] of Object.entries(registry.runtimes)) {
const errors = validateCapability(cap, id);
const mcErrors = errors.filter((e) => e.includes('maxConcurrency'));