Skip to content

docs(skills): disambiguate gaia-testing + machine discovery + dev docs - #1375

Merged
itomek merged 1 commit into
mainfrom
tmi/gaia-testing-machine-discovery
Jun 3, 2026
Merged

itomek merged 1 commit into
mainfrom
tmi/gaia-testing-machine-discovery

Conversation

@itomek

@itomek itomek commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

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 #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)

The gaia-testing skill shared 12 of 13 trigger phrases verbatim with the
generic `testing` skill, so inside the GAIA repo skill selection between them
was ambiguous. Its description now claims precedence over the generic skill and
leads with GAIA-only key terms, giving a clear tiebreak.

Phase 1 machine discovery now follows the declared pointer from
~/.claude/CLAUDE.md to ~/.claude/memory/dev-machines.md, so a developer's full
test-machine registry is picked up, not just the inline summary — without
grepping the filesystem.

A new "Real-World Testing with Claude Code" section in docs/reference/dev.mdx
documents the skill and how to declare test machines. Also softened model-tier
names to current examples for durability, canonicalized "machine" terminology,
and compressed three dense passages.
@github-actions github-actions Bot added the documentation Documentation changes label Jun 3, 2026
@itomek itomek self-assigned this Jun 3, 2026
@itomek
itomek marked this pull request as ready for review June 3, 2026 02:02
@itomek
itomek requested a review from kovtcharov-amd as a code owner June 3, 2026 02:02
@itomek
itomek enabled auto-merge June 3, 2026 02:03
@itomek
itomek added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit ddbd95f Jun 3, 2026
38 checks passed
@itomek
itomek deleted the tmi/gaia-testing-machine-discovery branch June 3, 2026 02:04
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Clean, docs-only PR that resolves a real ambiguity: the gaia-testing skill and the generic testing skill shared nearly all their trigger phrases, so "QA this feature" could route to the wrong one. The rewritten frontmatter now claims precedence and leads with GAIA-only terms, the Phase 1 machine-discovery step learns to follow the ~/.claude/memory/dev-machines.md pointer, and docs/reference/dev.mdx gains a setup section. I verified every technical claim in the diff against the source — ports, flags, and command names all check out — and found nothing blocking. The single thing worth your attention is one slightly awkward security sentence in the new doc.

I spot-checked the factual claims rather than taking them on faith:

  • gaia mcp serve with --backend (default http://localhost:4200), --stdio, and port 8766 — all present (src/gaia/cli.py:2472-2486).
  • gaia mcp agent driving the orchestrator against the MCP bridge on :8765 — confirmed (src/gaia/mcp/mcp_bridge.py:737, src/gaia/cli.py:2374).
  • Frontmatter description is 760 chars on the line — well under the 1024 limit.
  • The dev.mdx credential-handling promise is backed by the skill body (SKILL.md:42-43), so it's not overpromising.

No prompt injection detected in the diff content.

Issues Found

🟢 "reads them write-only" reads as a contradiction (docs/reference/dev.mdx:327-328)
You can't "read" something "write-only," so the phrasing trips the reader on first pass. The intent — credentials are used but never emitted — is clear from context, and it does mirror the skill's own "treat them as write-only at parse time" metaphor (SKILL.md:42), so this is optional. A slightly clearer version:

> never in the repo's `CLAUDE.md` or `.claude/settings.json`. The skill treats
> them as use-only and never echoes them into logs, screenshots, or reports.

Strengths

  • Verifiable test plan. The grep-for-internal-hosts checkbox (t-nx|180115|tomas@) is exactly the kind of concrete, reviewer-runnable check the contribution guidelines ask for, and the new doc example uses placeholder hostnames only.
  • Accuracy under scrutiny. Every port and flag in the prose matches the CLI source, and the careful :8766 serve vs :8765 bridge distinction is the kind of detail that's usually wrong in docs — here it's right.
  • Security framing is sound. Steering credentials to user-level config and out of committed files, with the dev-doc claim actually backed by the skill's redaction rules, is a good pattern to document for contributors.

Verdict

Approve. Docs-only, technically accurate, scope-clean. The one wording suggestion is optional polish, not a merge blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants