Matt Pocock: deterministic checks could safely automerge refactor PRs under strict rules

mattpocockuk · x · 2026-10-25

Matt Pocock proposes a tool idea: under very strict constraints (code reorganization only, no module graph changes, no test coverage regression, etc.), it should be possible to deterministically check whether a PR can be automerged. It wouldn't work for new features or bugfixes, but could unlock a class of refactorings that let teams change code more confidently — "there is a tool here waiting to be created."

Related event: Debate over deterministic auto-merge tool for refactor PRs(3 posts)→

Original post →

More from coding & agent

coding & agent channel →