Skip to content

docs(eval): remove legacy eval commands removed in v0.18 - #4324

Merged
kovtcharov-amd merged 3 commits into
amd:mainfrom
kovtcharov:claude/eval-mdx-legacy-cleanup
Sep 26, 2026
Merged

kovtcharov-amd merged 3 commits into
amd:mainfrom
kovtcharov:claude/eval-mdx-legacy-cleanup

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

docs/reference/eval.mdx spent ~1,400 lines walking through gaia generate, groundtruth, batch-experiment, visualize, and create-template — every one removed from the CLI in v0.18 — before the eval commands that actually exist. A reader following the page from the top hits a dead command in the Quick Start, and the deprecation banner asked them to read past all of it to reach the parts that still work.

The page now leads with the three live commands (gaia eval sessions, gaia eval agent, gaia eval tasks) and keeps only the sections describing running code: session replay, the agent eval benchmark pointer, and the flagship task gate. Deleted content is in git history.

Overlaps open PR #3812 ("docs(core): retire legacy plans and refresh harness and TUI docs"), which only swaps lemonade-server serve → gaia init on this page and doesn't touch the legacy sections this PR removes.

Test plan

  • python util/check_doc_links.py --internal-only — 1012/1012 OK
  • pytest tests/unit/test_doc_code_validation.py tests/unit/test_check_doc_links.py -q — 58 passed
  • Verified live subcommands against gaia eval subparsers in src/gaia/cli.py (agent, benchmark, sessions, code, tasks)

Fixes #4247

docs/reference/eval.mdx spent ~1,400 lines walking through gaia generate,
groundtruth, batch-experiment, visualize, and create-template — every one
removed from the CLI in v0.18 — before reaching the eval commands that
actually exist today. A reader following the page from the top hit a dead
command in the Quick Start.

The page now leads with the three live commands (gaia eval sessions, gaia
eval agent, gaia eval tasks) and keeps only the sections that still describe
running code: session replay, the agent eval benchmark pointer, and the
flagship task gate. The removed content is in git history if anyone needs it.

Overlaps open PR amd#3812 ("docs(core): retire legacy plans and refresh harness
and TUI docs"), which only swaps `lemonade-server serve` -> `gaia init` on
this page and does not touch the legacy sections this PR deletes.

Fixes amd#4247
@github-actions github-actions Bot added the documentation Documentation changes label Sep 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Approve with suggestions

This deletes ~1,400 lines of eval documentation for commands that no longer exist and leads the page with the ones that do. It's a clean, well-targeted removal — nothing still-live was lost, and the one anchor other docs link into (#flagship-agent-tasks) survives.

One thing to fix before merge: the new opening sentence says the eval surface is three commands, but there are five. gaia eval benchmark (email-triage throughput) and gaia eval code (code-editing benchmark) are both live — the PR's own test plan lists all five. On the page that is now the eval landing page, that undercount tells a reader those two don't exist. gaia eval code in particular isn't documented anywhere in docs/, so this sentence is the closest thing it has to a mention.

Real-world evidence

N/A — docs-only. There's no evidence-bundle.md in the tree and nothing runnable changed, so the verdict rests on static review plus the link/doc-validation checks. I re-ran the internal doc-link check on this branch: 1012/1012 links OK, 0 broken.

🔍 Technical details

Issues

🟡 Intro undercounts the live eval commands (docs/reference/eval.mdx:10)

gaia eval registers five subparsers in src/gaia/cli.py: agent (:1987), benchmark (:2197), sessions (:2275), code (:2318), tasks (:2346). benchmark is documented in docs/reference/cli.mdx:1871; code has no doc coverage at all, which makes the omission here more costly.

GAIA's live evaluation surface is the `gaia eval` subcommands: `gaia eval
sessions` (replay real Claude Code sessions), `gaia eval agent` (the
scenario-based Agent UI benchmark), `gaia eval tasks` (the flagship's
coding-task gate), plus `gaia eval benchmark` (email-triage throughput) and
`gaia eval code` (a code-editing benchmark scored by running the tests). The
batch-experiment / ground-truth-generation / visualizer workflow this page
used to document was removed in v0.18.0; git history has it if you need it.

Worth a follow-up: gaia eval code deserves a short section here or in cli.mdx, the way tasks and benchmark have one.

🟢 Duplicated link list (docs/reference/eval.mdx:16 and :116)

The Getting Started / Scenario Authoring / CI-CD bullets appear verbatim in the intro and again under "Agent Eval Benchmark". Now that the intro carries them, that section can drop its copy and keep just the --require-complete guidance.

Strengths

  • The deletion is verified, not assumed — the removed commands are genuinely gone (confirmed against the gaia eval subparsers), and the only inbound anchor (cli.mdx:1862 → #flagship-agent-tasks) still resolves.
  • Removing this page also removes its three lemonade-server serve instructions, which CLAUDE.md forbids because the binary no longer ships. docs/reference/features.mdx is already consistent with the post-v0.18 surface, so the docs don't contradict each other after this.
  • Promoting Session Replay above the fold is the right call — it was previously buried behind ~600 lines of dead workflow.

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Fixed the command undercount flagged in review: the intro said three live eval commands, but gaia eval registers five. gaia eval code and gaia eval benchmark are now named alongside the other three, so the page no longer implies they were removed with the v0.18 legacy surface.

Also dropped the Getting Started / Scenario Authoring / CI-CD bullets that appeared verbatim in both the intro and the Agent Eval Benchmark section.

🔍 Technical details

Verified against the eval_subparsers.add_parser calls in src/gaia/cli.py: agent, benchmark, sessions, code, tasks.

Merged current origin/main — clean, no conflicts with #3812's lemonade-server serve swap (those lines are in sections this PR deletes).

  • python util/check_doc_links.py --internal-only — 1028/1028 OK, 0 broken; the #flagship-agent-tasks anchor cli.mdx:1950 links into still resolves
  • pytest tests/unit/test_doc_code_validation.py tests/unit/test_check_doc_links.py -q — 58 passed

A short section for gaia eval code is still worth doing — it has no doc coverage anywhere — but that's follow-up scope, not this PR.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Sep 26, 2026
Merged via the queue into amd:main with commit 441670b Sep 26, 2026
20 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the claude/eval-mdx-legacy-cleanup branch September 26, 2026 08:30
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.

docs(eval): remove ~1,400 lines documenting eval commands removed in v0.18

2 participants