Most of the invariants you'd want to prove are already sitting in your code as asserts, SQL constraints and bug-fix diffs. I mined them into a database and attached Lean 4 templates to the ones that held up.
Agents look them up with plain keyword matching, and I was surprised how well that worked. I wrote the test cases myself, though, so I don't fully trust the numbers yet.
posix4e.github.io/invariant-db
Time to go post-quantum immediately.
NSA just put out this somewhat vague advisory that says (a) frontier AI labs have responsibly disclosed some cryptography breakthroughs and (b) attackers may use store-and-decrypt techniques so (c) you best be post-quantum, pretty darn quick.
libsecp256k1 0.3.1 and 0.3.2 were both released because Clang 14 and GCC 13.1 compiled their constant-time code into secret-dependent branches.
You can prove a signing routine correct for every input and the compiler can still put the branch back.
My proudest moment is merging new coders first patch into any of my open source projects. It means I did a good job in mentoring. I'm especially proud of this one