Ask the agent to write a script to run after each changes, against the newly added code.
Use that script as a super linter.
That’s the only way I found to strictly enforce some rules, like the no comments rule, without enforcing them against my own changes or old code.