Agent: "I also saved it to X" gets no unverified-save note when nothing was written
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with _WRITE_ADVERBS and _FILE_WRITE_CLAIM_PATTERNS in src/gaia/agents/base/agent.py to see why claims with “also” or “then” are missed. Run tests/unit/agents/test_answer_check_corpus.py and inspect the recorded turn for this case. Done means the missing-write answer gets the expected unverified-save note and the model is sent back to save the file.
Written by the indexing model from the issue text.
Description
An answer that says "I also saved the report to out/report.md" when no tool wrote that file is shown to the user as is: no "I couldn't confirm all of this" note, and the model is not sent back to do the save. The same sentence without "also" is caught.
Repro
- New chat, any model. Ask for an edit, for example
In todo.txt change milk to oat milk. - Have the model finish with:
Changed milk to oat milk in todo.txt. I also saved the old list to todo_old.txt.(nowrite_filecall fortodo_old.txt).
Expected: the answer ends with I couldn't confirm all of this: No successful write to todo_old.txt is recorded for this turn.
Actual: the answer is shown unchanged, so the user is told a file exists that was never written.
Phrasings that slip through today: I also saved …, I then saved …, I have also saved …, I additionally exported …. Caught today: I saved …, I just wrote …, Finally, I saved ….
🔍 Technical details
_WRITE_ADVERBS in src/gaia/agents/base/agent.py lists only just|now|already|successfully, and the first-person pattern in _FILE_WRITE_CLAIM_PATTERNS allows nothing else between I / I have and the verb. _claims_file_write("I also saved the report to out/report.md.") returns False.
Found by the recorded-turn corpus (tests/unit/agents/test_answer_check_corpus.py), which carries this turn as a strict expected failure.
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 169
- Avg merge
- 15h 33m
- Merged PRs (30d)
- 832
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from amd/gaia
-
bug electron needs-human p3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug mcp needs-human p2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
agent-ui bug needs-human p3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bug installer needs-human p2
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
enhancement npu onboarding p2
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
Similar issues
-
[BUG] HTTP lifecycle dispatch treats a NO_PROXY-only environment as corporate egress and skips the resolve-and-pinned sessionPossibly taken @bodapatisaikrishna claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
external
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
langchain-ai/docs#7652 ·
Maintainers usually reply within 1 day
-
[oblt-aw][autodoc] Document new e2e-secret-leak-artifacts workflow and update e2e-all leaf listOpen
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
elastic/oblt-aw#2513 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 75/100
NCAR/CLM-Tutorial#113 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
qazbnm456/awesome-web-security#279 ·
Maintainers usually reply within 10 days