• Sources: primary
  • Summary: Sourcegraph built a GitHub Actions bot because agent-written code moved its bottleneck to review and routine changes still needed a human approval. The agent reads the diff, surrounding code and the author's past contributions, and application code applies rules to pick a path. Familiarity requires two reviewed merged PRs plus a relevant contribution in the past 30 days, and changes to authentication or sensitive data exposure always need review. The team ran it in recommendation-only mode first, sees fewer stamp requests, and says that metric says little about review quality.
  • Why it matters: It is a concrete, rules-plus-agent design for scoped auto-approval that a team can copy, including the guardrails and the open question of whether post-merge reviews actually happen.
  • Background: Ship, Show, Ask is a 2021 model for review: merge without review, merge and notify for later review, or block on review. The post cites Meta's RADAR, which also routes changes between pre-land review, deferred review and automatic approval by risk.