Improvement
Going fast without breaking, and opening the door
With AI I go very fast.
Really fast.
And that has a problem.
When you go fast, you don’t see the potholes.
So that same day I put some reviewers to work that never get tired.
The first doesn’t try examples. It proves. With a tool called Kani, I don’t check that a part works for ten cases: I prove it works for all of them. I did it for the parts that read data from outside, the network, the hardware and the permissions.
The second is a monkey at a keyboard. It throws two hundred thousand random calls at the system to see if anything falls over. It’s called fuzzing.
The third breaks my code on purpose. If the tests don’t notice, the tests aren’t worth much.
Did they find anything?
Yes.
A network packet that was too short could bring down the whole network service. Just one. Now it’s thrown away and the system carries on. The monkey also turned up channels nobody could use anymore that were still taking up room. Now they’re freed.
I also changed how resources are shared out. There used to be fixed limits. Now it works like pocket money: the program that starts another lends it memory, connections and ports. Nobody spends more than they’re given.
And every scenario boots on a test machine with every change.
With that safety net in place, I dared.
I opened the door.
The repository is public, with an explanation of the experiment, a security policy and a guide for anyone who wants to lend a hand. It’s on GitHub.