Skip to content

chore(release): flagship agent 0.3.1 - #5461

Merged
kovtcharov-amd merged 4 commits into
mainfrom
kalin/agent-gaia-0.3.1
Oct 21, 2026
Merged

kovtcharov-amd merged 4 commits into
mainfrom
kalin/agent-gaia-0.3.1

Conversation

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Core v0.25.1 sends private-chat, memory-off and file-scope settings to the agent sidecar, but the hub still serves flagship agent 0.3.0, which predates those fields and rejects them. This bumps the flagship to 0.3.1 so it can publish first. After that, the desktop app's private chats stop saving to memory and Full access grants the folders users name. The CHANGELOG entry groups what changed since 0.3.0 by theme and leads with contract 2.18 for integrators.

Test plan

  • python hub/agents/gaia/python/packaging/stamp_version.py --check: every target reads 0.3.1
  • pytest hub/agents/gaia/python/tests: 742 passed
  • npm ci && npm run build && npm test in hub/agents/gaia/npm: 151 passed
  • Lock, installer, drift and floor tests (tests/unit files that read the lock, stamp_version or tools_count, plus hub/agents/chat/python/tests): 1265 passed. Two failures that reproduce only on a machine with GAIA installed are left for CI to confirm on a clean runner
  • python -m gaia.eval.scorecard_gate --scorecard hub/agents/gaia/npm/SCORECARD.md --baseline-ref agent-pkg-gaia-v0.3.0: pass
  • python util/lint.py --all
  • After merge, in order:
    1. Merge the v0.25.1 release PR (version.py, plus the amd-gaia floor and min_gaia_version rising to 0.25.1 for the gaia and chat agents) before tagging the agent. Both live in files the binary is frozen from, so a later core bump fails check_flagship_release.py.
    2. git tag agent-pkg-gaia-v0.3.1 <merge-sha> && git push origin agent-pkg-gaia-v0.3.1, then approve Release Agent (gaia) at the agent-publish gate.
    3. Merge the lock PR the pin-lock job opens (see the branch-name caveat below).
    4. git fetch --tags origin && python util/check_flagship_release.py --ref <lock-PR merge sha>, then tag v0.25.1 on that commit.
