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

@@ -1138,8 +1138,8 @@ describe('bug-3659: applySurface prunes ~/.claude/skills/msd-*/ on cluster disab
process.env.MSD_HOME = msdHome;
const manifest = loadSkillsManifest(REAL_COMMANDS_DIR);
// 'cline' is a nested (doNest) runtime layout (unlike Claude's flat layout).
const baselineLayout = __resolveRuntimeArtifactLayout('cline', configDir, 'global');
// 'zcode' is a nested (doNest) runtime layout (unlike Claude's flat layout).
const baselineLayout = __resolveRuntimeArtifactLayout('zcode', configDir, 'global');
// Baseline: no capability registered — snapshot the resulting nested layout.
__applySurface(configDir, baselineLayout, manifest, undefined, undefined);
@@ -1152,7 +1152,7 @@ describe('bug-3659: applySurface prunes ~/.claude/skills/msd-*/ on cluster disab
// installed and present in the registry — rebuild the layout WITH the
// registry so the fill-in pass actually runs.
const registry = __registryFor('my-thing', ['my-thing']);
const registryLayout = __resolveRuntimeArtifactLayout('cline', configDir, 'global', registry);
const registryLayout = __resolveRuntimeArtifactLayout('zcode', configDir, 'global', registry);
__applySurface(configDir, registryLayout, manifest, undefined, registry);
assert.ok(
@@ -1500,7 +1500,7 @@ describe('bug-3659: applySurface prunes ~/.claude/skills/msd-*/ on cluster disab
* The 6 ns-* routers are also top-level entries in the flat layout (they are
* concrete skills themselves). No nested skills/ subdirs for Claude.
*
* Other 6 runtimes (cline, qwen, hermes, augment, trae, antigravity) stay nested.
* Nested-layout runtimes (e.g. zcode) stay nested.
*/
'use strict';