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

@@ -72,7 +72,6 @@
- [UI 阶段自动检测](#54-ui-phase-auto-detection)
- [多运行时安装选择](#55-multi-runtime-installer-selection)
- [v1.29 功能](#v129-features)
- [Windsurf 运行时支持](#56-windsurf-runtime-support)
- [国际化文档](#57-internationalized-documentation)
- [v1.31 功能](#v131-features)
- [Schema 漂移检测](#59-schema-drift-detection)
@@ -102,7 +101,6 @@
- [暂停工作扩展](#82-pause-work-expansion)
- [响应语言配置](#83-response-language-config)
- [手动更新流程](#84-manual-update-procedure)
- [新运行时支持(Trae、Cline、Augment Code)](#85-new-runtime-support-trae-cline-augment-code)
- [自主 `--interactive` 标志](#86-autonomous---interactive-flag)
- [提交文档守护钩子](#87-commit-docs-guard-hook)
- [社区钩子选项](#88-community-hooks-opt-in)
@@ -123,7 +121,6 @@
- [自适应模型预设](#102-adaptive-model-preset)
- [合并后 Hunk 验证](#103-post-merge-hunk-verification)
- [v1.35.0 功能](#v1350-features)
- [新运行时支持(Cline、CodeBuddy、Qwen Code)](#104-new-runtime-support-cline-codebuddy-qwen-code)
- [GSD-2 反向迁移](#105-gsd-2-reverse-migration)
- [AI 集成阶段向导](#106-ai-integration-phase-wizard)
- [AI 评估审查](#107-ai-eval-review)
@@ -1013,7 +1010,7 @@ fix(03-01): correct auth token expiry
**目的:** 跨多个 AI 编程智能体运行时运行 MSD。
**需求:**
- REQ-RUNTIME-01:系统必须支持 Claude Code、OpenCode、Kilo、Codex、Copilot、Antigravity、Trae、Cline、Augment Code、CodeBuddy、Qwen Code
- REQ-RUNTIME-01:系统必须支持 Claude Code、OpenCode、Codex、Antigravity
- REQ-RUNTIME-02:安装器必须按运行时转换内容(工具名称、路径、前置元数据)
- REQ-RUNTIME-03:安装器必须支持交互式和非交互式(`--claude --global`)模式
- REQ-RUNTIME-04:安装器必须支持全局和本地安装
@@ -1022,12 +1019,12 @@ fix(03-01): correct auth token expiry
**运行时转换:**
| 方面 | Claude Code | OpenCode | Kilo | Codex | Copilot | Antigravity | Trae | Cline | Augment | CodeBuddy | Qwen Code |
|--------|------------|----------|-------|-------|---------|-------------|------|-------|---------|-----------|-----------|
| 命令 | 斜杠命令 | 斜杠命令 | 斜杠命令 | Skills (TOML) | 斜杠命令 | Skills | Skills | Rules | Skills | Skills | Skills |
| 智能体格式 | Claude 原生 | `mode: subagent` | `mode: subagent` | Skills | 工具映射 | Skills | Skills | Rules | Skills | Skills | Skills |
| 钩子事件 | `PostToolUse` | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
| 配置 | `settings.json` | `opencode.json(c)` | `kilo.json(c)` | TOML | Instructions | Config | Config | `.clinerules` | Config | Config | Config |
| 方面 | Claude Code | OpenCode | Codex | Antigravity |
|--------|------------|----------|-------|-------------|
| 命令 | 斜杠命令 | 斜杠命令 | Skills (TOML) | Skills |
| 智能体格式 | Claude 原生 | `mode: subagent` | Skills | Skills |
| 钩子事件 | `PostToolUse` | N/A | N/A | N/A |
| 配置 | `settings.json` | `opencode.json(c)` | TOML | Config |
---
@@ -1174,9 +1171,9 @@ MSD update available: 1.39.0 → 1.40.0. Run /msd-update.
### 42. 跨 AI 同行评审
**命令:** `/msd-review --phase N [--claude] [--codex] [--coderabbit] [--opencode] [--qwen] [--cursor] [--agy] [--antigravity] [--ollama] [--lm-studio] [--llama-cpp] [--kimi-code] [--all]`
**命令:** `/msd-review --phase N [--claude] [--codex] [--coderabbit] [--opencode] [--cursor] [--agy] [--antigravity] [--ollama] [--lm-studio] [--llama-cpp] [--all]`
**目的:** 调用外部 AI CLI(Claude、Codex、CodeRabbit、OpenCode、Qwen Code、Cursor、Antigravity、Kimi Code)和本地 OpenAI 兼容服务器(Ollama、LM Studio、llama.cpp)独立审查阶段计划。生成包含每位审查者反馈的结构化 REVIEWS.md。
**目的:** 调用外部 AI CLI(Claude、Codex、CodeRabbit、OpenCode、Cursor、Antigravity)和本地 OpenAI 兼容服务器(Ollama、LM Studio、llama.cpp)独立审查阶段计划。生成包含每位审查者反馈的结构化 REVIEWS.md。
**需求:**
- REQ-REVIEW-01:系统必须检测系统上可用的 AI CLI
@@ -1459,22 +1456,6 @@ PreToolUse 钩子,检测 Claude 在 MSD 工作流上下文之外尝试文件
## v1.29 功能
### 56. Windsurf 运行时支持
**属于:** `npx @golem15/msd-core`
**目的:** 将 Windsurf 添加为 MSD 安装和执行支持的 AI CLI 运行时。
**需求:**
- REQ-WINDSURF-01:安装器必须检测 Windsurf 运行时并将其作为目标提供
- REQ-WINDSURF-02:MSD 命令必须在 Windsurf 会话中正确运行
**流程:**
1. **检测** — 识别系统上 Windsurf 运行时的可用性
2. **安装** — 为 Windsurf 环境配置 MSD 技能和钩子
---
### 57. 国际化文档
**属于:** `docs/`
@@ -1943,19 +1924,6 @@ PreToolUse 钩子,检测 Claude 在 MSD 工作流上下文之外尝试文件
---
### 85. 新运行时支持(Trae、Cline、Augment Code)
**属于:** `npx @golem15/msd-core`
**目的:** 将 MSD 安装扩展到 Trae IDE、Cline 和 Augment Code 运行时。
**需求:**
- REQ-TRAE-01:安装器必须支持 `--trae` 标志用于 Trae IDE 安装
- REQ-CLINE-01:安装器必须通过 `.clinerules` 配置支持 Cline
- REQ-AUGMENT-01:安装器必须支持带有技能转换和配置管理的 Augment Code
---
### 86. 自主 `--interactive` 标志
**标志:** `/msd-autonomous --interactive`
@@ -2287,34 +2255,12 @@ v1 **仅支持目录前缀匹配,不支持 glob 语法**:本项目中不存
## v1.35.0 功能
- [新运行时支持(Cline、CodeBuddy、Qwen Code)](#104-new-runtime-support-cline-codebuddy-qwen-code)
- [GSD-2 反向迁移](#105-gsd-2-reverse-migration)
- [AI 集成阶段向导](#106-ai-integration-phase-wizard)
- [AI 评估审查](#107-ai-eval-review)
---
### 104. 新运行时支持(Cline、CodeBuddy、Qwen Code)
**属于:** `npx @golem15/msd-core`
**目的:** 将 MSD 安装扩展到 Cline、CodeBuddy 和 Qwen Code 运行时。
**需求:**
- REQ-CLINE-02:Cline 安装必须将 `.clinerules` 写入 `~/.cline/`(全局)或 `./.cline/`(本地)。无自定义斜杠命令 — 仅基于规则的集成。标志:`--cline`。
- REQ-CODEBUDDY-01:CodeBuddy 安装必须将技能部署到 `~/.codebuddy/skills/msd-*/SKILL.md`。标志:`--codebuddy`。
- REQ-QWEN-01:Qwen Code 安装必须将技能部署到 `~/.qwen/skills/msd-*/SKILL.md`,遵循 Claude Code 2.1.88+ 使用的开放标准。`QWEN_CONFIG_DIR` 环境变量覆盖默认路径。标志:`--qwen`。
**运行时摘要:**
| 运行时 | 安装格式 | 配置路径 | 标志 |
|---------|---------------|-------------|------|
| Cline | `.clinerules` | `~/.cline/` 或 `./.cline/` | `--cline` |
| CodeBuddy | Skills (`SKILL.md`) | `~/.codebuddy/skills/` | `--codebuddy` |
| Qwen Code | Skills (`SKILL.md`) | `~/.qwen/skills/` | `--qwen` |
---
### 105. GSD-2 反向迁移
**命令:** `/msd-import --from-gsd2 [--dry-run] [--force] [--path <dir>]`
@@ -2968,7 +2914,7 @@ explicit reviewer flags -> --all -> review.default_reviewers -> all detected rev
**需求:**
- REQ-QUOTA-01:配额失败不得将立即重试作为主要恢复选项。
- REQ-QUOTA-02:分类必须涵盖 Claude、Copilot、Codex 和通用提供商哨兵。
- REQ-QUOTA-02:分类必须涵盖 Claude、Codex 和通用提供商哨兵。
- REQ-QUOTA-03:非配额失败必须继续通过正常的执行失败路径。
**参考:** [提供商速率限制信号](../research/provider-rate-limit-signals.md)