🔍 Technical details
  • The lock's sidecar hashes are placeholders, as in the 0.3.0 bump (chore(gaia): bump the flagship agent to 0.3.0 for GAIA 0.25.0 #4941): they described 0.3.0's bytes, and a 0.3.1 baseUrl with 0.3.0 hashes would fail integrity at fetch time. The installer build and check_flagship_release.py fail on this version until the lock PR lands. The tui lane still pins terminal-hub 0.25.0, which is published, so the release's tui stage passes. npm gaia users get TUI 0.25.0 until a later flagship pins 0.25.1.
  • Pin-lock caveat: util/open_flagship_lock_pr.py pushes release/flagship-lock-v<version>, but update-release-branch.yml keeps a release branch on origin, and Git refuses release/* next to it (directory file conflict). This PR's own branch hit that error. Unless the prefix changes before step 2, expect pin-lock to fail; the lock in that run's flagship-binaries-lock artifact can then go up in a PR by hand from a non-release/ branch.
  • CHANGELOG: 28 entries that were still under Unreleased when agent-pkg-gaia-v0.3.0 was tagged moved verbatim into 0.3.0, where they shipped. 0.3.0's note now says contract 2.17 (the tagged server.py), not 2.14.
  • SPEC.md, SKILL.md and openapi.gaia.json already describe 2.18. README gained the memory / allowed_paths paragraph.

Core v0.25.1 relays private chats, memory-off chats and the chat's file
scope to the agent sidecar over contract 2.18, but the hub still serves
flagship 0.3.0, which is contract 2.17 and rejects those fields. This
bumps the flagship to 0.3.1 so it can publish ahead of v0.25.1.

- Version stamped from __version__ into the manifest, pyproject, npm
  package.json and the lock. The lock's sidecar hashes become
  placeholders because they described 0.3.0's bytes; the release's
  lock PR commits the real ones.
- CHANGELOG: the 0.3.1 entry groups the changes since 0.3.0 by theme
  and leads with contract 2.18 for integrators. Twenty-eight entries
  that sat under Unreleased when 0.3.0 was tagged moved into 0.3.0,
  where they shipped, and 0.3.0's note now names the contract it
  actually shipped (2.17, not 2.14).
- README documents the 2.18 `memory` and `allowed_paths` fields, which
  SPEC.md, SKILL.md and the OpenAPI file already describe.
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Skill audit

Skill Verdict Claimed tier Cleared tiers Findings Rules
hub/agents/gaia/npm ✅ ALLOW experimental experimental 2 high body.injection.credential_request, body.injection.persona_override

✅ All audited skills cleared the tier they claim.

Per-finding detail is withheld here on purpose. Read it in the Security > Code scanning tab, or download the skill-audit-reports artifact from this run. Offending source text is withheld from CI everywhere — reproduce it locally with gaia skill audit <dir> --show-snippets.

@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

This bumps the flagship agent to 0.3.1 so it can publish ahead of core 0.25.1. Once it ships, private chats stop saving to memory and Full access grants the folders users name. All five version stamps agree. The core-version floor stays at 0.25.0 on purpose, until the core release PR raises it, as the merge order requires. The CHANGELOG reorganization moves entries without losing any. Nothing blocks the merge.

One thing to settle before tagging: the PR itself warns that the lock-pinning job will probably fail, because its branch name collides with the existing release branch. Changing that branch prefix first is cheaper than hand-building the lock PR from an artifact afterwards.

Real-world evidence

The evidence stage started the sidecar from this checkout (no Lemonade on the runner). It reports the new version on every probe, and it rejects bad values for the new memory field the README documents:

$ curl -s http://127.0.0.1:8791/version
{"apiVersion":"2.18","agentVersion":"0.3.1"} [HTTP 200]
$ curl -s http://127.0.0.1:8791/v1/gaia/version
{"apiVersion":"2.18","version":"0.3.1","agent":"gaia"} [HTTP 200]
$ curl -s http://127.0.0.1:8791/openapi.json   # info block
{'title': 'GAIA Agent', 'version': '0.3.1'}   (12 paths)
$ curl -s -X POST ... /v1/gaia/query -d '{"query":"hi","memory":"bogus"}'
... "loc":["body","memory"],"msg":"Input should be 'on', 'private' or 'off'" ... [HTTP 422]

Spot checks on /v1/gaia/skills, /v1/gaia/memory and /v1/gaia/init all returned 200. The memory endpoint said loudly that memory is unavailable, which is correct with no Lemonade running. CLI and MCP are N/A because neither is touched. Agent UI rendering is pending strix-halo lane. Nothing downloaded or checked the published binaries. Their hashes are placeholders on purpose until the lock PR lands, so that part of the verdict rests on static review.

🔍 Technical details

Issues Found

🟢 The same entry appears twice in "Also in 0.3.0" (hub/agents/gaia/npm/CHANGELOG.md, "Also in 0.3.0" section). Two "run_python and execute_python_file work in the released binary" bullets moved over verbatim. The first lists fewer bundled libraries; the second also names pymupdf and xlsxwriter and covers sys.executable. The duplicate was already under Unreleased before this PR, but now that the entries are curated into a release, drop the first bullet (the one ending "grows from 147 MB to 168 MB." right after "Exploring data… / Commands GAIA's checks…").

🟢 Pin-lock branch prefix (outside this diff: util/open_flagship_lock_pr.py). The PR body predicts release/flagship-lock-v0.3.1 will fail with a ref directory/file conflict against origin/release. Moving to a non-release/ prefix (e.g. flagship-lock/v<version>) in a small PR before step 2 keeps the documented merge order automatic.

Checked and consistent

  • package.json, pyproject.toml, gaia-agent.yaml, __init__.py and binaries.lock.json (agentVersion, componentVersion, baseUrl) all read 0.3.1. server.py API_VERSION = "2.18" matches the CHANGELOG and README.
  • amd-gaia>=0.25.0 / min_gaia_version: "0.25.0" are unchanged. That matches "rise to 0.25.1 with that release" and the test-plan ordering.
  • The 0.3.0 note now says contract 2.17, matching the tagged server, not 2.14.
  • The README memory/allowed_paths paragraph matches the 422 behaviour shown in the evidence.

Strengths

  • The placeholder hashes plus size: 0 fail closed: no client can fetch 0.3.1 bytes against 0.3.0 hashes.
  • The CHANGELOG now credits the 28 entries that actually shipped in 0.3.0 to 0.3.0, so 0.3.1's notes describe only what's new, grouped for integrators first.
  • The merge/tag order and the lock-PR pitfall are spelled out in the test plan.

Two copies of the frozen-binary run_python entry moved into 0.3.0; keep the later one, which names every bundled library.
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator Author

Dropped the duplicated run_python entry from 0.3.0's notes. The pin-lock branch prefix needs its own small PR, and it should merge before agent-pkg-gaia-v0.3.1 is tagged.

SWE-bench smoke fails before any GAIA code runs: the runner's embedded Lemonade returns HTTP 500 for fireworks.deepseek-v4p1-flash, while Fireworks answers directly. The same Lemonade build passed on another PR at 23:18 UTC. It failed the same way on three runs here, and this PR changes no code on that path.

@kovtcharov-amd kovtcharov-amd mentioned this pull request Oct 21, 2026
7 of 12 tasks
The chat agent's retry for a document another program has open (#5458) landed on main after the 0.3.1 entry was written, and it ships in this release's binary.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 1a0ffcd Oct 21, 2026
30 of 31 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/agent-gaia-0.3.1 branch October 21, 2026 10:04
kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Oct 21, 2026
This cuts GAIA 0.25.1 from main: about 120 fixes since 0.25.0, plus the
Agent UI work that landed after it (session and context panels, undo,
plain-words turns, tray icon, model picker, new look). It also raises
the gaia and chat agents' core floor to 0.25.1. That has to merge before
`agent-pkg-gaia-v0.3.1` is tagged (amd#5461), because the floors live in
files the flagship binary is frozen from. Notes:
`docs/releases/v0.25.1.mdx`.

<details>
<summary>🔍 Technical details</summary>

- Version sync: `version.py`, webui `package.json`/`package-lock.json`
(via `bump-ui-version.mjs`), both hub component manifests, the
`docs.json` nav and navbar.
- Floors: `amd-gaia>=0.25.1` and `min_gaia_version: "0.25.1"` for
`hub/agents/{gaia,chat}/python`. `test_chat_dependency_floor.py` fails a
0.25.1 core with a 0.25.0 floor, so the bump and the floors have to land
together.
- The flagship npm README, SKILL.md and CHANGELOG quote the minimum
core, and `test_npm_doc_min_version.py` holds them to
`min_gaia_version`, so they move to 0.25.1 too.
- terminal-hub's `min_gaia_version` stays at 0.23.0. The skill says to
raise it, but `check_component_core_api.py --release-version 0.25.1`
passes as is, and 0.25.0 left it there too.
- PR title is `Release v0.25.1` so `nightly-patch-release.yml` (it
matches `^Release v[0-9]`) does not open a duplicate.
</details>

## Test plan

- [x] `python util/validate_release_notes.py docs/releases/v0.25.1.mdx
--tag v0.25.1` passes; narrative is 350 words (cap 350)
- [x] `mintlify validate` (from `docs/`) passes
- [x] `python util/check_doc_links.py --internal-only`: 930 links OK
- [x] `python util/check_doc_versions.py` and `node
installer/version/bump-ui-version.mjs --check` pass
- [x] `python util/check_component_core_api.py --release-version 0.25.1`
passes
- [x] `pytest tests/unit/test_docs_json_release.py
hub/agents/chat/python/tests/test_chat_dependency_floor.py
hub/agents/chat/python/tests/test_dependency_floor.py
hub/agents/gaia/python/tests/test_npm_doc_min_version.py
hub/agents/gaia/python/tests/test_init_version_floor.py
hub/agents/gaia/python/tests/test_gen_binaries_lock.py
tests/unit/test_check_component_core_api.py
tests/unit/test_release_tag.py tests/unit/test_hub_core_version_gate.py`
- [x] `python util/lint.py --all`: black, isort, pylint, flake8 and the
rest pass; the SDK-import check could not run because this machine's
venv points at a different checkout
- [ ] CI green

## Release checklist

- [ ] Merge this before tagging `agent-pkg-gaia-v0.3.1` (amd#5461):
`check_flagship_release.py` fails a final whose frozen inputs
(`src/gaia`, `hub/agents/{gaia,chat}/python`) differ from the agent tag
- [ ] Merge the flagship lock PR that `pin-lock` opens before tagging
`v0.25.1`
- [ ] `python util/check_flagship_release.py --ref <lock-PR merge sha>`
passes, then Build Installers on that SHA (pre-tag verification)
- [ ] Extend the changelog if main gains commits before the tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant