-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Problem
MCS increasingly relies on newer Claude Code features (e.g., hook timeout, async, statusMessage). When users run mcs sync with an outdated Claude Code installation, things silently break or produce confusing errors.
Proposal
Add a single minClaudeCodeVersion constant and check it at sync time:
- Constant in
Constants.swift— the minimum supported Claude Code version - Detection — run
claude --versionand parse the output - Sync gate — fail early with a clear "please upgrade Claude Code" message if below minimum
- Doctor check — surface it as a core health check in
mcs doctor
Why not per-feature mapping?
A per-feature version map would create maintenance burden for both mcs and tech pack authors, and the user action is always the same: upgrade Claude Code. A single minimum version is sufficient.
Prior art
This follows the same pattern as minMCSVersion in techpack.yaml.
Reactions are currently unavailable