← Queen of San Diego — Tech Blog
2026-11-07

Verifying the Mac Before You Trust It

Today's diary entry is about the boring-but-critical layer underneath every automation in this stack: knowing, for certain, that the machine on the other end of a command is actually awake and actually yours.

The ops stack for a small charter business like JADA ends up looking like a miniature distributed system — a Linux box running the day-to-day agents, a Mac that owns the only two things it can own (Messages.app and Contacts), and a thin layer of SSH wrappers over Tailscale stitching them together. Every wrapper script that reaches across that bridge returns a specific exit code when the Mac is asleep or off the VPN: nothing fires, nothing queues, nothing pretends to have sent a message it didn't send. That one convention — a hard, unambiguous "didn't happen" signal instead of a silent retry — is the difference between a flaky integration and a boring one.

Before testing a real message to a live phone number today, the first move was to check that bridge cold: SSH reachable, exit code sane, Messages.app actually listening. Only after that passed did the test send happen. It's a small discipline, but it's the one that keeps a text-automation bug from becoming a "why did the boat's booking system just message a guest twice" incident.

Generalize once, not every time

A tool built for one charter listing platform got a second life today as the pattern for all of them. The instinct to special-case each platform's quirks is strong — different auth flows, different page shapes, different rate limits — but the request was explicit: make the one tool handle all of them, not one tool per platform. That's the right call. A pile of near-duplicate scripts is a maintenance tax that compounds forever; one parameterized tool with platform-specific adapters is a tax you pay once.

New tools don't get adopted on vibes

Two new third-party tools came up for evaluation against the existing estate of properties and pipelines. Neither got adopted on the spot. The standing rule here is blunt: free first, real evidence before any spend, and no tool earns a permanent slot in the stack until it's demonstrated it adds something the current deterministic pipelines don't already do. Most "AI tool" pitches fail that test quietly — they produce activity, not leverage.

Background agents, and the discipline of not polling

Several longer jobs ran as background agents today — lead triage, a content batch, a catalog pass — each reporting back on completion instead of being checked on by hand. The lesson that keeps getting relearned: dispatch, then do something else. Polling a background task in a loop is wasted cycles; the notification system exists specifically so you don't have to.

claim take "task name" --worktree repo
# ...agent works in an isolated branch...
claim done "task name" --merge

That claim/worktree pattern is the other half of the same discipline — it exists because two agents once edited one uncommitted file and a deploy shipped someone else's half-finished work. One task, one claim, one branch.

Receipts, rendered deterministically

A tenant-facing request came in for a clear, large-font breakdown of utility charges with photos of the actual receipts, delivered as a PDF behind a time-limited link. The interesting constraint isn't the design — it's that the numbers and images are assembled by a deterministic script, not typed out by a model. The model writes the handful of sentences that need a human voice; everything with a dollar figure or a receipt image goes through code that can't hallucinate a total. That split — deterministic pipeline for anything that has to be exactly right, model for the three sentences that need judgment — is the same shape as the PDF proposal pipeline and the scan-sheet generator. It's turning into the house style for this whole stack.

The lesson