Skip to content

feat(seer): Let seer:write run Autofix analysis steps - #127502

Draft
sebastianv1 wants to merge 1 commit into
sebastianshanus/aiml-3633-add-seer-scopesfrom
sebastianshanus/aiml-3633-seer-write-autofix-analysis
Draft

sebastianv1 wants to merge 1 commit into
sebastianshanus/aiml-3633-add-seer-scopesfrom
sebastianshanus/aiml-3633-seer-write-autofix-analysis

Conversation

@sebastianv1

Copy link
Copy Markdown
Contributor

Summary

Changes

Test plan

@linear-code

linear-code Bot commented Oct 15, 2026

Copy link
Copy Markdown

AIML-3633

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 15, 2026
@sebastianv1
sebastianv1 force-pushed the sebastianshanus/aiml-3633-seer-write-autofix-analysis branch from 924878a to 20844cd Compare October 15, 2026 14:05
@sebastianv1
sebastianv1 added this pull request to stack #127556 October 15, 2026 15:17
@sebastianv1
sebastianv1 force-pushed the sebastianshanus/aiml-3633-seer-write-autofix-analysis branch from 20844cd to 0ab4f93 Compare October 16, 2026 13:13
`GroupAutofixEndpoint` POST now accepts `seer:write` alongside `event:write`
and `event:admin`, through a new `GroupAutofixPermission` so the other
`GroupAiPermission` endpoints are unchanged.

`seer:write` covers analysis only: `root_cause`, `solution`, and
`code_changes`. Steps that act outside Sentry (`open_pr`,
`coding_agent_handoff`, `pr_iteration`), and runs asked to continue to a
pull request via `stopping_point: "open_pr"`, still require `event:write`.
A caller without it gets the RFC 6750 `insufficient_scope` challenge for
`event:write`, so the Seer agent can still ask the user for approval.

Existing callers are unaffected: anyone who could POST before held
`event:write` or `event:admin`.

Refs AIML-3633
@sebastianv1
sebastianv1 force-pushed the sebastianshanus/aiml-3633-seer-write-autofix-analysis branch from 0ab4f93 to 68c820b Compare October 16, 2026 16:10
@sentry

sentry Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 630 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant