Skip to content

docs(agents): mention ViewerContext identity wiring#113617

Merged
gricha merged 2 commits intomasterfrom
gricha/docs/viewer-context-agents-sentry
Apr 22, 2026
Merged

docs(agents): mention ViewerContext identity wiring#113617
gricha merged 2 commits intomasterfrom
gricha/docs/viewer-context-agents-sentry

Conversation

@gricha
Copy link
Copy Markdown
Member

@gricha gricha commented Apr 21, 2026

Add a short AGENTS.md note that viewer identity is available through sentry.viewer_context.get_viewer_context() when it is already in scope.

This gives agents a small pointer to the existing viewer-context plumbing without adding more detailed policy or duplicating the implementation docs.

Add a short agent-facing note that viewer identity is available through sentry.viewer_context.get_viewer_context() so internal code does not need to keep threading org or user identity explicitly when it is already in scope.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@gricha gricha force-pushed the gricha/docs/viewer-context-agents-sentry branch from 3b40edc to cf0301f Compare April 21, 2026 22:39
@gricha gricha marked this pull request as ready for review April 21, 2026 22:40
@gricha gricha requested a review from a team as a code owner April 21, 2026 22:40
Copy link
Copy Markdown
Contributor

@chromy chromy left a comment

Choose a reason for hiding this comment

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

lgtm

@gricha gricha merged commit 6f48fe3 into master Apr 22, 2026
46 checks passed
@gricha gricha deleted the gricha/docs/viewer-context-agents-sentry branch April 22, 2026 19:33
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.

2 participants