I'd like for Fix-Suggester-Bot to be able to use the "Change file content in Change Edit" API endpoint in Gerrit https://gerrit.wikimedia.org/r/Documentation/rest-api-changes.html#put-edit-file. The idea is that Fix Suggester Bot will push a modified version of a file that fails PHPCS (and later, eslint, or other automatically fixable issues).
If I try to do that with fixsuggesterbot user currently, I get Error 403 (Forbidden): edit not permitted. Maybe the user needs to be in the mediawiki group? The bot will only work on MW core and extensions that opt in to using it.