Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I stopped reviewing PRs after 8 PM: How an open Gemma agent audits diffs while I sleep

说明与用途

SlothMerge 是一个开源 AI 代理,使用本地 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