sloth-standup: a local Gemma reads my 43 open PRs overnight and found the review I'd missed for a week
Description and use
The tool processed 43 open PRs overnight, identifying 3 merged, 2 that required action (including a week‑old unanswered review and a newly conflicting PR), and 34 with no new activity. It reduced manual tab inspection from 43 to 2 actionable items, and improved detection of critical issues.
Problem
Managing dozens of open pull requests across multiple repositories is time‑consuming; many PRs are idle or have no actionable items, while a few require immediate attention and can be easily overlooked.
Outcome
The tool processed 43 open PRs overnight, identifying 3 merged, 2 that required action (including a week‑old unanswered review and a newly conflicting PR), and 34 with no new activity. It reduced manual tab inspection from 43 to 2 actionable items, and improved detection of critical issues.
Workflow
- 1. Configure a systemd user timer to run at 07:00 or on laptop wake.
- 2. Execute
ollama pull gemma4:e2b && python3 -m standup --hours 24 --notify. - 3. The script queries GitHub for all open PRs the user owns.
- 4. For each PR, the code applies rule‑based logic to flag merge conflicts, "changes requested", unanswered review threads, and failing checks without explanations.
- 5. When a rule is insufficient, Gemma 4 is prompted with two narrow JSON‑schema questions: whether the PR needs the author’s input and whether any failing checks have been explained.
- 6. The tool aggregates results, formats a digest, and displays a desktop notification.
- 7. The author reviews the digest and acts on the highlighted PRs.
Evidence
sloth-standup does that reading overnight, on my laptop, with Gemma 4 through Ollama, and leaves me a short digest: what merged, what needs me (and why, with a link to the comment), and what can wait.
In its first two days it found two things I had missed: a review comment on a ClickHouse PR, unanswered since the week before. It was a real bug… I fixed it the same morning.
The screenshot above is a real digest from 2026-10-22 (my PRs, unedited). It runs as a systemd user timer at 07:00, or when the laptop wakes up if it was asleep, and pops a desktop notification with the PRs that need you.
Gemma answers only two narrow questions, with a JSON schema and temperature 0: does a person or a review bot ask the author for something they haven't answered yet? and has anyone explained the failing checks?
The tool processed 43 open PRs overnight, identifying 3 merged, 2 that required action…
- Record date: 2026-10-22T08:26:03.994Z