Skip to content

Release v0.22.0 - #2128

Merged
itomek merged 3 commits into
mainfrom
tmi/gaia-release-075c45
Jul 16, 2026
Merged

itomek merged 3 commits into
mainfrom
tmi/gaia-release-075c45

Conversation

@itomek

@itomek itomek commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Cuts the v0.22.0 minor release on top of v0.21.2 — 198 commits, 62 of them feat, built around the email agent. It grows past triage: it now keeps track of the mail you're waiting on and the things you said you'd do, can send and snooze on a schedule, drafts replies that sound like you (derived style only — never your Sent content), and handles attachments. In the Agent UI, email moved out of the main process — you install it from the Agent Hub and it runs as its own isolated sidecar.

Away from email: gaia schedule brings cron dispatch to the CLI (no UI in the loop), agents start distilling procedures from work they repeat, RAG reads Word documents, and gaia config set default_model ends re-typing --model. The default embedder changes to EmbeddingGemma 300M — quieter than it sounds, because the old default can't be loaded by current llama.cpp builds at all, which silently broke document indexing, code search, and memory.

Two breaking changes are called out up front: triage's draft.body is gone (it was always ""; it's a DraftScaffold now), and RoutingAgent / DocumentQAAgent moved to standalone wheels with no deprecation shim.

