# AI bug triage: new issues sorted, sized and routed before standup

Triage is quick per issue and slow in aggregate. The judgment that matters is connecting a vague report to the error data: how many users, since when, and which release.

The Bug Triage bot reads new GitHub issues alongside your error tracker, links duplicates, sets severity from real impact, routes each issue to its owner, and says what's missing to reproduce. It proposes labels and comments; it doesn't apply them until you approve.

Updated November 23, 2026.

## What it does

- Links duplicate reports to one primary issue
- Sets severity from error-tracker impact, not the reporter's tone
- Spots regressions by matching first-seen times to releases
- Proposes labels, owners and replies asking for missing details

## Worked example

Seven issues opened in a day after a mobile release, with 24 hours of error-tracker data.

### Instructions

```text
You triage new bug reports for the user's engineering team.

- For each report: link duplicates, set severity (S1 outage or data loss, S2 major feature broken with no workaround, S3 broken with a workaround, S4 cosmetic), pick the owning area, and say what's missing to reproduce.
- Use error-tracker events to size impact: how many users, since when, which release.
- Propose labels, owners and replies; never close, assign or comment on issues without approval.
```

### Prompt

```text
Triage the issues opened since yesterday. Owners: mobile = Ana, api = Ben, web = Chloe, billing = Dev. Today's release is v4.12.0 (shipped Nov 21 16:00 UTC).

NEW GITHUB ISSUES
#2311 "App logs me out every few minutes" - iOS 18.2, v4.12.0. "Started after today's update. Have to log in again constantly." 4 thumbs up.
#2312 "Can't export schedule to CSV" - web. "Export button does nothing on Firefox." No console log attached.
#2313 "Logged out repeatedly on Android" - Pixel 8, v4.12.0. "Kicked out mid-shift twice."
#2314 "Typo on billing page: 'Recieve invoices'" - web.
#2315 "Customers charged twice for December" - from support, 2 customer emails attached, both on annual-to-monthly switch.
#2316 "Dark mode: map pins invisible" - iOS. Screenshot attached.
#2317 "Feature: recurring jobs every 3rd Tuesday" - web.

ERROR TRACKER (last 24h)
- AuthTokenRefreshError: 3,412 events, 1,180 users, first seen v4.12.0 Nov 21 16:20 UTC, iOS and Android.
- StripeInvoiceDuplicateWarning: 23 events, 19 customers, first seen Nov 20 (v4.11.3), all with plan_change=annual_to_monthly.
- TypeError in exportCsv (Firefox 133 only): 41 events, 29 users, first seen Nov 2.
```

### Apps it uses

