LAB NOTES

What we tested, what broke, what we learned.

Hazard classes 0 to 4 and the Interlock state machineINTERLOCK · 2026-11-26Interlock sorts every action into five hazard classes and runs as one pure Rust function. What merged, how it is tested and what is still missing.Mutation testing the safety cratesMUTATION-TESTING · 2026-11-26Weekly mutation testing flagged changes to safety code that no test noticed. A follow-up caught 82 of 89 missed mutants and listed the rest.Preflight, classify, confirm: one door for every writePOLICY · 2026-11-26How a write request is checked against facts, classified into a hazard class and confirmed with a single-use token at the moment of action.The bus guard and byte-exact Modbus framesBUSGUARD · 2026-11-26A guard in the transmit path passes only the one Modbus frame a person approved. How the shared encoder makes approval, policy and wire agree.The plugin sandbox: zero imports, own process, seccompPLUGINS · 2026-11-26Plugins are WebAssembly decoders that import nothing and run in a locked-down child process. How the host admits, runs and distrusts them.The red-team catalog, and the rule that every bug becomes a testRED-TEAM · 2026-11-26A public attack list where a card can only move forward, and a CI rule that a bug fix is not done until a test would have caught it.The taint latch: outside text cannot approve powerTAINT-LATCH · 2026-11-26Once text the bench did not write reaches the AI, power actions need a fresh physical approval. How the latch works and where it is incomplete.Trust-root firmware, and why we kept the RP2350FIRMWARE · 2026-11-26Trust-root firmware now builds for the RP2350 in CI. We kept the chip, documented glitch risk and made an independent watchdog cut mandatory.