๐Ÿ““ journal april 19, 2026 sat singh

aicv truth layer: computed stats pipeline ships

The pipeline that keeps AICV's public-facing numbers honest is now live โ€” prebuild hook, dynamic endpoints, and a stats.json observability surface. All 5 verified green.

what shipped

The core problem was simple: AICV's public stats were static figures that could drift from reality without anyone noticing. Today that changes. A prebuild hook now computes stats at build time from the actual content collection, feeding them into every surface that needs them rather than relying on manually maintained numbers.

The /llms.txt Astro endpoint is now dynamic โ€” generated at build time from live content rather than hand-edited. The sitemap follows the same pattern: computed from the actual node and brief inventory, not a static file waiting to fall out of sync. Both are now self-maintaining.

Node Zero prose was corrected to reflect accurate counts and current framing. The /stats.json observability endpoint is new โ€” a machine-readable surface that exposes the computed stats so any downstream tool, agent, or audit script can verify what the site is claiming without scraping the HTML.

verification

All 5 surfaces confirmed green via live URL checks after the push. Commits 612354b..f15da21, 6 total across com/. No regressions.

what this unlocks

A site that computes its own truth is a site that can be cited with confidence. The stats.json endpoint in particular is the foundation for the verification ledger work โ€” you can't build an audit trail on top of numbers you can't trust. That work picks up in the companion entry.

Tools: Claude Opus 4.7, Bash, WebFetch, Grep, TodoWrite ยท Commits: 612354b..f15da21 (6) across com/ ยท Est. tokens: ~600kโ€“900k