Repository navigation
docs(core): retire legacy plans and refresh harness and TUI docs - #3812
kovtcharov wants to merge 14 commits into
Conversation
Verdict: Request changesThis retires ~109 stale planning/tutorial docs and rewrites the harness, tools, and TUI references around what the code actually does. I spot-checked roughly a dozen factual claims in the rewritten pages against Three things to fix before merge, all small: The new navigation lists three pages twice. The flagship agent guide, the AI-providers guide, and the agent-harness reference were added to "Getting Started" but not removed from where they already lived, so each now appears in two places in the same sidebar. The base branch had no duplicates — this is new. The link checker CI runs can't see it. Thirty-three previously published pages now 404 with no redirect. The PR adds ten redirects, so the intent is clearly there — these are the gaps: the whole roadmap page, every plan page except skill-format, every playbook page, and the component-status spec. One of them, the custom-installer playbook, is still printed as a link by a file GAIA ships to users. Anyone with a bookmark or a search result for these lands on a 404. The terminal command rename is only half applied. Two guides still tell users to run One thing worth a second look rather than a fix: swapping the docs CI check from Real-world evidenceN/A — no evidence bundle was produced for this run, and the change is docs, CI config, and one test. The PR's own test plan lists the link checker, doc-code checker, Mintlify broken-links, the Go build and tests, and 165 Python tests; I independently confirmed every internal link in the changed docs resolves and that no relative link points at a deleted page. The verdict above rests on static review plus those checks. 🔍 Technical details🟡 Three pages duplicated in the navigation tree (
|
| Page | Also still listed under |
|---|---|
guides/gaia |
Python Framework / User Guides / Core Agents |
guides/ai-providers |
Python Framework / User Guides / Core Agents |
sdk/core/agent-system |
Python Framework / SDK Reference / Core Concepts |
Same tab, so the sidebar renders each twice and breadcrumb/next-page resolution is ambiguous. The base docs.json had zero duplicate nav entries. Either drop them from the old groups or leave them there and keep Getting Started as pure cross-links.
🟡 33 removed published pages have no redirect
docs.json gained ten redirects (/spec/agent-base, /sdk/packaging, /guides/custom-agent, /plans/skill-format, …), which is the right pattern — these are the ones that didn't get one:
/roadmap /eval /spec/component-status
/playbooks/index /playbooks/chat-agent/part-{1,2,3}-*
/playbooks/custom-installer/index /playbooks/hardware-advisor/index
/plans/{adaptive-skills,agent-hub,agent-hub-ui,agent-ui,agent-ui-hub-publish,
autonomy-engine,code-index-review,connectors,cua,desktop-installer,
docker-containers,email-agent-packaging,email-calendar-integration,
email-triage-agent,flagship-installer,image-agent,mcp-docs,
messaging-integrations-plan,oem-bundling,security-model,setup-wizard,
skill-synthesis,tool-loader,vision-sdk}
The /playbooks → /quickstart redirect is exact-match and does not cover /playbooks/index or any subpage. Mintlify supports a wildcard source if you'd rather not enumerate:
{
"source": "/playbooks/:slug*",
"destination": "/quickstart"
},
{
"source": "/plans/:slug*",
"destination": "/index"
},
{
"source": "/roadmap",
"destination": "/index"
},
{
"source": "/eval",
"destination": "/reference/eval"
},
{
"source": "/spec/component-status",
"destination": "/index"
}
(Order matters — keep the existing specific /plans/skill-format entry ahead of a /plans/:slug* wildcard.)
src/gaia/apps/webui/build/bundled-agents/README.md:12 still emits https://amd-gaia.ai/docs/playbooks/custom-installer, so this one is reachable from shipped output, not just bookmarks.
docs/releases/v0.15.3.mdx:61 points at /docs/playbooks/sd-agent, which was already dead before this PR — pre-existing, noting only so it isn't mistaken for new breakage.
🟡 gaia tui → gaia-tui rename left behind in docs and runtime strings
docs/reference/cli.mdx and docs/guides/mcp/tui.mdx were corrected; these were not:
docs/guides/ai-providers.mdx:13— "Startgaia tui". This page is newly promoted into the top-level Getting Started group by this PR and is linked fromdocs/quickstart.mdxanddocs/reference/tui.mdx:77.docs/guides/memory.mdx:440— "(gaia tui)".src/gaia/cli.py:2552,:8003,:8023—gaia mcp tui --helpand its startup banner.src/gaia/mcp/servers/tui_mcp.py:12-15,:84,:257,:459— remediation strings shown on failure.:84also says./tui/bin/gaia --control; the built binary is./tui/bin/gaia-tui.
The src/ ones are out of the PR's file scope, but the PR description lists "TUI command spelling" as one of its three corrections, so they belong in the same sweep or a follow-up issue.
1. Start `gaia-tui`. During setup, press **p** to choose an AI provider. In chat,
(docs/guides/ai-providers.mdx:13)
🟡 mintlify validate → mintlify broken-links narrows the docs CI gate
.github/workflows/docs.yml:49. broken-links checks links; validate checked config and MDX parse. The PR's own edit to .claude/skills/gaia-release/SKILL.md:259-264 still describes v0.22.0 failing on an .mdx that "exists, it just never parsed" and surfacing as a docs.json reference error — a validate behaviour. If validate is gone from the current Mintlify CLI this is the right move and the surrounding prose needs rewriting; if it still exists, run both. Worth confirming which.
The same file's step 3 comment now reads "verified against mintlify broken-links" for the \< / \{ MDX escaping rule — a link checker can't verify escaping, so that substitution makes the note inaccurate regardless of which way the CI question lands.
🟢 Duplicate link target (docs/reference/cli.mdx:2401)
Both halves now point at the same page:
[→ Agent Skills Spec](/spec/agent-skills)
🟢 Registry-kwargs regression guard dropped (tests/unit/test_doc_examples_runnable.py)
The rewrite removes test_examples_stay_constructible_through_the_agent_registry, which asserted the doc example survives AgentRegistry.create_agent → python_factory kwarg filtering (the #3312 case: a narrowed __init__ that doesn't forward **kwargs TypeErrors the moment a user picks a model in the Agent UI). The new CountAgent declares no __init__, so the bug can't fire today — but the guard is gone for whoever edits the example next. A three-line construction through _accepted_init_params would keep it.
Also: .github/workflows/test_unit.yml drops the comment explaining why faiss-cpu and pypdf are installed while still installing them. Harmless, but the next person to prune that list has lost the reason.
Strengths
- The rewritten references are verified, not asserted. I independently confirmed against source:
_register_toolsis the only abstract method and_get_system_promptdefaults to""(agent.py:1371,:1332);@toolaccepts exactlyatomic/display_label/timeoutand raisesTypeErrorotherwise (tools.py:171);claude_model="claude-sonnet-5",min_context_size=32768(agent.py:872,:886); the five loop states (agent.py:732-736);GAIA_AGENT_MAX_STEPS/GAIA_AGENT_TOOL_TIMEOUTread at call time;ToolCancelled/tool_cancelled()/raise_if_cancelled(); everygaia-tuiflag andmaketarget named indocs/reference/tui.mdx. All correct. - The hedging is the valuable part. Lines like "tool selection is not an execution permission boundary", "a snapshot also copies whatever was already registered", and "Python cannot kill the thread: an abandoned tool may still finish" are exactly the invariants a host integrator gets wrong, and they match the code.
- Ten redirects and the
docs/releases/*link rewrites to pinned GitHub blob URLs show the URL-stability problem was thought about; the finding above is a gap in execution, not in intent.
|
Addressed the review in f01a9b9:
One correction to the review: Validation: 57 focused tests pass; all 653 internal links and 276 Python documentation blocks validate; Mintlify reports no broken links; documentation versions, Black/isort, CLI help, and whitespace checks pass. The follow-up code review found no unresolved correctness issues. Original full Go and broader Python validation is recorded in the PR description. |
|
Updated the content-quality pass and checked recent merged features, including Fireworks AI, AMD LLM Gateway, TUI cancellation/tracing/mouse controls, project maps, skill discovery/learning, transcription, images, and verification reporting. The custom-agent tutorial and tests now exercise actual SDK registration/dispatch. The MCP example also passed a real MCP 2.2 HTTP session. Replaced the RAG pseudo-spec and corrected multi-repository indexing guidance; removed two remaining roadmap sections and a stale sidebar entry. Validation: 270 focused Python tests pass, all 669 internal links and 261 Python blocks validate, Mintlify renders the changed pages, and full Go tests/vet passed. The final independent review has no outstanding findings. Live cloud inference/model downloads/installers were not exercised. The Windows SD job on c276d1a failed before tests because its runner could not resolve astral.sh. Scoped separately: #3859 (SDK error lifetime), #3871 (folder ingestion formats), #3872 (incomplete summaries), #3873 (citation page provenance). Updated existing #201 for version-aware documentation distribution to coding agents via MCP/plugin/offline options. |
|
Another review/fix/review cycle is complete. The final pass found no further actionable documentation findings in the reviewed changes.
Validation: 272 focused tests pass; 681 links and 256 Python blocks validate; all 36 pages changed in this sweep render in Mintlify. Formatting, version consistency, and whitespace checks pass. The independent reviewer approved after corrections. The Python 3.12 job on b5fc3c0 failed before checkout while resolving codecov/codecov-action@v7. The tag resolves through GitHub's API now; no Python tests ran in that job. Live model/provider and installer limitations remain as recorded in the PR body. |
# Conflicts: # CLAUDE.md # docs/docs.json # docs/plans/autonomy-engine.mdx # docs/plans/desktop-installer.mdx # docs/playbooks/chat-agent/part-1-getting-started.mdx # docs/playbooks/chat-agent/part-3-deployment.mdx # docs/sdk/core/agent-system.mdx
Verdict: Approve with suggestionsLarge documentation restructuring — deletes ~50 stale 🟡
🔍 Technical details
doc_path = REPO_ROOT / "docs" / "sdk" / "core" / "custom-agents.mdx"
(Same change needed in both the The old trigger watched 🟢 The |
# Conflicts: # docs/plans/desktop-installer.mdx
|
Verdict: Approve with suggestions A thorough cleanup: ~60 stale Two small nits to address at your convenience — neither blocks merge: 🟢 🟢 gaia init # Downloads Lemonade Server + models
gaia init # Start the LLM serverThe second line was the 🔍 Technical detailsOrphaned
Fix: add to {
"source": "/eval",
"destination": "/reference/eval"
}And optionally add Duplicate
|
The cleanup-preview test was parametrized over a retired plan page, and the mixin table predates email_tools landing in KNOWN_TOOLS. Co-Authored-By: Claude Opus 5 <[email protected]>
…ntation # Conflicts: # docs/guides/gaia.mdx # docs/reference/dev.mdx # docs/sdk/core/agent-system.mdx
The two tests this branch adds read .mdx with the platform default encoding, so on a Windows checkout (cp1252) they fail with UnicodeDecodeError on any page containing a curly quote or em dash rather than on a real doc defect.
|
The red
🔍 Technical detailsThe
Deliberately not pushing a workaround — the fix belongs on the runner, not in the tree. |
The test execs code blocks out of seven guides, but the unit-test trigger watched only `docs/quickstart.mdx` — so a breaking edit to any of the other six landed without the job that would have caught it ever running. All seven are listed now, on both the push and pull_request triggers. Co-Authored-By: Claude Opus 5 <[email protected]>
Both sides had been editing the same flagship docs. Where main's content is simply newer — the tool table (which gained `capture_skill`) and the gated-tools paragraph (nine of them now) — it wins, and the branch's relocated tool-count line is updated to match at 81. Where the two added different things, both are kept: this branch's skill-grant and stdio-vs-sidecar notes next to main's mail-as-data and image-reload notes. `docs/spec/agent-skills.mdx` keeps this branch's slimmed version. Retiring that 906-line tracking-issue and status block for a component header is what the PR is for, and main added nothing new inside it. Co-Authored-By: Claude Opus 5 <[email protected]>
…s/paths (amd#4326) Subagent definitions and the GitHub-reply skill told coding sessions to go find `CodeAgent`, `JiraAgent`, `SDAgent`, `MedicalIntakeAgent`, `blender_mcp_server.py`, and `tests/test_cli.py` — all deleted — and `gaia-agent-builder.md` presented its example under a "verified against the tree" header, the most damaging kind since sessions copy it as a convention. The GitHub-reply skill's own worked example also told a reporter GAIA has no Slack integration and pointed at the deleted Jira agent, even though `gaia slack` ships today. Every stale reference is swapped for a live one (`GaiaAgent`, `ChatAgent`, `hub/agents/hello-world`, `gaia.connectors`, `hub/skills`, `tests/unit/cli/`), and a new filesystem-only unit test walks backtick-quoted repo paths across `.claude/agents/`, `.claude/skills/`, `AGENTS.md`, and `CONTRIBUTING.md` and asserts each one exists (placeholder shapes like `hub/agents/<id>/...` are allowlisted), so this class of drift can't ship silently again. Overlaps open issue amd#3535, which tracks the same class of drift across a broader file set and proposes extending `util/check_doc_links.py` to walk `.claude/` — the more durable long-term fix. This PR's test is scoped to the paths amd#4248 named. Also overlaps open PR amd#3812, which doesn't touch any of the lines fixed here. ## Test plan - [x] `pytest tests/unit/test_ai_doc_paths_exist.py -q` — 308 passed (confirmed it fails before the fix: reverting any one edit reintroduces a failure) - [x] `black --check` / `isort --check-only` on the new test file - [x] `python util/check_doc_links.py --internal-only` — 1012/1012 OK Fixes amd#4248 --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]>
…slack (amd#4327) `gaia mcp serve`, `gaia eval code`, the `--claude-model` / `--no-lemonade-check` global flags, and `gaia install --silent` all exist in the parser with no mention in the CLI reference, and CLAUDE.md's CLI command list omits `gaia slack` entirely — every flag the reference *does* document is real, so this was a coverage gap, not stale text. Documented all of them in `docs/reference/cli.mdx` (with a caveat on `gaia report`, which is registered but not dispatched per amd#3488), added `gaia slack` to CLAUDE.md, and added a CLI-to-docs drift test that walks every leaf `gaia <subcommand>` from `build_parser()` and checks it's written into `cli.mdx` in full-path form (`gaia mcp start`, not bare `start`) — the same form the page already uses, so it stays low-noise. Twelve pre-existing gaps the same walk found (mostly `gaia connectors` subcommands) are allowlisted as tracked debt rather than fixed here, to keep this PR reviewable; the allowlist test fails if one gets documented without being removed from it, or if the allowlist grows. Overlaps open PR amd#3812, which only renames `gaia tui` → `gaia-tui` and fixes `lemonade-server serve` examples on this page — it doesn't touch any section added here. Also overlaps open issue amd#1085, which filed the same "CLI drift needs a test" finding in May. ## Test plan - [x] `pytest tests/unit/cli/test_cli_docs_drift.py -q` — 2 passed (confirmed each assertion fails independently: an undocumented command trips one, a stale allowlist entry trips the other) - [x] `black --check` / `isort --check-only` on the new test file - [x] `python util/check_doc_links.py --internal-only` — 1013/1013 OK - [x] Verified every added flag against `src/gaia/cli.py`'s `build_parser()` Fixes amd#4250 --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]>
…blocking (amd#4344) 43 test files ran in no CI lane, so they looked green on every PR whether they worked or not. The checker from amd#4124 could see the gap but blocked nothing, so the count kept growing. After this PR, every test file either runs in a lane or is listed with the reason CI can't run it, and lint fails as soon as a new file is neither. Stacked on amd#4343 — merge that first. It repairs the files this PR starts running. - **23 files that need no Lemonade, live account, or AMD hardware** now run in a new `offline-integration` job in `test_unit.yml`. The job takes about 2 minutes of tests, in parallel with the unit job, so the unit job's 30-minute budget isn't touched. One more email file joins the email unit lane. - **18 files are allowlisted with a reason.** Most need a live Lemonade Server, a real Gmail account, or a self-hosted model runner; two are hand-run scripts. Two of them (`tests/mcp/test_mcp_cli_to_agent_workflow.py`, `test_mcp_sdk_integration.py`) fetch unpinned MCP servers from npm at test time **and are broken today**. Their entries say so, so a reviewer can decide whether to repair or delete them. - **The file-search tests no longer walk the real home directory.** On a developer Mac, `test_search_finds_file` ran past a 2-minute timeout, and most search assertions only checked results "if found". They now search a fake home and assert exact results; `test_files_router.py` takes about 4 s with the real `HOME` set. - **The check is now blocking** in `util/lint.py --all`, which CI already runs. Overlaps: amd#4348 makes the whole of `test_files_router.py` use a fake home, so it touches the same search tests. Whichever PR lands second resolves a small conflict. amd#4038 adds its own lint check in the same spots of `util/lint.py` and `docs/reference/dev.mdx`, so expect a trivial conflict there. amd#3669, amd#3721, and amd#3812 touch other parts of `test_unit.yml`. ## Test plan - [x] Before, on `origin/main`: `python util/check_test_lane_coverage.py` reports 43 files and exits 1 - [x] After: the checker exits 0 (850 files, 18 allowlisted), and `python util/lint.py --test-lanes` fails when a new unwired `tests/test_*.py` is added - [x] The new job's exact file list passes locally in a clean py3.12 venv matching its install step, with homes isolated and Lemonade unreachable: 534 passed, 12 skipped - [x] `test_search_finds_file` hangs past 130 s on this branch before the fix, with the real `HOME` set. After it, the whole of `test_files_router.py` passes in 4 s (75 passed, 1 skipped) - [x] The email lane's full command plus the added file passes: 4971 passed - [x] `actionlint` is clean on the three edited workflows, and `black`, `isort`, and `pylint --errors-only` are clean on `util/lint.py` - [ ] Watch this PR's `Offline Integration Tests` job go green on Linux. `test_backend_install_command_is_accepted` only runs there (it's skipped on macOS), so CI is its first real run Fixes amd#4205 --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]>
|
I reviewed this properly rather than deferring it as "too large", and the size is not the problem — the premise has been overtaken by 162 commits on Ten of the plans this retires as legacy were updated by merged PRs in the last 48 hours, several of them today. The other thing I cannot decide for you: this deletes the public roadmap page and redirects Two things I can confirm are genuinely fine, so they do not need re-litigating:
One finding that is new and worth folding in whenever this moves: 🔍 Technical detailsMerge state: 28 conflicts against New finding — five repo READMEs keep relative links into deleted paths. Mintlify redirects cover the docs site, but not relative file links rendered on GitHub, so these break on merge. None are in the PR's file list:
You already swept Also comment-only, harmless but stale after merge: CI: the one red check, What I need from you: a call on whether |
…imports (amd#4360) About 6,700 lines of code had no caller. One file couldn't even be imported, yet CLAUDE.md still listed it as "Shell integration". The dead code kept stale behaviour looking alive, like `rag/demo.py` printing `gaia rag` commands that don't exist, and it cost reviewers time. This PR deletes six of the items from amd#4243. It also adds a test that imports every module under `src/gaia`, so an unimportable file now fails CI instead of lingering. The test fails on current `main`: it flags `shell/prompt.py` and the three uncollected mic scripts. Left for a maintainer decision: - `src/gaia/eval/model_comparison.py`: it has no caller, but amd#3741 merged it yesterday as a library building block, with CLI wiring planned as a follow-up. - `governance/`, `talk/app.py` (amd#4333) and the webui AgentManager panel (amd#4330) were excluded. `docs/plans/cpp-framework-parity.md` still calls the C++ plan resolver dead code to resolve. I left it alone because amd#3812 deletes that file. <details> <summary>🔍 Technical details</summary> - Deleted: `src/gaia/shell/`, `rag/demo.py`, `rag/app.py` + `rag_main` export, `audio/tests/*.py`, `eval/longthread_quality.py` + its test and fixture, `hub/agents/email/node/`, `Agent::resolvePlanParameters` (+ decl, + now-unused `<regex>` include). - Two `rag_app` tests in `test_rag_index_status.py` went with `rag/app.py`. The chat/talk/file-monitor index-status tests stay. - `thread_fold` keeps its own coverage in `hub/agents/email/python/tests/test_thread_fold*.py`. - The import test's allowlist is keyed on the *missing package* (`mcp`, `reportlab`), not the module. An allowlisted module still fails if it breaks another way, and a second test checks each allowlisted package is an optional extra in `setup.py`, not a base dependency. Loose `.py` files outside a package are loaded by path, so broken relative imports fail too. - A CI-equivalent venv (`.[api]` + the unit job's test deps) flags only `mcp` and `reportlab` today, and the sweep takes ~7 s cold. No module does an unguarded platform-only import at top level, so the Windows smoke lane should match. That lane is not verified locally. - No open PR modifies a deleted file. amd#4260 edits the chat agent's `app.py`, not `src/gaia/rag/app.py`. </details> ## Test plan - [x] `pytest tests/unit/test_import_all_modules.py`: fails on `origin/main` (shell/prompt.py + 3 mic scripts). It also fails with prompt_toolkit installed (broken relative import) and with an `__init__.py` added (`gaia.shell.commands` missing). Passes on this branch in both the full dev venv and a `.[api]`-only venv. - [x] `pytest tests/unit/test_rag_index_status.py tests/unit/test_packaging.py tests/unit/test_model_comparison.py tests/unit/email tests/unit/rag tests/test_rag.py`: 296 passed, 9 skipped - [x] `pytest tests/unit` (`.[api]` venv): 14422 passed. The 23 failures (`test_cli_smoke`, `test_uninstall_command`, `test_lemonade_asr`) also fail on `origin/main` in the same env. - [x] C++: `cmake -S cpp -G Ninja && cmake --build` builds clean, and `tests_mock` passes 1002/1002 - [x] black, isort, pylint (CI flags) on the changed Python files - [ ] Windows and macOS unit smoke lanes pass (CI) Part of amd#4243 Co-authored-by: Kalin Ovtcharov <[email protected]>
`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 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 doesn't touch the legacy sections this PR removes. ## Test plan - [x] `python util/check_doc_links.py --internal-only` — 1012/1012 OK - [x] `pytest tests/unit/test_doc_code_validation.py tests/unit/test_check_doc_links.py -q` — 58 passed - [x] Verified live subcommands against `gaia eval` subparsers in `src/gaia/cli.py` (`agent`, `benchmark`, `sessions`, `code`, `tasks`) Fixes amd#4247 --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]>
…4353) About 300 unit tests never ran in CI. Their files skip as a whole when a hub wheel (`gaia_agent_chat`, `gaia_agent`, `gaia_agent_email`) or an optional extra is missing. The unit lane lacks them, but it still names the files, so the lane check counted them as covered. With this PR, each file runs in a lane that installs what it needs, and a lane fails when a file skips as a whole without an allowlist entry saying which lane runs it. Stacked on #4344. Merge #4343 and #4344 first. - **The new guard runs inside each lane**, right after install. It collects the job's own pytest commands in that lane's environment, so it sees what the lane actually runs. It reports the skipping file by name. This matters because a file that imports a skipping helper is otherwise blamed on the helper's line: `test_chat_inline_web_ssrf.py` was hidden that way. - **Two moved files needed repairs to pass together.** `test_chat_fix_contracts.py` picked up file tools leaked from earlier tests. `test_chat_system_prompt_budget.py` evicted the chat agent module at collection, so other files' patches stopped hitting it. - **Two files stay allowlisted with no lane, for an owner to decide.** `test_profilespec_characterization.py` has 11 golden rows that drifted, and its docstring says golden updates need sign-off. `test_tool_loader_token_budget.py` has 4 token and tool-count pins that are stale, and even re-pinned, one ratio is over budget. Overlaps: #4350 is also stacked on #4344 and edits the offline-integration list and the allowlist, so expect a small conflict there. #4038, #3721, #3669, #3812 and #3072 touch other parts of `test_unit.yml` and `test_gaia_agent.yml`. ## Test plan - [x] Before: `python util/check_module_skips.py --workflow test_unit.yml --job unit-tests` with no `module_skips` entries reports 80 files skipping wholesale and exits 1 - [x] After: the guard exits 0 for all 7 guarded jobs, each run in a clean py3.12 venv built from that job's install step - [x] `python util/check_test_lane_coverage.py` and `python util/lint.py --test-lanes` pass (31 module-skip entries verified) - [x] New tests: `pytest tests/unit/test_check_module_skips.py tests/unit/test_check_test_lane_coverage.py` passes 64. They include a real `--collect-only` over a temp repo - [x] Chat-lane files in the chat env: 421 passed. Before the two test repairs, 2 failed when run together - [x] Flagship-lane files in the gaia env: 59 passed. `test_mcp2_server.py` plus the MCP transcript tests in the MCP env: 27 passed - [x] Email unit lane's full command plus `test_synthetic_mbox.py`: 4980 passed - [x] The 4 newly unskipped files in the unit job (docx, pptx, reportlab, slack): 60 passed. Full `tests/unit/` in that env: 14509 passed, 23 failed. The failures are in 3 files (uninstall, CLI smoke, Lemonade ASR) that also fail when run alone. They come from this Mac's setup: `GAIA_HOME` isolated and `gaia` not on PATH. This PR changes no code those files exercise - [x] `actionlint` is clean on the 6 edited workflows. `black`, `isort`, and `pylint --errors-only` are clean on the changed Python - [ ] Watch the MCP lane's Windows leg run `test_mcp2_server.py` and the guard. They were only run on macOS locally Fixes #4206 --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: Ovtcharov <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: f <f@f> Co-authored-by: probe <probe@local>
|
Closing this — not for its size, but because main has answered the question it was asking, and answered it the other way.
The Two things here are worth keeping, both as their own PRs off current main:
Credit where it's due — 61 redirects against main's 9 is thorough. Nothing is lost by closing. The branch is on your fork, and this reopens in one click if you see it differently. 🔍 Technical detailsStaleness. Merge-base The 112 deletions. 72 23 of them edited on main since the fork, latest edit dates:
Lemonade sweep already done. Mintlify step is fine as-is. The nav guards — the part worth re-landing. TUI naming — why it needs a decision, not the rename in this branch. Navigation. Main's Net content loss. Branch safety. Head is on the fork |
## Summary Fixes broken `amd-gaia.ai` links in the bug-report template, CLAUDE.md and the eval presentation, and widens the URL test so it checks those files too. ## Why FAQ/troubleshoot links in CLAUDE.md and the eval presentation return 404s. The docs site serves /docs/ pages, but URL tests cover only /src/gaia/. ## Linked issue Closes amd#4433 ## Changes - Added /docs/ to broken-link checks in the bug-report template, CLAUDE.md, and eval presentation. - Expanded URL tests to scan scripts/, installer/, .github/, and CLAUDE.md, including .ps1, .sh, .yaml/.yml, and .nsi files. - Allowlisted valid /docs and /#install links. - Fixed the roadmap link and updated CLAUDE.md to reflect the expanded test scope. - No install-ui changes needed; those scripts no longer exist. The presentation fix in amd#3812 was closed unmerged. ## Test plan - [x] `pytest tests/unit/test_amd_gaia_urls.py` passes - [x] Removing `/docs` from the bug-report FAQ link makes the test fail and name that line (the old test passed with it) - [x] Every changed link returns 200 on amd-gaia.ai; the old bare paths return 404 ## Evidence N/A: docs and test-only change; no Agent UI, MCP, CLI or API surface touched. Link checks: `amd-gaia.ai/reference/faq` → 404, `amd-gaia.ai/docs/reference/faq` → 200 (same pattern for every changed link). ## Checklist - [x] I have linked a GitHub issue above (`Closes #N` / `Fixes #N` / `Refs #N`). - [x] I have described **why** this change is being made, not just what changed. - [x] I have run linting and tests locally (black, isort and flake8 on the changed test; `pytest tests/unit/test_amd_gaia_urls.py`). - [x] I have attached **real-world evidence matched to the surface I changed** (see Evidence above), or marked each surface N/A. - [x] I have updated documentation if user-visible behavior changed (see [CONTRIBUTING.md](../CONTRIBUTING.md)). --------- Co-authored-by: Kalin Ovtcharov <[email protected]>
GAIA's docs mixed the working harness and TUI with obsolete roadmaps, completed plans, legacy agents, and conflicting API examples. This removes 112 legacy files, centers navigation on today's flagship/harness/TUI, and replaces speculative references with source-checked behavior and runnable custom-agent examples.
Closes #3810.
🔍 Technical details
Merged main through
7290953eand reviewed the latest feature history against the retained guides. SDK behavior changes stay outside this PR: #3859 tracks prior-turn error leakage; #3871–#3873 track reproduced RAG ingestion, partial-summary, and citation gaps. Existing #3316/#3315/#3506/#3636 cover other documented limitations. #201 now scopes version-aware documentation distribution via MCP, plugin/skill, and offline exports.Independent code review found no remaining actionable inaccuracies in the final follow-up. Human review remains required before merge.
Test plan:
go test ./... -count=1andgo vet ./...; source launcher and CLI help/argument parsing checked.git diff --checkpass.Live paid-provider inference, model downloads, embedding-quality evaluation, and published OS installers were not exercised. The Windows SD integration job on
c276d1a4failed during environment setup because the runner could not resolveastral.sh, before tests ran; other CI is reported by the checks below. Workflow actionlint's four ShellCheck diagnostics were also present on the original base.The repeat review of the final sweep found no further actionable documentation findings in the reviewed scope. All 36 pages edited in that sweep render in Mintlify. On b5fc3c0, the Python 3.12 CI job stopped before checkout because GitHub could not resolve codecov/codecov-action@v7; the tag resolves in a direct API check. This was not a test failure.