I built Docket, the operating system for hotel bell desks.
It started on the bell desk at Park Hyatt Sydney, where I was the one carrying the bags. I own the product and the architecture. Agents write most of the code; I write the specs, read every diff and decide what ships.
SteadyFrames stop changing, text edges found. Shutter fires itself.
ReadApple Vision · 687 ms · image never leaves the phone
RowsLines grouped by vertical overlap, so labels pair with their values.
RepairNothing to fix.
FieldsTagGuestRoomBags
MatchHarrington, Claire 0.97Herrington, Paul 0.87Harrison, Clara 0.68
TickOne haptic tap. The attendant confirms; only then does anything sync.
Results replayed from Docket’s own test runs on synthetic tags. The name match runs live in your browser. Guests are fictional.
Built on Capacitor 8 with two native plugins I wrote in Swift and Java. Apple Vision on iPhone, ML Kit on Android, Tesseract.js in a browser. Works offline without writing guest data to the phone.
Nothing gets edited. A bag has a current state and a history that only grows, with a name and a time on every move, so when a guest says a bag is missing the manager can see who touched it last. Taking a request and doing it are separate events, because the person at the counter is rarely the one carrying the bag.
Every workflow is one transaction
A bag can’t be marked stored without the ledger knowing. Storing, delivering and retrieving are Postgres functions, so the state change and its event commit together or not at all. Hotels are walled off from each other inside the database, by about 140 row-level policies that have their own tests.
The hotel holds the key
Docket can’t read the guests’ names. They’re stored as ciphertext under a key each hotel controls in AWS KMS. While a new hotel is being set up Docket holds the key for it, and the decision record says so in writing.
606vs909909 upside down · flagged
A door check that won’t guess
Turn 909 upside down and you get 606. A porter photographs the bag tag and the door plate, the phone reads both on the device, and pairs like that get flagged instead of matched. It never rounds to the nearest room: a wrong green tick sends a bag to a stranger’s door. Still behind a feature flag.
A database you can rebuild
The first schema lived only in production. It’s now 118 versioned migrations rebuilt from a production baseline, with a local stack full of fake guests, generated types that fail on drift, and database tests for every staff role.
Releases a hotel can trust
Production is boring on purpose. Every PR passes one gate: policy checks, types, lint, tests and migration validation. Main only ever holds accepted staging, a production database change takes two separate runs and an approval, and staff get release notes in plain English.
In April 2020 a friend and I started a Discord server for Fortnite cups on Asian servers. The early prizes were Discord Nitro. I streamed the matches and dealt with partners. By the end of 2021, 729 had run 264 tournaments, paid out $12,000 and had 10,000 people in the Discord. Then came VALORANT, a sixteen-team league, a $5,000 cup and partners in Japan.10