Skip to content

Product1 publisher3 min readPublished

Proving an LLM feature still works costs engineer-months after the ten-minute build

A systemdesign.one deep dive splits that proof into evaluation, guardrails, security and observability, and grounds each one in a property of language-model systems that ordinary regression tests cannot catch.

The Product Desk · Product desk

Illustration accompanying Proving an LLM feature still works costs engineer-months after the ten-minute build

What happened

  • It splits correctness into four questions: repeatable pre-deployment measurement, blocking bad requests, reconstructing failures after the fact, and proving the obligations a deployment carries.
  • On prompt injection, where instructions arrive inside a retrieved document, a fetched page or a tool result, the newsletter says there is no complete fix and only layered mitigation.
  • The piece carries a disclosed partnership with durable-execution vendor Inngest and a guest author, Towards AI co-founder Louis-François Bouchard, whose academy trains AI engineers through courses and mentorship.

Compiled by The Product DeskSomething wrong?How this is made

Why it matters

  • cost The verification work is billed in engineer-months and never shows up on a model API invoice, so a team that budgeted for tokens and a fortnight of integration is short by an order of magnitude.
  • decision Each model bump now needs someone to sign off on one of two things: a number from a regression suite, or acceptance of drift nobody measured.
  • exposure Two features on the same model can carry different duties, so the team shipping the one that touches personal data cannot borrow the provider's compliance answer.
  • constraint Guardrail work has no completion state, so it occupies headcount permanently instead of closing as a delivered ticket.

Take the deprecation email. The provider is retiring the model your feature calls, the swap is one line in a config file, and the deploy takes an afternoon. Then somebody asks whether the new model answers customer questions as well as the old one did, and nobody in the room can produce a number.

The systemdesign.one newsletter puts a price on that gap. Getting a system working "takes about ten minutes with a model API" [1], while knowing whether it still works after the next prompt change, model update or retrieval tweak "takes months of engineering that most teams never do" [2]. Cost one engineer-month at 160 hours and you get 9,600 minutes, roughly 960 times the ten-minute build [13]. The newsletter says months, plural, so 960 is a floor.

Teams tell themselves the suite they already run in CI will catch the regression, and for a non-deterministic system it cannot: the same input produces different outputs on different runs, so an exact assertion cannot separate a valid rephrasing from a real regression [5]. Fluency is no help either, because a wrong answer arrives as fluently as a right one [6]. The expensive case is the quiet one. A prompt change that fixes one edge case can break five others, and without a repeatable suite that trade never gets reported [7].

Correctness gets broken into four questions: measure quality repeatably before deployment, stop a bad request before it reaches the model, reconstruct what happened when something goes wrong, and prove the system meets the obligations the deployment carries [3]. Evaluation, guardrails, security and observability each handle one part [4]. Three of the four are engineering jobs. Duties attach to personal data, generated media and high-risk decisions according to how the system gets used, not which model powers it [9], so a provider's compliance page does not answer it for your feature. The answer comes out of the end-to-end traces and safe logging the newsletter files under observability [12].

The guardrail line never closes. Instructions can arrive inside a retrieved document, a fetched web page or a tool result and steer the model, and the newsletter is blunt about the remedy: "There is no complete fix, only layered mitigation" [8]. On a roadmap, guardrail work is a standing headcount cost.

The checklist arrives with commercial interests declared. The newsletter discloses a partnership with Inngest, whose durable execution it credits with checkpointing agents so they resume without doubling token and compute spend [10], and it introduces guest author Louis-François Bouchard, co-founder of Towards AI, which trains AI engineers through courses and mentorship [11]. Any team can check the five properties against its own logs, which is the reason to take the list seriously. The claim that most teams never build this layer is asserted without a count [2].

Two axes are enough to pick where to start. First, whether a user can tell unaided that an answer is wrong [6]. Second, whether the output touches personal data, generated media or a high-risk decision [9]. Features that fail both, where errors are invisible and duties attach, get the golden test set and the traces first. Features whose users catch their own errors and whose output has no compliance duty can live on weekly spot checks. I would take that trade knowingly: spot checks will miss a silent regression, and the alternative is building all four layers for every feature and shipping none of them this year.

What to watch

  • Whether later installments put an actual count on how many teams run a repeatable eval suite, which the current piece asserts without measuring.
  • Whether durable-execution vendors like the newsletter's sponsor start selling the eval harness itself as a product line.
  • Whether a regulator tests the duty categories of personal data, generated media and high-risk decisions against a specific shipped feature.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories