Skip to content

A claims table for every number on my site

Every number on namanbuilt.com lives in one table with a status and a source, so copy drafted with AI points at a sourced figure instead of making one up.

· 4 min read · Naman Jain

Most of the copy on this site was drafted by AI agents working from my records, and every number in it is one I ruled on or had already approved. The risk I cared about most was the numbers. A model writing a case study will happily produce a percentage that sounds right, round a score up because the rounder number reads better, or lift a figure out of my notes that I never agreed to publish.

Reading every draft for that by eye doesn't hold up across a whole site, because one missed line is enough. So I took the numbers out of the copy.

One table, and what each entry carries

Every number on the site lives in a single file, claims.data.ts. Each entry has an id, the text that renders, a status and a source, and some carry a note. Here are real entries, exactly as they sit in the file:

'trs.searchCached': { text: '0.3 s', status: 'approved', source: 'commit 21e1a60' },
'jp.runTime': { text: 'about 35 seconds', status: 'approved', source: 'JewelPrep README run table: total about 35 s on one production ring' },
'blocked.pagespeed100': { text: 'a perfect mobile PageSpeed score', status: 'blocked', source: 'R1 ruling', note: 'It is 92.' },

Page copy doesn't carry the digits. It carries a token with the claim id, like {{trs.searchCached}}, and the page renders whatever text the table holds for that id. If a writer agent wants to say how fast a diamond search got, it has to point at an entry that exists, with a source behind it. Posts like this one are the exception: they're written with plain digits, but every number in them has to match an approved entry or a public source, and each post lists those as its evidence.

Approved, pending, blocked

  • Approved: I've ruled on it, or it's covered by an approval I've already given. Safe to publish.
  • Pending: true and sourced, but my yes is still missing. It shows in development with a dotted mark, and never in production.
  • Blocked: never renders. It stays in the table so the lint, the lab and an audit can explain why.

The split between server and browser is what turns this from a convention into something enforced. The full table never reaches a browser. A generated file holds the approved texts only, and that's the one copy a production browser gets: no pending value, no source, no note. A development browser also gets the pending texts, so I can see what a page will look like once I say yes. Ask for a blocked id in production and the number renders as nothing. A sentence left with a gap in it is a copy bug I fix at the source, and a pending number on a public page gets logged at build time, so I see it.

After any edit, pnpm gen:claims regenerates those files, and pnpm lint:copy fails while they're stale, so the table and what ships can't drift apart.

Why a blocked entry stays in the table

Trauringspezialisten's largest product page scored 92 on mobile PageSpeed the day after I launched the shop, after several rounds of fixes. That's the approved entry. Further down the table sits the blocked one shown above, whose text is a perfect mobile score and whose note just says it's 92.

That entry exists for one reason. A rounder number is exactly what generated copy reaches for. The copy lint carries a rule that fails if a perfect score appears within a few words after PageSpeed, and the blocked entry is what tells whoever trips it why. I wrote more about that 92.

The same pattern holds a phrase instead of a number. The ring configurators I build at AMG Dynamics have millions of possible combinations, and that phrase is the only combinations wording the site allows. Any exact count is blocked, because an exact count goes stale the day someone adds an option.

How a pending number becomes approved

A pending entry is true and sourced, and waiting on me. It moves when I rule on it, and the ruling goes into its source, so anyone reading the table later can see who said yes and where. Some wait on a client's permission. Some wait because they're my own word and nobody measured them. JewelPrep's manual time is an estimate nobody has timed, so it stays pending and the copy says hours.

One entry is waiting on the calendar. The figure for how long Horizon Beam has been running only becomes true in December, so until then it's pending and the copy says since December 2016.

An id is never deleted. If a number stops being allowed, it's set to blocked and the note says why. Deleting it would erase the history, and the next agent to read my older notes would find the figure there, see nothing against it, and assume it's fine.

For a team adopting agents, this is the piece I'd copy first. Put every number that matters in one place with a status and a source, make the build fail on the numbers that must never ship, and give each agent the table instead of your notes. How I built this website shows where the table sat in that workflow, and the agentic development service sets up guardrails like this one in a team's own repo.

The service behind this post

AI agentic development

I build with AI agents every day. I set the same system up in your repo and ship a feature with your team.