Dispatch, the Android app I’ve been building as the front end for my agents and my house, is the first app I look at when I wake up each morning and the last one I look at before I fall asleep. It opens on a morning brief, and its Coach tab holds the day’s workout. Both come from model calls that run on schedules, and those schedules were written around Pacific Time. A trip across the date line in October was the first real test of how much of it assumed I was in California.
The biggest worry was my training plan. Coach, my AI training agent, writes the day’s workout at 9:00 Pacific, early enough to be ready before I train and late enough to account for the previous night’s sleep. Jet lag makes both of those harder to pin down, and I’m fortunate enough to find myself traveling internationally often enough to justify the work.
I kept Coach on Pacific Time anyway. At 9:00 Pacific it was 11 at night or midnight where I was, so each workout landed the evening before I’d train it, which is how I had planned to train on the trip. It also meant one less scheduler change the day before I left. What that timing can’t see is the night I’m about to sleep, so when a new night of sleep reaches Dispatch’s server, it asks Coach to rebuild the workout. Coach does that only if the plan predates that night and I haven’t already sent it to my watch. I added a Generate button that runs the day’s plan early when I want it sooner.
The morning brief moved instead. With a trip declared, it runs at 6:45 local time, once for each edition date, so the date that repeats on the way home gets only one brief. A test replays my real itinerary and checks that every date runs once, and if anything about the trip can’t be read, the brief falls back to 6:45 Pacific.
View full image
Where I am is a separate question, and there are plenty of signals for it: travel bookings in my email, which Mailroom, my email triage agent, collects into a travel ledger; calendar events far from home; a declaration, either an itinerary entered leg by leg on my homelab or a single place set in Dispatch; and the phone’s own location. I’ve written about the feature creep that building with AI invites, so naturally I supported all four. What I didn’t foresee was how they would interact when the sources underneath them disagreed.
A ranking settles those disagreements: a declared trip first, then a place I’ve set by hand, then travel on my calendar, then travel mail, with home as the floor. Only a declaration moves the 6:45. The other signals steer what the brief says about where I am, the weather it reports and the place in the morning’s header image. The phone has since dropped out. It could only take readings from the background, which the coarse, while-the-app-is-open permission I’d given it doesn’t cover, so it sent one sample in its life before I switched it off.
The ranking met a real disagreement near the end of the trip, when my flight home moved up a day. Mailroom’s ledger picked up the new booking and my calendar had the new day, but the trip I’d declared still had the old one. The declaration won: the brief hid the real flight and got wrong which time zone I’d be in. A declared trip still outranks everything else, with one exception: a calendar flight confirmed by a live booking in the ledger can no longer be dropped by an older declared leg. Canceled or superseded bookings no longer count as trips, and when the ledger and the declaration disagree, the app’s location settings show the conflict and leave the itinerary for me to fix.
I corrected the last leg, and the brief followed it home. The final edition abroad ran on the morning I flew, nothing ran after I landed later that same date, and the next brief arrived at 6:45 Pacific the following morning.