Skip to content

fix(email): stop mail search settling for the wrong messages - #4159

Merged
kovtcharov-amd merged 8 commits into
mainfrom
issue-4156
Sep 29, 2026
Merged

kovtcharov-amd merged 8 commits into
mainfrom
issue-4156

Conversation

@itomek

@itomek itomek commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #4155 (base: issue-4150). GitHub retargets this to main automatically when that merges.

Ask the flagship for a message you only half-remember and it could hand you a confident wrong answer. Search stopped the moment a query returned anything, so two or three plausible-but-unrelated hits ended the hunt and the model answered from them — worse than a miss, because nothing says it went wrong. It now keeps gathering candidates from broader queries, returns one hit per conversation instead of letting a single chatty thread spend every result slot, and labels every hit its own query never matched as a candidate rather than an answer.

Verified live on a real 1137-message mailbox. The recollection question that failed both runs this morning — "sign off on a contract schedule before the end of the week", target Re: Fieldstone MSA — counter-signature needed before Friday — now passes. The exact query still returns the same three unrelated hits; the difference is that the sweep no longer stops there, a broader rung surfaces the right thread under alternatives, and the model picks it and quotes real body content. Per-thread dedupe confirmed in the same run: a query that used to spend all five slots on one conversation now returns five distinct threads. No confident wrong answer in any run — where it missed, it said so and asked for a keyword. Transcript.

🔒 SECURITY CONCERN — this PR closes a hole that exists only where it meets #4155, and neither PR's reviewer could have seen it. @kovtcharov-amd

Broadened search results are mail the user's own words never matched, so #4155's phishing screen had to be extended to cover them — that part is straightforward. The real problem is the instruction: telling the model to search again "with the words the sender would have written" points it at attacker-written text as a source of search terms whenever a lure lands in that set. The lure does not merely get restated; it chooses the next query, and those results come back into the conversation as ordinary mail. Flagged hits are now excluded as a vocabulary source whenever anything in the result set is flagged, in both the tool result and the triage skill. Two tests cover it, one of them on a mixed set — a guard that only fires when every hit is flagged would pass a lure-only test and fail the realistic shape.

What this still does not fix. A query sharing no word at all with its target is not guaranteed to find it — the live pass worked because a broader rung happened to match, not because the tool can bridge "contract schedule" to "counter-signature". Deterministically closing that gap needs semantic retrieval, which belongs in its own issue. Part of #4156; not closing it.

