Repository navigation
feat(skills): validate every hub skill end to end - #6493
Conversation
Today's checks prove a hub skill is well-formed and safe to merge, not that the flagship agent can find and use it: six of 17 skills have no task eval, 22 of 23 task evals name the skill to load, hub search is a literal substring match, and the compact tier silently can't run several skills. The plan adds coverage and tier guards, the missing scenarios, real-catalogue search and post-publish checks, a skill-selection eval category, a per-PR targeted eval link, and fresh Gemma and Qwen baselines.
No new check runs on PRs that don't touch skills: unit guards ride the path-filtered unit lane, the eval dispatch hint rides the skill audit's changed-skill detection, and the live hub check runs on release or dispatch instead of weekly.
Hub search missed most plain requests ("track price", "meeting notes") because
it matched the whole query as one phrase, four published skills had no eval at
all, and nothing checked the live hub after a release. Search now matches per
word and ranks the right skill first for 28 of 28 plain queries against the
live catalogue (11 found before).
- Ten task scenarios close the coverage gaps (inbox-triage, transcribe-meeting,
image-gen, music-gen, plus edge cases for coding and recommendations); the
coverage test credits gaia_skills_tasks scenarios, so DEFERRED is empty.
- New gaia_skills_selection category: pick the skill from a plain request,
pick none, pick between overlapping skills, decline honestly on compact.
- requires_sd / requires_music / requires_*_tier tags skip with
SKIPPED_NO_MODEL instead of failing on the wrong machine or model.
- Tier matrix test pins which hub skills compact models cannot run.
- util/verify_published_skills.py installs every skill back from the hub and
checks version and AMD signature; release_skills.yml runs it after publish.
- skill_audit.yml lists a changed skill's scenarios and the dispatch input.
- run_eval_lane.py takes --scenario to run a subset locally.
The flagship bundles every hub/skills skill (from the checkout's hub/skills, or packaged), so rss-digest is always installed and the scenarios that asked the agent to find, install, or report it as missing tested a state no user can reach. They now use unit-convert, which exists only on the fixture hub. This is why skills_install_from_hub and skills_hub_search failed: the agent loaded the bundled copy instead of installing one.
…s more A compact model (Gemma-4-E4B) was meant to have no email access, but three email tools were missing from the withheld list. Asked to triage mail, it read the mailbox through list_waiting_on_you and told the user the inbox was clear. All eight email tools are now withheld, and a test checks the list against every tool the email mixin registers. On a compact model, list_skills now says that searching and installing skills needs a larger model, so the agent can tell the user instead of suggesting a workaround. Found by the new compact-tier skill-selection evals.
skills_install_from_hub now installs unit-convert and runs first in the same eval home, so skills_list_installed found it installed and the agent rightly said so. It now asks about experimental-notes, which the hub refuses to install. Both pass in run order. The plan doc records the local eval run.
|
Verdict: Approve with suggestions This PR checks that the agent can actually find, install and use each hub skill. Hub search now matches each word of a request instead of the whole phrase, every hub skill gets at least two eval scenarios, a release step installs every published skill back from the live hub, and compact models lose the last three email tools they were still offered. The logic is sound and well tested. I found no blocking issues, only four small fixes to eval and test robustness:
The Gemma behaviour the PR leaves open (it ignores the hint and presents GitHub notifications as the inbox) is documented and covered by two compact-tier scenarios. That's the right way to handle it. Real-world evidenceN/A: no evidence bundle was produced for this run. The changed surfaces are agent tool output, hub search and eval/CI tooling. Agent behaviour on real inference is deferred to the strix-halo lane and the next RC sweep. This environment had no Python install with GAIA and pytest, so I didn't run the new unit tests; the verdict rests on static review. The author's test plan reports 🔍 Technical detailsIssues 🟢 Lifecycle scenarios share 🟢 🟢 Ambiguous compact hint ( If you change it, update the 🟢 Hard-coded version in Notes (no action needed)
Strengths
|
Take main's word-by-word hub search (amd#6445) in place of this branch's ranking; the findability test now checks the intended skill is in the top 3, which main's search meets for all 35 queries. Read the summarize version in the stale-hub test instead of pinning 1.0.3.
…matrix CI rejected the new requires_sd/music/tier tags and flagged the capability matrix stale after gaia_skills_selection was added. Also clearer compact hub hint, and list-installed no longer expects the agent to call an unsigned skill installable.
…md#6527) A local eval run used to stage its fixtures into the shared `~/gaia-eval` and serve them on fixed port 8765. A second run on the same machine overwrote the first run's fixtures and collided on the port, and two scorecards built from different fixtures compared as if they were the same. Now each local run gets its own fixture root, fake `gh`, signed fixture hub and a free port, and every scorecard records which fixtures, scenarios and Lemonade build produced it. `--compare` warns when those differ, and `--require-same-fixtures` refuses to compare them. CI behaves exactly as before: without the new environment variables nothing is rewritten. This conflicts with amd#6493 in the eval lane script; whichever merges second needs a small rebase. ## Test plan - [ ] `python -m pytest tests/unit/eval tests/test_eval.py` (2,231 passed locally after merging main) - [ ] `python util/run_eval_lane.py --category gaia_core --out <dir>` stages under `<dir>/eval-root`, serves on a free port, and leaves `~/gaia-eval` untouched - [ ] `gaia eval agent --compare A B --require-same-fixtures` exits 3 when the two scorecards came from different fixtures --------- Co-authored-by: Kalin Ovtcharov <[email protected]>
Main now withholds every email tool, including the send-email skill's, on compact models, so its model_features wins; the AST guard is kept and now compares only the mixin's own tools. Main also added five hub skills (analyze-recording, calculators, calendar, guides, send-email): they get findability queries, are deferred in the scenario coverage check with main's reasons, and compact's unavailable set gains calendar and send-email. The tier test reads a skill's own tools too, as the agent does. 'rename file' never named file-ops' description and only ranked by tie order, so it is replaced with 'create a new file'.
…-coupled hub scenarios The flagship's capability-matrix test pins the list of gaia_* scenario categories, so adding gaia_skills_selection failed Test Gaia Agent; the pin and the runner's expected categories now include it. The three unit-convert hub scenarios share one GAIA home per category and only pass in alphabetical order; the fixture notes now say so, so a partial re-run with --scenario does not report a failure that is the harness's, not the agent's.
…n's new skills Main added five hub skills after this plan was written; the coverage, findability and tier rows now say how each is handled.
|
Merged main in and fixed the red Test Gaia Agent check: the flagship's capability-matrix test pins the list of eval categories and didn't know about the new
🔍 Technical details
|
|
Not merging yet: the three hub-install scenarios share one installed skill, so one agent failure can turn into extra false failures in CI. If Fix: have the runner put 🔍 Technical details
|
The three hub-install scenarios share one category home, so a unit-convert install left behind by one scenario (or by a refused attempt the runner re-runs after an account switch) made the next one fail for reasons unrelated to search or install, and pointed baseline regressions at the wrong scenario. Scenarios now declare `setup.skills_absent: [unit-convert]` and the runner removes those skills, with their lock entries, from the eval home before each attempt. Names are validated as bare skill names at load, a skill in a read-only root is a setup error, and the runner refuses to touch the real ~/.gaia. The order note in GAIA_FIXTURE_VALUES.md is gone.
|
Fixed: each hub-install scenario now starts with
🔍 Technical details
|
|
Not merging yet: the new skill reset can still delete a skill from the real Fix: refuse when the resolved skills root is (or sits inside) the real home, comparing with 🔍 Technical details
|
… link The skills reset compared only the eval home's path with the real home, so an eval home whose skills folder was a junction into ~/.gaia, or a second spelling of the real home such as a UNC admin share, passed the check and lost real installed skills. The reset now refuses when the resolved skills root is, or sits inside, the real home by path or file identity, and fails closed when it cannot tell.
# Conflicts: # src/gaia/eval/runner.py # tests/unit/eval/test_skill_scenario_coverage.py
Restores LF line endings on the eval runner after the merge, runs the local skills reset before the backend memory reset so a refused reset never needs a backend, and gives main's four new hub skills findability queries and the tier test's stub the catalogue method main added.
|
Fixed the real-home finding: the skills reset now refuses when the eval home's skills folder leads into the real home through a link, a junction or a second spelling such as a UNC admin share, and it refuses when it can't tell. Main is merged in. 🔍 Technical details
|
Main moved skills_install_from_hub to the hub-only date-format fixture; it keeps that and also clears date-format before each attempt. Main's new office-docs and browser-pane skills get findability queries, office-docs is listed as deferred eval coverage, and report-from-sources gets queries that match its new description. The tier test's stub gains main's installed-skill tracking.
|
Main is merged in, and every skill now in
🔍 Technical details
|
Hub skills were checked for format and safety, but nothing checked that the agent could find and use them. Four of the 17 published skills had no eval, and nothing read the live hub back after a release. Now every one of the 28 skills in
hub/skillsis either covered by at least two eval scenarios (17) or listed as deferred with its reason (11, mostly ones that need audio, a calendar, a desktop pane or a file-opening rubric), and adding a skill without making that choice fails a test. A test checks plain requests find each hub skill through hub search (two queries per skill, all in the top 3, on top of #6445's word-by-word search), and each skills release installs every skill back from the hub to check its version and signature.The new evals also caught three real problems, fixed here:
hub/skillsskill, so "install rss-digest" never needed an install. They now use fixture-only skills, cleared before each attempt so run order can't cause false failures, which explains the old baseline's failures there.list_skillsnow says installing skills needs a larger model.Still open: Gemma doesn't relay that limit. It ignores the hint and, with no email tools, presents GitHub notifications as the inbox. Two compact-tier scenarios record this. Fixing it needs prompt work measured across Gemma's full eval.
Related: #5423 (suggest unloaded skills) is the kind of change the new
gaia_skills_selectioncategory measures.Checks only run when skill files change: unit guards ride
test_unit.yml's existing filter, the scenario coverage check runs intest_eval.yml, the skill audit lists the changed skill's scenarios, and the hub check runs after a real publish. Nothing new runs on unrelated PRs.Test plan
pytest tests/unit/eval/ tests/unit/test_skill_tier_matrix.py tests/unit/test_skill_hub_findability.py tests/unit/test_verify_published_skills.py tests/unit/agents/test_model_features.pyplus the existing skill suites — 2,640 passed after merging main. Three runner tests fail only while another eval holds the machine-wide eval lock and pass alone.python util/verify_published_skills.pyagainst the production hub: 17/17 install, AMD-signed, at the repo's versionsdocs/plans/skills-hub-validation.md.python util/lint.py --all: clean apart from the two Windows-only Pylint errors already on maingaia_skills_tasks,gaia_skills_selection(new),gaia_skills_lifecycle,gaia_email; re-capture the skill-category baselines from that sweep🔍 Technical details
tests/unit/test_skill_hub_findability.pyover the real catalogue.requires_sd,requires_music,requires_full_tier,requires_compact_tier→SKIPPED_NO_MODELwith the reason.util/skill_eval_scenarios.pymaps skills → scenarios (shared by the coverage test andskill_audit.yml);util/run_eval_lane.py --scenarioruns a subset locally.tests/unit/test_skill_tier_matrix.pypins that compact cannot runcalendar,data-explore,image-gen,inbox-triage,send-email.