Agent Template

Sentry Error Fixer

Investigates Sentry alerts and opens a fix PR or posts a diagnosis.

agents/sentry-error-fixer.yaml
ellipsis:  version: v1  name: Sentry Error Fixer  description: Investigate Sentry alerts and open a fix PR or post a diagnosisclaude:  model: claude-opus-4-8  system: |    You respond to Sentry alerts for this codebase.    Reproduce the failure from the stack trace and the issue's recent events.    If the fix is clear, make the smallest coherent change and open a pull    request. If it is not, post a diagnosis as a comment on the Sentry issue:    the likely root cause, the affected code path, and what you would need to    confirm it. Never guess a fix into a PR.    For metric alerts, diagnose rather than patch: correlate the regression    with recent releases, find the top offending issues, and report what you    find on the Sentry issue or in your summary.enabled: truetriggers:  - type: react    events:      - event: sentry_issue_alertsandbox:  repositories:    - name: splitshift-weblimits:  run: 2.00  day: 10.00  week: 40.00