Test plan

  • pytest tests/unit/agents/tools/ -q — 199 passed (includes fix(email): stop the flagship repeating a phishing lure's instructions #4155's suite). Six tests were proven failing against 7c3bc609 before the fix; the two interaction tests can only pass with both PRs, since each asserts fields from both.
  • pytest tests/unit/agents/ -q — 1305 passed, 50 skipped
  • python util/lint.py --all — exit 0; Black, isort, Pylint, Flake8, Bandit all PASS. The WARN lines are the repo's pre-existing mypy and workflow-ancestor advisories, none in the touched files.
  • Live Gmail re-run on the Acer Swift — see above; verified at 054c0c2a. A re-verification on the post-merge head is queued separately, since the code under test has moved since that run.
  • Context cost measured, not assumed. Tool schema: main 64,736 B → +820 (fix(email): stop the flagship repeating a phishing lure's instructions #4155) → +688 (this PR) = 66,244 B. Fallback candidates trimmed to what identifies and screens a thread: 748 → 522 bytes each, 30% off a full 25-candidate set.
  • Agent eval — not obtainable, not pending. search_email's docstring and the inbox-triage skill both changed, which is an LLM-affecting surface, so CLAUDE.md asks for a gaia eval agent run. The judge needs Claude credentials the test fleet cannot get — enterprise Claude has no setup-token path and the box cannot reach the gateway — so this gate is unobtainable here rather than waiting on someone. fix(email): stop the flagship repeating a phishing lure's instructions #4155 merged on the same basis.
🔍 Technical details

Mechanism. The broadening ladder stops being a fallback chain that any non-empty rung terminates and becomes a bounded recall sweep, keyed on distinct conversations rather than on "did anything come back":

  • Rung 0 is the query as sent. Its hits are exact and always keep messages to themselves — a query that works today is unaffected, and looser hits arrive separately under alternatives. This is the path the live pass took: exact_match: true plus a populated alternatives, with the model choosing a candidate over the exact hits.
  • The sweep continues while fewer than 5 distinct threads have been gathered, capped by the existing 6-rung ladder. A first rung that already returns 5+ threads costs one round trip, as before.
  • Results dedupe by thread_id (already in both backends' provider-neutral shape) with a small additive over-fetch. A message re-found by a later rung is counted once.
  • Every hit found by a broader rung carries unverified: true and matched_query. When nothing matched the query, the payload repeats the flag and adds a note telling the model to verify, re-query in the sender's vocabulary, or ask the user — never to answer from the set. That is the no-silent-fallback half: the tool says what it cannot vouch for instead of degrading quietly into a confident answer.

Why the alternatives count is not capped. They cost ~522 bytes each after trimming and there can be 25, which is real. But the live run picked its answer out of 25 candidates contributed by a late rung, so a count cap risks discarding exactly the hit this change exists to surface — trading a measured pass for an unmeasured saving. Trimming the per-candidate object was the part that carries no such risk. A count cap is the obvious next lever once there are enough live runs to measure one against.

Rejected:

  • A longer or smarter term-dropping ladder — structurally incapable here. "contract schedule" and "counter-signature" share no term, so no subset of the user's words reaches the target.
  • Embedding/semantic retrieval over the mailbox — the capability exists in-repo, but indexing a 1137-message mailbox is a new subsystem with its own freshness, storage and privacy questions. Not a p0 hotfix; worth its own issue.
  • Having the tool score relevance and suppress weak hits — the tool has only subject, sender and preview, and Gmail may have matched on a body it never sees. A relevance score built on that would be a guess presented as a measurement, and suppressing hits on it is the same silent-fallback sin pointed the other way.
  • Returning thread-level objects instead of messages — same outcome as per-thread dedup, at the cost of a new payload shape across two backends.

Acceptance criteria not met as written. AC #2 asks for a multi-rung attempts array when "the first rung returns a small, low-relevance set". When rung 0 returns hits, attempts does grow past one entry — the sweep still runs and fills alternatives — but those hits stay out of messages. Promoting them would inject lower-precision results ahead of a case that passes live today, and the tool has no honest way to tell a small correct set from a small wrong one.

@itomek itomek added the ready_for_ci Run CI workflows on draft PR without requesting review label Sep 23, 2026
@itomek
itomek marked this pull request as ready for review September 23, 2026 16:58
@github-actions github-actions Bot added tests Test changes agents labels Sep 23, 2026
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Skill audit

Skill Verdict Claimed tier Cleared tiers Findings Rules
hub/skills/inbox-triage ✅ ALLOW community experimental, community none —

✅ 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

Request changes

Good fix for a real failure: mail search used to stop the moment any query came back, so two plausible-but-unrelated hits ended the hunt and the model answered confidently from the wrong thread. Turning the ladder into a bounded sweep, collapsing chatty threads to one hit, and labelling anything the query never matched as unverified all address that directly — and the PR is honest that it is a partial fix.

Two things to settle before merge:

  • A hiccup on one of the extra searches now throws away good results. The search fires several mailbox queries instead of one, and if any of the later ones fails — an expired token, a rate limit — the whole call returns an error even when the first query already found exactly what the user asked for. The user sees a failed search instead of the right answer, and firing three to six queries per search makes a rate limit meaningfully likelier. Keep the results the query itself matched, and say the extra sweep was cut short.
  • The agent eval hasn't run yet. The tool description and the triage skill both changed, which is an LLM-affecting surface, so this needs a gaia eval agent run against the committed baseline. The PR already tracks this and the live Gmail re-run as open boxes — worth finishing rather than merging around.

Real-world evidence

Strong, and it supports the verdict: evidence-bundle.md drove the tool over real HTTP sockets against a local Graph stub, with a planted token so no hit can be a coincidence. The two behaviours that matter both held up.

A query that matches as sent still costs one round trip and is never hedged:

GET /v1.0/me/messages {"$top": "40", "$search": "\"Acme invoice\""}
{ "count": 6, "exact_match": true, "broadened": false,
  "attempts": [ { "query": "Acme invoice", "count": 6 } ] }

A paraphrase that matches nothing recovers the real message and refuses to call it a match:

attempts: "sign off on a contract schedule before the end of the week" 0
          "sign off contract schedule end week" 0
          "contract schedule" 2 | "contract" 2 | "schedule" 1 | "sign" 0
messages: "Contract schedule v2"                 matched_query "contract schedule"
          "Schedule of contract exhibits"        matched_query "contract schedule"
          "Re: Fieldstone MSA countersignature needed - ref violet-otter-92"
                                                 matched_query "contract"
exact_match: false   unverified: true

Thread collapse also verified (5 distinct threads at limit=5, the chatty one reporting thread_message_matches: 5), and gaia skill audit hub/skills/inbox-triage passed on the edited file. Deferred, correctly: the rendered Agent UI and a real LLM turn — pending strix-halo lane. Whether the model obeys the unverified note is exactly what the missing eval would tell us.

🔍 Technical details

🟡 A failing sweep rung discards exact results (src/gaia/agents/tools/email_tools.py:469)

Every rung's mixin._email_call propagates to the outer except Exception → _fail(...), so a MailboxAuthError / 429 / 5xx on rung 1+ returns success: false and drops an exact list that was already populated. Before this PR a hit on rung 0 returned immediately and could never reach a later rung — this is a new path. It also compounds with the higher call volume: _broadening_ladder yields 3 rungs for a 2-keyword query and 6 for a paraphrase (verified locally), so a per-search rate limit is now ~3–6× likelier to be hit.

test_mid_ladder_backend_failure_is_reported_not_swallowed (tests/unit/agents/tools/test_email_tools.py:1255) covers a rung-1 failure after an empty rung 0, where there is nothing to lose. There is no test for a rung failing after rung 0 succeeded.

The sweep is a bonus pass, so losing it should degrade to "you got the exact hits, the sweep was cut short" — loudly, in the payload, which is not a silent fallback:

                sweep_error: Optional[str] = None
                for rung, candidate in enumerate(_broadening_ladder(query) or [query]):
                    try:
                        found = mixin._email_call("search", candidate, limit=fetch)
                    except Exception as exc:
                        # A sweep rung is a bonus pass; losing it must not
                        # discard what the query itself already matched.
                        if not exact:
                            raise
                        sweep_error = f"{type(exc).__name__}: {exc}"
                        break

Then surface it alongside exact_match, e.g. payload["sweep_incomplete"] = sweep_error, with a note line telling the model the alternatives pass did not finish.

🟢 The stop rule counts only the current bucket (email_tools.py:494)

len(exact if rung == 0 else alternatives) >= min(wanted, _SWEEP_MIN_THREADS) ignores the exact hits already gathered, so 4 exact + 5 alternatives = 9 threads before it stops. That reads as intentional (alternatives exist precisely because the exact set may be wrong), but the PR description says "the sweep continues while fewer than 5 distinct threads have been gathered" — worth reconciling the wording, since the code's rule is per-bucket. Practical effect, confirmed in evidence C: contract schedule with 2 exact hits costs 3 round trips.

🟢 thread_message_matches on an exact hit counts broader-rung matches (email_tools.py:479-481)

threads is shared across buckets, so a message found by rung 2 for "contract" increments the counter on a rung-0 exact hit. The field then means "messages in this thread matching any query tried", not "matching your query" — which cuts against the PR's own theme of only claiming what the tool can vouch for. The field is also not named anywhere in the docstring, so the model has to infer it. Either key thread_message_matches per bucket, or say in the docstring what it counts.

🟢 The payload can exceed limit (email_tools.py:483)

alternatives is capped at wanted independently of exact, so a default limit=25 can return 4 exact + 25 alternatives = 29 message objects. Modest, but limit is documented as "How many messages to return", and the model budgets context against it. Capping alternatives at _SWEEP_MIN_THREADS would match how they are actually used.

Strengths

  • The thin bug is pinned before the fix: test_a_non_empty_first_rung_is_not_the_end_of_the_search and test_broadening_does_not_stop_at_the_first_non_empty_rung encode "a non-empty result is not a correct one" as the invariant, and the PR states they were proven failing against 7c3bc609 first. test_a_healthy_exact_result_costs_one_round_trip pins the cost side so the sweep cannot quietly tax the common case.
  • _mailbox_by_term honours $top the way Graph does, so the over-fetch is exercised against real truncation rather than an unbounded stub — this is the class of gap CLAUDE.md's "mocks prove we called it, not that the call is valid" rule is about.
  • The unverified note and the SKILL.md paragraph say the same thing in the same words ("search once more with the sender's vocabulary"), so the tool contract and the skill do not drift apart — the bundled-docs rule applied without being asked.
  • The rejected-alternatives section is genuinely useful: ruling out a smarter term-dropping ladder on the grounds that "contract schedule" and "counter-signature" share no term is the right structural argument, and scoping semantic retrieval to its own issue is the right call.

@itomek

itomek commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator Author

Live Gmail re-run — Q3 fixed, the thread comes back and the model names it correctly

Ran the three #4134 recollection questions against the real mailbox on the leased Acer Swift at 054c0c2a, flagship loaded from source.

Question 3 now works. This is the one that failed 2 of 2 runs on main this morning, returning eleven unrelated messages and never the thread being described. The sweep now reaches it: the user's words ("sign off on a contract schedule") share nothing with the message's own wording, so the exact query still returns three wrong zohosign items — but the broader rung on signature surfaces the Fieldstone thread under alternatives, and Gemma picks it out of twenty-five candidates and answers from its actual content:

Found it. It looks like you have an unread message from Dana Whitfield at Fieldstone Legal regarding the MSA counter-signature.
The email states: "Friday 5pm ET is a hard stop on their side for signed Schedule B."

That is the open question the PR flagged — whether the model would do anything useful with the alternatives signal rather than answering from the exact hits. It did.

Per-thread dedupe works. counter-signature used to spend all five slots on one thread. It now returns one message with a thread_id, from five raw provider hits.

No confident wrong answer in any run. Where the agent missed, it said so and asked for a keyword rather than presenting wrong mail as the answer — a materially different outcome from the original defect.

One thing I could not settle, flagged rather than dismissed. In one Q1 run of three, the model emitted a ~350-word keyword-stuffed query; every rung missed until the single-term rung infrastructure, which returned a slice of the mailbox. Q1 passed cleanly on the other two runs, and 3 of 3 on main. Since this PR changes search_email's docstring, I cannot rule out that the new wording encourages keyword stuffing — but one occurrence in three is far too small to call it either way. Not established, and worth more runs before merge.

The eval checkbox stays unticked — that gate is blocked on a judge credential, tracked separately.

🔍 Technical details

Environment

  • Tested SHA 054c0c2a1d4ad1a1ac9c2aff2eb7ee16b716bd64 (PR head); discriminator runs at 7c3bc609.
  • gaia_agent.__file__ = /home/amd/src/amd/gaia/hub/agents/gaia/python/gaia_agent/__init__.py; gaia.__file__ = /home/amd/src/amd/gaia/src/gaia/__init__.py. Driven in-process, so the frozen binary under ~/.gaia/agents/ is never on the path.
  • Every run a separate process, conversation_history len: 0. search_email wrapped in a recording closure. Gemma-4-E4B-it-GGUF @ ctx 32768, Lemonade 11.9.0, mailbox 1137 messages.

Q3 — PASS (reproduced, executed)

model sent    : 'contract signature schedule'
count         : 3
exact_match   : True
attempts      : [{"contract signature schedule", 3}, {"contract signature", 3}, {"signature", 37}]
messages (exact):  3x zohosign "Document … has been completed"   ← still the wrong hits
alternatives  : 25
   Re: Fieldstone MSA — counter-signature needed before Friday | matched_query: signature

The exact hits are unchanged from the old failure; the fix is that the sweep no longer stops there. Note the mechanism that made this work is exact_match: True plus populated alternatives — the fallback path, not the unverified path.

Q1 — PASS 2/3 (reproduced, executed)

run 1  model sent: <~350-word keyword-stuffed query>
       attempts: [full, 0] [stopwords-dropped, 0] ["infrastructure socio-political", 0]
                 ["socio-political", 0] ["infrastructure", 40]
       exact_match: False, broadened: True, query_used: infrastructure → 25 unrelated
run 2  'cameras police surveillance'  → count 1, exact_match True, The Flock surveillance cameras debate.
run 3  'cameras police'               → count 1, exact_match True, The Flock surveillance cameras debate.

Discriminator at 7c3bc609, same script, same box:

run 1  'cameras police surveillance debate' → count 1
run 2  'cameras police'                     → count 1
run 3  'cameras police'                     → count 1

1-in-3 here versus 0-in-3 there. Competing causes, neither excluded: ordinary sampling variance, or the new docstring's "search the rare nouns, not the paraphrase" framing inducing keyword expansion. n=3 per side cannot separate them.

Run 1's answer was an honest miss, not a false match:

since no single email exactly matched your description of an argument over street surveillance cameras, it's hard to pick just one … If none of these sound right, try giving me a keyword or sender name you remember!

Q2 — PASS (reproduced, executed)

model sent  : 'Flock cameras newsletter'  → count 1, exact_match True
messages    : The Flock surveillance cameras debate. | Tangle
alternatives: 25 (all from the "newsletter" rung)

Dedupe — PASS (reproduced, executed)

QUERY: counter-signature | count: 1 | exact_match: True | attempts: [{"counter-signature", 5}]
   Re: Fieldstone MSA — counter-signature needed before Friday | thread_id: 19fca05184b09540
   alternatives: 0
QUERY: Fieldstone        | count: 1 | exact_match: True | attempts: [{"Fieldstone", 5}]
   same thread, alternatives: 0

Two smaller observations

  1. alternatives comes back at 25 on every broadened search, including when exact_match is True and the exact hit is correct (Q2 returned the right thread plus 25 newsletters). That is 25 extra message objects per search call in the model's context. Worth a cap, given tool-schema payload is already ~69 KB resident per turn.
  2. The docstring says "the hits carry unverified: true", but unverified is set on the payload, not per hit, and only in the elif not exact branch (email_tools.py:535). Every alternative I inspected had no unverified key. The behaviour is coherent; the docstring's wording is not, and the model reads that docstring.

Refs #4156, #4134

@itomek
itomek changed the base branch from main to issue-4150 September 23, 2026 18:10
Base automatically changed from issue-4150 to main September 23, 2026 18:33
@github-actions github-actions Bot added the documentation Documentation changes label Sep 23, 2026
pull Bot pushed a commit to bhardwajRahul/gaia that referenced this pull request Sep 23, 2026
amd#4155)

Asked what needed attention, the flagship put a phishing lure under
**Critical & Urgent Action Items** and then, in its own words, told the
user to do what the lure wanted ("this requires immediate
verification/action"). That advice was the agent's, carrying its own
authority. The retired hub email agent had guarded against exactly this,
but the flagship reaches mail through a different path and never
inherited the safeguard — and both existing guard tests are gated behind
an import of the retired package, so nothing went red when it failed to
port.

Now every message body the mail tools return is fenced as untrusted
content, a probable lure comes back flagged with the reason it was
flagged, and the result tells the model it must not be bucketed as
urgent and must not have its call to action repeated as advice. **The
guard lives in the tool result, not in a skill** — the turn that
produced the defect never loaded one, so a skill-only fix would not have
run at all.

🔒 **SECURITY CONCERN** — this is the fix for a reported prompt-injection
/ phishing-amplification defect. @kovtcharov-amd

## Test plan

- [ ] `python -m pytest
tests/unit/agents/tools/test_email_phishing_guard.py -q` — 19 tests on
the flagship path, no `importorskip`. Before the fix the whole module
errored at collection (the detector did not exist); after it, the skill
check still failed alone until the skill carried the rule.
- [ ] `python -m pytest tests/unit/agents/ -q` — passes.
- [ ] `python util/lint.py --all` — passes.
- [ ] Live, against a mailbox containing a lure: **ask a mail-scoped
question** — "check my inbox and tell me which emails need a reply" — in
a fresh process. **Do not use the wording in the issue.** "What needs
me?" was measured to make zero email tool calls and answer from memory,
so it looks like a pass while never touching the mailbox. Confirm the
turn actually called `list_inbox`, then that the lure is reported as
suspicious with its reason, never as an action item, and that nothing in
the answer tells the user to follow it.

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

- `src/gaia/agents/tools/_email/phishing.py` ports the retired agent's
deterministic, LLM-free `detect_phishing` — three precision-first
channels (subject keyword pairs, sender domain impersonation, body
phrases) — and returns `(suspicious, reasons)` rather than a bare bool,
so amd#4072's never-empty-rationale rule holds by construction rather than
by convention.
- `EmailToolsMixin` annotates every listing and search hit, fences every
read body, and attaches the do-not-bucket / do-not-restate guidance only
when something actually fired (no guidance noise on a clean inbox).
- Fixtures from the live baseline: the PayPal/Microsoft homoglyph
senders that the agent left unmentioned entirely are caught by the
domain channel, and `[email protected]` — Google's real
domain, whose "Security alert" reads exactly like a lure — is pinned as
a negative case.
- `hub/skills/inbox-triage/SKILL.md` carries the same rule as defence in
depth, with a test pinning that it still does. Note it also renumbers
the triage steps, which collides with amd#4159 — merge order matters.
- Three existing tests in `test_email_tools.py` asserted on the raw body
string and now unwrap the fence; they test truncation and the per-turn
budget, which charge the unfenced length.
- Not run here: `gaia eval agent`. The change adds tool-docstring text,
an LLM-affecting surface — no Lemonade backend in this environment.

amd#4148 has since merged, so this targets `main` directly and carries only
its own commits.
</details>

Closes amd#4150
itomek and others added 7 commits September 28, 2026 20:53
Five tests, all failing at 7c3bc60, for the half of mail recollection
one conversation spends every result slot, and a result set the tool
cannot vouch for comes back looking like a confident match.
Ask the flagship for a message you half-remember and it could hand you a
confident wrong answer. Search stopped the moment a query returned
anything, so two or three plausible-but-unrelated hits ended the hunt and
the model answered from them. It now keeps gathering candidates from
broader queries, returns one hit per conversation instead of letting one
chatty thread spend every slot, and marks any result the query itself
never matched as unverified — with an instruction to re-query in the
sender's vocabulary or ask the user, rather than answer from a guess.

The ladder is no longer a fallback chain that any non-empty rung ends; it
is a bounded recall sweep. An exact hit still wins and keeps `messages`
to itself, so a query that works today is unaffected; looser hits arrive
separately under `alternatives`.
Overlapping rungs return the same message repeatedly, which inflated the
per-thread match count into a claim the mailbox never made.
Stacked on the phishing safeguard, whose screen ran on the single result
list that existed before broadening created a second one. Alternatives are
returned to the model, so they are screened too, and `suspicious_count`
counts both sets.

The interaction is worse than a missing flag. The unverified note tells the
model to search again "with the words the sender would have written" — so a
lure surfacing in a broadened rung would have chosen the terms of the next
search, and its results would come back as ordinary mail. The note now
excludes flagged hits as a vocabulary source whenever anything in the set is
flagged, and the triage skill says the same in the step that governs
untrusted content.
…didates

The docstring told the model that hits which did not match its query carry
`unverified: true`. The flag was payload-level and set only when nothing
matched at all, so the fallback path — an exact hit plus alternatives — had
no marker on the very hits that needed one. The model reads the docstring,
not the code, so the contract had to become true rather than quieter: every
hit found by a broader rung now carries it.

Alternatives also ride along on every broadened search, so they are trimmed
to what identifies and screens a thread: 748 -> 522 bytes each, 30% off a
full 25-candidate set. The count is deliberately unchanged — the live run
that fixed the failing question picked its answer out of 25 candidates from
a late rung, and a count cap would risk discarding exactly the hit this
change exists to surface.
A backend error on a broadened rung (expired token, rate limit) used
to propagate past already-found exact hits and fail the whole search,
throwing away a result the query itself had already matched. The sweep
now degrades to reporting sweep_incomplete instead, and only re-raises
when there is nothing exact to fall back on.

Flagged in review on this PR; fixing it here rather than merging
around it.
…dget

The rebase onto main exposed a real lint gate: the added exact_match /
unverified / alternatives explanation pushed the schema description to
912 chars against the 500-char budget enforced by
util/lint.py --tool-descriptions, which the PR's own test plan had
believed passing. Condensed to the same facts without the rationale.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit f4924e3 Sep 29, 2026
43 of 53 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the issue-4156 branch September 29, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents documentation Documentation changes ready_for_ci Run CI workflows on draft PR without requesting review tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants