@inproceedings{howard2025smart, author = {Howard, Heidi and Kuppe, Markus and Ashton, Eddy and Chamayou, Amaury and Crooks, Natacha}, title = {Smart Casual Verification of the Confidential Consortium Framework}, booktitle = {2025 Networked Systems Design and Implementation}, year = {2025}, month = {April}, abstract = {The Confidential Consortium Framework (CCF) is an open-source platform for developing trustworthy and reliable cloud applications. CCF powers Microsoft's Azure Confidential Ledger service and as such it is vital to build confidence in the correctness of CCF's design and implementation. This paper reports our experiences applying smart casual verification to validate the correctness of CCF's novel distributed protocols, focusing on its unique distributed consensus protocol and its custom client consistency model. We use the term smart casual verification to describe our hybrid approach, which combines the rigor of formal specification and model checking with the pragmatism of automated testing, in our case binding the formal specification in TLA+ to the C++ implementation. While traditional formal methods approaches require substantial buy-in and are often one-off efforts by domain experts, we have integrated our smart casual verification approach into CCF's CI pipeline, allowing contributors to continuously validate CCF as it evolves. We describe the challenges we faced in applying smart casual verification to a complex existing codebase and how we overcame them to find six subtle bugs in the design and implementation before they could impact production.}, url = {http://approjects.co.za/?big=en-us/research/publication/smart-casual-verification-of-ccfs-distributed-consensus-and-consistency-protocols/}, }