When Luke Barrett went from private practice to in-house nearly 20 years ago, he made a pact with himself.