<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Brian Belhumeur: essays</title><description>Brian Belhumeur writes about software architecture, internal platforms, and how engineering practice changes once AI is part of the daily work.</description><link>https://brianbelhumeur.com</link><language>en</language><item><title>The design we didn&apos;t build</title><link>https://brianbelhumeur.com/writing/the-design-we-didnt-build</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/the-design-we-didnt-build</guid><description>The most useful architecture doc I&apos;ve written argued against the system everyone wanted. Here&apos;s how to write that doc.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category></item><item><title>Shipping an LLM feature with evals</title><link>https://brianbelhumeur.com/writing/llm-evals</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/llm-evals</guid><description>We shipped an LLM-powered summary feature to every customer in six weeks. The model was the easy part. What made it shippable was treating evals as the spec: a golden set we argued over, graders we trusted, and a CI gate that blocks regressions the way unit tests do.</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h2 id=&quot;start-from-the-failure-modes&quot;&gt;Start from the failure modes&lt;/h2&gt;
&lt;p&gt;The first demo looked great, which is the problem with first demos. Before we wrote a prompt, we wrote down how the feature could hurt someone: inventing a number that wasn’t in the source, dropping the one sentence that mattered, or confidently summarizing the wrong document.&lt;sup&gt;&lt;a href=&quot;#user-content-fn-1&quot; id=&quot;user-content-fnref-1&quot; data-footnote-ref aria-describedby=&quot;notes&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Each failure mode became a category in the golden set. That list did more to align product, legal, and engineering than any meeting we held.&lt;/p&gt;
&lt;h2 id=&quot;evals-are-the-spec&quot;&gt;Evals are the spec&lt;/h2&gt;
&lt;p&gt;A golden case is an input, the facts a good answer must contain, and the things it must never say. Grading mixes deterministic checks with a model-graded rubric, and &lt;mark&gt;every case is read by a person before it counts&lt;/mark&gt;.&lt;/p&gt;
&lt;figure class=&quot;code&quot;&gt;&lt;figcaption class=&quot;bar&quot;&gt;&lt;span&gt;evals/test_summarize.py&lt;/span&gt;&lt;/figcaption&gt;&lt;pre tabindex=&quot;0&quot; aria-label=&quot;Code: evals/test_summarize.py&quot;&gt;&lt;code&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;kw&quot;&gt;@golden&lt;/span&gt;(&amp;quot;billing-dispute-017&amp;quot;)&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;kw&quot;&gt;def&lt;/span&gt;&lt;span class=&quot;fn&quot;&gt; test_keeps_the_amount&lt;/span&gt;(case, summarize):&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;    out = summarize(case.document)&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;kw&quot;&gt;    assert&lt;/span&gt; case.facts[&amp;quot;amount&amp;quot;] &lt;span class=&quot;kw&quot;&gt;in&lt;/span&gt; out.text        &lt;span class=&quot;cm&quot;&gt;# must-have fact&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;kw&quot;&gt;    assert&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt; not&lt;/span&gt; out.mentions(case.other_accounts)  &lt;span class=&quot;cm&quot;&gt;# never leak&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;kw&quot;&gt;    assert&lt;/span&gt; rubric.grade(out, case) &amp;gt;= 4          &lt;span class=&quot;cm&quot;&gt;# 1–5, model-graded&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
&lt;p&gt;We kept the suite small on purpose. Two hundred and forty cases that people had actually read beat five thousand synthetic ones nobody trusted.&lt;/p&gt;
&lt;figure class=&quot;pq&quot;&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;q&quot; aria-hidden=&quot;true&quot;&gt;“&lt;/span&gt;If you can’t say what a good answer looks like, you aren’t ready to ship the feature. You’re ready to research it.&lt;span class=&quot;q&quot; aria-hidden=&quot;true&quot;&gt;”&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/figure&gt;
&lt;h2 id=&quot;one-code-path-two-callers&quot;&gt;One code path, two callers&lt;/h2&gt;
&lt;p&gt;The harness calls the same service production calls: same prompt template, same retrieval, same model gateway. Anything else and you’re evaluating a feature you don’t ship.&lt;/p&gt;
&lt;figure class=&quot;dia n3&quot;&gt;&lt;div class=&quot;dg&quot; role=&quot;img&quot; aria-label=&quot;Production lane: product UI calls the summary service, which calls the model gateway. Offline lane: the golden set feeds the eval harness, which reports to a CI gate. The eval harness calls the same summary service as production.&quot;&gt;&lt;div class=&quot;bx r1 c1&quot;&gt;&lt;b&gt;Product UI&lt;/b&gt;&lt;span&gt;user asks&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ar r1 c2&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;ad&quot;&gt;→&lt;/span&gt;&lt;span class=&quot;am&quot;&gt;↓&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bx r1 c3 hot&quot;&gt;&lt;b&gt;Summary service&lt;/b&gt;&lt;span&gt;prompt · retrieval&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ar r1 c4&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;ad&quot;&gt;→&lt;/span&gt;&lt;span class=&quot;am&quot;&gt;↓&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bx r1 c5&quot;&gt;&lt;b&gt;Model gateway&lt;/b&gt;&lt;span&gt;routing · limits&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ar link r2 c3&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;ad&quot;&gt;↑ same path&lt;/span&gt;&lt;span class=&quot;am&quot;&gt;←&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bx off r3 c1&quot;&gt;&lt;b&gt;Golden set&lt;/b&gt;&lt;span&gt;410 cases&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ar r3 c2&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;ad&quot;&gt;→&lt;/span&gt;&lt;span class=&quot;am&quot;&gt;↓&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bx off r3 c3 hot&quot;&gt;&lt;b&gt;Eval harness&lt;/b&gt;&lt;span&gt;checks · rubric&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ar r3 c4&quot; aria-hidden=&quot;true&quot;&gt;&lt;span class=&quot;ad&quot;&gt;→&lt;/span&gt;&lt;span class=&quot;am&quot;&gt;↓&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bx off r3 c5&quot;&gt;&lt;b&gt;CI gate&lt;/b&gt;&lt;span&gt;blocks regressions&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;figcaption&gt;Fig. 1. Solid: production. Dashed: offline and CI. The harness calls the summary service exactly as the UI does.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;That constraint cost us a week of refactoring and saved us every week after. Prompt changes now arrive as pull requests with an eval diff attached, and reviewers read the diff before the prose.&lt;sup&gt;&lt;a href=&quot;#user-content-fn-2&quot; id=&quot;user-content-fnref-2&quot; data-footnote-ref aria-describedby=&quot;notes&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2 id=&quot;what-production-taught-us&quot;&gt;What production taught us&lt;/h2&gt;
&lt;p&gt;Offline scores were necessary and not sufficient. We sampled one percent of real summaries into a review queue and promoted the interesting failures into the golden set every Friday. The suite grew to 410 cases, and regressions caught in CI went from surprises to routine.&lt;sup&gt;&lt;a href=&quot;#user-content-fn-3&quot; id=&quot;user-content-fnref-3&quot; data-footnote-ref aria-describedby=&quot;notes&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The lesson I’d carry to the next feature: write the evals before the prompt, and give them an owner. A suite nobody maintains decays into a suite nobody believes. More on the team side of this in &lt;a href=&quot;https://brianbelhumeur.com/writing/how-my-team-changed-the-way-we-work-with-ai&quot;&gt;How my team changed the way we work with AI&lt;/a&gt;.&lt;/p&gt;
&lt;section data-footnotes class=&quot;footnotes&quot; aria-labelledby=&quot;notes&quot;&gt;&lt;h2 class=&quot;lbl&quot; id=&quot;notes&quot;&gt;&lt;span&gt;&lt;span class=&quot;sl&quot; aria-hidden=&quot;true&quot;&gt;//&lt;/span&gt; notes&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;user-content-fn-1&quot;&gt;
&lt;p&gt;The third failure was the scariest and the hardest to catch with string checks: a summary that was fluent, accurate, and about the wrong account. &lt;a href=&quot;#user-content-fnref-1&quot; data-footnote-backref aria-label=&quot;Back to reference 1&quot; class=&quot;data-footnote-backref&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;user-content-fn-2&quot;&gt;
&lt;p&gt;We render the eval diff as a table in the PR description: cases that flipped, grouped by failure category. &lt;a href=&quot;#user-content-fnref-2&quot; data-footnote-backref aria-label=&quot;Back to reference 2&quot; class=&quot;data-footnote-backref&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;user-content-fn-3&quot;&gt;
&lt;p&gt;The Friday triage takes thirty minutes and rotates across the team. It’s also the best onboarding we have for the feature. &lt;a href=&quot;#user-content-fnref-3&quot; data-footnote-backref aria-label=&quot;Back to reference 3&quot; class=&quot;data-footnote-backref&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content:encoded><category>ai</category><category>practice</category></item><item><title>Paved roads, not walls</title><link>https://brianbelhumeur.com/writing/paved-roads-not-walls</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/paved-roads-not-walls</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>platforms</category></item><item><title>Reviewing code you didn&apos;t write</title><link>https://brianbelhumeur.com/writing/reviewing-code-you-didnt-write</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/reviewing-code-you-didnt-write</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Wed, 16 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>ai</category><category>practice</category></item><item><title>Interfaces are the org chart you get to choose</title><link>https://brianbelhumeur.com/writing/interfaces-are-the-org-chart-you-get-to-choose</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/interfaces-are-the-org-chart-you-get-to-choose</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 25 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category></item><item><title>Write the migration plan first</title><link>https://brianbelhumeur.com/writing/write-the-migration-plan-first</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/write-the-migration-plan-first</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category><category>practice</category></item><item><title>A platform non-engineers build on</title><link>https://brianbelhumeur.com/writing/a-platform-non-engineers-build-on</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/a-platform-non-engineers-build-on</guid><description>What changed when most of the people shipping on our platform stopped being engineers, and the guardrails that let them move fast safely.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>platforms</category></item><item><title>How my team changed the way we work with AI</title><link>https://brianbelhumeur.com/writing/how-my-team-changed-the-way-we-work-with-ai</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/how-my-team-changed-the-way-we-work-with-ai</guid><description>Six months from autocomplete to agents: what we kept, what we dropped, and how code review had to change.</description><pubDate>Tue, 03 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>ai</category><category>practice</category></item><item><title>Boring is a feature budget</title><link>https://brianbelhumeur.com/writing/boring-is-a-feature-budget</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/boring-is-a-feature-budget</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 09 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category></item><item><title>What a staff engineer&apos;s calendar is for</title><link>https://brianbelhumeur.com/writing/what-a-staff-engineers-calendar-is-for</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/what-a-staff-engineers-calendar-is-for</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 14 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>practice</category></item><item><title>Idempotency keys, explained with a vending machine</title><link>https://brianbelhumeur.com/writing/idempotency-keys-explained-with-a-vending-machine</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/idempotency-keys-explained-with-a-vending-machine</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 19 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category></item><item><title>The on-call rotation is a design review</title><link>https://brianbelhumeur.com/writing/the-on-call-rotation-is-a-design-review</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/the-on-call-rotation-is-a-design-review</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 03 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>practice</category><category>platforms</category></item><item><title>Deprecations people thank you for</title><link>https://brianbelhumeur.com/writing/deprecations-people-thank-you-for</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/deprecations-people-thank-you-for</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 25 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>platforms</category></item><item><title>Notes from rewriting our job queue</title><link>https://brianbelhumeur.com/writing/notes-from-rewriting-our-job-queue</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/notes-from-rewriting-our-job-queue</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Tue, 12 Nov 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>architecture</category></item><item><title>Code review is a teaching surface</title><link>https://brianbelhumeur.com/writing/code-review-is-a-teaching-surface</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/code-review-is-a-teaching-surface</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Mon, 08 Jul 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>practice</category></item><item><title>Start with the error messages</title><link>https://brianbelhumeur.com/writing/start-with-the-error-messages</link><guid isPermaLink="true">https://brianbelhumeur.com/writing/start-with-the-error-messages</guid><description>Placeholder summary for a sample essay from the design mockup.</description><pubDate>Mon, 22 Apr 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Placeholder body. This essay is listed in the design mockup’s archive, but only its title, date and tags exist so far.&lt;/p&gt;</content:encoded><category>platforms</category></item></channel></rss>