Skip to content

feat(auth): Include model intent in all authorization requests#1024

Draft
sentry-junior[bot] wants to merge 3 commits into
mainfrom
feat/oauth-auth-intent
Draft

feat(auth): Include model intent in all authorization requests#1024
sentry-junior[bot] wants to merge 3 commits into
mainfrom
feat/oauth-auth-intent

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Let the model explain why access is needed for every user-authorizable permission request, then preserve that intent through the shared auth pause and Slack notice. This gives users useful context instead of a generic provider authorization prompt.

All auth pauses

MCP dispatchers and plugin-backed tool calls now accept bounded model intent. Runtime-owned metadata is removed before validating or executing the actual tool, while direct and deferred plugin calls keep the intent scoped to the active call.

If authorization is required, users see copy such as “I need access to GitHub to push the requested branch.” Existing generic copy remains the fallback when no intent is supplied.

Intent is normalized, length-bounded, and Slack-escaped before rendering.

Requested by David Cramer via Junior.

--

View Junior Session

Co-Authored-By: David Cramer <david@sentry.io>
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Jul 23, 2026 11:22pm

Request Review

Co-Authored-By: David Cramer <david@sentry.io>
@sentry-junior sentry-junior Bot changed the title feat(auth): Include model intent in authorization requests feat(auth): Include model intent in all authorization requests Jul 23, 2026
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.

0 participants