The current solution, as the author suggests is to use Rubocop and let it be known in AGENTS.md.
I don't know if frontier models can be trained/finetuned just-in-time, if so, we need something equivalent of SEO in surfacing information to frontier models - theres a business opportunity here, perhaps.