Repository navigation
Open
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Description
Goal
An error reported by Sentry can become a ProPR task with the stack trace attached, and the agent can read the error details while fixing it.
Behaviour
- Mapping: settings map a Sentry project to a GitHub repository.
- Intake: Sentry sends issue or alert webhooks to the plugin's inbound URL. For a mapped project the plugin creates a GitHub issue: title from the error title, body with culprit, first/last seen, event count, environment, a trimmed stack trace of the latest event and a link to Sentry. De-duplicated by Sentry issue id: one GitHub issue per Sentry issue, later events add nothing.
- Starting work is off by default: by default the created issue has no trigger label, so a person decides. A setting "Start a task automatically" adds the trigger label, guarded by: minimum event count, allowed environments (default: production only), and a daily cap on automatically started tasks per repository (default 3). When the cap is reached the issue is still created, without the label, and says why.
- Sync back (switchable): when the pull request merges, comment on the Sentry issue with the pull request link; optionally mark it resolved.
- Agent context: contributes Sentry's MCP server as a read-only managed library item (if the vendor's remote MCP server accepts ProPR's sign-in; otherwise use a token-authenticated endpoint if the vendor documents one, or omit and say so in the README), and a skill instructing the agent to open the linked Sentry issue, read the latest event and reproduce before fixing.
- Error data is untrusted content: it is placed in the issue body inside a clearly delimited block and cannot select repository, labels or model. Request bodies, user data fields (emails, IPs, cookies, headers) and breadcrumbs are not copied into the GitHub issue.
Connection: a Sentry internal-integration token and its webhook signing secret (verify the documented signature header). Confirm payloads, signature scheme and API endpoints against Sentry's official documentation while implementing; record the links in the README. Self-hosted Sentry is supported by a base-URL setting, subject to the endpoint policy.
Acceptance criteria
- Fixture-based tests: a webhook for a mapped project creates one issue with the expected fields; repeats create none; unmapped projects do nothing; bad signature is rejected before plugin code runs.
- Automatic start honours event count, environment and the daily cap; with the setting off no trigger label is ever added.
- Personal data fields listed above never appear in the created issue (sentinel fixture).
- Sync back posts once on merge when enabled.
- README with setup, permissions and a manual smoke-test checklist;
docs/docs/plugins/sentry.md.
Implementation
packages/plugins/sentry/with manifest, handlers, fixtures, tests, README, skill bundle.- Stack-trace trimming helper (frame limit, in-app frames first, length cap) inside the plugin.
- Daily cap counter in
ctx.statekeyed by repository and UTC date. - Docs page.
Notes
Depends on the inbound webhooks issue. Keep automatic start conservative: an alert storm must not be able to start unbounded work.
Metadata
Metadata
Assignees
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53558/claude-opus-5-5-official-plugin-sentry-tu-20261117-0253-la33542-epic-plugin-system-xu8issue-3558-20261117-0253-claude-opus-5-5-la3🔍 Track Task Execution
feat(ai): I fixed F1 and F2. I also checked that each new test fails …
[3605 by Claude Opus 5.5] Studio and Plans: show skipped issues as sk…