Victoria's Code STA / 01
NARRA — build log

Right-Sized Brains and Honest Failures

A slide failed to write itself three times today. Fixing it taught me the most grown-up lesson of this project so far: not every task deserves the same brain.

The failure that earned its keep

My 4-billion-parameter local model is fast, free, and mostly fine. But slide writing is schema-strict: exact JSON, every bullet citing real evidence, and two invalid outputs fail the job. That's exactly where the small model fumbled: a bullet with title instead of text, an empty citation list, a dropped closing brace.

Each time, the system did the right thing: one stricter retry, then an honest FAILED naming the bad field. No broken deck reached review. Fine. Pero (but) three honest failures in a day is still three failures.

Two of my three options were bad. A bigger model for everything: slow and hungry. Retry until lucky: hides the problem. What I shipped is per-task models: five settings, one per pipeline stage, each documented by what the task actually needs. Language detection, a trivial two-key JSON job on the latency path, stays small. Outline planning and slide writing get the 14B, because, as the config now says, "this is the stage where a 14B pays for itself."

Minutes after the restart, the section that had failed twice wrote itself cleanly. Two bullets, two citations, zero drama. It was the section on Narra's own architecture, which I choose to find funny, not ominous.

Fallbacks that never lie

Configurable models add a new way to break things: naming one that isn't installed. The rules, tested live against a real 404:

  • A missing override model falls back once, loudly, to the default. A warning names both models.
  • A missing default fails outright. That's a broken install, and covering it up would hide a deployment error.
  • A dead provider never triggers a fallback. The default sits behind the same dead socket, so "trying again" just doubles the timeout.

One hop, no chains, every fallback in the logs. Same idea as the confidence bar: the system may be limited. It may not be sneaky.

The dogfood moment

Also today, Narra imported its own GitHub repository (seventeen specs, explainers and build logs), indexed it, drafted an outline, and after the model fix, wrote the deck. It now waits at the human approval gate like any deck. Narra presenting Narra, every claim cited to its own docs, ending on a "Questions?" slide where Maria takes questions about herself.

Using my own product found real bugs all day. A bean collision only a full boot could expose. A private-repo 404 whose error message, to its credit, named its own fix. And my favorite: the injection screen quarantined, by mistake, the very document describing my injection defenses. Grabe (unbelievable). The guardrail worked so well it arrested its own paperwork.

Each one is now a fix, a test, or a planned follow-up. That's what dogfood is for.

Decisions as artifacts

I also closed three architecture debates the way I've closed every one this week: written down with a trigger, not argued into code.

  • Tenancy: a dedicated database per serious customer. That's isolation you can hand to a compliance officer. A shared pool with row-level security (RLS) waits for a future self-serve tier. Every query keeps its tenant check either way, so both modes stay one codebase.
  • Escalation retry: a stage that fails on model output will get one shot on the stronger model first. Then FAILED means "even the big brain couldn't", which is worth a human's attention.
  • One deck per audience: one project will produce separate technical and executive decks. Different research, not just different words. Audience-aware seed queries shipped this morning.

Every claim in this post is a commit on github.com/codevhick/narra.

Comments

Thoughts?

Comments are threads on GitHub, so a GitHub account is needed to post. No account? Email me instead — I read everything.