Repository navigation
docs(skills): add gaia-testing real-world test harness skill - #1372
Conversation
Runs unit -> integration -> real-world (on-device) tiers and collects screenshots, logs, traces, and per-operation timing to the local machine for review without a remote login. The real-world target is read from declared config (a Dev/Test Machines list), else the local machine; tiers scale to the request. Opus plans and judges (reading screenshot pixels and cross-checking source); Sonnet executes. Hardened by a six-agent adversarial review: capability pre-flight before the approval gate, concrete verification commands, and credential/untrusted-ref safety rules.
--compare only diffs two scorecards (BASELINE CURRENT) and runs no eval; the previous example combined it with --category/--agent-type, which skips the eval entirely and falls back to a saved baseline that usually does not exist on a fresh checkout. Show the run-then-compare two-step instead.
|
Two tightly scoped changes: a correct SummaryThe CLAUDE.md fix is accurate — confirmed against Issues Found🟢
|
- Add a Hard rule: proof of a fix/implementation is a screenshot or a live browser (Chrome/Chromium) capture, never a prose claim; surface it to the user and attach it on a PR. Phase 5 now says to drive the UI live in a browser and screenshot each step. - Phase 4: stop deriving the eval baseline with 'ls -t' — a fresh clone stamps every baseline with the checkout mtime so '-t' picks arbitrarily (per PR #1372 review). Select the baseline matching the model under test instead (dirs are <model>-<hash>).
|
Thanks — valid catch on the |
|
Solid PR — the SummaryThe Issues🟢 Minor — Phase 4 eval step doesn't show the corrected two-step pattern (
|
- SKILL.md Phase 4: show the explicit run-then-(--compare BASELINE CURRENT) commands so the skill is self-consistent and can't be read as the old broken combined form. - CLAUDE.md: the eval prints the run *dir* (Output: eval/results/<run-id>/), not the scorecard path; say so and make the CURRENT path concrete (<run-id>/scorecard.json). Verified against runner.py:1706 (print) and :1339 (scorecard.json).
|
Thanks — both nits addressed in
On the failed Test GAIA CLI on Linux (Full Integration) check: that's a transient Hugging Face |
|
Clean, well-scoped docs-only PR that fills a real operational gap: evidence-backed hardware testing was ad-hoc before, and the SummaryTwo independent fixes land together: the new Issues Found🟢 Minor —
|
CLAUDE.md eval example: flag that the printed run-id must be copied into the --compare command, and carry the skill's 'don't ls -t the baselines (fresh-clone mtime is uniform)' warning into the example so readers who never open the skill still get it.
|
Both nits were already addressed in
No thread to resolve here (this review posted as an issue-level comment, not line-anchored). Also confirming the Test GAIA CLI on Linux (Full Integration) check went green on |
|
Two clean changes that fix a real user pain point and add a well-thought-out testing workflow. Both are ready to merge; one minor nit worth a quick look before the squash. SummaryThe Issues Found🟢 Nit —
|
…e first A dogfood run surfaced only the dGPU box and never mentioned the NPU box also declared in config. Phase 1 now: enumerate every declared machine + hardware class, list-and-ask when several fit, and treat hardware-specific tests (e.g. the NPU device path) as REQUIRING the matching box rather than silently falling back to a GPU/CPU box and reporting that path as tested.
|
Two correct, well-crafted documentation changes. The CLAUDE.md fix resolves a concrete dead-end (combining Issues Found🟢 Minor — The CLI supports Strengths
VerdictApprove. Both changes are correct, the CLAUDE.md fix is verified against source, and the skill is production-ready. No blocking issues. |
…ase 5 Phase 5 referenced 'the browser tooling' generically. Now it recognizes the MCP browser servers available in the environment (Playwright MCP, Chrome DevTools MCP, Claude-in-Chrome) and the local-vs-remote selection rule: use the MCP when the UI is reachable from Claude's host (local or tunnelled); for a remote un-tunnelled target run headless Playwright on the box, since the MCP browser runs on Claude's host and can't see the box's localhost. Recognizes the tools without hard-depending on them.
…I MCP server The skill now knows and uses its testing tools by name, up front: browser-automation MCPs (Playwright MCP, Chrome DevTools MCP, Claude-in-Chrome) with the local-vs-remote selection rule, and GAIA's own Agent UI MCP server — 'gaia mcp serve' wraps the :4200 backend and exposes its tools over MCP (:8766 / --stdio for Claude Code), a browser-free surface for tool-level assertions. Also names 'gaia mcp agent' and 'gaia eval agent'. Phase 5 now references the section instead of inlining the browser detail. Availability-aware, not hard dependencies.
|
Two clean, independently useful changes — the SummaryThe Issues Found🟢 Minor —
|
|
The Issues🟢 Minor — Both the CLAUDE.md block and the skill's Phase 4 example instruct the user to "copy that run-id into the compare below", but For Apply the same adjustment to SKILL.md line 93 for consistency. 🟢 Minor — Strengths
VerdictApprove. The one nit about the |
… (PR #1372) From the latest PR #1372 review nits + the team's lean pass: - Output path: the eval prints an ABSOLUTE path (runner.py:1706), not a relative run-id. Fixed the wording in SKILL.md Phase 4 (prose + example) and the CLAUDE.md example to 'use the printed path, append /scorecard.json'. - gaia mcp agent: note it targets the MCP bridge (:8765), not the :4200 Agent UI backend, so it needs the bridge running (not gaia mcp serve). - a11y: Phase 5 now points at chrome-devtools-mcp:a11y-debugging for free accessibility coverage when a UI is up. - Lemonade: Phase 5 references lemonade-client-patterns.md/CLAUDE.md for startup gotchas instead of re-deriving them. (Kept Phase 4's eval-backend block intact — it is the gaia.ui.server :4200 backend, not Lemonade-client, so the team's 'fold into lemonade-client-patterns' rec was a misread.)
|
Documentation-only PR with no runtime code changes. The SummaryThe skill covers a genuine gap — the v0.20 RC found bugs that Issues Found🟢 Minor —
|
19 PRs merged to main after the v0.20.0 notes were drafted; merge main into the release branch and update the notes to match. - Multi-Device: note #1338 wired the selector end-to-end (it was a no-op after #1252 alone) and added loud runtime validation for unavailable devices. - PowerPoint RAG: note #1366 unblocked .pptx in the Agent UI file picker (backend already accepted it; the frontend rejected it pre-upload). - Activations: note #1310 widened the "Active for" panel to MCP-consuming agents (e.g. the chat agent), not just static REQUIRED_CONNECTORS. - New bug fixes: RAG embedding reuse (#1306), overlapping-chat-turn 409 (#1304), Memory/Settings mutual exclusivity (#1368). - Tooling/CI: doc-vs-code realignment (#1298/#1337/#1340), gaia-testing skill (#1372), Claude CI + Codecov hardening. - Full Changelog regenerated: 44 -> 63 commits.
amd#1375) ## Why this matters The `gaia-testing` skill and the user-level generic `testing` skill share 12 of 13 trigger phrases verbatim, so inside the GAIA repo there was no reliable signal to pick the GAIA-specialized one — a "QA this feature" request could land on the generic skill and miss GAIA's eval baselines, ports, and CLI cross-checks. The description now claims precedence and leads with GAIA-only key terms, closing the ambiguity. It also teaches Phase 1 machine-discovery to follow the declared `~/.claude/memory/dev-machines.md` pointer (so a developer's full machine registry is discovered, not just the inline `## Dev Machines` summary), and adds a **Real-World Testing with Claude Code** section to `docs/reference/dev.mdx` so other developers can set this up. Smaller polish: time-proofed the model-tier names, canonicalized "machine" terminology, compressed three dense passages. Follow-up to amd#1372 (which added the skill). No standalone issue — surfaced while reviewing that skill against Anthropic's skill-authoring guidance. ## Test plan - [ ] `gaia-testing` frontmatter within limits — description well under 1024 chars; body 136/500 lines - [ ] Skill registry shows the updated description with the precedence clause ("in place of the generic `testing` skill") - [ ] `docs/reference/dev.mdx` renders; new section uses placeholder hostnames only - [ ] `grep -nE "t-nx|180115|tomas@"` on both changed files returns nothing (no internal hosts/credentials)
GAIA had no codified way to run the testing that actually catches release regressions: the v0.20.0 RC validation found a headline feature (
.pptxRAG) that worked in the backend but was hard-blocked in the UI, and a release-note claim about the CLI that the source contradicted — neither visible topytest. This adds a reusablegaia-testingskill that runs unit → integration → real-world (on-device) testing and collects screenshots, logs, traces, and timing as reviewable evidence, so "does it actually work on hardware?" becomes a repeatable, evidence-backed workflow. It's portable — the test machine comes from each contributor's declared config (else their local machine; no hardcoded hosts) — and was hardened by a six-agent adversarial review before landing.Threads (two logical changes):
gaia-testingskill (.claude/skills/gaia-testing/SKILL.md) — auto-triggers on "test / validate / QA a feature or release" and scales down to unit-only; Opus plans + judges (reads screenshot pixels, cross-checks source against the tested ref), Sonnet executes. Includes a capability pre-flight so no-hardware runs degrade before the approval gate, credential / untrusted-ref safety rules, and concrete verification (GPU-actually-in-use, planted-fact retrieval proof, teardown checks). Why: makes on-hardware evidence testing repeatable instead of ad-hoc.gaia eval agent --comparedoc fix (CLAUDE.md) — the example combined--comparewith--category, which skips the eval entirely and falls back to a saved baseline that usually doesn't exist →No saved baseline found. Now shows the run-then-compare two-step. Why: anyone following the doc hit a dead end instead of an eval + comparison.Test plan
gaia-testingis discovered with valid frontmatter (appears in the available-skills list).gaia-testing; "run gaia eval agent on rag_quality", "is the app running?", and "write a unit test for X" do not.--compareexample matchessrc/gaia/cli.py: confirm viagaia eval agent --helpthat--comparetakesBASELINE CURRENT(two scorecards) and runs no eval.python util/lint.pypasses (docs/skill-only change; no runtime code paths touched).