Skip to content

test(evals): Find the mail host by meaning with opaque host names - #3591

Merged
BYK merged 2 commits into
mainfrom
test/meaning-eval-opaque-hosts
Nov 17, 2026
Merged

BYK merged 2 commits into
mainfrom
test/meaning-eval-opaque-hosts

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #3564. In its meaning case, the agent could tell the mail host from its name (smtp-iad1), so keyword search alone could find it.

  • Hosts are now node-01 to node-40. Only the mail host's disk listing shows its role, through its Postfix queue. The other hosts list their own kinds of data.
  • The case now also requires that keyword search alone, with the input of the agent's first search, does not return the mail host. keywordSearchEvents in the eval fixture runs the product search without an embedder.
  • The first call has 37 host checks instead of 43, and the second call needs no compaction, so each Turn is shorter.
  • The eval report now shows the time of each Turn (timings.metadata.turnMs), from the turn states in the reporting API.

via @BYK.

--

View Session [Sentry]

Hosts are node-01 to node-40, and only the Postfix queue in the disk listing
shows which one handles mail. The case now checks that keyword search alone
does not return the mail host for the agent's first search. The eval report
shows the time of each Turn.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from BYK November 17, 2026 15:22
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 17, 2026 3:31pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 17, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 85490a8. Configure here.

Count an event as the mail host's when it names the host or lists the
Postfix queue, and check the first search that has a query.
@github-actions

Copy link
Copy Markdown
Contributor

343 screenshot changes — 0 changed · 343 added · 0 removed

Review screenshots in Frameshift

@BYK
BYK merged commit 81a2fe7 into main Nov 17, 2026
54 checks passed
@BYK
BYK deleted the test/meaning-eval-opaque-hosts branch November 17, 2026 16:04
BYK added a commit that referenced this pull request Nov 17, 2026
Follow-up to #3591.

The note after a compaction summary said to search history only for "an
exact detail that the summary lacks". In the continuity meaning case,
the agent took a summary without the detail as proof that the detail was
gone. It asked the person instead of searching.

The note now says that the summary leaves out most details, and that the
agent should search with `searchConversationEvents` before it calls a
detail unknown or asks for it. It still asks when the search finds
nothing.

This changes only the compaction note. The note is the only place for
this rule: `searchConversationEvents` is a deferred tool, so its
description isn't in context until the agent looks it up.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A3077261f58a20b2c94e5ba91f4b0f3f3 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A3077261f58a20b2c94e5ba91f4b0f3f3)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A3077261f58a20b2c94e5ba91f4b0f3f3/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 61e376d1 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant