Repository navigation
Description
What's broken
On any harness other than Claude Code, the pre-flight never reports an install below the project's floor. A Codex, Gemini CLI or Copilot CLI user on an outdated Magpie gets no warning and runs skills against a version the project did not choose.
Which layer
plugins/magpie-setup/skills/setup/setup_preflight/cli.py (read_installed) and core.py (_floor_findings); the rules in setup_preflight/sections/step-3.md.
How to reproduce
- A repository whose
.apache-magpie.lockhasmethod: marketplace,url: apache/magpie,min_version: 0.3.0andplugins: [magpie-setup, magpie-agent-guard]. - Run any skill from Gemini CLI (no
claudeonPATH) with Magpie 0.2.0 installed. - The pre-flight returns no
below-floorfinding. The only finding is the unrelatedsweep-never-run.
The eval case setup/preflight-floor/case-5-no-claude-cli records exactly this. It now expects the run to continue, because that is what the checker does.
Expected vs actual
Expected: the floor check reads the installed version on the harness that is running and reports below-floor (or a missing plugin) on every harness, as step-3.md describes. On a harness with no install CLI it prints the commands instead.
Actual: read_installed only ever runs claude plugin list --json. On any other harness that command is missing, the result collapses to unknown, and _floor_findings treats unknown as "say nothing". install.md already names each harness's listing command (codex plugin list, gemini extensions list), but the pre-flight never uses them.
Surface area
Every skill on Codex, Gemini CLI and Copilot CLI: the pre-flight block is shared, so the floor is unenforced for all of them.
Environment
Framework at main (18071993e). Found while repairing the preflight-floor eval suite.
Suggested direction
- Detect the running harness, and read its installed versions with its own listing command (
codex plugin list,gemini extensions list, the Copilot equivalent). Parse each into the same{name: version}map. - Keep unknown for a listing that genuinely cannot be read, such as a sandbox denying the plugin cache. A missing
claudebinary on another harness is not unknown: that harness has its own answer. - Add
preflight-floorcases for a below-floor Codex and Gemini install.
Activity
fix(setup-preflight): read the version floor through each harness's o…
fix(setup-preflight): read the version floor through each harness's o…
fix(setup-preflight): detect the running harness and read its own lis…
fix(setup-preflight): read the version floor through each harness's o…
Kaap10 commentedon Nov 13, 2026
This was resolved in PR #1673 (
Refs #1641, commit7d496062), co-authored and merged by @potiuk, which implemented multi-harness listing detection for Codex, documented the Copilot CLI no-listing behavior, and added the requestedpreflight-flooreval test cases.Closing as completed.