Skip to content

Release v0.23.0 - #2374

Merged
itomek merged 19 commits into
mainfrom
v0.23.0-release
Aug 13, 2026
Merged

itomek merged 19 commits into
mainfrom
v0.23.0-release

Conversation

@itomek

@itomek itomek commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

GAIA v0.23.0 Release Notes

GAIA v0.23.0 makes the agents easier to get, safer to run, and easier to extend. You can now browse, install, and run agents straight from the terminal with gaia hub, and add new capabilities to an agent as signed, auditable skills. Under the surface it's a security release: the local API and MCP bridge no longer expose themselves to the network by default, the confirmation prompt that pauses an agent before it sends mail, writes a file, or runs a command now works from the terminal and over the local API and MCP — not just inside the graphical app — and an agent can no longer quietly reach into your ~/.gaia config or slip crafted SQL into the database agent. Connecting a Microsoft account is now an explicit Personal-or-Work/School choice with a zero-setup sign-in.

Why upgrade:

  • Get agents from the terminal — gaia hub browses, installs (behind a trust prompt for unverified agents), runs, and removes agents without leaving the shell.
  • Every agent asks before it acts — the confirmation gate for sending mail, writing files, and running commands now works in the terminal, over the local API, and across MCP tools, not only in the Agent UI.
  • Safer by default — the MCP bridge binds to localhost, the local API refuses credentialed cross-origin requests from arbitrary sites, MCP servers launch without a shell, and an agent can't write into ~/.gaia or reach the database with crafted SQL.
  • Build and share skills safely — gaia skill makes skills first-class: create, import, sign with trust tiers, and audit them before sharing. They're opt-in — you add the ones you want.
  • Connect a Microsoft account without a secret — Personal and Work/School are now separate connectors with device-code sign-in and no client secret required.
**The email agent is beta and CLI-first this release.** It runs locally and never sends, forwards, or deletes without your confirmation — that safety gate is verified. This cycle was mostly robustness and correctness: sturdier Outlook and calendar handling, honest reporting when a scan is truncated, and a long list of fixes (see Bug Fixes). It's still early — a full inbox triage can currently time out on larger mailboxes, and autonomy is experimental and not yet wired up in the packaged sidecar. Treat its output as a draft to review, and please report what you run into.

Breaking Changes

GAIA_MICROSOFT_TENANT is gone

