Lab / Lab 03
Interrail 2026
For a 17-day trip across seven cities by train, we had 13 train journeys, one night train and 22 tickets and bookings spread across email. I wanted one place for all of it that worked on a phone, on a platform, with no signal. My brief to the agents was one line: no margin for error.





The numbers
- Trains
- 13
- Documents inside
- 22
- External requests
- 0
- Offline checks
- 16 / 16
The whole app is a single 5.2 MB file with every ticket built in. With the network off, it makes one request, for itself, and nothing fails.
The design
I based the look on a departure board: times in a monospaced font, station codes, a status on every leg, and a ribbon across the top showing each city sized by the number of nights.
Every train reads the way it would at a station: STP → BRU, the departure and arrival times, and the duration. Warnings appear in amber between the two legs they're about, for example when a connection is tight. A night train gets a moon and a dashed line, and 24 small icons are picked automatically from the name of each activity.
The first version drew each day to scale, so a two-hour train was twice as tall as a one-hour one. It looked good, but the duration was already written on every leg, so the height only repeated it less precisely, and on a phone it made the page harder to read. I removed it, and each row now sizes to its content on a simple three-column grid: time, line and details.

Built for one hand on a platform
Most of the time the app is used standing up, holding a bag, in a hurry. Every interaction was designed for that.
Status is a control
One tap moves a leg from plan to book to booked, and the count of things still to book updates with it, so the itinerary doubles as the to-do list.
Bookings stay fixed
Trains, connections and check-ins can't be moved. Activities can be dragged, moved to another day or reordered with the keyboard, so the timeline can never misstate a train.
Nothing hidden behind hover
Every control is visible all the time and only gets stronger on hover. Touch targets were raised to 32–40 pixels, with padding for phones with a notch.
Undo straight away
Deleting an item hides it, and a Restore button appears immediately. Mid-trip, an accidental delete with no way back would have been the worst possible failure.
Saving you can trust
Saving used to fail silently in a private tab or when the file was opened from the Files app. Now the app checks storage when it opens, says clearly if it can't save, and lets edits be backed up and restored on another device.
Short warnings
The storage warning went from 35 words to two sentences: Edits aren't saving on this page. Anything you change is lost when you close the tab. The button next to it carries the action.
Checking the data
Itineraries get typed by hand, and hand-typed times drift. So every ticket was read back as text and checked against the plan.
Nine of the ten train legs matched. Four things didn't. One journey from Luxembourg was really two trains with a change that nobody had written down, which left a 17-minute connection on separate tickets: if the first train was late, the second booking wasn't protected. That warning is now on the page. Two museum visits had the wrong day or time.
The fourth was a warning about a clash that didn't exist, so I removed it. A warning that turns out to be wrong teaches people to ignore the next one.
Making offline work
"Works offline" is easy to say and hard to prove. The tests switch the server off and reload the page, so offline means the site really has gone, not that the code looks right.
A test that couldn't fail. The first offline test passed with the offline support switched off, because Chrome's own cache was quietly serving the page. The browser cache is now cleared before the server goes away, and a deliberately broken version has to fail before a test run counts.
The login page. The trip sits behind a sign-in. When a session expires, the sign-in page arrives at the app's own address, and the first version would have saved it over the app. I'd only have found out with no signal. It now refuses to save anything that isn't the app itself.
A bug only my phone found. Everything passed in Chrome, but on my iPhone the app worked once and then failed on every reload. Signing in finishes with a redirect, and Safari won't show a page that came from one, while Chrome doesn't mind. Redirected pages are now rebuilt before they're saved, and a new test reproduces the phone's failure before the fix and passes after it.
An update that could never arrive. The app's cache name was meant to change with every build, but a placeholder was only replaced in a comment, so the name never changed and old versions could never be cleared. The build now reads the name back out of the finished file and stops if it's wrong.
A side door. The host gives every deployment its own address, and the sign-in only protected the main one, so one of those addresses served the whole app, booking codes included, to anyone who had it. I found it before the trip and closed it with a rule that covers every address.
How the harness helped
This was the first project after the orchestrator where the agent harness did the job it was built for, at a size where you can see the difference.
- Checks have to fail first. That rule caught the offline test that couldn't fail and the cache name that never changed.
- Think about who uses it, and where. Most of the real bugs were found by asking how someone meets the app: on a platform with no signal, in a private tab, from the Files app, or with an expired sign-in.
- A design pass on every change. Wording, light theme, narrow screens and touch were each checked, and anything not checked was written down as still to do.
- Honest hand-backs. Every change said what had been checked and, just as plainly, what hadn't, along with how to undo it.
What I learnt
- Remove the clever part when it repeats a fact. The to-scale timeline was the most designed thing in the first version, and the first thing to go.
- Real data shapes the design. Reading the tickets back added a warning that mattered and removed one that didn't.
- Test on the real device. Chrome passed 13 of 13 checks and still shipped a bug my phone found on the second reload.
- Every safety check needs a control. If a test passes with the feature switched off, it isn't testing the feature.
- It came on the trip, which is the only test a tool like this really has.