Skip to content

improvement(search): tell clients a Gmail result shows only its message's opening - #9807

Merged
waleedlatif1 merged 1 commit into
stagingfrom
improvement/search-gmail-opening-note
Nov 9, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
improvement/search-gmail-opening-note

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • The Gmail provider card says a search result shows only the opening of its message, not a passage around the match, so a client reads the message before concluding what the rest says. Gmail search returns only a message's opening snippet, while the search tool describes results as carrying "a passage around their match", so clients treated a cut-off snippet as the relevant passage and answered without reading

Type of Change

  • Improvement

Testing

  • MCP client bench (Sonnet 5.5, 83 cases, 4 attempts per case per arm, paired against this branch's base): a question whose answer sits past the snippet went from 0/4 to 2/4 correct (both correct attempts read the message); correct +0.3pp, completeness, sourceRecall and citedGold flat (every CI spans 0), no case flipped from mostly right to never right, Gmail reads per attempt 0.56 → 0.57, input tokens −3.6%
  • bunx vitest run lib/sim-search/live lib/knowledge/mcp on the change (160 passed); no test pins the card text

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 9, 2026 6:02am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This change appears safe to merge.

Summary

Clarifies that Gmail search results show only a message’s opening, not text around the match.

  • Gmail guidance tells clients to read beyond the search result opening.

Reviews (1) · Last reviewed commit: "improvement(search): tell clients a Gmai..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit 343a5cc into staging Nov 9, 2026
145 of 147 checks passed
@waleedlatif1
waleedlatif1 deleted the improvement/search-gmail-opening-note branch November 9, 2026 16:48

This branch was previously deployed

1 inactive deployment
Preview — 6432441d Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant