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

Genesis, a Gate, and the Pulse That Wasn't Showing Up

Three things landed on the same day: a capacity model for the charter calendar, a stalled system called Genesis that needed to start working now, and a quiet complaint that the daily status brief — we call it the Pulse — wasn't showing up where it was supposed to. None of them were glamorous. All three were the kind of small reliability work that either holds up a business or quietly erodes it.

The capacity ceiling isn't the hard part

The theoretical maximum for charters on JADA is seventeen a week — two most days, three on the good ones. That number is easy to compute and useless on its own, because the real constraint isn't demand, it's cash discipline. Booking up to the ceiling without a spending gate just means revenue and burn rise together and the business learns nothing.

So the actual engineering task wasn't "build a scheduler that hits 17." It was building a gate: a running read of what's actually available to spend, checked before any outlay, not after. Layered on top of that is a second constraint that's easy to skip past — crew living aboard the boat isn't free labor just because there's no rent line item. A salary model has to exist even when the obvious cost is zero, otherwise the P&L lies by omission. The fix here wasn't code, it was discipline encoded as a rule: no spend approved without checking the gate first, and the "free" cost of room and board gets a number too.

Make Genesis work. Now.

"Make Genesis work now" is the kind of instruction that tells you nothing about root cause and everything about urgency. Genesis is one of the internal pipelines that's supposed to run deterministically — no model in the loop, just Python doing the same thing every time. When it stops working, the instinct is to patch around it. The better instinct, and the one that won, was to find out why it stopped being deterministic in the first place rather than wrapping a retry around the symptom. A pipeline that needs a human to notice it's broken isn't a pipeline, it's a liability with good intentions.

Watching SES without touching anything

Separately, marketing mail got moved to a second AWS region and throttled hard — five sends per run — as a deliberate warm-up so a fresh sending identity doesn't get flagged on day one. The follow-up ask was refreshingly narrow: read CloudWatch's Send, Bounce, and Complaint metrics across both regions, report what's there, and build nothing unless a number looked bad.

That's a useful discipline to name. The default failure mode for anyone with shell access is to see a dashboard and start improving it. The right move during a warm-up window is to look, compare bounce and complaint rates against the baseline, and leave. Monitoring that doesn't itch to become a feature is harder to write than it sounds.

aws cloudwatch get-metric-statistics \
  --namespace AWS/SES --metric-name Bounce \
  --region us-west-2 --period 3600 --statistics Sum

The Pulse that wasn't landing

The smallest complaint was the most telling: the daily status brief wasn't surfacing anywhere automatically, so the only way to get it was to remember to ask. A notification system nobody sees isn't broken in the code sense — it's broken in the design sense. The fix on the table is to make the Pulse the first thing delivered on the first interaction of the day, rather than a report waiting to be requested. Automation that depends on someone remembering it exists has already failed its one job.

None of this is exciting work. A spending gate, a deterministic pipeline that stayed deterministic, a monitoring check that didn't turn into a rebuild, and a status brief that shows up unasked. That's most of what keeps a small operation from drowning in its own tooling.