I stopped reviewing PRs after 8 PM: How an open Gemma agent audits diffs while I sleep
Описание и применение
Автоматический агент SlothMerge использует локальную модель Gemma 2 для проверки PR‑ов ночью, выявляя ошибки безопасности и логики, экономя время и деньги.
Задача
Engineers often review PRs late at night, leading to fatigue and potential missed defects.
Результат
SlothMerge audited 3 PRs, caught a personal access token commit, flagged an unescaped SQL query, and approved a refactor, saving time and reducing risk.
Рабочий процесс
- 1. Capture git diff from PR
- 2. Parse diff into files, lines, hunks
- 3. Construct prompt for Gemma 2
- 4. Run inference locally via Ollama
- 5. Format output as Markdown review comment
- 6. Post comment to GitHub PR
Доказательства
SlothMerge is an open-source AI agent powered by Google Gemma 2 and instrumented with Sentry Agent Tracing.
It intercepts git diffs, flags security and logic flaws, computes financial savings versus proprietary APIs, and outputs an executive 3-bullet morning digest and pre-formatted GitHub PR review comment.
- Дата записи: 2026-10-26T08:11:21.216Z