Skip to content

docs: release sweep fixes (connectors steps, gaia email CLI, Download button) - #4767

Merged
kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:kalin/docs-release-sweep
Oct 6, 2026
Merged

kovtcharov-amd merged 1 commit into
amd:mainfrom
kovtcharov:kalin/docs-release-sweep

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

A pre-release sweep of the docs found three things users would trip on: the "add a connector" steps pointed at a file (connectors/catalog.py) that is now a package, so they could not be followed; docs/reference/cli.mdx had no entry for gaia email and missed two flags (gateway install --allow-insecure-http, eval tasks gateway --upstream); and the docs navbar Download button still opened GitHub Releases rather than the install page that is now the single entry point. Everything else checked (nav vs files, links, code blocks, version pins, CLI flags both directions, install and memory/tool-selection/indexing/file-access claims) already matched the code.

Test plan

  • python util/check_doc_links.py --internal-only passes (1081 links)
  • python util/check_doc_code.py passes
  • Every flag in cli.mdx exists in the parser, and every parser flag is documented or covered in eval.mdx/agent-benchmarks.mdx
  • Preview the Download button and the new Email Command section on the Mintlify build

…load at the install page

The connectors guide named a catalog.py that is now a package, so the
"add a connector" steps could not be followed. cli.mdx lacked gaia email,
gateway install --allow-insecure-http and eval tasks gateway --upstream.
The docs navbar Download button still opened GitHub Releases instead of
the install page.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve

Docs-only fixes: the "add a connector" steps now point at real files, gaia email gets a CLI reference entry, two missing flags are documented, and the navbar Download button opens the install page. I checked each new claim against the code and every one is accurate. Nothing blocks merge.

Real-world evidence

N/A: this PR changes docs only and no evidence bundle was produced. The verdict rests on a static check of the docs against the source. The one rendered surface, the Mintlify preview of the Download button and the Email section, is still an open item in the author's test plan.

🔍 Technical details

What I verified against the source

  • Connectors: catalog/ is a package containing google.py, microsoft.py and mcp_servers.py, and __init__.py imports each module. _ALL_SPECS exists in mcp_servers.py. Every field in the new ConnectorSpec example matches spec.py: icon/category/tier: int are required, mcp_command: str, mcp_args/mcp_env_keys are tuples, and ConfigField(kind="secret", secret=True) is valid. The id prefix mcp- and the pinned @x.y.z follow the existing GitHub and Tavily entries.
  • gaia email: the flags -q/--query, -i/--interactive, -v/--verbose, --debug, --spec and --output (default ~/.gaia/email/endpoint-spec.html) all exist (src/gaia/cli.py:1373-1421). The autonomy actions status|trust|set-level|pause|resume|kill|run match cli.py:1431. The link target docs/guides/email.mdx exists.
  • --allow-insecure-http (cli.py:3505) and eval tasks gateway --upstream (cli.py:2794, default $LEMONADE_BASE_URL) are both real, and the doc wording follows their help strings.
  • Download href: https://amd-gaia.ai/#install is the same URL used by README.md, docs/guides/install.mdx and tui/internal/catalog/catalog.go:198.

Issues found

🟢 gaia email -h contradicts the new docs (src/gaia/cli.py:1360-1364, outside this diff). The parser help still says "read, organize, and reply to Gmail … Requires the Google connector". The new card says Gmail or Outlook with the Google or Microsoft connector. This is optional for this PR, but the help string should be updated in a follow-up so the CLI and the reference agree.

Strengths

  • The MCP connector example now mirrors a real catalog entry, including the version pin, so a copy-paste no longer fails on a missing icon/tier or a list passed where a tuple is expected.
  • The test plan lists checks a reviewer can repeat (check_doc_links.py, check_doc_code.py, flags compared against the parser in both directions).

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 6, 2026
Merged via the queue into amd:main with commit f3e1a7a Oct 6, 2026
@kovtcharov-amd
kovtcharov-amd deleted the kalin/docs-release-sweep branch October 6, 2026 00:26
kovtcharov added a commit to kovtcharov/gaia that referenced this pull request Oct 6, 2026
test_allowlist_has_no_stale_entries fails on main: amd#4767 documented gaia email autonomy status, which was still listed as undocumented.
kovtcharov added a commit to kovtcharov/gaia that referenced this pull request Oct 6, 2026
…md#4844)

Two stale test expectations are failing required jobs on main, so every
open PR shows red for reasons unrelated to its own change. Both were
caused by merges that each passed alone:

- **`Test Chat Agent`:**
`test_summarize_document_sends_full_text_to_llm` expected the summary
call to carry only `no_history`. amd#4827 now also passes the output limit
so a summary is never cut off mid-sentence. The call is right; the test
now expects both arguments, reading the limit from the constant the tool
uses.
- **`Unit Tests` (all three platforms):**
`test_allowlist_has_no_stale_entries` fails because amd#4767 documented
`gaia email autonomy status`, which was still listed as an undocumented
command. The entry is removed.

## Test plan
- [x] `pytest hub/agents/chat/python/tests/` — 68 passed (1 failed
before)
- [x] `pytest tests/unit/cli/test_cli_docs_drift.py
tests/unit/test_gaia_home_ratchet.py` — 5 passed (1 failed before)
- [ ] `Test Chat Agent` and `Unit Tests` green on main after merge
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