SIGN IN SIGN UP

fix(seer): include selected projects in page LLM context (#123036)

Closes AIML-3422.

Structured LLM page context on Issues/Explore was under-scoping the
agent: Explore spans/logs/metrics/etc. omitted page-filter projects
entirely, and Issues only sent slugs from currently visible rows. ASCII
footnotes only had slugs (no ids).

Adds a shared `getSelectedProjectsForLLMContext` / hook that emits
`projectIds`, `projectSlugs`, and `isAllProjects`, wires it through
Issues, Explore (spans/logs/metrics/profiling/releases/replays), and
Dashboards, and includes `slug (id: …)` in ASCII project footnotes.

<!-- junior-request-attribution:start -->
Requested by **Dhrumil**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AD0AT0HE7D7B%3A1787942734.061369 -->

--

[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0AT0HE7D7B%3A1787942734.061369)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0AT0HE7D7B%3A1787942734.061369/?project=4510944073809921)

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

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Dhrumil Parekh <dhrumil.parekh@sentry.io>
Co-authored-by: Dhrumil <109983869+Dhrumil-Sentry@users.noreply.github.com>
S
sentry-junior[bot] committed
a1e22498df92b40096c0873a78d1e345ad557a21
Parent: 0a956ad
Committed by GitHub <noreply@github.com> on 8/28/2026, 9:10:00 PM