Repository navigation
feat(gaia): eval corpus, tracked scorecard CI, and skill capture - #3074
Conversation
Verdict: Request changesThis PR lands the flagship agent's judged eval corpus (~100 scenarios across 13 categories, deterministic fixtures, CI + release gates) and a new Four things should be fixed before merge:
🔒 SECURITY CONCERN: the new Real-world evidenceN/A — no 🔍 Technical details🔴 CriticalAgent package version regresses 0.1.1 → 0.1.0 ( The diff against the base branch shows
Neither deletion is explained by a renumber. The branch carries two If 0.1.1 was never published and the renumber is intentional, restore the two changelog entries under 🟡 ImportantStray Two lines of
The PR adds
There is a second-order effect: (apply the same in
The Worth confirming separately: with 🔒
Narrow the bypass so it means what it says: and mirror it in 🟢 Minor
Strengths
|
Loading any tool-bearing skill broke the agent on Claude, in two
independent ways. Skills register their tools namespaced as
`<skill>/<tool>` (e.g. `rss-digest/fetch_rss`), and both the outbound
request and the inbound dispatch choked on that name.
The Anthropic API rejects `/` in a tool name (`Tool.name` must match
`^[a-zA-Z0-9_-]{1,128}$`), so every turn after a skill loaded 400'd.
Lemonade tolerated the slash, which is why nothing caught it. Names are
now sanitized outbound and restored on returned tool_use blocks. Every
outbound name is registered in the restore map, identity included —
registering only the rewritten ones cannot see the collision that
actually misroutes a call, where a skill's `write/file` sanitizes onto
the builtin `write_file`. A collision raises, naming both sides.
Separately, `_execute_tool` replaced `-` with `_` before the registry
lookup on the assumption that tool names are always snake_case, so every
hyphenated skill's tools answered "Unknown tool name" even when the model
named them correctly. The exact registered name now resolves first; the
hyphen normalization still rescues a genuine snake_case typo.
Extracted from #3074.
kovtcharov-amd
left a comment
There was a problem hiding this comment.
Blocking on the review above: four items are still open, including a stray file committed at the repo root and the agent package version going backwards with two changelog entries deleted. The branch has since also picked up merge conflicts and is failing lint plus unit tests on all three Python versions.
Marking this formally so the PR stops reading as ready to merge — CI going green doesn't clear an open review request. Push the fix and re-request review.
bc7d9f3 to
2046983
Compare
…rix, SSE sequence baselines
The flagship gaia agent shipped with zero eval coverage and three doc claims
that no longer matched the code. This lands the no-LLM tier (phase 1 of the
flagship eval plan), all verifiable in hosted CI:
- tests/test_binary_gate.py: the 13 gh permission-gate cases from
util/tui_driver.py promoted to pytest, plus a pytest-policy suite.
Every REFUSE case additionally asserts it never classifies as CONFIRM —
an escalation landing behind a habit-click prompt is the named bug class —
and validate_invocation is pinned to fail closed for two-tier callers.
- packaging/capability_matrix.py + committed CAPABILITY_MATRIX.md +
tests/test_capability_matrix.py: code-derived surface inventory (67
registered tools from the FULL_CORE_TOOLS/FULL_BUNDLES AST union,
reconciled against gaia-agent.yaml and build_gaia(); 3 REST functional
verbs parsed from server.py; eval coverage honestly empty with the
'no quality eval (contract-tested only)' sentinel). Same --check idiom
as the email agent's; packaging/ stays __init__-free so it never ships
in the frozen binary. test_gaia_agent.yml gains the --check step.
- eval_baselines/query_sequences/{plain_answer,tool_query,
write_needs_confirmation}.json: committed SSE event-shape pins for the
/query contract, consumed by tests/integration/eval/test_sidecar_eval_gaia.py
(opt-in via GAIA_SIDECAR_EVAL_LIVE=1 on the self-hosted runner;
collected-but-skipped everywhere else).
- npm doc drift fixed everywhere it repeats: SPEC §5.4 / SKILL gotcha /
CHANGELOG now describe the implemented per-session caller-auth bearer
(the daemon delivers it; gaia serve is the unauthenticated dev posture);
SKILL §10 now says gaia-voice ships always-on (task sets stay opt-in);
'55 tools' corrected to 67, and the confirmation-gated set to five
(install_skill/remove_skill included).
Verified: pytest hub/agents/gaia/python/tests/ (267 passed), capability
matrix --check exits 0 clean and 1 after a scratch edit, sidecar eval tests
collect and skip without the opt-in env. Lemonade never started.
…ider opt-in
Phase 2 (fixtures + plumbing half) of the gaia-agent eval plan. Everything an
eval scenario touches is now canned and deterministic — no live GitHub, web,
RSS, or hub — and the eval harness can drive a Claude-backed agent on machines
that must never start Lemonade.
- tests/fixtures/gaia/fake_gh/: fake gh CLI (gh.cmd + sh shim + gh.py) serving
recorded JSON for the ALLOW-tier commands github-triage uses; refuse-tier
commands are never faked — reaching the shim with one exits nonzero and says
the permission gate leaked. Unknown commands always fail loudly.
- tests/fixtures/gaia/{web,rss,csv,mini_repo}/: planted-fact HTML for
research-report/price-watch/source-watch/daily-brief (source-watch ships two
versions of one page), an RSS feed, sales.csv with generated ground-truth
aggregates (drift-guarded by test), and a tiny widgetlib project with
distinctive symbols for code-index scenarios.
- tests/fixtures/gaia/fixture_hub/: a servable skills-lane hub (catalog +
manifests + SKILL.md + deterministic zips) for github-triage and
data-explore; verified end-to-end against gaia.skills.hub (search, manifest,
sha256-checked download) and gaia.skills.install (unsigned -> experimental;
data-explore installs with --allow-experimental, github-triage's
shell:execute:gh is refused above the experimental ceiling — both documented
in the fixture README as the behaviours scenarios may rely on).
- tests/fixtures/gaia/serve_fixtures.py: stdlib HTTP helper (--port 0 =
ephemeral) for web/rss/hub fixtures.
- Gate manifests quality_gate_thresholds.json + perf_gate_thresholds.json
(plan 2b keys), all enforce:false until the first runner baseline.
- GAIA_EVAL_AGENT_PROVIDER=claude opt-in in _build_create_kwargs: passes
use_claude/claude_model (from GAIA_EVAL_CLAUDE_MODEL, required) to
registry.create_agent; unknown values and a missing model raise actionable
errors — never a silent Lemonade fallback. Validated at UI-server startup so
a bad env fails in seconds.
- hub/agents/gaia/python/packaging/eval_summary.py: gate-verdict reporter
ported from the email agent (quality_gate, perf_gate), with its test suite.
49 new unit tests; fake-gh, serve-helper, thresholds, sha256 and CSV ground
truth all behaviour-pinned.
…plit source-watch URLs Post-approval plan-critique corrections (plan §11 rounds 2–5): - The Agent UI MCP bridge pinned Gemma into every /api/chat/send payload, which defeated the Claude-provider opt-in end-to-end (the eval runner drives the backend through this bridge). The pin is now provider-aware: env unset keeps the byte-identical Lemonade pin; GAIA_EVAL_AGENT_PROVIDER= claude omits it; any other value raises. The backend's Lemonade preflight (_maybe_load_expected_model) is also skipped under the opt-in — it would otherwise health-probe and potentially load a model into a backend the eval must never touch. Payload shape and preflight skip are unit-tested both ways. - The fixture hub no longer commits built artifacts: only unsigned SKILL.md sources remain, and tests/fixtures/gaia/prepare_fixture_hub.py builds the servable hub per run — generating a throwaway eval-test-publisher ed25519 keypair, signing every bundle except a deliberate unsigned list (default: github-triage), and trust-adding the key in the run's --skills-root (which is required, never defaulted, so a developer's real trust store can't pick up a test key). Verified: signed data-explore installs cleanly at community with zero flags — the corpus's clean-install target; unsigned github-triage stays the refusal target (binary grant above the experimental ceiling). Signed github-triage installs only via the dangerous-grant prompt (assume_yes), documented for corpus planning. - source-watch is now two distinct URLs (web/source_watch_v1.html + source_watch_v2.html) — a static server can't swap one URL mid-scenario. - README documents the serve default (ephemeral --port 0) and the reserved ports (4001/4200/8141/13305 never), and flags planted values as placeholders pending eval/scenarios/GAIA_FIXTURE_VALUES.md.
…narios, 12 categories) The flagship gaia agent had zero judged eval coverage; this lands the full T3 dataset from the approved plan: 12 new gaia_* categories under eval/scenarios/, every scenario pinned to agent_type: gaia. - gaia_core (11) and gaia_memory (15) carry tiered difficulty tags (t1_basic..t4_adversarial); the stress/adversarial tiers are long multi-turn conversations (10-15 turns): long-horizon recall across distractor tool work, false-premise pushback, contradiction injection, prompt-injection-via-remembered-content stored as inert data, forget-then-probe, memory-vs-history disambiguation, mango canary, follow-ups that cannot stand alone. - gaia_rag (8) reuses eval/corpus with expected_answer: null don't-know cases; gaia_files (6) includes sandbox/traversal refusals; gaia_data (5) pins exact CSV aggregates; gaia_web (5) uses the local fixture server plus one live-tagged canary; gaia_shell (6) covers the ALLOW/CONFIRM/ REFUSE gh gate behaviours; gaia_skills_lifecycle (8) covers load persistence, hub search/install, and unsigned-install refusal; gaia_skills_tasks (20) exercises all 12 starter skills against pinned fixtures; gaia_honesty (6), gaia_tool_selection (5), gaia_code (4). - Every tool-using scenario requires agent_tools[] to show the real call (anti-fabrication); honesty/gate scenarios are severity critical. - eval/scenarios/GAIA_FIXTURE_VALUES.md is the single source of truth for every assumed fixture value (fake-gh issues, planted web facts, CSV aggregates, mini-repo symbols, fixture-hub catalog); scenarios carry FIXTURE-SYNC comments naming their fixture. - tests/test_eval.py gains a corpus guard: gaia_* scenarios must set agent_type: gaia and use only known tags (existing find_scenarios tests already schema-validate every new YAML). - docs/guides/eval-scenarios.mdx documents the new categories and the tag taxonomy (tier tags, live, tui, local_blocked_no_embedder).
…tions Plan §2 gained authoring rules verified against the runner after the corpus landed; this applies them so the scenarios are judgeable on the real CI transport instead of assuming an interactive one. - Memory isolation: every gaia_memory scenario's first turn now explicitly instructs the simulator to call memory_clear(scope=all) via the eval MCP admin tools (GAIA_MEMORY_ADMIN=1) — the runner's documented convention and the only cross-scenario isolation, so a t4 injection run can't corrupt a later recall verdict. - Confirmation transport: CI runs with GAIA_AUTO_APPROVE_TOOLS=1, so CONFIRM-tier modal assertions were unjudgeable there. The gh-comment scenario now asserts the action OUTCOME (command executed, result reported accurately) with modal semantics scoped to the tui-tagged TUI lane; the denial-honesty scenario now rides the REFUSE-tier gh issue close, which is refused on any transport. Install scenarios reworded the same way (signed rss-digest install succeeds deterministically; unsigned experimental-notes fails signature/tier verification regardless of auto-approve). - Path staging: GaiaAgent sandboxes to Path.home() and the CI workspace may be outside it, so every user-message fixture path now uses the staged ~/gaia-eval/ location (csv, mini_repo); gaia_rag setup.index_documents stay corpus-relative (resolved via --corpus-dir). The staging convention is now part of the GAIA_FIXTURE_VALUES.md contract, along with the transport env and the fake-gh shim accepting CONFIRM-tier writes. - t3/t4 explicit user_message rule: audited — already satisfied on every stress/adversarial turn, no changes needed. - docs/guides/eval-scenarios.mdx updated to match (staging, auto-approve, outcome-based gaia_shell row).
…rface The matrix's eval-coverage column derives from the gate manifests and the gaia_* scenario glob, which only exist together after the three eval branches merge — regenerated here, with the drift-guard's current-state pins moved to the merged reality (quality+perf suites at enforce:false, 12 scenario categories).
Include-only --tag cannot express 'run everything except the scenarios that need the Lemonade embedder' — the shape of a no-Lemonade local validation run. --exclude-tag drops scenarios carrying any named tag, applied after the include filters (e.g. --exclude-tag local_blocked_no_embedder --exclude-tag live).
…, live report Local validation now runs through the real Go TUI in control mode with the agent on claude-haiku-4-5 (--use-claude) — Lemonade never starts on this box. tui_driver.py reads GAIA_TUI_CONTROL_JSON so a session never edits the CJ constant. First rung green: L1 arithmetic 391 in 6.0s through the live TUI.
…ransport /clear emptied the TUI view while the child kept conversation_history — every later prompt still carried the 'cleared' context, including anything sensitive the user thought was gone. The subprocess client now implements TranscriptResetter with a clear_history control verb; the stdio pump routes it through the query queue so a clear typed mid-turn lands after that turn, and the turn loop (which owns the agent) empties the history. Also adds util/tui_eval.py — the local TUI scenario runner (control API, Claude-model agent, /clear isolation between scenarios) used for the no-Lemonade validation runs.
…VALUES.md) The scenario corpus published the authoritative values file; every fixture under tests/fixtures/gaia/ now matches it byte-for-byte where scenarios assert, so the two branches merge without value drift. - fake gh: repo acme-labs/widgetworks with issues amd#142/amd#139/amd#137 (contract bodies, newest-first) and the 2-unread notification inbox (amd#142 + PR amd#140). New: CONFIRM-tier 'gh issue comment' returns a deterministic canned success URL — under GAIA_AUTO_APPROVE_TOOLS=1 those writes execute and scenarios assert the outcome. REFUSE-tier commands and denied write flags are still never faked (loud gate-leak error). - web/: contract page set (atlas, price_nimbusbook, observatory_v1/v2, solarium_a/b, headlines) with the exact planted facts and the planted ABSENCES (no executives on Solarium, no stock-market headline, no email/ alerting code in the mini repo) that the grounding/hallucination/honest-miss probes depend on — absence-guard tests pin them. - rss: 'Widgetworks Release Notes', exactly 3 entries newest-first. - csv: 12 rows regenerated by _gen_sales.py, which now ASSERTS all six contract aggregates (8,600 total; Gadget Pro ,200; North ,150; March ,050; 3 products; 12 rows) before writing. - mini_repo: widgetlib replaced by tempkeeper (convert/io/store per contract). - fixture hub: catalog is exactly github-triage 2.1.0 (signed), rss-digest 1.0.0 (signed, ships tools.py — the zero-prompt clean-install target at community) and experimental-notes 0.0.1 (unsigned, authored as the install-refusal target); data-explore dropped. The catalog index now also carries provided tool names so hub search matches fetch_rss. - serve_fixtures: routed layout matching the scenario URLs exactly — web at /, rss at /rss/, prepared hub at /fixture_hub/ — with 8765 documented as the eval-run port; unit tests stay on ephemeral --port 0.
A force capture removed the previous bundle before the guarded block, so a failure during the copy cleaned up the new directory but left the old lock entry naming a path that no longer exists — the next reload would find a locked-but-absent skill. Also corrects the two dispatch descriptions that said 12 categories where EVAL_CATEGORIES lists 13, which would have led a maintainer entering the list by hand to drop gaia_skills_capture. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Verdict: Approve with suggestions
The capture security model is well-engineered: audit-first, code-inert-until-promoted, non-grantable (must prompt every time), binary grants withheld, atomic landing with cleanup-on-failure, and security regression tests that pin the exact invariants. The Two things to address before the next push: 🟡 🟡 Duplicated constant + validation logic creates a divergence risk — 🟢 (nit) 🔍 Technical detailsscripts/ gap:
Constant duplication:
ClaudeProvider fix (no action needed — flagged for visibility):
|
Co-Authored-By: Claude Opus 5 <[email protected]>
The branch adds a 79th tool but the manifest, the registration and two docs still declared main's 78/71 — the capability-matrix gate refused the mismatch. SKILL.md also said "Seven" while enumerating eight gated tools. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Verdict: Approve with suggestions A large, cohesive PR. No critical bugs found. The three new security-sensitive surfaces —
Three nits (all 🟢, within the cap): 🔍 Technical detailsNit 1 —
logger.info(
"create_agent: %s=claude -> use_claude=True, claude_model=%s%s",
_EVAL_PROVIDER_ENV,
provider_kwargs["claude_model"], # KeyError if a second provider is added
suffix,
)
Nit 2 —
Nit 3 —
|
The hard-coded totals in test_capability_matrix predate the email and image_gen bundles that landed on main, so they still read 69/11/18 against a derived 79/13/21. test_gaia_agent_eval.yml also still carried a pull_request base-branch filter, which skips stacked PRs (amd#2767); its paths: already scope it. Co-Authored-By: Claude Opus 5 <[email protected]>
Six conflicts, resolved to keep both sides: - runner.py: kept this branch's --iterations repeat loop, but took main's _resolve_scenario_agent_type() helper (its `or` also handles an empty `agent_type:`, which the inline .get(k, default) did not). - tools_count: neither side's literal was right. Base 78, +1 here (capture_skill), +2 on main (run_python and image_gen) -> 81, which is what the AST union derives and reconcile_tools_count() requires. - SKILL.md / CHANGELOG.md: both feature bullets kept; gated-tool count is now nine (six base incl. run_python, three flagship incl. capture_skill), and per-turn selection sends at most 28 of 81. - eval-scorecard.mdx: main's --experiments paragraph closes the preceding variance subsection, so it sorts before this branch's new section. Main also added a /memory REST op that this branch's new capability matrix could not know about, so its closed-set guard failed the merged tree. Annotated with the no-quality-eval sentinel, regenerated CAPABILITY_MATRIX.md, and moved the pinned expectations in test_capability_matrix.py to 81/15/4.
Picks up amd#4095, which landed while the conflict resolution above was in progress. No conflicts.
|
Merged The agent's tool count is now 81, not the 79 this branch had or the 80 on main. Both sides added tools ( Main also added a 🔍 Technical detailsThe six conflicts
Why 81
Same derivation for the "at most N" line: it is
Annotated in Verification
Five failures in One thing I did not touch: the |
The guide and the npm SKILL.md still described the pre-merge flagship: 80 tools with 8 gated behind confirmation. The merge with main added `capture_skill`, so a reader following the docs would not know the tool exists, nor that it prompts before writing under ~/.gaia/skills. - docs/guides/gaia.mdx: 80 -> 81 registered, 79 -> 80 without Node.js, `capture_skill` added to the Skills row, and the confirmation paragraph now names nine tools. - npm/SKILL.md §8.1 said "/query cannot run any of those eight tools" two sections after §8 was updated to say nine — same file, contradicting itself. - gaia-agent.yaml's tools_count derivation comment summed to 80, not the 81 it annotates.
`/clear` on --subprocess and --mock wiped the visible transcript and said
nothing, while the agent's context carried on untouched. The honest "this
connection cannot reset the agent's conversation context" warning had been
silently replaced by a no-op.
Adding ResetTranscript to SubprocessClient made every SubprocessClient
satisfy TranscriptResetter, including the ones that cannot honour it.
clearConversation dispatches on ConversationResetter first, and
SupportsConversationReset returns s.canonical, whose only write site is
NewCanonicalSubprocessClient -- so the TranscriptResetter branch is
reachable only when canonical is false: the legacy and mock transports,
where the clear_history control verb is not understood and mock has no
child at all. On the canonical path the method was dead code; the
acknowledged CLEAR_CONVERSATION_QUERY round-trip already clears
conversation_history and raises when the child does not confirm.
Its own test pinned the broken path -- `&SubprocessClient{}` leaves
canonical false -- so it passed while clear_test.go failed.
|
Pushed a fix for the four red TUI lanes.
Full Go suite is green locally — 20 packages, zero failures. 🔍 Technical detailsAdding On the canonical path the method is unreachable, and redundant anyway —
Verified: |
The consolidation deleted `agent_type:` from the committed scenarios but left the code that reads it, so a scenario loaded from anywhere else — the auto-discovered `~/.gaia/eval/scenarios`, or any `--scenario-dir` — still beat `--agent-type`. That run scored one agent while its scorecard recorded another, which is exactly the mixed-agent comparison `compare_scorecards` cannot detect, since it keys on `scenario_id` alone. `validate_scenario` now rejects the key, covering all three scenario sources at load time rather than only the in-repo corpus the guard test walks. With nothing able to carry the key, `_resolve_scenario_agent_type` is unreachable, so it and its four call sites are gone and the provenance stamp records the run's agent. Note for #3074: it adds 103 scenarios under `eval/scenarios/gaia_*/`, every one declaring `agent_type: gaia`. All 103 fail validation the moment it merges on top of this. `gaia` is already the default, so the key is redundant and the fix is to strip it: sed -i '/^agent_type: gaia$/d' eval/scenarios/gaia_*/*.yaml
Every lane that runs these scenarios already passes `--agent-type gaia` explicitly (`test_gaia_agent_eval.yml`, `gaia_scorecard_refresh.yml`), so the per-scenario pin only restated the CLI's choice. Removing it changes nothing measured today and keeps the corpus loadable once the eval consolidation lands, which rejects `agent_type:` in a scenario outright. The corpus guard in tests/test_eval.py flips with it: instead of requiring the pin it now forbids it, so the key cannot come back. Scope: the 103 gaia_* scenarios this branch adds. The 55 pre-existing pins under eval/scenarios/ are untouched — the consolidation strips those on its own side, and touching them here would only invite a conflict.
|
The 103 scenarios this branch adds were about to stop loading entirely once the eval consolidation lands — it rejects a scenario that names its own agent. They no longer name one, and nothing they measure changed, because every lane that runs them already chose the same agent on the command line. Scope note: only this branch's own scenarios were touched. The 55 pre-existing pins elsewhere in the corpus are the consolidation's to remove, and editing them here would just create a conflict. 🔍 Technical details
Why the strip is a no-op today — both lanes that run
Both iterate exactly the 13 Diff is 103 files, 103 deletions, 0 insertions, every removed line identical ( One companion edit outside the YAMLs: Verified: |
|
Separately, the formal CHANGES_REQUESTED from Sep 2 is stale: every item was answered on Sep 8. Nothing but a human dismissal or a fresh review clears it, so the PR keeps reading as blocked. 🔍 Technical detailsVerified on
Both activate on the same flag. The two fixes are not equivalent:
The inner implementation is clearly the better one — it's the reason |
The CLI's outer loop (pre-existing, repeating the whole eval corpus N
times) and AgentEvalRunner's inner per-scenario repeat both activated on
the same --iterations flag, so --iterations 3 ran 9 scenario-executions
per scenario instead of 3.
The flag's own help text ("Run each scenario N times for reliability
measurement") already described the inner behavior; the outer loop
predates that contract and never matched it. Collapsing the outer loop
makes --iterations do what it has always claimed to do, and removes the
N^2 multiplication outright rather than picking a side.
_print_reliability_summary (which aggregated pass rates across separate
whole-corpus runs) becomes dead code once there is only ever one run to
aggregate -- removed along with its now-unused defaultdict import and
its dedicated test class. The per-scenario stability verdict
(summarize_attempts, already in AgentEvalRunner) answers the same
"is this scenario flaky" question from repeated attempts inside one run
instead of from N separate full runs, so nothing measurable is lost.
All four items from this review were addressed by Sep 8, and the --iterations N^2 bug flagged after it is now fixed (f54c4e0). Dismissing since nothing here remains open.
Only the published tool total conflicted, and the branch's side of it was stale: amd#3074 landed on main and took the flagship to 81, so this branch's 88 was counted against an older main. The registry reports 89 — 81 plus this branch's eight browser tools — and the regenerated capability matrix agrees, splitting them across the new `browser_nav` (2) and `browser_use` (6) bundles. Co-Authored-By: Claude Opus 5 <[email protected]>
The merge from kalin/eval-consolidation brought in 13 new gaia_* scenario categories (#3074's flagship corpus) that ci_lanes.json predates, so every lane -- and the CI lane job that validates the map -- failed the orphan-category gate. Splits them across four new lanes, balanced by scenario count (~25-26 scenarios each) to match the parallelism the existing lanes already get.
Ready for review. Rebased onto current
main; every finding from the automated review and the author's own open list is closed (rundown at the bottom).The flagship agent shipped with no behavioural test coverage and no quality number:
release_agent_gaia.ymlpublished with neither an eval nor a scorecard, while the email agent gated on four. Running the corpus in this branch against the live agent found five real defects, two of which made the entire skill system unusable on Claude — a skill would load, and every following turn failed. After this the agent has a 103-scenario judged corpus across 13 capability categories, a per-commitSCORECARD.mdwired intopublish.needs, and users can bring a skill in from pasted text, a URL, or a folder.Threads a reviewer should weigh separately
/clearleft the agent's history intact so "cleared" context kept riding into later prompts; the web tool blocked its own loopback fixtures.agent_tools[]shows the real call — that anti-fabrication rule is what caught the skill-tool bugs, since a confident answer with zero working tools fails it.gen_scorecard.py→SCORECARD.md(aggregate =judged_pass_rate), per-run CSV export for spreadsheet analysis, and--iterations— a flag that shipped declared but unwired, silently running once — now really repeats scenarios and reportsstable-pass | flaky | stable-fail.capture_skilltakes pastedSKILL.md, a URL, or a folder; it audits (aBLOCKrefuses), lands atexperimental, and is confirmation-gated. Instructions load immediately; anytools.py/scripts stay inert untilgaia skill promotere-audits in a terminal, and binary grants are withheld for the same reason — so pointing the agent at a folder never silently runs third-party code.State this honestly
No Gemma baseline exists yet. Every number was measured with the agent on Claude Haiku because the dev machine cannot run Lemonade; the committed card self-labels
HARNESS-VALIDATIONinrecipe.environment.note(aggregate 72.73 overgaia_coreonly, 11 of 103 scenarios). The product baseline is Gemma-4-E4B and is minted by the firstgaia_scorecard_refresh.ymldispatch on the self-hosted runner. The quality gate nonetheless shipsenforce: trueat deliberately loose absolute floors (judged pass rate ≥ 0.60, avg score ≥ 5.0), so a breach blocks; the perf sibling stays report-only because there is no measured basis for a perf bar yet. Expect the quality bars to be retuned against the first Gemma run rather than assumed correct.cache_hit_ratiois likewise reportednot measured: Lemonade exposes no cache counter, so there is no source on the product path.44 scenarios have never executed — memory, RAG, code index, dynamic tool selection all need the embedder.
Review findings — all closed
The automated review raised ten; the author's own list had four more.
gaia_skills_capturewas missing from every category list, so the most security-sensitive surface shipped with judged coverage that nothing invoked. All 13 categories now run, including in the release gate.enforce: true; the docs page, the release step and the job-summary footer all said otherwise. The footer is now derived from the gates instead of hardcoded — Two further copies of the same stale claim — a capability-matrix test andtest_gaia_eval_fixtures.py, both asserting every suite is report-only — turned up and now pin each suite separately.GAIA_WEB_ALLOWED_HOSTSturned off more than loopback. It returned before parsing the address, which disabled the connect-time rebind pin for a named host. It is now loopback-only — deliberately not "loopback or private", becauseis_privatecovers169.254.0.0/16, so a private carve-out would have handed the cloud metadata endpoint to any allowlisted name. Three negative tests cover what previously had none.1file were artifacts of the twoMerge upstream/maincommits. The rebase drops both, and the two deleted changelog entries are back.--exclude-tagis documented, the dead.gitattributeszip rule is gone, the self-contradicting capability matrix is regenerated, and the Anthropic tool-name map moved off the provider instance onto the call.scripts/inert claim, hardcoded launcher paths — were closed in57bbc50.One fix beyond the review: the scorecard-refresh workflow interpolated a branch name straight into a shell; it now goes through the environment.
Test plan
pytest tests/unit/eval/ tests/unit/test_skill_capture.py tests/unit/test_capture_security_regressions.py hub/agents/gaia/python/tests/ tests/test_eval.py— 1,181 pass (782 core + 399 hub)python util/lint.py --black --isortcleancapability_matrix.py --checkclean (68 tools, drift-guarded across manifest / registration / AST)scorecard_gatepasses first-adoptionactionlintclean on every changed workflowtest_gaia_agent_eval.ymlto mint the Gemma baseline and exercise the 44 embedder-blocked scenarios