points
Ultimately you can't force claude to solve any problem but you could make it so constraints are kept.
A simple way is a git hook thay runs all the deterministic things you care about.
https://claudefa.st/blog/guide/mechanics/claude-md-mastery