Auto-fixing lint errors, type mismatches, and small review nits is a genuine time-saver; auto-approving your own patch is a separation-of-duties bug. I wouldn't enable repo-wide auto-approve on main.
Why author and approver shouldn't be the same loop
Branch protection exists so an independent reviewer validates intent and blast radius. Letting the agent that authored a fix also supply the required Approve turns two-person review into single-actor automation—one indirect prompt injection in an issue description or test fixture could carry a bad change straight to main.
Green tests only prove existing assertions stayed green; they don't catch widened permissions, missing idempotency, subtle schema drift, or an agent loosening a test assertion just to make CI pass.
️ A safer split that keeps the speed
Autonomous on PR branches: let agents fix lint/types, add missing test cases, and push commits to isolated PR branches—or post GitHub/GitLab suggested-change blocks.
Independent policy checks + human merge: use a separate read-only review/security gate that can block risky diffs, while keeping human CODEOWNERS sign-off mandatory on merges—especially around auth, billing, migrations, dependencies, and CI configs.
On active team repos, do you let coding agents push commits directly onto open PR branches, or keep them strictly on suggested-change comments?