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:
@@ -34,10 +34,6 @@ Workflow files are loaded on-demand in the <process> section below — not upfro
|
||||
Do not pre-load any workflow files before reading the mode routing instructions.
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase number: $ARGUMENTS (required)
|
||||
|
||||
|
||||
@@ -37,10 +37,6 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
|
||||
@~/.claude/msd-core/references/ui-brand.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase: $ARGUMENTS
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ requires: [config, fast, phase, update]
|
||||
|
||||
**STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.**
|
||||
|
||||
**CJS-only (graphify):** `graphify` subcommands are not registered on `msd-tools query`. Use the `msd_run` launcher shim (defined in each bash block below) or invoke the binary directly: `node <runtime-home>/msd-core/bin/msd-tools.cjs graphify …` where `<runtime-home>` is your runtime's config directory (e.g. `~/.claude`, `~/.hermes`, `~/.cursor`). See `docs/CLI-TOOLS.md` for details. Other tooling may still use `msd-tools query` where a handler exists.
|
||||
**CJS-only (graphify):** `graphify` subcommands are not registered on `msd-tools query`. Use the `msd_run` launcher shim (defined in each bash block below) or invoke the binary directly: `node <runtime-home>/msd-core/bin/msd-tools.cjs graphify …` where `<runtime-home>` is your runtime's config directory (e.g. `~/.claude`, `~/.codex`, `~/.cursor`). See `docs/CLI-TOOLS.md` for details. Other tooling may still use `msd-tools query` where a handler exists.
|
||||
|
||||
## Step 0 -- Banner
|
||||
|
||||
|
||||
@@ -29,10 +29,6 @@ Phase 1 of the vertical-mvp-slice PRD shipped the planner-side machinery; this c
|
||||
@~/.claude/msd-core/references/user-story-template.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. Equivalent API.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase number: $ARGUMENTS (required — integer or decimal like `2.1`)
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@ allowed-tools:
|
||||
- AskUserQuestion
|
||||
requires: [config, phase, plan-phase]
|
||||
---
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
**Flags:**
|
||||
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
||||
|
||||
@@ -12,10 +12,6 @@ allowed-tools:
|
||||
- AskUserQuestion
|
||||
requires: [config, new-project, map-codebase, ingest-docs, manager]
|
||||
---
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
||||
</runtime_note>
|
||||
|
||||
<objective>
|
||||
Guide brownfield onboarding for an existing codebase by routing through the existing MSD primitives in the safe order: codebase map → docs ingest → project initialization → onboarding summary.
|
||||
|
||||
|
||||
@@ -35,10 +35,6 @@ Create executable phase prompts (PLAN.md files) for a roadmap phase with integra
|
||||
@~/.claude/msd-core/references/ui-brand.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API. Do not skip questioning steps because `AskUserQuestion` appears unavailable; use `vscode_askquestions` instead.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase number: $ARGUMENTS (optional — when omitted, the orchestrating workflow reads ROADMAP.md and selects the next unplanned phase; `msd-tools.cjs` itself has no auto-detect feature and requires an explicit phase number)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: msd:plan-review-convergence
|
||||
description: "Cross-AI plan convergence - replan until review concerns are resolved."
|
||||
argument-hint: "<phase> [--claude] [--codex] [--coderabbit] [--opencode] [--qwen] [--cursor] [--antigravity] [--agy] [--ollama] [--lm-studio] [--llama-cpp] [--kimi-code] [--text] [--ws <name>] [--all] [--max-cycles N]"
|
||||
argument-hint: "<phase> [--claude] [--codex] [--coderabbit] [--opencode] [--cursor] [--antigravity] [--agy] [--ollama] [--lm-studio] [--llama-cpp] [--text] [--ws <name>] [--all] [--max-cycles N]"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -32,10 +32,6 @@ Replaces msd-plan-phase's internal msd-plan-checker with external AI reviewers (
|
||||
@$HOME/.claude/msd-core/references/agent-contracts.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API. Do not skip questioning steps because `AskUserQuestion` appears unavailable; use `vscode_askquestions` instead.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase number: extracted from $ARGUMENTS (required)
|
||||
|
||||
@@ -45,12 +41,10 @@ Phase number: extracted from $ARGUMENTS (required)
|
||||
- `--claude` — Use Claude CLI as reviewer (separate session)
|
||||
- `--coderabbit` — Use CodeRabbit as reviewer (reviews the working-tree diff, not the source tree)
|
||||
- `--opencode` — Use OpenCode as reviewer
|
||||
- `--qwen` — Use Qwen Code CLI as reviewer (Alibaba Qwen models)
|
||||
- `--cursor` — Use Cursor agent as reviewer
|
||||
- `--ollama` — Use local Ollama server as reviewer (OpenAI-compatible, default host `http://localhost:11434`; configure model via `review.models.ollama`)
|
||||
- `--lm-studio` — Use local LM Studio server as reviewer (OpenAI-compatible, default host `http://localhost:1234`; configure model via `review.models.lm_studio`)
|
||||
- `--llama-cpp` — Use local llama.cpp server as reviewer (OpenAI-compatible, default host `http://localhost:8080`; configure model via `review.models.llama_cpp`)
|
||||
- `--kimi-code` — Use Kimi Code CLI as reviewer (Moonshot AI)
|
||||
- `--all` — Use all available CLIs and running local model servers
|
||||
- `--max-cycles N` — Maximum replan→review cycles (default: 3)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: msd:review
|
||||
description: Request cross-AI peer review of phase plans from external AI CLIs
|
||||
argument-hint: "--phase N [--claude] [--codex] [--opencode] [--qwen] [--cursor] [--agy] [--all]"
|
||||
argument-hint: "--phase N [--claude] [--codex] [--opencode] [--cursor] [--agy] [--all]"
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Write
|
||||
@@ -12,7 +12,7 @@ requires: [config, phase, plan-phase]
|
||||
---
|
||||
|
||||
<objective>
|
||||
Invoke external AI CLIs (Claude, Codex, OpenCode, Qwen Code, Cursor, Antigravity) to independently review phase plans.
|
||||
Invoke external AI CLIs (Claude, Codex, OpenCode, Cursor, Antigravity) to independently review phase plans.
|
||||
Produces a structured REVIEWS.md with per-reviewer feedback that can be fed back into
|
||||
planning via /msd:plan-phase --reviews.
|
||||
|
||||
@@ -30,7 +30,6 @@ Phase number: extracted from $ARGUMENTS (required)
|
||||
- `--claude` — Include Claude CLI review (uses separate session)
|
||||
- `--codex` — Include Codex CLI review
|
||||
- `--opencode` — Include OpenCode review (uses model from user's OpenCode config)
|
||||
- `--qwen` — Include Qwen Code review (Alibaba Qwen models)
|
||||
- `--cursor` — Include Cursor agent review
|
||||
- `--agy` / `--antigravity` — Include Antigravity CLI review
|
||||
- `--all` — Include all available CLIs
|
||||
|
||||
@@ -39,10 +39,6 @@ Does not require prior new-project setup — auto-creates `.planning/sketches/`
|
||||
@~/.claude/msd-core/references/sketch-variant-patterns.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Design idea: $ARGUMENTS
|
||||
|
||||
|
||||
@@ -33,10 +33,6 @@ Clarify phase requirements through structured Socratic questioning with quantita
|
||||
@~/.claude/msd-core/templates/spec.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Phase number: $ARGUMENTS (required)
|
||||
|
||||
|
||||
@@ -35,10 +35,6 @@ Does not require prior new-project setup — auto-creates `.planning/spikes/` if
|
||||
@~/.claude/msd-core/references/ui-brand.md
|
||||
</execution_context>
|
||||
|
||||
<runtime_note>
|
||||
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`.
|
||||
</runtime_note>
|
||||
|
||||
<context>
|
||||
Idea: $ARGUMENTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user