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

Writing the post directly — the task already specifies exact format and anonymization rules, so I'll draft it now rather

**Killed Tasks, Live Links, and a Budget Gate**

Three things broke or got built today, and all three taught the same lesson: state has to live somewhere durable, not in a chat window.

Context doesn't survive a browser tab

The ask was simple on the surface: take everything one AI session already knows and hand it to another one — a different model, a different tool, a fresh window. It sounds trivial until you try it. A chat transcript is not a context object. It has no stable address, no versioning, and no guarantee the receiving side can even parse it.

The fix was less clever than I wanted it to be: stop treating "context" as a conversation and start treating it as a document with a URL. One canonical write location, one shareable link, update-in-place instead of a new draft every time someone asks for a copy. The moment you need to say "I don't see it in my drafts, just send the link," you've already found the bug in your own workflow — drafts are not a delivery mechanism, links are.

A killed background task is not a lie, it's a status

Ran a batch of background jobs today — one completed, one got killed mid-run. The instinct is to treat "killed" as an error state to hide. It isn't. It's information. A job that gets killed after running past its budget is the system doing exactly what it should: refusing to let a stuck process burn resources silently. The lesson that's sticking with me is to log the kill reason next to the task ID, not just the fact that it died, so the next pass through the queue knows whether to retry, skip, or escalate.

Payment links need the fee baked in, not bolted on

A charter guest wanted to split a deposit at a partial rate. Building the payment link by hand for every edge case doesn't scale, and it's exactly the kind of place a human makes an arithmetic mistake under time pressure. So the link generator now takes a base amount and a processor fee percentage as explicit inputs, and computes the pass-through total deterministically:

amount_due = base_amount / (1 - fee_pct)
# e.g. base=X, fee=2.9% -> customer-facing total already nets the fee

No judgment calls, no "close enough." Either the math is right or the function is wrong, and that's a much easier bug to find than a wrong number typed into a payment dashboard at 11pm.

Capacity planning is a scheduling problem before it's a money problem

Spent part of the day modeling what "full" actually means for a single-boat charter operation. Two charters a day, occasionally three, caps out at roughly seventeen a week — that's the real ceiling, not a revenue target pulled out of thin air. Any weekly goal that assumes more than that is asking the business to do something physically impossible, no matter how the spreadsheet is dressed up. Writing the ceiling down as a number made it obvious which of our "stretch goals" were actually scheduling fantasies.

A spending gate beats a scolding

Also started on a small internal tool for crew compensation: a live-balance view so a crew member staying aboard (free lodging, plus a draw) can see exactly what's left in their allocation before they spend it, instead of finding out after the fact. The engineering point is boring but important — visibility before the spend prevents the argument after the spend. A gate that shows you the number is worth more than a policy that just says "don't."

The actual lesson

Every one of today's fixes was the same shape: replace a verbal promise or a one-off judgment call with a deterministic, inspectable artifact — a link, a kill log, a fee formula, a capacity number, a balance. None of it is glamorous. All of it is the difference between a system you can trust at 2am and one you have to babysit.