Repository navigation
fix(cli): agent list shows the installed version; imported skills don't fail skill list - #5601
Conversation
…'t fail skill list `gaia agent list` printed the catalog's latest version beside `[installed]`, so a machine running gaia 0.3.1 read "gaia 0.3.0 [installed]". It now shows the version on disk and names the catalog's latest when the two releases differ. `gaia skill list` exited 4 whenever a skill under the read-only ~/.claude/skills import root failed to parse, e.g. another tool's non-SemVer `version: '1.0'`. Those folders are now listed as a warning (and as `import_errors` in --json) and the command exits 0; a malformed skill in GAIA's own roots still exits 4. Discovery logs each broken import once per process at WARNING instead of at ERROR on every turn. install.sh no longer says `gaia init` needs a password: init installs GAIA's own embedded Lemonade on Linux and macOS with no sudo. Part of amd#5576
|
Verdict: Approve with suggestions This fixes three CLI messages that told new users something untrue. Two small cleanups, both optional:
Real-world evidenceN/A: no evidence bundle was produced for this run. The PR description includes live output from the rc5 install ( 🔍 Technical detailsIssues found 🟢 Brittle negative assertion ( 🟢 Missing catalog version reads as a mismatch ( Checked and fine
Strengths
|
Also narrow the install.sh test to the two removed phrases, so an unrelated mention of "password" can't fail it.
|
The four installer-journey failures aren't from this PR's |
…5606) The installer journeys now fail every PR that runs them, with "known bug #5526 no longer reproduces" (ubuntu22 install-sh and tui-deb) and "known bug #5529 no longer reproduces" (mac-x64 install-sh). Both bugs are fixed — #5526 is closed and #5529 was fixed by #5546 — but their entries in `known_failures.json` still expect the old failure. This removes those two entries, as the file's own instructions ask. ## Test plan - [x] `pytest tests/unit/installer/test_installer_headless.py` passes. - [ ] The installer journeys go green on this PR (they failed on #5597 and #5601 with the messages above). Co-authored-by: Kalin Ovtcharov <[email protected]>
Three CLI messages told a new user something untrue.
gaia agent listshowedgaia 0.3.0 [installed]when 0.3.1 was installed.gaia skill listexited 4 because a skill in someone else's~/.claude/skillshad a non-SemVer version, and the agent logged it at ERROR on every turn.install.shsaidgaia init"asks for your password", which it doesn't on macOS or Linux. Each now says what's true.Found testing v0.25.1-rc5 on macOS. Part of #5576.
Test plan
pytest tests/unit/test_skills_cli.py tests/unit/test_skills_manager.py tests/installer: 105 passed, 11 skipped; the 5 new tests fail onmain.gaia agent list→gaia 0.3.1+v0.25.1-rc5 [installed; catalog latest 0.3.0];gaia skill listexit 4 → 0, with the three broken imported skills listed on stderr.sh -nand shellcheck clean oninstall.sh.🔍 Technical details
A broken skill under the read-only
claude-importroots is a warning (stderr,import_errorsin--json, logged once per process); one in GAIA's ownuseroragent-bundledroots still exits 4.discovery_errorsstill returns every error, so the Agent UI and the agent's list tool keep showing them.install.shalso drops the "one step later needs your password" warning:gaia initinstalls the embedded Lemonade without sudo on both platforms.