Work

These are case studies, not posts. Each one is a piece of work: what the problem actually was, what I decided, and what it cost. They are not in chronological order, they are arranged roughly by how well they show what I do.

Some of this work is open source, so you do not have to take my word for any of it: the pull requests, the review threads and the arguments are linked. Some was done for clients and cannot be shown, so those studies describe the design and say plainly what is confidential.

Four things recur across all of it, and they are what I would want to be judged on.

The difference between a thing and the appearance of one. A client-certificate mode that demands a certificate and verifies nothing against anything. A test that reports success without ever running the test. Last-write-wins quietly discarding the change made by the one person who could actually see the machine. Most of what I catch is this, and most of it is caught by asking what happens when a mechanism is wrong rather than when it is right — in a photo server, in a Bluetooth stack, in a protocol.

Making the wrong thing difficult to express. Where the choice is mine, I would rather a mistake be unrepresentable than documented: a message that cannot disagree with itself about its own type, state that carries its own valid range, a network that stays shut until someone deliberately opens it. It extends to interfaces other people have to use — on one occasion to withdrawing a change of mine that had already been merged, because it was too easy to use incorrectly.

Writing it down. Specifications, pattern documentation, a book written for people who are not engineers. The habit has moved over the years — the earliest protocol here was documented after it was built, the most recent was specified before anything was written — but the reason has not changed: a design that exists only in code cannot be argued with, and the arguments are where the value is.

Fixing things where they are broken. Upstream, or in the specification, rather than patched locally and maintained privately forever. Merged fixes in a Bluetooth host instead of a fork; field names and an impossible error corrected in a standard rather than worked around underneath it; and three years spent building the policy that let anyone at one employer do this at all.

Where I am describing someone else's work, or a claim I could not support, the studies say so.

Ultrasonic data-logger

Specified a whole system's communications before building it, designed so that a malformed message cannot be constructed, then built the multi-threaded Rust application at the centre of it.

Matter in Rust: cluster patterns

Identified a gap in an independent Rust implementation of the Matter standard, designed and documented the patterns for implementing cluster behaviour, and was granted a membership exemption to present the work at a members meeting.

Immich on NixOS: a private photo server

Designed and documented a self-hosted photo server for people without the expertise to assess the risks themselves — default-deny networking, features graded by threat model, and a book that marks the dangers plainly.

Air quality logging for Breathe London

Took over an unreadable codebase, made it legible, then designed the protocol that let two people reconfigure an offline instrument without either silently overwriting the other.

Matter: Derived clusters and Mode Base

Designed an abstraction with lead engineers from Google and Apple so a family of near-identical parts of a global standard share one tested implementation.

Matter: The robotic vacuum device type

Owned a robot vacuum's definition in a global standard and the reference application the whole ecosystem tests against — and got its certification tests running on every commit, where before they were run by hand at scheduled events.

Matter: The Service Area cluster

Implemented one of the harder parts of a global smart-home standard against a specification I helped design, delivered it to the release deadline, then ran the retrospective that changed how the next cycle was planned.

A platform for building prototypes fast

Argued a prototyping team off Python and onto Go by first asking what the language was actually for, then helped build the layered module library and state protocol that most of the team's projects came to run on.

How much will Bluetooth Low Energy carry?

Took a question nobody could answer — how much data will Bluetooth Low Energy actually carry — down to the packet level, fixed what was wrong upstream, and left behind a worked example and the theory to use it.

Getting a hardware company into open source

Spent three years making the commercial and legal case for open-source contribution at a company that had no route to it, from first principles through to a public organisation its engineers used daily.