- [GitHub](https://rakazo.com/integrations/github/): reads new issues and, with approval, labels and comments
- [Sentry](https://rakazo.com/integrations/sentry/): reads error counts, users affected and first-seen release
- [Linear](https://rakazo.com/integrations/linear/): creates the tracked ticket for the owner

### Output (Claude Sonnet 5.5, unedited)

# Triage: issues #2311–#2317 (as of 2026-11-22 21:26 UTC)

Nothing below has been applied. Labels, assignments, comments and closures all wait for your approval.

| # | Severity | Area | Owner | Action |
|---|---|---|---|---|
| #2315 | **S1** | billing | Dev | Double charges. Treat as data and money loss. |
| #2311 | **S2** | mobile (auth) | Ana | Primary for the logout bug |
| #2313 | **S2** | mobile (auth) | Ana | Duplicate of #2311 |
| #2312 | S3 | web | Chloe | Export bug, needs a repro |
| #2316 | S4 | mobile | Ana | Dark-mode pins invisible |
| #2314 | S4 | web (billing page copy) | Chloe or Dev | Typo |
| #2317 | Not a bug | web | Chloe | Feature request, goes to the backlog |

## Details

**#2315: duplicate charges (S1, Dev)**
- The error tracker shows `StripeInvoiceDuplicateWarning`: 23 events, 19 customers, all `plan_change=annual_to_monthly`.
- It first appeared Nov 20 on v4.11.3, so it predates today's release (v4.12.0) and v4.12.0 is not the cause.
- The tracker counts 19 affected customers, so more people than the 2 who emailed are probably hit. Dev should pull the full list.
- The issue is about December, so charges are likely pending or recent. Refunds and a hold on further duplicate invoices are time-sensitive.
- Still needed: Stripe invoice and charge IDs for the 2 customers, whether the charges are actually captured or only duplicate draft invoices, and the date of each plan switch.
- Proposed reply: ask support for the IDs and tell them that Dev is investigating.

**#2311 and #2313: logouts (S2, Ana)**
- `AuthTokenRefreshError` has 3,412 events across 1,180 users, first seen at 16:20 UTC on Nov 21. That is 20 minutes after v4.12.0 shipped, and it hits both iOS and Android.
- Users can log back in, so there is a workaround, but it is a heavy one. Mid-shift logouts on a work app could be argued up to S1 if usage is high.
- I'd link #2313 to #2311 as a duplicate and keep #2311 as the primary. The reports share the same cause and release, though I'm inferring the cause from timing and platform.
- Ana should check what changed in token refresh in v4.12.0. A hotfix or rollback of v4.12.0 is a decision for you, Ana and Ben. The refresh endpoint is on the API side, so Ben should look at it too.
- Note: #2311 says "after today's update", but the release shipped Nov 21, so the report is probably from the same day.
- Still needed:
  - The app version in #2313. The reporter listed v4.12.0, so this is probably covered.
  - Whether #2311 is Android too.
  - Device logs or timestamps for the logout moments.
  - Whether the user is on cellular or Wi-Fi, and whether the app is backgrounded when it happens.

**#2312: CSV export (S3, Chloe)**
- The tracker shows `TypeError in exportCsv` on Firefox 133 only: 41 events, 29 users, first seen Nov 2. That is not a v4.12.0 regression.
- Users can export with another browser, so S3 fits.
- Still needed: a console log, the exact Firefox version, and the schedule size and filters. The stack trace from the tracker may be enough to start.
- Proposed reply: ask the reporter for those details and mention the Chrome or Safari workaround.

**#2316: dark mode map pins (S4, Ana)**
- The issue is cosmetic, though pins that are invisible could hurt usability. I'd start at S4 and bump it to S3 if the map is essential to the workflow.
- Still needed: iOS version, device, and app version. The screenshot is attached.

**#2314: typo (S4)**
- "Recieve" should be "Receive". It's a one-line fix, good for a first-timer.
- The billing page is a web surface, so I'd put it with Chloe, though Dev could take it if they own the copy.

**#2317: feature request**
- Recurring jobs on every 3rd Tuesday. Suggest a `feature-request` label and no severity, with a note to the product backlog.

## Proposed labels
- #2315: `bug`, `S1`, `billing`
- #2311: `bug`, `S2`, `mobile`, `auth`, `regression-v4.12.0`
- #2313: `bug`, `S2`, `mobile`, `auth`, `regression-v4.12.0`, `duplicate`
- #2312: `bug`, `S3`, `web`, `firefox`, `needs-info`
- #2316: `bug`, `S4`, `mobile`, `dark-mode`
- #2314: `bug`, `S4`, `web`, `copy`
- #2317: `feature-request`, `web`

## Suggested order
1. Page Dev about #2315 now.
2. Have Ana and Ben check the token refresh in v4.12.0. Then decide on a hotfix or rollback.
3. Handle the rest in normal triage.

Do you want me to draft the comments and the duplicate link for #2313? I can also draft the message to Dev and Ana. I haven't sent anything.

### Cost per run

| Model | Tokens in | Tokens out | Cost per run | Time |
| --- | --- | --- | --- | --- |
| Claude Sonnet 5.5 | 15,699 | 1,853 | $0.058 | 14s |
| GPT-6.2 Sol | 8,832 | 900 | $0.027 | 17s |
| GPT-6 Luna | 8,857 | 2,207 | $0.002 | 22s |

Measured on November 23, 2026 (Claude Sonnet 5.5 the day before) on Rakazo 0.14.0 through OpenRouter, with no model-side caching, at each provider's list price. The data an app connection would return was pasted into the prompt, so a live run adds the tool calls that fetch it, and costs more the more it reads. Rakazo adds the bot's instructions, tools and memory (about 9,000 to 16,000 tokens, depending on the model) to every run.

## Run it on a schedule

> Every weekday at 8:30, triage the issues opened since yesterday and post the table here.

- Claude Sonnet 5.5: about $1.27 a month in model usage, weekdays at 8:30.
- GPT-6.2 Sol: about $0.59 a month in model usage, weekdays at 8:30.
- GPT-6 Luna: about $0.04 a month in model usage, weekdays at 8:30.

## What it won't do without you

- Never closes, assigns or comments on issues without approval
- Separates what it inferred from what the data shows
- Leaves rollback and hotfix calls to people

## Run it on every new issue instead

A routine can also start from a **Git event**: add the routine's URL as a GitHub webhook and each new issue is triaged as it arrives, rather than in a morning batch.

## Set it up

1. Create a bot and paste the instructions above, or ask any bot to set one up for this job.
2. Connect the apps it needs from chat ("connect my Gmail") or from **Integrations**.
3. Send the prompt once and correct what it gets wrong; it saves your rules to memory.
4. Ask it to turn the prompt into a routine on a schedule.

## FAQ

### Can AI triage GitHub issues?

Yes. With GitHub and your error tracker connected, it reads each new issue, checks the error data, and proposes severity, labels and an owner for you to approve.

### Does it need access to my code?

Not for triage. Issue text and error data are enough. A coding bot can take the next step on its own computer if you want it to.

### How does it decide severity?

From the definitions in its instructions and the impact in the error data. You can change both; the worked example uses S1 to S4.

## More use cases

- [AI chief of staff](https://rakazo.com/use-cases/ai-executive-assistant/): A Monday briefing that leads with the decisions only you can make.
- [AI account manager](https://rakazo.com/use-cases/ai-account-manager/): Renewal prep: which accounts are at risk, and the replies you owe.
- [AI email agent](https://rakazo.com/use-cases/ai-email-agent/): Sorts new mail three ways and drafts the replies in your voice.
- [All use cases](https://rakazo.com/use-cases/)
