Skip to content

feat(search-events): teach the logs query agent regex message search - #1406

Draft
JoshuaKGoldberg wants to merge 2 commits into
joshgoldberg/logs-1013-add-sentry-mcp-evals-for-regex-log-searchfrom
joshgoldberg/logs-1014-teach-sentry-mcps-search-agent-regex-log-search
Draft

JoshuaKGoldberg wants to merge 2 commits into
joshgoldberg/logs-1013-add-sentry-mcp-evals-for-regex-log-searchfrom
joshgoldberg/logs-1014-teach-sentry-mcps-search-agent-regex-log-search

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Teaches the embedded search agent to write key://pattern// regex log filters when wildcards can't express a request, with logs few-shot examples to match.

See #1405 for evals around this.

Closes LOGS-1014.

@linear-code

linear-code Bot commented Oct 5, 2026

Copy link
Copy Markdown

LOGS-1014

@JoshuaKGoldberg JoshuaKGoldberg changed the title feat(search-events): Teach the logs query agent regex message search feat(search-events): teach the logs query agent regex message search Oct 5, 2026
@JoshuaKGoldberg
JoshuaKGoldberg force-pushed the joshgoldberg/logs-1014-teach-sentry-mcps-search-agent-regex-log-search branch from ee5eae6 to 79f6832 Compare October 5, 2026 15:56
@JoshuaKGoldberg
JoshuaKGoldberg changed the base branch from main to joshgoldberg/logs-1013-add-sentry-mcp-evals-for-regex-log-search October 5, 2026 15:56
@JoshuaKGoldberg
JoshuaKGoldberg added this pull request to stack #1411 October 5, 2026 15:58
JoshuaKGoldberg and others added 2 commits October 5, 2026 14:17
Add logs text-matching guidance to the embedded query-translation agent
prompt so it uses `key://pattern//` regex filters when wildcards cannot
express the request, and add regex few-shot examples for the logs dataset.

Refs LOGS-1014
Co-Authored-By: Claude Code <noreply@anthropic.com>
…ldcards

Teach prefix, suffix, and wildcard-list matching so plain alternatives
and anchors don't reach for a regex, keep exact value sets as key:[a,b],
and swap examples that overlapped the regex evals or needed no regex.

Refs LOGS-1014
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JoshuaKGoldberg
JoshuaKGoldberg force-pushed the joshgoldberg/logs-1014-teach-sentry-mcps-search-agent-regex-log-search branch from f5c77bf to 5bbb4b0 Compare October 5, 2026 18:17

This branch was successfully deployed

1 active deployment
Actions — 5bbb4b02 Deployed Oct 5, 2026 by JoshuaKGoldberg via eval #1198
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