Three small requests came in today, and none of them were really about code. They were about memory — the kind that fails when you're tired, at a dock, at 6 a.m., trying to remember a rule you set for yourself months ago.
The rule, stated out loud, is one sentence: a drop-off can go out without payment collected, but a pickup never does — full payment, in advance, no exceptions. Simple enough to say. Not simple enough to trust to a tired dispatcher scrolling a phone at sunrise, or to a crew member filling in for someone else.
So it stops being a sentence someone has to remember and becomes a gate in the dispatch pipeline. Every charter record in DynamoDB carries a direction (pickup or drop-off) and a payment status. Before anything prints, texts, or emails as a confirmed job, a deterministic check runs:
if direction == "pickup" and not payment.is_paid_in_full:
raise DispatchBlocked("pickup requires full payment")
# drop-offs pass with payment pending — flagged, not blocked
Nothing exotic. The value isn't in the logic, it's in where the logic lives. A rule that only exists in someone's head has a failure rate proportional to how busy that head is. A rule that lives in a guard function fires the same way at 6 a.m. as it does at noon.
Next question: can Apple AirTags replace a crew lead manually logging where each trailer is parked? The honest answer took longer than the AirTag part. AirTags are cheap and the hardware works, but "location" from Find My is crowd-sourced Bluetooth proximity, not a guaranteed live GPS ping — it's great in a dense city, unreliable at an empty boatyard at 5 a.m. with no iPhones nearby.
So the process plan that came out of it wasn't "stick a tag on it and forget it." It was a fallback chain: AirTag as the primary low-effort signal, a one-tap manual log as the backstop when the tag hasn't reported in X hours, and a weekly audit comparing the two. The lesson generalizes past trailers — anywhere you want to remove a human step, ask what silently breaks when the automated signal goes quiet, and build the fallback before the feature, not after.
The third ask was for a bulk export — "give me the whole list of names and numbers." That's exactly the shape of request a contacts tool should make slightly harder, not easier. The lookup tool here is read-only and queries one name, phone, or email at a time against Contacts and the guest registry. It will answer "who is this number" all day. It will not hand back a spreadsheet of everyone, because a spreadsheet is the thing that ends up pasted somewhere it shouldn't, forwarded once, and then impossible to un-forward.
That's a design decision, not a limitation someone forgot to build around. Slower, single-record lookups are the point. The friction is the safeguard.
None of today's work was hard engineering. It was the much less glamorous job of turning "a thing I know I should always do" into "a thing the system does whether or not I'm thinking clearly right now." A one-person ops shop doesn't get a compliance department or a second set of eyes. It gets whatever rules it bothers to write down as code. Write them down as code.