← Statpro dev log

A fail-closed gate for taking Ask public

#infra#web#product#solo-founder

A glowing amber hexagonal seal sits at the centre of a ring of eight file tiles, tied to each one by a thin line.

Ask, the feature on Statpro that answers plain-English sports questions, was about to go fully public: about 10,000 indexed pages across MLB, NBA and NFL. Each page is a verified answer that search engines can index. I had no clean way to say "this exact build, schema and contract is what's allowed to be public."

The earlier shadow release computed and stored those answers in production but didn't show them to anyone, so a mismatch there cost nothing. A public launch is different. A file could change between the audit and the cutover, and nothing would notice.

A receipt that names one exact build

So I built a cutover receipt for the Ask launch, a record that this exact build is approved to go public. The receipt names the exact hash of the application contract, the set of files the receipt covers. Touch any covered file after the audit and the receipt is invalid, which means the launch doesn't happen. That's what fail-closed means here: when the evidence is missing or stale, the default answer is no.

What the receipt has to prove

  • Catalog: at least 10,000 current indexed pages across three leagues, with no stale rows and no collisions.
  • Quality: a passing 100-question sample spread across leagues and question types, plus checks that the page URLs, search markup and sitemaps behave as promised.
  • Operations: a healthy scheduler for the recurring background jobs, with 95th-percentile response time under a set limit, tested pause, withdraw (pull pages down) and restore, and an exact replay that performs zero database writes.
  • Scope: a feature that isn't ready stays disabled, and mobile is recorded as excluded.

The scope lines matter as much as the passing ones. Writing down what the launch leaves out keeps a later change from quietly widening it.

Tie the approval to the artifact

An audit describes a moment. What ships is whatever exists at cutover, and those two can drift apart in an afternoon. Binding the approval to a content hash closes that gap. Either the thing I reviewed is the thing going live, or the gate stays shut.

This is the build log for Statpro (statpro.io) · All entries · Weekly essays