
In August, Sagiv Oulu's team had 528 tickets in Linear that nobody had started. 205 of them were more than 60 days old.
Some of those were still real work. Others had been fixed months ago by a pull request that never mentioned the ticket, had been replaced by a newer ticket, or described a plan the team dropped. You can't tell which is which from the title. You have to open each one, remember what it was about, and search GitHub for the fix. Nobody wants to spend a Friday afternoon on that, so the old tickets stay where they are, and the backlog gets harder to read every week.
Sagiv, a senior product engineer at Dash0, built an Agent0 automation that does the searching. It has run on his team's backlog since 3 August, scheduled for Monday, Wednesday and Friday mornings.
What it does
Agent0 reads the team's unstarted tickets that are older than 60 days. It picks the ones most likely to be finished, duplicated or obsolete, and looks for proof:
- Done. A merged pull request that makes the change the ticket asks for.
- Duplicate. Another ticket that asks for the same thing, often one that is already closed.
- Obsolete. The thing the ticket is about is gone. The feature was removed, or the ticket it depended on was canceled.
It posts one message to the team's Slack channel with the count, and one reply per ticket under it. Each reply says what it found, links the evidence, and says who should close the ticket.

One ticket asked for a better input for cron schedules. It was filed on 9 April, and a pull request that added cron expressions was merged the next day. The ticket stayed open for four months anyway. On 7 August, Agent0 linked that pull request and called the ticket done. Someone closed it six minutes later.
It never touches a ticket
The automation reads Linear and GitHub and writes only to Slack. It doesn't close, comment on, relabel or move a ticket. A person reads the reply and decides.
The prompt says so, and the guardrails enforce it. An automation in Dash0 can call only the tools listed in its guardrails, and this one has no tool that writes to Linear. If the model ignored the prompt and tried to close a ticket, the call would fail.
That made it easy to point it at a whole backlog from the first run. A wrong suggestion costs someone a minute of reading. When Sagiv wasn't sure about a suggestion, he didn't close the ticket himself. He tagged the person who wrote the code in the thread: "Can you see if this is really done? It looks to be done by one of your PRs, but I rather you confirm and close the ticket."
What happened
From 3 August to 20 November, the automation ran 29 times and flagged 150 different tickets.
- 106Closed by a person after the flag19 within a day, 60 in one cleanup on 20 November.
- 44Still open
People closed 106 of the flagged tickets: 32 as done, 69 as canceled and 5 as duplicates. 19 were closed within a day of the first flag. Reading a reply and clicking close takes a minute when the evidence is already there.
None of the 150 was already closed when the automation first flagged it.
The others waited, and the open suggestions came back in every run. On 20 November I went through them and canceled 60 tickets in a little over an hour. The automation had already found the evidence for each one, so I only had to read it.
What we learned
- No evidence, no flag. Age alone never counts. The automation flags a ticket only when it can link something a person can open: a pull request, another ticket, or a file that no longer exists. Its first run went through 205 old tickets and flagged 12. In November, it went through 306 and flagged 14, and said the rest "still describe valid, unbuilt work".
- One reply per ticket. The first run posted all 12 tickets in one reply. Sagiv asked for one message per ticket instead, "That way we can react on them to note that we are handling them." People now react with ✅ or ❌, or answer in that ticket's own thread.
- Best effort is enough when it runs every few days. No run checks every old ticket in depth. A run skips any ticket it isn't sure about, and the next run looks again. Each run stays short.
- Don't post the same ticket every run. The original automation posted every open suggestion again on each run, and one ticket that is still open was flagged seven times. The template fixes this. Its parent message lists the tickets from the last cleanup that are still open by key, and Agent0 doesn't check them again.
Set it up yourself
The template we built from these automations works like this:
- Every Monday at 09:00 UTC, it reads one Linear team's triage, backlog and unstarted tickets that are older than 90 days.
- It picks the tickets most likely to be done, duplicated or obsolete, oldest first.
- It looks for evidence in GitHub and Linear, and flags at most 20 tickets, each with a link a person can open.
- It posts one Slack message with the counts and one thread reply per ticket, with the reason, the evidence and a suggested action.
It never changes a ticket or writes to GitHub.
The template is a starting point. If your team counts old differently, wants fewer tickets per week, or keeps its code in a few specific repositories, ask Agent0 to change it before you create it.

