Sentry Auto-Solve

Poll Sentry every 10 minutes or wake on a signed webhook, replicate the bug first, fix and independently review it, deliver a local commit, PR, or auto-merged PR, and update Sentry.

  • Omnyo for Mac · Omnyo 0.46.24 or later
  • Requires Sentry + State Machines plugins
  • Replicate-first, reviewed PR or local delivery
  • Example fix

Replicated fix, independent review, configurable PR or auto-merge, and Sentry issue triage

Want to install or open in Omnyo? Open in Omnyo · Setup steps

Download the workflow JSON above and import it on your Omnyo desktop machine.

Auto-Solve pipeline

7 stages

  1. Match unresolved issues against severityFilter, dailyLimit, and routeId without blocking manual chats. Read the example fix ↓

An illustrative run that polls Sentry every 10 minutes or wakes on a signed Sentry issue webhook, replicates the failure in an isolated worktree, fixes and reviews it, opens or auto-merges a PR, and updates Sentry.

Example output

Read a solved issue summary

Each fix follows strict state gates before touching production code or opening a PR. Before delivery, an independent reviewer verifies reproduction evidence, fix scope, and test output.

Illustrative fix01 Poll · Webhook / 10m

fix(API-418): guard null session cursor on paginated replay

Reproduced via `vitest run tests/session-pagination.test.ts` on base commit 9a14e2c: passing `cursor: null` threw TypeError inside `decodeCursor` before reaching the empty-page branch.

Updated `decodeCursor` to treat missing or nullish cursors as an initial page request and added a regression test covering explicit `null` cursors from mobile clients.

Delivery mode `pr-auto-merge` pushed branch `sentry/auto-api-418`, opened PR #142 against `release`, confirmed CI green without bypassing branch protection, and squash-merged commit `c48d901`.

What happens on each cycle

Sentry plugin owns credentials, routes, inbox, and webhook callbacks. State Machines owns the schedule, retry gates, and delivery settings.

  1. Poll Sentry or receive webhook

    Wake every 10 minutes or immediately on a signed Sentry issue webhook, filtered by severity, route, and daily limit (10/day default).

  2. Replicate first, then solve

    Write and verify a failing reproduction before patching in an isolated worktree (optional toggle).

  3. Independent review

    Check reproduction proof, patch scope, and test results before any branch push or PR.

    • Local commit only

      Keep the verified fix commit locally without pushing.

    • Draft or ready PR

      Push branch and open a draft or ready PR against targetBranch.

    • PR & auto-merge

      Open a PR, wait for checks, and merge via squash, merge, or rebase without bypassing protection.

  4. Triage Sentry & clean worktree

    Comment the root cause and PR link, mark resolved or resolve in next release per your setting, remove the worktree, and sleep until the next issue.

Requirements

Before the first run

Install the Sentry and State Machines plugins, map your repository routes, and adjust delivery defaults before starting the machine.

App
Omnyo for Mac · Omnyo 0.46.24 or later
Plugins
Requires Sentry (for auth, repo routes, and git/GitHub host actions) and State Machines (included with Omnyo).
Coding agents
Uses your connected Codex, Claude Code, or ACP CLI inside an isolated temporary worktree per issue.
Schedule & triggers
Every 10 min + webhook*/10 * * * * · UTCWakes on periodic timer or signed Sentry webhook callback.
Output
Replicated fix, independent review, configurable PR or auto-merge, and Sentry issue triage

Power-user parameters · 10

  • Delivery mode (local, draft-pr, pr, pr-auto-merge)
  • Target branch
  • Merge method (squash, merge, rebase)
  • Replicate first before fixing
  • Independent review before delivery
  • Sentry issue triage policy
  • Minimum severity (all, error, fatal)
  • Behavior when unfixable or checks fail
  • Daily attempt limit
  • Sentry route filter

Workflow capabilities

  • sentry-auto-solve
  • model-agent-steps
  • git-worktree
  • github-pr-delivery

Your editable copy

Set up Sentry Auto-Solve

Create from the State Machines template or import the workflow file below, then customize any parameter.

Workflow revision 1 · File verification

SHA-256

ea137ad763211863b155fa91023e2d03c96743f0c9450d6f404c65a825673693Download workflow file

The file URL is pinned to this revision. Already downloaded copies stay under the recipient’s control.

  1. 1. Configure a Sentry project route

    Open the Sentry plugin in Omnyo, save your Sentry auth token, and enable at least one route mapping a Sentry project to a local repository and GitHub owner/repo.

  2. 2. Create from the template or import JSON

    In State Machines, open the Sentry Auto-Solve quick-start template (or import the verified .state-machine.json file above). Edit any state or prompt freely.

  3. 3. Pick your delivery & review rules

    Choose deliveryMode (local commit only, draft PR, ready PR, or PR with auto-merge), targetBranch, mergeMethod, requireReproduction, requireReview, and sentryTriage.

  4. 4. Run on a 10m timer or webhook callback

    Start the machine on your project. It polls every 10 minutes with zero idle LLM cost and optionally wakes immediately when your signed Sentry issue webhook hits the local plugin callback URL.