Skip to content

fix(agent): check answers against what the turn's tools actually did - #4532

Merged
kovtcharov-amd merged 17 commits into
amd:mainfrom
kovtcharov:kalin/answer-grounding
Oct 5, 2026
Merged

kovtcharov-amd merged 17 commits into
amd:mainfrom
kovtcharov:kalin/answer-grounding

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

On Qwen3-30B the flagship often answered without looking. It described toybox/dates.py without opening it, said the file "doesn't exist" without a search, showed CSV rows no tool had produced, and wrote "the fix is complete and tested" with no test run. The task-eval judge scored its truthfulness around 2.7/5. Now the agent loop checks the answer against what the turn's tools actually did before the answer counts. It asks for one correction per check: "You haven't read toybox/dates.py (it is at …) — read it now, or say you didn't." If the gap survives, the answer ships unchanged, and the gap becomes one more reason in the same "I haven't confirmed this works — …" note #4508 adds, never a second note. It is never rewritten.

On the same five tasks, Qwen's truthfulness rose from 2.72 to 3.33 and its pass rate from 5/25 to 9/15. The gain is larger than the run-to-run spread, but the ranges nearly touch (2.40–3.20 before, 3.00–3.80 after), so read it as a real but modest improvement from small samples. On DeepSeek V4.1 Flash no grounding check fired in any run.

Model · tasks 21-qa, 11-codereview, b6-weekly-report, b6-config-env, 02-bugfix Truthful (min–max) Passed Quality Steps / run Tokens / run
Qwen3-30B, main (5 runs) 2.72 (2.40–3.20) 5/25 2.04 25 220K
Qwen3-30B, this PR (3 runs) 3.33 (3.00–3.80) 9/15 3.10 29 262K
DeepSeek V4.1 Flash, main (2 runs) 4.90 10/10 4.90 44 641K
DeepSeek V4.1 Flash, this PR (2 runs) 4.80 10/10 4.57 47 713K
  • Qwen's gain comes from the two tasks it used to answer blind: 21-qa went from 0/5 to 3/3 passes and 11-codereview from 1/5 to 3/3. b6-config-env still fails every time; that failure is the implementation, not truthfulness.
  • DeepSeek's small dips come from 11-codereview: the judge docked an edit to tests/test_dates.py that nobody asked for, caught by the existing completion check. No grounding check fired, so they are not caused by this change.
  • An earlier revision on this branch only reached 2.87 on Qwen: after the correction the model read the file from the wrong folder, and that failed read counted as "looked". The second commit fixes it: only a successful read counts, and the correction says where the file is.
🔍 Technical details
  • gaia.agents.base.grounding is pure and dependency-free, like claims.py. It has three checks over _turn_tool_executions, which now also carry observed, the flattened text of each tool result, capped at 400K characters.
    • look: the request names a file that exists or a snake_case symbol, and no successful read named it. Also, in such a turn, a "does not exist" claim with no lookup on record.
    • content: values in a table or an untagged/CSV/JSON block that appear in no tool output, tool argument, or earlier user or tool message. Decimals, dates and percentages in the surrounding prose are checked too. One arithmetic step from two values the answer shows still counts as supported. Small whole numbers, versions and estimates are skipped. The check stays silent when no tool ran.
    • action: the answer says searched, read, ran, tested, verified or documented something, and no tool of that kind ran. Negation is judged per clause. Advice, conditions and descriptions ("it is tested on every PR") are not claims.
  • claims.py gains action_claims, absence_claim and admits_unverified. "Still" is no longer a negation word, so "existing tests still pass" is now a test claim. This also affects the code benchmark's claims_success.
  • Loop wiring:
    • Corrections go out only before the turn is marked answered; after that the scope guard would refuse the lookup.
    • Each check corrects at most once per turn.
    • Surviving gaps are marked at seal time. Early exits that didn't end on an error get the same marking.
    • Earlier assistant messages are not counted as evidence.
  • Offline replay over 151 past gaia eval tasks answers: the checks fire on 34 of 78 Qwen answers the judge scored 3 or below, on 0 of 34 well-scored DeepSeek answers, and on 1 of 38 well-scored Qwen answers. That one is a PR review answered without opening the file. The remaining misses are wrong reasoning, which a check against the tool record cannot see.
  • Measurement conditions:
    • Runs were serial and interleaved before/after on one machine and one embedded Lemonade, with the judge claude-opus-5-5.
    • No standby events occurred during the runs.
    • There is no committed flagship baseline for gaia eval agent, so this PR reports task-eval numbers rather than a scorecard verdict.

Test plan

  • python -m pytest tests/unit/agents/test_grounding.py tests/unit/agents/test_unsupported_test_claim.py tests/unit/agents/test_cut_off_reply_guard.py tests/unit/eval/test_behavior_harness.py
  • python util/lint.py --black --isort --flake8
  • gaia eval tasks run --suite everyday --model Qwen3-30B-A3B-Instruct-2507-GGUF --tasks 21-qa,11-codereview,b6-weekly-report,b6-config-env,02-bugfix, then gaia eval tasks judge <dir>: transcripts show [check:grounding] corrections, and truthfulness sits above main's 2.72.
  • pytest hub/agents/gaia/python/tests/test_prompt_prefix_stability.py (the cached-prefix test from fix(agent): keep the system prompt fixed so local turns stay cached #4698) passes with main merged
  • gaia eval agent --category gaia_core and gaia eval agent --category gaia_honesty

On Qwen3-30B the flagship answered questions about files it never opened,
showed report rows no tool produced, and said "tested" or "I searched" with
nothing on record; the task-eval judge scored its truthfulness 2.3-3.2/5.

Three deterministic checks now compare the answer with the tool record
before it counts as the answer: a named file or symbol no tool touched (or a
"not found" with no lookup), table/data values no tool output holds, and
searched/read/ran/tested/verified/documented claims with no matching tool.
Each asks for one correction per turn. A gap that survives is kept in the
answer and flagged with an "Unverified:" line, never rewritten.
On Qwen3-30B the look check fired but the model read toybox/dates.py from
the wrong folder, got "file not found", and answered anyway; a failed read,
or dates.py merely appearing in a dir listing, then satisfied the check.

A named file now counts as read only when a successful read or command
call names it, and the correction says where the file actually is. The
framework's own "tool kept failing" answer counts as admitting the gap.
@github-actions github-actions Bot added documentation Documentation changes tests Test changes agents labels Sep 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Request changes

This PR adds checks that compare the agent's answer with what its tools actually did this turn. If an answer describes a file it never opened, shows numbers no tool produced, or claims work it didn't do, the agent gets one correction, and any gap that survives is marked Unverified:. The design is careful and the Qwen gains are real. The problem is that one check also fires on ordinary questions that have nothing to do with the project.

  • General-knowledge questions get a false "Unverified" line. Any backticked name with an underscore counts as "project code the agent must read", including env vars, API parameters and plain words. I ran "How do I set LEMONADE_BASE_URL?", "What does the max_tokens parameter do in the OpenAI API?" and "What's the difference between snake_case and camelCase?" through the new check with no tools called. All three came back flagged: the model is told to go read them, and a correct answer ends with "Unverified: no tool read … this turn." This sits in the base agent, so every chat turn is exposed. Narrow when a symbol counts, then add tests for these cases.
  • Figures of speech count as work claims. "We ran into a problem with this approach" is read as "I ran a command", which triggers a correction and a false footer when no command ran. This is minor, but worth a test.

Real-world evidence

N/A: no evidence bundle for this run. The change is in the agent loop, and real-inference evidence would come from the strix-halo lane. The PR does report task-eval numbers. For the live agent, this verdict rests on static review plus direct calls to the new check functions.

🔍 Technical details

🟡 Look check treats any underscored identifier as a project symbol (src/gaia/agents/base/grounding.py, named_targets / look_findings)
The docstring says "snake_case symbols", but _SYMBOL also matches UPPER_CASE. Nothing ties the symbol to the project: for a symbol, look_findings adds it to missed unconditionally (if not _FILE_SUFFIX.search(target) or …), and it doesn't require that any tool ran. Files get the locate gate, but symbols have none. Output from calling ungrounded(answer, query, []) directly:

How do I set `LEMONADE_BASE_URL`?           -> Unverified: no tool read `LEMONADE_BASE_URL` this turn.
What does the `max_tokens` parameter do…?   -> Unverified: no tool read `max_tokens` this turn.
What's the difference between `snake_case`… -> Unverified: no tool read `snake_case` this turn.

Possible narrowings (maintainer's call):

  • require symbol.islower()
  • count a symbol only when the request also names a file that exists, or a code/search tool already ran this turn
  • confirm the symbol against the project with a cheap search before asking

Whichever you pick, add these three queries as negative tests next to test_an_answer_from_knowledge_with_no_tool_is_not_a_content_gap.

🟢 "ran" claim matches idioms (src/gaia/agents/base/claims.py, ACTION_CLAIMS["ran"])
action_claims("We ran into a problem with this approach before.") returns [('ran', 'We ran')]. A negative lookahead fixes the common idioms:

            _SPEAKER + r"(?:ran|executed)\b(?!\s+(?:into|out|across|over)\b)|" + _PERFECT + r"run\b(?!\s+(?:into|out|across|over)\b)",

🟢 Removing "still" from _NEGATION also changes claims_success. Code-benchmark honesty scores can shift for answers like "still failing, but done otherwise". The PR notes this, but any saved benchmark numbers compared across this change won't be like-for-like.

Not verified here: pytest wasn't installed in this environment, so I didn't run the PR's test plan. I imported the modules directly for the probes above.

Strengths

  • grounding.py is pure and dependency-free, with checks that are easy to test. The loop wiring is careful: it asks for at most one correction per check, before the scope guard can refuse the lookup, and it never rewrites the answer.
  • Past assistant messages don't count as evidence, and a failed read no longer counts as having read the file. Both close real loopholes.
  • The PR reports before/after numbers with min–max ranges and an offline replay of false-positive rates, and it doesn't oversell a modest gain.

kovtcharov and others added 5 commits October 1, 2026 23:18
…se "Unverified" line

Asking "how do I set `LEMONADE_BASE_URL`?" or "what does `max_tokens` do?" with no tools was treated as a request to read project code, so a correct answer was sent back for a lookup and then stamped "Unverified". A named symbol now counts only when it is lowercase snake_case and the turn is about the project: a file the request names exists, or a tool already ran. "We ran into a problem" and "run out of options" are no longer read as claims that a command ran.

Also merges origin/main.
The grounding docs now say a named symbol only counts when it is lowercase and the turn is about the project, matching the narrowed check.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Merged on top of #4501 and #4508 (the order the release plan uses), this PR fails 4 tests: on a local v0.25 candidate, test_look_first.py::test_it_asks_only_once and three in test_grounding.py. Each PR passes on its own; together they double-correct one answer, which costs an extra full model round on local hardware. It needs reconciling after #4508 lands.

🔍 Technical details
  1. Overlap with fix(agent): look at named files before answering about them #4501 (look-first). Both ask "you never read the file you named". Look-first fires, the model guesses again, and grounding's LOOK gate asks a second time (test_it_asks_only_once: 3 sends, expected 2). One-line fix that keeps grounding's "one correction per gate" rule: when look-first fires, also grounding_fired.add(grounding.LOOK). Verified locally — clears test_it_asks_only_once and two of the test_grounding.py failures.
  2. Interaction with feat(agent): plain-English verification note, shown only when work isn't confirmed #4508. test_a_gap_found_after_the_answer_counts_is_marked_not_corrected sends 4 requests, not 3: after feat(agent): plain-English verification note, shown only when work isn't confirmed #4508 the "Tests: 4 passed" correction no longer runs after mark_answered(), so on the next answer _turn_scope.answered is still False and the action gate corrects ([check:grounding] action fired at step 3) instead of marking the claim unverified. The test-claim correction needs to count as answered again, or the grounding check needs to key on whether an answer was given rather than on _turn_scope.answered.

Conflict when merging after #4501: agent.py imports (both sides add one) and the helper block near verification_scope_statement (both add independent methods) — a union resolves both.

Kalin Ovtcharov and others added 9 commits October 4, 2026 13:20
An answer could end with two notes about unconfirmed work: the grounding
"Unverified: no tool read ..." line and amd#4508's "I haven't confirmed this
works — ..." note. Now a gap that survives its correction is one more reason
in that single plain-English note ("I haven't confirmed this works — I didn't
read `dates.py` this turn."), and it is listed under
result["verification"]["ungrounded"].

- The grounding reasons are first-person, and the note is stripped from
  history like any other scope note, so the model's echo of it is removed.
- An unbacked claim keeps passing checks from reading "verified".
- Conflict in agent.py: both sides added helpers next to
  verification_scope_statement; kept both.
# Conflicts:
#	src/gaia/agents/base/agent.py
With look-first (amd#4501) on main, an answer about a named file the agent never opened was corrected twice: look-first asked, the model guessed again, and the grounding look check asked the same thing. Look-first firing now counts as the look check's one correction.
…checked 'no such file'

The scripted second answer claimed a file didn't exist without looking, which the grounding check now corrects with an extra model round. The test is about the prompt prefix staying fixed, so its reply is now one that makes no claim about the disk.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 5, 2026
Merged via the queue into amd:main with commit 4547545 Oct 5, 2026
@kovtcharov-amd
kovtcharov-amd deleted the kalin/answer-grounding branch October 5, 2026 06:01
@kovtcharov-amd kovtcharov-amd mentioned this pull request Oct 6, 2026
5 of 10 tasks
grtninja pushed a commit to grtninja/gaia that referenced this pull request Oct 6, 2026
# GAIA v0.25.0 Release Notes

## Breaking Changes

- **`gaia chat` runs the flagship GAIA agent**, the same agent as the
TUI and Agent UI, instead of the retired ChatAgent. `gaia chat -q "…"`
queries it once. (PR [amd#4520](amd#4520))
- **`gaia talk` transcribes and speaks through Lemonade** — it uses
Lemonade's Whisper and `kokoro-v1`, and stops with the reason if
Lemonade is down. The `[audio]` extra is gone; `pip install
amd-gaia[audio]` only warns. (PR
[amd#4665](amd#4665))
- **The Agent UI runs only the GAIA agent** — the Agent Hub home, agent
picker, and custom-agent export/import are removed from the UI. The CLI
and eval harness can still run other agents. (PR
[amd#4509](amd#4509))
- **The retired nomic embedder is removed** — memory saved with it is
re-embedded on first start. (PR
[amd#4489](amd#4489))
- **Indexed documents are re-indexed once** — the document cache is now
keyed on chunking settings, so the first query after upgrading rebuilds
it. (PR [amd#4624](amd#4624))
- **A skill that asks for more than its tier allows no longer loads** —
the permission ceiling is checked at every load, so a skill already on
disk that exceeds it is refused with the reason. (PR
[amd#4849](amd#4849))

## What's New

- **A larger local model where the GPU holds it** — `gaia init` picks
Qwen3.6-35B-A3B on a 64 GB+ Strix Halo or a 32 GB GPU and keeps
Gemma-4-E4B elsewhere, with each context window sized to available
memory. Qwen3.8 Flash Next is opt-in on 128 GB Strix Halo. (PRs
[amd#4479](amd#4479),
[amd#4670](amd#4670),
[amd#4671](amd#4671),
[amd#4658](amd#4658),
[amd#4655](amd#4655))
- **The Agent UI opens straight to a chat and sets itself up** — a fresh
install runs the same setup steps as the TUI in the window, with
provider, key and model settings, permission modes, and revocable
"always allow" grants. (PR
[amd#4509](amd#4509))
- **A much smaller install** — PyTorch, transformers and accelerate are
gone from the core, `[ui]` and `[talk]` installs; the desktop app's
Python environment drops from ~0.9 GB to ~0.1 GB on Windows. (PRs
[amd#4666](amd#4666),
[amd#4621](amd#4621),
[amd#4665](amd#4665))
- **One Windows installer for the desktop app and the terminal**, with a
GAIA Windows Terminal profile. (PRs
[amd#4720](amd#4720),
[amd#4707](amd#4707))
- **A "no" holds** — a declined action isn't retried through another
tool; the agent asks again with the exact command. The TUI gains
Shift+Tab permission modes. (PRs
[amd#4460](amd#4460),
[amd#4461](amd#4461))
- **Answers are checked against what the tools actually did** — the
agent looks at files you name before answering about them, and a short
plain-English note appears only when work isn't confirmed. (PRs
[amd#4532](amd#4532),
[amd#4501](amd#4501),
[amd#4508](amd#4508))
- **One shell session** — commands share a persistent shell, risky ones
ask instead of being refused, and "full access" is one setting
everywhere. (PR [amd#4408](amd#4408))
- **Memory surfaces what's relevant to each request, with its age**,
keeps what fixed a failure as a lesson for that workspace, and extracts
after the answer instead of before it. (PRs
[amd#4061](amd#4061),
[amd#4066](amd#4066),
[amd#4406](amd#4406))
- **`gaia.log` stays bounded** — it rotates at 10 MB with three backups
(`GAIA_LOG_MAX_MB`, `GAIA_LOG_BACKUPS`). (PRs
[amd#4668](amd#4668),
[amd#4760](amd#4760))
- **Child processes get a trimmed environment** — shell, MCP and skill
children no longer inherit GAIA's internal credentials; `GAIA_NO_DOTENV`
skips loading `.env`. (PRs
[amd#4635](amd#4635),
[amd#4659](amd#4659))
- **Every file tool checks the allowed-folders rule**, and paths inside
an inline shell script are checked one by one. (PRs
[amd#4656](amd#4656),
[amd#4758](amd#4758))

## Bug Fixes

A selection of the user-visible fixes; the full list is in the changelog
below.

- **Local Qwen models no longer loop on repeated tool calls** — they run
with their model card's sampling instead of near-greedy settings. (PR
[amd#4655](amd#4655))
- **Qwen3.6 runs on a Strix Halo with an older AMD driver** — it used to
crash on its first token, so `gaia init` failed; GAIA now turns off the
Vulkan path that crashes on those drivers only, and newer drivers keep
the faster path. (PR [amd#4674](amd#4674))
- **A long PDF no longer hangs or times out while indexing** — big
documents index in the background, and PDFs that only carry
owner-password restrictions now index. (PRs
[amd#4754](amd#4754),
[amd#4679](amd#4679),
[amd#4734](amd#4734))
- **Document answers cite the right document and page**, and every chunk
is embedded whole instead of its first 1,200 characters. (PRs
[amd#4688](amd#4688),
[amd#4723](amd#4723))
- **`gaia init` fails when model verification fails**, shows downloads
live, and no longer hangs while Lemonade hashes a large model. (PRs
[amd#4620](amd#4620),
[amd#4564](amd#4564),
[amd#4673](amd#4673))
- **`gaia init` adds a profile's extras without reinstalling GAIA**,
which failed on Windows while `gaia.exe` was running. (PR
[amd#4672](amd#4672))
- **Every SDK and CLI entry point starts GAIA's own Lemonade**, and
every call goes to the resolved URL with its API key. (PRs
[amd#4657](amd#4657),
[amd#4627](amd#4627))
- **Local chat stays cached across turns** — the system prompt is fixed
and side requests no longer evict the conversation. (PRs
[amd#4698](amd#4698),
[amd#4543](amd#4543))
- **A cloud model selection never preloads a local model**, and cloud
models no longer get llama.cpp-only fields. (PRs
[amd#4757](amd#4757),
[amd#4709](amd#4709))
- **The Agent UI stops claiming "100% local" while chat goes to a cloud
model**, and the chat header names the session's real model. (PRs
[amd#4711](amd#4711),
[amd#4550](amd#4550))
- **Enter can't approve a permission prompt**, and prompts wait 10
minutes before timing out. (PRs
[amd#4700](amd#4700),
[amd#4699](amd#4699))
- **Stopping a run keeps the turn and its steps visible.** (PR
[amd#4743](amd#4743))
- **A file edit keeps the file's line endings** — a one-line edit on
Windows used to rewrite every line ending, so a small change showed up
as the whole file changed. (PR
[amd#4864](amd#4864))
- **A broken agent install is reported as broken, not as missing** — the
error names both package versions and the real import error, and
suggests a reinstall that works. (PR
[amd#4588](amd#4588))
- **A meeting or document summary is never cut off mid-sentence** — a
thinking model used to spend the summary's output budget reasoning, so a
long meeting lost its second half. (PR
[amd#4827](amd#4827))
- **"What can you do?" gets an answer** instead of an attempt to
generate an image of the question. (PR
[amd#4809](amd#4809))
- **Writes and approved edits can't reach credential folders**
(`~/.ssh`, `~/.aws`, `~/.kube` and others), and shell option values and
script arguments get the same path check as plain paths. (PRs
[amd#4848](amd#4848),
[amd#4847](amd#4847))
- **`gaia connectors connect google --grant-agent installed:gaia`
works** — it used to fail with no sign-in link for the shipped agent; it
now asks for read-only Gmail and grants exactly that. (PR
[amd#4859](amd#4859))
- **A "no" to creating a folder also covers writing into it** — GAIA no
longer asks again to create the same folder a different way. (PR
[amd#4857](amd#4857))
- **`gaia skill import` runs the same checks as a hub install** — https
only, the audit, the permission ceiling, and an explicit opt-in for
skills that ship code. (PR
[amd#4849](amd#4849))
- **Memory off and private chats apply to scheduled and background runs
too.** (PRs [amd#4842](amd#4842),
[amd#4821](amd#4821))
- **Memory stops false apologies and reusing deleted values**, saves
"remember this" requests, and skips loading the embedder when memory is
off. (PRs [amd#4708](amd#4708),
[amd#4756](amd#4756))
- **A reply cut off by the token limit is continued** instead of ending
mid-sentence, and a tool call cut off at the output cap is retried
shorter. (PRs [amd#4054](amd#4054),
[amd#4556](amd#4556))
- **The TUI remembers the chosen model** across restarts and
agent-process restarts. (PRs
[amd#4497](amd#4497),
[amd#4710](amd#4710))
- **`gaia uninstall --purge` removes installer binaries, PATH edits and
daemon state.** (PR [amd#4413](amd#4413))

## Contributors

Thanks to the community members who contributed to this release:

- [@itomek](https://github.com/itomek) — the flagship's browser and tool
picker, one shell session, memory extraction off the answer path, stale
tool-result eviction, the TUI's sourced Fireworks rankings, and
`--purge` cleanup (PRs [amd#4407](amd#4407),
[amd#4408](amd#4408),
[amd#4406](amd#4406),
[amd#4465](amd#4465),
[amd#4414](amd#4414),
[amd#4413](amd#4413))
- [@mikemikimike](https://github.com/mikemikimike) — chained shell
command timeouts, bundled skills in frozen builds, and sidecar cleanup
reporting (PRs [amd#4463](amd#4463),
[amd#4467](amd#4467),
[amd#4419](amd#4419))
- [@Hashim1999164](https://github.com/Hashim1999164) — honoring
`GAIA_HOME` for cache, chat and index paths (PR
[amd#4381](amd#4381))
- [@krtadev](https://github.com/krtadev) — `~` expansion in file and
document tool paths (PR [amd#4576](amd#4576))
- [@aksh8b](https://github.com/aksh8b) — telling a broken agent install
apart from a missing one, with a reinstall hint that works (PR
[amd#4588](amd#4588))
- [@Dev-next-gen](https://github.com/Dev-next-gen) — numeric prerelease
ordering in the hub (PR [amd#4517](amd#4517))
- [@vianmangal](https://github.com/vianmangal) — recording denied tool
calls as unsuccessful in memory (PR
[amd#4412](amd#4412))
- [@GaetanVDB07](https://github.com/GaetanVDB07) — links to upstream
credential setup guides for connectors (PR
[amd#4669](amd#4669))
- [@rradjabi](https://github.com/rradjabi) — moving self-hosted CI jobs
to the xsj-dispatch runner pool (PR
[amd#4534](amd#4534))




## Also in this PR

- **Hub floors raised to core 0.25.0** — the chat agent imports the
allowed-folders check that only 0.25.0 ships (amd#4656), so
`gaia-agent-chat` goes to 0.2.0 with `amd-gaia>=0.25.0`, and the
flagship requires `amd-gaia>=0.25.0` and `gaia-agent-chat>=0.2.0`.
- **Two follow-ups held back until that floor could rise** —
`~/.gaia/logs/gaia-agent.log` now rotates like `gaia.log` (amd#4668), and
the chat agent's Python runners and Windows notification start their
children without GAIA's internal credentials (amd#4659).

The full changelog (300 commits) is in `docs/releases/v0.25.0.mdx`.

## Test plan

- [x] `util/validate_release_notes.py docs/releases/v0.25.0.mdx --tag
v0.25.0` passes; narrative is 590 words (cap 600)
- [x] `util/check_component_core_api.py --release-version 0.25.0` passes
- [x] `pytest tests/unit/test_docs_json_release.py
tests/unit/test_check_component_core_api.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_gen_binaries_lock.py` (72 passed)
- [x] `pytest hub/agents/gaia/python/tests/test_stdio.py` (91 passed,
incl. the new rotation test); `pytest
tests/unit/test_execute_python_file_cwd.py
tests/unit/test_run_python_tool.py` (42 passed)
- [ ] `mintlify validate` (docs CI job) — timed out locally, relying on
CI
- [x] Full flagship eval on main 9ce6598
(https://github.com/amd/gaia/actions/runs/37436249503): 181/308
scenarios pass vs 100/183 for the same categories in the baseline, 39
FAIL→PASS, 13 PASS→FAIL (two fixed in amd#4878, held until after rc1);
retrieval lane still finishing at merge time
- [ ] CI green

## Release checklist

- [ ] Publish `gaia-agent-chat` 0.2.0 only after core 0.25.0 is on PyPI
— it fails at import on an older core
- [ ] Build Installers on the merged SHA (pre-tag verification) before
pushing `v0.25.0`
- [ ] terminal-hub 0.25.0 published before the flagship npm release
consumes `binaries.lock.json`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Kalin Ovtcharov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents documentation Documentation changes tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants