This could use the Stata linter, or some custom check. Prime candidate: use of permanently when setting options.