The email agent is marked beta throughout, and the notes carry a short Known issues section naming two open bugs found while validating this release (#2124, #2127) rather than leaving users to discover them.

Evidence

Claims in the notes were verified against origin/main @ 5265b96a (a pristine detached checkout, not a dirty tree), on macOS + Ubuntu 24.04 + Windows 11, all running the pinned Lemonade 10.10.0.

What was exercised, and what it showed
Claim Evidence
Triage returns a scaffold, no draft.body Live POST /v1/email/triage → HTTP 200, draft = ['subject','to'], schema_version 2.4. Confirmed on Ubuntu + macOS, and in the published openapi.email.json
.docx indexing (tables, nested tables, content controls, hyperlinks, textboxes) All 6 planted facts extracted verbatim (Zephyr, APAC 8610, violet-otter-92, quartz-badger-40, cobalt-lynx-77, desk 17C); legacy .doc rejected loudly
gaia schedule cron + sinks ~/.gaia/schedules.toml written; sinks stdout | file:<path> | notification | telegram; verified on macOS + Ubuntu
gaia config set default_model Persists + reads back; corrupt config fails loudly naming the file
Email runs as its own process in the Agent UI Typed a message in a real Agent UI email chat → sidecar spawned: email-agent --host 127.0.0.1 --port 59026, health-checked, apiVersion=2.3; GAIA_EMAIL_AGENT_MODE unset, gaia_agent_email not pip-installed
Binary is integrity-checked Fresh Hub install (uninstall → install from the panel); recorded artifact_sha256 matches the on-disk binary exactly; log: using hub-installed verified binary
Lemonade 10.10.0 note: re-run systemctl --user enable lemond Verified live — after the 10.7.0→10.10.0 upgrade on Ubuntu, systemctl --user is-enabled lemond returned disabled

Claims that could not be measured were rewritten rather than asserted: no performance number is quoted for the embedder work (none of #1952/#1761/#1748 has a measured before/after), and the NPU entry describes the mechanism instead of claiming the load/unload loop is fixed (#1676 is still open).

Two spam metrics from a PR body (0.807 recall / 0.677 precision) contradicted the committed baseline (tests/fixtures/email/baseline_accuracy.json: 0.7719 / 0.6567) and were dropped along with the whole spam claim — see #2124.

Release checklist

  • util/validate_release_notes.py docs/releases/v0.22.0.mdx --tag v0.22.0 passes
  • src/gaia/version.py → 0.22.0
  • src/gaia/apps/webui/package.json → 0.22.0
  • src/gaia/apps/webui/package-lock.json → 0.22.0
  • Navbar label in docs/docs.json → v0.22.0 · Lemonade 10.10.0 (was drifted at 10.7.0)
  • All 198 commits in range (v0.21.2..HEAD) represented in the notes
  • Community contributors credited (@alexey-tyurin, @TravisHaa, @Rohithmatham12, @Osamaali313, @eeee2345, @somo9909)
  • Review from @kovtcharov-amd addressed

@itomek
itomek requested a review from kovtcharov-amd July 16, 2026 16:17
@github-actions github-actions Bot added the documentation Documentation changes label Jul 16, 2026
@itomek itomek self-assigned this Jul 16, 2026
@itomek
itomek marked this pull request as ready for review July 16, 2026 16:21
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions.

This cuts the v0.22.0 release — the notes MDX, navigation entry, and the three version bumps. Version bumps are consistent at 0.22.0 and the navbar's Lemonade 10.10.0 matches LEMONADE_VERSION; the notes validate and docs.json is valid JSON. The release-notes prose is unusually careful — claims are tied to evidence and unmeasurable ones were rewritten rather than asserted.

One thing to fix before merge: the "RoutingAgent and DocumentQAAgent moved to standalone packages" breaking change links to the wrong PR. It cites #1866, but that's the .docx RAG feature — the actual routing/docqa migration is #1455. A reader following the link lands on an unrelated change. Non-blocking, but worth a one-character fix on a release doc that ships to users.

🔍 Technical details

🟡 Important

Wrong PR reference in a breaking-change note (docs/releases/v0.22.0.mdx:65)
The RoutingAgent/DocumentQAAgent breaking change cites PR #1866, but #1866 is feat(rag): index Microsoft Word (.docx) documents. The migration to standalone wheels is #1455 (refactor(agents): migrate docqa + routing to hub) — and the changelog in this same file correctly lists both (21fff02e … (#1455) and 10444dee … (#1866)). The .docx section at line 136 already (correctly) uses #1866, so #1866 appears twice while #1455 is never linked in prose.

Both now ship as their own wheels (`gaia-agent-routing`, `gaia-agent-docqa`) and are no longer in the core package. There is **no deprecation shim** — `from gaia.agents.routing.agent import RoutingAgent` and `from gaia.agents.docqa.agent import DocumentQAAgent` will fail. Install the wheel and import from its package instead (PR [#1455](https://github.com/amd/gaia/pull/1455)).

Strengths

itomek added 2 commits July 16, 2026 12:24
…bject

The generated changelog copies commit subjects verbatim, and #1791's subject
contains a bare '<'. MDX reads it as the start of a JSX tag, so the file failed
to parse and its docs.json nav entry then looked missing, failing the check.
The breaking-change note linked #1866 (the .docx RAG feature), which merely
carried the migration in via its base branch. Commit 21fff02 (#1455) is what
actually removed src/gaia/agents/{routing,docqa} and added the hub packages.
@itomek

itomek commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

Good catch — fixed in 2b68565. The breaking-change note now cites #1455.

Confirmed against the history rather than taking the swap on faith: commit 21fff02e ("refactor(agents): migrate docqa + routing to hub (#1102) (#1455)") is the single commit that both removed src/gaia/agents/{routing,docqa} and added hub/agents/python/{routing,docqa}. #1866 only carried the migration in via its base branch, which is what made it look like the source.

🔍 What else this prompted

The earlier check here only confirmed that every cited PR resolved and was merged — #1866 passed that while still being the wrong PR for the claim. So every prose citation was re-audited against the cited PR's actual title, section by section. No other mismatches: #1866 now appears once (under "RAG reads Word documents"), #1455 once (the migration).

mintlify validate and util/validate_release_notes.py --tag v0.22.0 both pass.

@itomek
itomek enabled auto-merge July 16, 2026 17:21
@itomek
itomek added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit 8eb3516 Jul 16, 2026
81 checks passed
@itomek
itomek deleted the tmi/gaia-release-075c45 branch July 16, 2026 17:47
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