
This tweet became etched in my memory when I read it, because at that point I felt I’d done each of these three things, though at different points in my career.
Now, I feel like I can do all three, simultaneously (on different projects).
Really, what a time to be an engineer!
Crazy what someone like me with no prior formal methods knowledge was able to do on a single afternoon with just some reference papers and an LLM.
This little Sunday experiment resulted in the discovery of over 70 (potential) bugs. Our bar for software ought to be so much higher
Cindy Sridharan retweeted
New blog post: A Correctness Approach for Modern Systems Software
I look at building a Rust version of a client-side lease/lock manager with an emphasis on correctness: proof, model checking, simulation, mutation testing, and more techniques.
brooker.co.za/blog/2026/11/3…
The biggest challenge working with agents for me is… keeping up.
Agents can do magnificent things, but trying to keep up with the most important details of truly ambitious, challenging projects can be EXHAUSTING!
It feels like being back in college, just learning all the time.
Played with formal methods for a work project over the weekend that involves verifying the http2 spec, along with some related RFCs like hpack, grpc.
Here’s the process I used, heavily influenced by the recent research papers I’ve been tweeting about, and some of my own ideas.
I wonder if we’ll be talking about the people who currently say things like “we PR-max without reading or understanding what the code does, but that’s ok because we use formal methods, which we also don’t understand, to verify the code” the same way in about 5 years time
one thing we don't talk about enough: a lot of people became 'software engineers' in 2017-2022 who never should have been.
swe got sold as this easy money-making profession - see software bootcamps and stuff. and it became a slop job about JIRAs and project managers and constant catering to the lowest common denominator.
managers wanted it because you needed codemonkeys to get anything done. the masses loved it because it was easy money. anyone actually good hated it because they had to fight through the poltics.
but that was never real. it was an artificial bubble powered by zirp money, like the mortgage crisis in 2008. now we're going back to the way it's supposed to be.
swe is the only AI-proof career because it is *about managing abstraction and complexity*. this is really fucking hard. and if you can really handle it, AI agents simply give you more power, scope and reach.
it's always been a difficult profession for extremely smart people. But it's also always been highly rewarding & fun for the people who are actually suited to it. and it always will be.
Once you read these papers, what becomes obvious is how versatile formal methods are:
- API rewrite in a new language? ✅
- backwards compatible API evolution? ✅
- reimplementation of storage system internals ✅
- data/platform migrations? ✅
- verifying concurrency? ✅
- etc
AWS published not one but *two* papers this year on their use of formal methods, one at SOSP (the QT) and another one at OSDI.
If you’re exploring formal methods, you want to learn about executable reference models.
TL;DR (from ChatGPT) of the two AWS papers + how they compare:
Cindy Sridharan retweeted
i haven't rebooted my laptop in 47 days. there are entire civilizations in /tmp
Tried writing some code manually over the break like it’s still November 2025.
I’ve lost my muscle memory for a whole bunch of standard APIs, I was Googling WAY more than I remember doing a year ago, but I managed to finish the assignment I set myself, and the code compiled✌️😅
Cindy Sridharan retweeted
The full PIR of Outlook/Microsoft outage is out, with more details than the pre PIR.
(1) It clarifies that the outage was not caused by AI tooling.
(2) More details on the cascading failures and how the overload was spread by automatic traffic management. Apparently, the traffic manager didn't expect the level of capacity shortage (plus the resource hogging bug).
(3) Why recovery took so long. Applying the bug fix takes 5 steps including two server restart (!), which needs to be done for all the servers in the fleet. A fast, live patching system would really help!
(4) A detailed action plan (most has been done).
Kudos to @Microsoft and the team @clamanna for writing the detailed postmortem report. It's very informative and educational. We shall all learn from it and prepare for disasters better.
I download the report here: tianyin.github.io/misc/pir_m…
The pre PIR of the Outlook/Microsoft outage has much more clarify. Thank you @Microsoft !
The outage is indeed a very hard one; many unfortunate events occurred at the same window.
A latent bug exhausting CPU/memory under specific load condition was deployed worldwide, with no impact for 3 months. The bug was triggered by a surge in load, caused by an unrelated failover of Teams and another unrelated loss of 14% of server capacity. The system is then badly overloaded; 80% of servers were unresponsive. Then, the isolation mechanism between fault domains didn't work (it was vague in the PIR), causing cascading failures till a global outage.
Then, the (likely automatic) recovery unsurprisingly hit the classic thundering herd effect.
In this case, root-cause analysis is on the critical path and it took more than 15 hours to figure out the latent bug and revert it (it's really a very nasty bug!)
The long recovery time is quite understandable. Given such a global outage, it has to be paced carefully.
I downloaded the report at,
tianyin.github.io/misc/prepi…
- understand the fundamentals
- run experiments to prove the shortcomings in existing designs
- analyze alternative designs and tradeoffs quantitatively
- run continuous verification loops to categorically prove/disprove your implementation
- communicate about all of this clearly
Replying to @copyconstruct
what's the minimum you'd want before trusting agent-written crypto at all? test vectors plus a proof, or just don't
It’s deeply irresponsible to tell people “roll your own crypto with agents”with nary a word of caution on the “continuous verification machinery” needed to responsibly do this.
Here’s a 10y old AWS paper on formally verifying the HMAC algorithm and the TLS handshake protocol.
AWS just published an absolute banger of a paper at this year’s SOSP on their use of formal methods to validate S3’s new distributed metadata index.
I’m yet to read it, but it builds on their 2021 paper on verifying S3’s Shardstore with formal methods (which I absolutely loved!)
I still read every line of code I merge to main, btw.
I believe that the benefits of reading (skimming) code far outweigh whatever productivity“gains” I might get by not doing so.
Reading code also doesn’t *that* long, IME, but ymmv.
Replying to @0xAX
I think you have to really commit to not reading the code and be willing to spend the tokens. Whenever I try this, even a quick peek has me steering the agent toward designs I prefer and then I’m back to reviewing code line by line.
I haven’t tried @copyconstruct’s idea of putting favorite books/blogs/OSS repos in AGENTS.md yet so that might be what I’m missing.
Cindy Sridharan retweeted
New blog post, with an ice-cold take on some of the last week's systems news: brooker.co.za/blog/2026/11/1…
The throughput of real-world systems can vary (a lot!) based on subtle properties of the workload they're handling.
Load tests that don't match the workload are useless.
Cindy Sridharan retweeted
great post, preach @copyconstruct
Code is going to be written, read and debugged almost exclusively by agents going forward. Even if you, like me, find it hard to let go of old shibboleths like reading and understanding every line of code, the depth of understanding you glean after a perfunctory scan of the code is materially different than the understanding you had when you were manually writing code.
copyconstruct.medium.com/how…
I’ve been doing some performance testing lately, and without proper guardrails, agents can draw wildly wrong or misleading conclusions when reading CPU and memory profiles.
This framework I originally proposed for agentic *debugging* works well for agentic perf analysis as well.

















