The Microsoft connector was split into two explicit connectors — Personal and Work/School — each with its own hard-coded tenant, so the GAIA_MICROSOFT_TENANT environment variable no longer does anything and has been removed (PR #2729). If you set it to work around the old single-connector tenant guessing, drop it and pick the connector that matches your account instead (see Microsoft accounts below).

What's New

Install and run agents from the terminal — gaia hub

Getting an agent used to mean the graphical app or a manual pip install. Now the hub is in your shell: gaia hub list shows the catalog, gaia hub install <agent> --trust installs one (the --trust is required for an unverified agent — it will not install silently), and gaia hub uninstall <agent> removes it. The install → run → uninstall round-trip works end to end against the live catalog, with the trust prompt actually enforced (PRs #2484, #2530, #2708). Try it: gaia hub list.

Every agent asks before it acts — beyond the Agent UI

The confirmation prompt that pauses an agent before a consequential action — sending or deleting mail, writing a file, running a shell command — used to work only inside the Agent UI; from a terminal, the local API, or an MCP tool call those actions could run unprompted. This release closes those paths: the gate now fires from a plain terminal, through the gaia api server, and across MCP tool calls, classifying a tool as read-only or mutating and failing closed when unsure. The agent stops and asks before the action, declining leaves nothing changed, and setting GAIA_AUTO_APPROVE_TOOLS=1 in your environment is the explicit way to opt out (PRs #2475, #2544, #2846, #2854).

Safer by default — a security-focused release

Several local exposures are closed this release. The MCP bridge binds to 127.0.0.1 by default instead of every interface, so it isn't reachable from other machines on your network unless you pass a bind-all host, and it can now require an --auth-token that is actually enforced rather than ignored. The local API server no longer echoes an arbitrary origin back with credentials allowed — a cross-origin request from a site that isn't allow-listed is refused. MCP servers are launched without going through a shell, so a server name can't smuggle shell metacharacters; an agent can no longer write into your ~/.gaia configuration; and SQL supplied by the model is blocked from reaching the database agent's statements rather than being executed (PRs #2246, #2238, #2344, #2844, #2847, #2860).

Build and share skills — gaia skill

A skill gives an agent a new capability from a folder with a manifest — no new Python, no forking the agent. gaia skill create <name> scaffolds one, gaia skill import adds a skill so an agent can discover it, and gaia skill list / info show what's installed and the permissions each one declares. Sharing is guarded: skills carry signatures with trust tiers — an unsigned or untrusted skill is capped at the lowest tier, and tampering is caught by checksum — a pre-publish audit rejects a skill that attempts prompt injection or shell=True/eval, and gaia skill migrate converts skills authored in other formats. Skills are opt-in: no agent loads them automatically yet, so you add the ones you want (PRs #2669, #2692, #2702, #2693). Try it: gaia skill list.

Microsoft accounts: Personal and Work/School, no secret required

Connecting a Microsoft account is now two clear choices instead of one connector guessing your tenant. gaia connectors list shows Microsoft as two distinct connectors — Personal and Work/School — each with a zero-setup device-code sign-in (a code and a URL to visit) and no client secret required for a public app registration (PRs #2718, #2364).

Lemonade Server 11.5.0

This release runs against Lemonade Server 11.5.0 — the version installed by gaia init and pinned across CI and the installer.

Bug Fixes

A selection of the user-visible fixes this release — the full list is in the changelog below.

  • Triage now paginates large inboxes and reports truncation honestly (PR #2646) — no more silently dropping mail past a hidden limit.
  • Thread messages come back sorted and numbered (PR #2570) — "reply to 3" hits the message shown at position 3, not raw backend order.
  • The inbox pre-scan stops reporting a guess as a verdict (PR #2587) — an uncertain classification is surfaced as uncertain.
  • An email conversation survives its turns (PR #2837) — a follow-up question keeps the session context instead of starting over.
  • A bare reconnect no longer guts a mailbox (PR #2733) — reconnecting an account keeps its existing grants instead of wiping them.
  • Restore from Trash anytime (PR #2542) — undo an archive/trash without a narrow time window; the dead permanent-delete path was removed.
  • A low-priority sender no longer forces a promotional label (PR #2774) — sender priority stops overriding the actual content classification.
  • The agent survives an OpenMP double-init (PR #2508) — a mid-conversation native-library clash no longer kills the run.
  • Large tool results are truncated to valid JSON (PR #2645) — an oversized result no longer produces unparseable output.
  • A missing model surfaces as a real 404 (PR #2245) — the builder names the missing model instead of a generic placeholder.
  • GPU is detected on all platforms and default_device is honoured (PR #2244).
  • A sidecar that is alive but has stopped serving is now detected (PR #2707) — a wedged agent process is caught instead of hanging.
  • The model-slot lease is held across inference, not just the load (PR #2394) — a second agent can't evict the model mid-generation.
  • A browser that never launched is surfaced (PR #2507) — a failed OAuth browser open reports an actionable error instead of hanging.
  • Stop actually aborts in-flight streaming (PR #2166) — the Agent UI Stop button ends generation immediately.

Full Changelog

331 commits since v0.22.0:

Expand full changelog (331 commits)

Full Changelog: v0.22.0...v0.23.0


How these notes were verified

Every What's New entry was exercised on real hardware, not inferred from green CI. Re-verified end to end after merging current main (334 commits since v0.22.0), because the delta touched the MCP bridge, hub, skills, and connectors — the exact surfaces the notes assert.

Verification results, what broadened, and what was excluded

Re-verified against the current pin and kept: gaia hub install/run/uninstall (trust gate enforced); the confirmation gate now covering terminal + gaia api + MCP tool calls (fail-closed classifier proven model-free — #2846/#2854); localhost binding + stricter CORS + enforced MCP --auth-token + shell-less MCP launch + ~/.gaia write guard + CWE-89 SQL block (#2844/#2847/#2860, live probes); gaia skill create/import/list/info plus signed-tier + pre-publish-audit + migrate (#2692/#2702/#2693); the Microsoft connector split (two connectors, secretless PKCE — #2896's third connector is Gmail, so the wording is not stale).

Broadened this cycle: the confirmation-gate claim (blocking gap #2846 merged) and the security section (four verified hardening items). The skills section is stated opt-in (#2848: no shipped agent loads skills by default).

Removed: the onboarding / day-zero discovery headline — the scanner works on macOS, but the first-run onboarding flow it feeds is not ready to ship, so it is not claimed (the underlying commit #2747 remains in the changelog).

Excluded (not claimable): a skills-by-default claim (false — #2848); the C++ SDK (real and CI-green but ships no user-facing artifact and predates this release); the prebuilt terminal-hub binary ("not yet distributed"). Claims that failed live verification remain filed as open bugs, not shipped: #2883, #2884, #2885, #2893, #2894. Email ships as a beta note whose only asserted behavior — never sending or deleting without confirmation — is verified.

Release checklist

  • util/validate_release_notes.py passes
  • docs && npx mintlify validate passes
  • src/gaia/version.py → 0.23.0; LEMONADE_VERSION → 11.5.0
  • webui package.json / package-lock.json → 0.23.0
  • Navbar label → v0.23.0 · Lemonade 11.5.0
  • All 334 commits in range represented in the changelog
  • Branch merged current with main; setup.py keeps mcp<2.0
  • Review from @kovtcharov-amd addressed

@itomek
itomek requested a review from kovtcharov-amd July 22, 2026 00:40
@github-actions github-actions Bot added the documentation Documentation changes label Jul 22, 2026
@itomek
itomek marked this pull request as ready for review July 22, 2026 01:02
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve ✅

This is the v0.23.0 release PR — version bump plus the release-notes page and nav wiring. I verified the mechanical parts a release depends on and they all line up: the version is bumped consistently everywhere, the Lemonade 11.0.0 pin matches what the notes claim, the release-notes validator passes clean, and the new page is wired into the docs navigation. The notes themselves read clearly and flag the beta/first-ship caveats honestly. Nothing blocking.

🔍 Technical details

Verification performed

  • python util/validate_release_notes.py docs/releases/v0.23.0.mdx --tag v0.23.0 → ✅ validated successfully.
  • Version consistency: src/gaia/version.py:__version__ (version.py:9), package.json, and package-lock.json (both top-level + packages[""]) all move 0.22.0 → 0.23.0. No stragglers.
  • Lemonade pin: notes claim "10.10.0 → 11.0.0"; src/gaia/version.py:12 already has LEMONADE_VERSION = "11.0.0" (set in chore(deps): bump Lemonade Server to v11.0.0 #2130), so the notes are consistent with the shipped value — this PR correctly does not re-touch it.
  • Nav wiring: docs/docs.json adds releases/v0.23.0 to the Release Notes group and updates the navbar label to v0.23.0 · Lemonade 11.0.0. New MDX file present and referenced.
  • docs/releases/index.mdx does not enumerate individual releases, so no update needed there.

Issues

  • None blocking. No security, correctness, or convention concerns — the change surface is version strings, one new docs page, and two JSON nav lines.

🟢 Minor (nit, optional): the frontmatter description in docs/releases/v0.23.0.mdx:30 is a single ~90-word sentence. It's used as the page meta description, so a tighter one-liner reads better in search/preview — matches how earlier release pages keep it short. Not worth blocking on.

Strengths

  • Notes lead with user-observable impact ("run your inbox for you", "instant switching", "install without a terminal") rather than a commit dump, and the two <Note> blocks are honest about the beta/first-ship risk and the fallbacks — exactly the right tone for a foundation-shifting release.
  • Breaking changes are called out up front with concrete migration guidance (the hub/agents/<id>/<lang> path move, the gaia daemon stop-agent email lifecycle change).
  • Release mechanics are complete and self-consistent — the checklist items are actually verifiable and I confirmed the important ones pass.

itomek added 4 commits July 22, 2026 09:31
Post-release audit found several notes claims the shipped code does not
deliver. Reword to reality:
- scheduled jobs do NOT keep firing on the daemon-supervised path (the old
  per-agent clocks are gated off and DaemonClock is never started); drop the
  'keep firing' claim in 3 places.
- the model broker serializes model *loads*, not inference — drop the
  'no longer race-evict' claim.
- email autonomy's earn-trust 'gets quieter' positive path is scaffolded but
  not wired; keep the correction/pull-back path (real), mark the rest inactive.
- the install trust gate is UI-level; backend enforcement is native-agents-only.
Per review: only advertise features backed by real testing; broken/unverified
features are dropped from the notes (commits still ship in the changelog).
Removed/trimmed: Outlook work/school (new common-tenant default breaks existing
personal-account apps), daemon scheduled-jobs (never fire), model-broker
race-evict claim (loads only), auto-update feed + gaia:// deep-links + install
trust gate (buggy/untested/not backend-enforced), and the dedicated
security-audit pipeline (never executed). Kept the verified ones: in-app Hub
install, first-run wizard, instant model-switch, Lemonade 11.0.0, chat wheel
import (#2358), custody/migration/orphan-reaping, tested security hardening.
Per review, a release note should headline user-facing features that actually
work. Dropped from What's New (commits still in the changelog): the security-
audit tooling and hardening (moved the fixes into Bug Fixes), the base-Agent
lifecycle hooks (#2187, developer infrastructure), the Agent Hub / infra
entry. Also dropped the first-run wizard (logic unit-tested but the desktop
first-run wasn't hardware-verified) and trimmed the model-switch claim to the
verified mechanism (one shared model → no reload on switch), pending a live
timing measurement before any 'instant' number goes back in.
kovtcharov-amd
kovtcharov-amd previously approved these changes Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🟡 The navbar label and release notes say Lemonade 11.0.0, but LEMONADE_VERSION in version.py is 11.5.0 — a subsequent bump landed in this release branch after the initial 11.0.0 entry. A user checking the docs site to learn which Lemonade ships with v0.23.0 will get the wrong version.

Two places need updating:

  1. The navbar label (the most visible one — shown on every docs page).
  2. The "Lemonade Server 11.0.0" section heading and body copy in the release notes, which should reflect the final shipped version (11.5.0) rather than the first bump in this cycle.
🔍 Technical details

docs/docs.json:

-  "label": "v0.23.0 · Lemonade 11.0.0",
+  "label": "v0.23.0 · Lemonade 11.5.0",

docs/releases/v0.23.0.mdx (heading + body near line 98–100):

-### Lemonade Server 11.0.0
-The pinned Lemonade Server moves 10.10.0 → 11.0.0 (PR #2130). ...
+### Lemonade Server 11.5.0
+The pinned Lemonade Server moves 10.10.0 → 11.5.0 across two bumps this cycle
+(11.0.0 in PR #2130, 11.5.0 in PR #2424). ...

src/gaia/version.py:12 already has LEMONADE_VERSION = "11.5.0" — only the doc strings are wrong.

@kovtcharov-amd kovtcharov-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release mechanics are clean — scope is just the 5 expected files (version.py, webui package.json/lock, docs.json, the new release notes), and the app version bumps to 0.23.0 consistently everywhere, with no code changes smuggled in. Two things to fix before this ships, both a doc-vs-shipped mismatch on the Lemonade version:

  • docs/docs.json — the navbar label reads v0.23.0 · Lemonade 11.0.0, but the shipped pin is LEMONADE_VERSION = "11.5.0" (src/gaia/version.py). This label renders on every docs page.
  • docs/releases/v0.23.0.mdx — the "Lemonade Server 11.0.0" heading and the "10.10.0 → 11.0.0" body both understate the actual 11.5.0 pin; the 11.5.0 bump (#2424) isn't mentioned anywhere in the notes.

Fix both to 11.5.0 (noting the two bumps if useful). Beyond the doc fix, this is a large, foundation-shifting release (daemon-supervised sidecars, email autonomy beta, in-app install/auto-update, Lemonade major bump) and the prior maintainer review is in a dismissed state with sign-off still outstanding — so this needs @kovtcharov-amd's explicit release sign-off rather than an automated approval.

The docs advertise the wrong backend version for this release. The
navbar label and the release notes both say **Lemonade 11.0.0**, but
`src/gaia/version.py` pins **11.5.0** — a second bump
([#2424](#2424)) landed in this cycle
after the notes were written. The navbar label is global, so every page
of the docs site carries the wrong number.

The notes now describe the pin moving 10.10.0 → 11.5.0 across both bumps
rather than swapping one number for the other, so the history still
reads correctly. The changelog entry for `c9566b19` deliberately keeps
11.0.0 — that commit really did bump to 11.0.0, and editing it would
turn a stale record into a false one.

Raised as a separate PR against the release branch rather than pushing
to it directly.

## Test plan

- [ ] `python util/validate_release_notes.py docs/releases/v0.23.0.mdx
--tag v0.23.0` — passes
- [ ] `grep -n "Lemonade 11" docs/docs.json` — navbar reads 11.5.0
- [ ] Confirm `src/gaia/version.py` `LEMONADE_VERSION` matches the notes
(11.5.0)
kovtcharov-amd
kovtcharov-amd previously approved these changes Jul 27, 2026

@kovtcharov-amd kovtcharov-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release PR verified: version bump 0.22.0 → 0.23.0 is consistent across version.py, package.json, and package-lock.json; Lemonade pin moves to 11.5.0; docs.json navbar + release notes updated. Nothing blocking — approving.

@kovtcharov-amd
kovtcharov-amd marked this pull request as draft July 27, 2026 22:52
pull Bot pushed a commit to bhardwajRahul/gaia that referenced this pull request Jul 28, 2026
…he heartbeat test (amd#2549)

**Email Agent Unit Tests is red on `main`**, which fails the v0.23.0
release PR (amd#2374). Three failures, all traceable to amd#2469 landing
without its guards updated.

amd#2469 shipped mid-run questions and bumped `SCHEMA_VERSION` to 2.6.
`contract.py` documents the bump in full — the non-terminal
`needs_input` event and `POST /v1/email/query/{run_id}/respond`. Two
freeze guards still described 2.5, and the new route had no entry in the
covered-paths set. Both fired **correctly**; they were simply never
caught up. This updates them and carries the 2.6 rationale across in the
same style as 2.1–2.5, so the guards still mean something.

**The third one was a real bug in the test, not a slow runner.**
`test_stream_heartbeats_while_a_question_is_pending` parked the fake
agent with `timeout_seconds=10` while `_HEARTBEAT_SECONDS = 10.0`. Those
two timers tie: the question times out, the agent thread ends and the
stream closes, in the same instant the first keepalive comes due — and
the stream loop `break`s as soon as the thread dies. Whichever timer won
decided the test. It won on developer machines and lost in CI (the log
shows it failing 10.2s after the previous test passed).

The park is now three heartbeat intervals, derived from
`_HEARTBEAT_SECONDS` itself so it cannot drift back into a tie if the
interval changes.

### Test plan

- [x] `pytest tests/unit/agents/email/test_contract_schema.py
tests/test_email_openapi_conformance.py` — 88 passed
- [x] `pytest tests/unit/agents/email/ tests/unit/email/` — 780 passed
- [x] `pytest hub/agents/email/python/tests/test_query_resume_2469.py` —
7 passed
- [x] Heartbeat test run 3× — 10.72s / 10.67s / 10.70s, passing each
time (it still exits on the first keepalive; it just no longer races
teardown)
- [x] `python util/lint.py --black --isort` — clean
- [x] Confirmed all three fail on `main` before this change

Note the respond route's behavioral conformance already exists in
`test_query_resume_2469.py` (resume, unknown-run 404, stale request_id
409, non-answering caller, keepalives) — the covered-paths entry points
at it rather than adding a duplicate.

---------

Co-authored-by: kovtcharov-amd <[email protected]>
k and others added 2 commits July 27, 2026 19:31
release_components.yml gates the tag against each manifest, so leaving these
at 0.22.0 would fail the v0.23.0 publish — R2 paths are immutable, which is
why the gate refuses rather than publishing under a stale version.

min_gaia_version stays 0.22.0 on purpose: it is the floor these work against,
not the current release.
kovtcharov-amd
kovtcharov-amd previously approved these changes Jul 28, 2026

@kovtcharov-amd kovtcharov-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving after the branch update (my earlier approval was dismissed by new commits). Version bump 0.22.0 → 0.23.0 remains consistent across version.py, package.json/package-lock.json, and now the two new hub component manifests (agent-ui, terminal-hub) — the latter correctly reflecting #2530/#2522. Lemonade pinned to 11.5.0. Nothing blocking.

@itomek-amd
itomek-amd marked this pull request as ready for review July 28, 2026 20:54
@itomek itomek self-assigned this Jul 29, 2026
Unblocks this release. `mcp>=1.1.0` had no upper bound, so pip resolved mcp
2.0.0 on the day it shipped (2026-07-28) and MCPClient.connect() began
returning False — the custom-agent harness went green on 07-28 and red on
07-30 with no code change between.

Same one-line fix as #2694, applied here so the release does not wait on that
merge. Matches the litellm pin two entries down.
@github-actions github-actions Bot added the dependencies Dependency updates label Jul 30, 2026

@itomek-amd itomek-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving per maintainer-bottleneck arrangement while other reviewers are unavailable.

@itomek-amd itomek-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving per maintainer-bottleneck arrangement while other reviewers are unavailable.

@itomek-amd
itomek-amd marked this pull request as draft July 30, 2026 15:24
itomek-amd
itomek-amd previously approved these changes Jul 30, 2026

@itomek-amd itomek-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving per maintainer-bottleneck arrangement while other reviewers are unavailable.

pull Bot pushed a commit to bhardwajRahul/gaia that referenced this pull request Jul 31, 2026
**The custom-agent MCP harness is red for a dependency we never chose.**
`setup.py` declared `mcp>=1.1.0` with no upper bound, so pip resolved
`mcp 2.0.0` the day it shipped and `MCPClient.connect()` began returning
`False`.

The timeline is unambiguous — same branch, no relevant code change:

| When | Result |
|---|---|
| 07-28 02:32 | Build Installers **green** |
| **07-28 13:45** | **`mcp 2.0.0` published to PyPI** |
| 07-30 09:20 | Build Installers **red** — `assert client.connect()` →
False |

`main` carries the identical unbounded pin and is only green because
this workflow is release-branch triggered and hasn't run there since. So
this is not specific to the release PR it currently blocks (amd#2374).

The cap matches `litellm>=1.35.0,<2.0` two entries down in the same
file. Lifting it should be a real port of the client to the 2.x API, not
a version bump — hence the comment saying so.

### Test plan

- [x] `pytest tests/fixtures/mcp/dummy_server/test_dummy_server.py
tests/installer/test_custom_agent_mcp_harness.py` — 4 passed against the
locally-resolved `mcp 1.27.0`
- [x] Specifier checked directly: `>=1.1.0,<2.0` admits 1.1.0 and
1.27.0, blocks 2.0.0 **and** `2.0.0rc1` (prereleases would otherwise
slip through)
- [x] `setup.py` parses; `python setup.py --version` runs
- [x] Confirmed this is the only `mcp` specifier in the repo — no hub
agent pyproject pins it separately
Merges main@4a24d663 into v0.23.0-release. One real conflict, in
setup.py's mcp extra: the release branch had capped it at
mcp>=1.1.0,<2.0 (d4d5a7c, matching main's own #2694) to keep pip from
resolving the mcp 2.0.0 release that breaks MCPClient.connect() and the
FastMCP import in src/gaia/mcp/agent_mcp_server.py and
src/gaia/mcp/servers/agent_ui_mcp.py. A later dependabot bump on main
(#2749) widened that to <3.0 without porting either call site to the
mcp 2.x API — no commit between #2694 and this merge touches
src/gaia/mcp/ at all, and PyPI's current "mcp" release is 2.0.0, so
<3.0 resolves straight to the version the cap exists to avoid. Kept
<2.0 rather than taking main's side as-is.

Version artifacts (version.py, webui package.json/lockfile, both hub
component manifests, docs.json navbar + releases nav) were already
correct on the release branch tip and needed no further changes.
itomek added 5 commits August 10, 2026 17:19
Every What's New entry was verified on real hardware this cycle: gaia hub
install/run/uninstall, the confirmation gate outside the Agent UI, localhost
binding + stricter CORS, gaia skill, the Microsoft connector split, and
day-zero discovery on macOS/Linux. Claims that failed live verification were
pulled and filed as bugs instead of shipped: cross-agent model eviction on NPU
(#2883), NPU context-overflow recovery (#2884), the terminal-hub binary (not
yet distributed), and email triage/autonomy (#2893/#2894). Email stays a beta
note whose only asserted behavior — never sending or deleting without
confirmation — is verified.
Merges main@96ce0d1e into v0.23.0-release (merge commit 79a43ad) and
regenerates the Full Changelog section for the new v0.22.0..HEAD range
(288 -> 331 commits).

Kept the mcp extra pinned at mcp>=1.1.0,<2.0 (issue #2885): no commit
between the merge-base and main's tip ports src/gaia/mcp/ off the
FastMCP/mcp 1.x API, so main's Dependabot widening to <3.0 would
resolve straight to the mcp 2.0.0 release the cap exists to avoid.
…r re-verification

Merging current main brought 41 more commits (now 331 since v0.22.0). Re-verified
every headline against the new pin on real hardware: all six hold. Folded in what
that delta added and verified live — the confirmation gate now covers the terminal,
the local API, and MCP tool calls (#2846/#2854, both proven fail-closed model-free);
the security section gains enforced MCP --auth-token, shell-less MCP launch, the
~/.gaia write guard, and the CWE-89 SQL block (#2844/#2847/#2860); and the skills
section reflects the verified create/import/sign/audit/migrate lifecycle, stated as
opt-in since no agent loads skills by default (#2848). The C++ SDK and a skills-by-
default claim were deliberately excluded — the former ships no user artifact, the
latter is false.
…eady

The day-zero discovery scanner works on macOS, but the first-run onboarding
flow it feeds is not ready to ship, so it should not be a headline. Removed the
What's New section and the overview mention; the underlying commit (#2747)
remains in the full changelog.
@itomek
itomek marked this pull request as ready for review August 13, 2026 01:24
@itomek
itomek enabled auto-merge August 13, 2026 01:24
The release branch had pinned mcp<2.0 on the theory that mcp 2.x breaks the MCP
client. In practice the opposite holds: the MCP harness passes with <3.0 (the
value main and everything else has been running) and fails when capped at <2.0.
Match main exactly so the release PR is notes + version only, with no setup.py
divergence.
@github-actions

Copy link
Copy Markdown
Contributor

Request changes

This is the v0.23.0 release bump — version files, the two hub component manifests, the webui package/lock, a new release-notes page, and a re-tightened mcp dependency cap. The mechanical half is correct and was verified end-to-end on the runner. Two claims in the release notes describe behaviour the code doesn't deliver, and since the notes are this PR's actual deliverable — they get published to GitHub Releases and the docs site — they should be fixed before the tag.

What needs to change:

  1. "Every agent asks before it acts" isn't true over the local API. The notes say the confirmation gate now fires from the terminal, the API server, and MCP, and that "the agent stops and asks." Over the local API there is no way to answer — the gated action is refused outright. A user reading this will expect an approval prompt and instead get a failed tool call. Say "refuses" for that surface.

  2. The skills section promises a capability no agent can use yet. The page description and intro sell "add capabilities by dropping in a folder," and the section says importing a skill lets an agent discover it — then the same paragraph admits no agent loads them. The one agent with the wiring ships with it switched off. This release makes skills authorable, signable, and installable; agent consumption isn't there. Word it that way.

  3. The mcp cap will get re-widened by the bot within a week. This PR restores mcp<2.0 — the same cap a dependency-update PR already removed once this cycle, which is why it needs restoring now. Nothing stops that happening again before the next release. Worth pinning down in the same change.

Two smaller notes are in the details block.

Real-world evidence

An evidence bundle ran on a no-inference ubuntu-latest runner and exercised CLI, HTTP API, and MCP for real. It supports the mechanical half of the verdict and does not contradict the two accuracy findings above — neither claim was testable on this lane.

Version consistency and the component gate:

$ gaia --version
0.23.0

    gaia.version.__version__      : 0.23.0
    LEMONADE_VERSION              : 11.5.0
    webui package.json version    : 0.23.0
    package-lock version          : 0.23.0
    all equal: True

docs.json navbar label: v0.23.0 · Lemonade 11.5.0
matches version.py + LEMONADE_VERSION: True

$ python util/check_component_core_api.py --release-version 0.23.0
OK: every component's declared minimum core can serve it
=== exit 0 ===

The mcp pin change genuinely binds — mcp 2.0.0 is live on PyPI and the new cap holds the install at 1.29.0:

$ pip install -e ".[api,mcp]"
Successfully installed … mcp-1.29.0 …
$ python -c "…requires('amd-gaia')…"
['mcp<2.0,>=1.1.0; extra == "mcp"']

resolved mcp: 1.29.0
mcp.server.fastmcp.FastMCP import: OK
gaia.mcp.servers.agent_ui_mcp import: OK

Two security claims in the notes were confirmed at the socket, not just in a banner:

$ ss -ltn | grep 8765
LISTEN 0      5          127.0.0.1:8765       0.0.0.0:*

$ curl -i -X OPTIONS http://127.0.0.1:8001/v1/models -H "Origin: https://evil.example.com" …
HTTP/1.1 400 Bad Request
Disallowed CORS origin

$ curl … (no Authorization header)      → HTTP 401 Missing Authorization header
$ curl … -H 'Authorization: Bearer wrong-token'  → HTTP 403 Invalid authentication token
$ curl … -H 'Authorization: Bearer <correct>'    → HTTP 200 {"jsonrpc": "2.0", "result": {"tools": […

Release-note CLI claims were each run: gaia hub list returned the live catalog, gaia hub install email without --trust exited 1 with the trust refusal, gaia skill list showed 14 skills all capped at experimental, and gaia connectors list showed microsoft and microsoft_work as separate entries. Docs nav resolved all 229 page entries with no missing files, and the new page's MDX components balance.

Marked deferred by the bundle, per surface: the Agent UI screenshot (pending strix-halo lane — no inference on this runner), confirmation-gate behaviour in a live agent turn, the Microsoft device-code sign-in (auth flows are prohibited on the secrets-bearing runner), and full inbox triage. The deferred confirmation-gate item is exactly where finding 1 lives, so that finding rests on reading the code, not on a failed test. The Agent UI surface here is only a version-string bump with the underlying API/MCP layers exercised for real, so the deferred screenshot is fine for merge-time CI.

🔍 Technical details

🟡 Important

1. The API confirmation path denies, it does not ask (docs/releases/v0.23.0.mdx:47)

src/gaia/api/sse_handler.py:70 sets blocking_confirmation = False, and the class docstring is explicit: "This stream is one-way: there is no channel for the client to answer a permission request, so confirmation-gated tools … are DENIED here (#2210) rather than silently approved." Compare src/gaia/ui/sse_handler.py:171, which sets it True — the Agent UI is the only surface that actually prompts. The linked PR title says the same thing: "fix(api): refuse approval-gated tools instead of auto-approving them (#2854)."

The intro paragraph at line 18 and the "Why upgrade" bullet at line 22 carry the same wording and need the same edit.

The confirmation prompt that pauses an agent before a consequential action — sending or deleting mail, writing a file, running a shell command — used to work only inside the Agent UI; from a terminal, the local API, or an MCP tool call those actions could run unprompted. This release closes those paths: the gate now fires from a plain terminal, through the `gaia api` server, and across MCP tool calls, classifying a tool as read-only or mutating and failing closed when unsure. In a terminal the agent stops and asks; over the local API and MCP there is no channel to answer, so a gated action is refused outright rather than run — declining or being refused leaves nothing changed. Setting `GAIA_AUTO_APPROVE_TOOLS=1` in your environment is the explicit way to opt out (PRs [#2475](https://github.com/amd/gaia/pull/2475), [#2544](https://github.com/amd/gaia/pull/2544), [#2846](https://github.com/amd/gaia/pull/2846), [#2854](https://github.com/amd/gaia/pull/2854)).

2. No agent consumes a skill in 0.23.0 (docs/releases/v0.23.0.mdx:59, and the frontmatter description at line 3 + intro at line 18)

hub/agents/email/python/gaia-agent.yaml:83,94 has skill_sets: and default_skill_set: commented out; the agent's own changelog states it: "Agent Skills ship disabled for this agent, pending eval evidence (#2695 follow-up) … the agent launches with loaded_skills == {} / active_skill_set is None" (hub/agents/email/python/CHANGELOG.md:55). It's the only agent with skill wiring. So "gaia skill import adds a skill so an agent can discover it" contradicts "no agent loads them automatically yet" two clauses later, and the frontmatter's "add capabilities by dropping in a folder" doesn't hold at all this release.

A skill packages a capability as a folder with a manifest — no new Python, no forking the agent. This release ships the authoring and distribution half: `gaia skill create <name>` scaffolds one, `gaia skill import` registers it locally, and `gaia skill list` / `info` show what's installed and the permissions each one declares. Sharing is guarded: skills carry signatures with trust tiers — an unsigned or untrusted skill is capped at the lowest tier, and tampering is caught by checksum — a pre-publish audit rejects a skill that attempts prompt injection or `shell=True`/`eval`, and `gaia skill migrate` converts skills authored in other formats. No agent loads skills yet — the email agent's skill sets ship switched off pending eval evidence — so this release is for authoring and publishing them, with agent consumption to follow (PRs [#2669](https://github.com/amd/gaia/pull/2669), [#2692](https://github.com/amd/gaia/pull/2692), [#2702](https://github.com/amd/gaia/pull/2702), [#2693](https://github.com/amd/gaia/pull/2693)). Try it: `gaia skill list`.

3. Nothing guards the restored mcp cap (setup.py:227, .github/dependabot.yml:23)

The pip group is patterns: ["*"] with no ignore:, which is how <2.0 became <3.0 in the first place — #2694 capped it, #2749 ("update mcp requirement from <2.0,>=1.1.0 to >=1.1.0,<3.0 in the python-dependencies group") widened it back, and this PR is the second re-cap of the cycle. The in-file comment at setup.py:224 already said "Capped below 2.0" while the pin said <3.0, so the comment didn't stop it either. tests/unit/connectors/test_microsoft_tenant_env_var_removed.py is the repo's existing pattern for this kind of drift guard; a unit assertion on the parsed mcp specifier would be the cheaper half.

    # Group all Python dependency updates together to reduce PR noise
    groups:
      python-dependencies:
        patterns:
          - "*"
    ignore:
      # mcp 2.0.0 breaks MCPClient.connect() (see setup.py). #2749 widened the
      # cap to <3.0 automatically once; hold it until the client is ported.
      - dependency-name: "mcp"
        versions: [">=2.0"]

🟢 Minor

4. The release process doc undercounts the files a release PR touches (docs/releases/index.mdx:19)

It says "Every release PR must update exactly 3 files" — version.py, the notes page, docs.json. This PR correctly touches six: release_components.yml asserts both hub/components/*/gaia-agent.yaml versions equal the tag, and publish.yml:89 reads the version out of src/gaia/apps/webui/package.json. Missing either fails the publish run, so the checklist should name them.

5. The email agent's connector-word remap is breaking but unlisted (docs/releases/v0.23.0.mdx:31)

hub/agents/email/python/CHANGELOG.md:44 marks #2629 BREAKING: office365/o365/m365/entra/exchange now resolve to microsoft_work, so someone with only the personal connector who calls their mailbox "exchange" now gets a not-connected error. The email agent versions separately and is flagged beta, so this is a judgement call — but it's the same connector split the Breaking Changes section already covers, and a one-line mention there would land it with the readers it affects.

Strengths

  • Restoring the mcp cap in the release PR is the right catch at the right time. Publishing 0.23.0 with <3.0 would have shipped a wheel whose [mcp] extra resolves to a version that breaks MCPClient.connect() — this is exactly the class of bug that only bites after the tag.
  • The bug-fix list is accurate. Every one of the 15 bullets maps to a real commit in the changelog with matching scope and PR number, and the changelog body's 331 entries match the stated commit count.
  • Mintlify escaping is handled. The changelog entries carrying <id>, <lang>, <agent>, and <2.0 are backslash-escaped, so the page won't trip the mintlify validate gate the way v0.22.0 did.

@itomek
itomek added this pull request to the merge queue Aug 13, 2026
Merged via the queue into main with commit e64e4f6 Aug 13, 2026
74 of 87 checks passed
@itomek
itomek deleted the v0.23.0-release branch August 13, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants