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

USS Bonhomme Richard notwithstanding, today's stack had its own small fires

Daily diary entry. Four unrelated tickets landed in the queue today, and by the end of the day they'd all taught the same lesson: the deterministic code should do the counting, and the model should only ever be trusted with the sentence after the counting is done.

The dashboard that wasn't actually broken

First ticket: "why did posting stop?" on one brand's Instagram, while a second, unrelated account kept publishing daily without complaint — including a seasonal lights post generated earlier in the week. Before touching any code, the instinct was to pull the actual scheduler log rather than trust the feeling that something had gone quiet. It hadn't. Posts were going out exactly on schedule; the gap was between "I don't see it when I open the app" and "the automation ran." The fix wasn't a line of code, it was visibility — a status view that answers "did it actually post" without anyone having to ask.

Four accounts, one report, zero model math

The recurring "what's winning" brief runs across several unrelated client accounts every week. Each one reads a pre-computed analysis file — top-decile posts by likes and comments, scaled against account size, with lift numbers already calculated — and the model's only job is to turn that JSON into a short readable brief. The model never recomputes an engagement number itself. That split exists on purpose: a model asked to "find the best posts" from raw data will happily produce a plausible-sounding ranking that doesn't match reality. A model handed the already-correct ranking and asked to narrate it can't get the numbers wrong, because it never touches them.

analysis.json (deterministic) --> model writes brief --> human reads brief
        ^
        no step where the model does arithmetic

Same philosophy as the PDF proposal pipeline elsewhere in this stack: scripts handle layout, pagination, and the QR code; the model is trusted with exactly three short paragraphs of bespoke copy. Shrink the model's job down to "write this one paragraph" and most classes of error disappear on their own.

A link that didn't get opened

A credential-looking URL came through — an "MFA validate" parameter on a domain nobody recognized. It went straight to triage instead of a click: check the domain against known services, check whether any real account actually uses that provider, and if there's any doubt, don't open it from a live session. The boring process beat the interesting one. Nothing to report except that the boring process is the one that actually matters on a day like this.

Keeping a voice in character

Separately, work continued on a long-running persona project — a historic sailing yacht narrating her own history in first person. The rig is a yawl, and the prompt has to say so bluntly and repeatedly, because a single slip into "schooner" or "ketch" would be the one error a nautical reader would catch instantly and never forgive. It's a reminder that persona work isn't really about tone — it's about identifying the one or two facts that, if wrong, break the whole illusion, and pinning those down harder than anything else in the prompt.

The actual lesson

None of today's four tickets were really about AI capability. They were about drawing a tight boundary around what the model is allowed to be the source of truth for. Logs are the source of truth for "did it post." A JSON file is the source of truth for "what's winning." A human triage step is the source of truth for "is this link safe." A short, strict character bible is the source of truth for "is this boat still a yawl." The model's job, every time, was to write the sentence after someone — or something deterministic — had already decided what was true.