---
title: "Build Evidence, Verifiable Output, Feb-Jul 2026"
description: "A dated engineering record for the platform underneath 21Core, February to July 2026: git history, passing tests, REST endpoints and a verified database restore, with the commands behind every figure."
url: https://www.afonsomartins.com/build-evidence
author: Afonso Martins
published: 2026-07-13
updated: 2026-10-03
---

# Build Evidence

Verifiable output from git history, CI runs, and ops artifacts, **February 15 to July 12, 2026, solo developer**. Every number on this page is reproducible with the commands listed at the bottom; nothing here is an estimate.

**Scope note:** these figures cover the platform build from February to July 2026. The platform repository, 516 of these commits, has since reached 550 commits and 636 backend test functions as 21Core became measurement infrastructure for prediction markets, and the research layer is documented separately in [The Research Desk](https://www.afonsomartins.com/research-desk).

## Headline numbers

| Metric | Value | Source |
|---|---|---|
| Commits shipped | **614** | `git log` across 2 production repos, ~5 months |
| Production code written | **~90,100 lines** | 55.6K Python (245 files) + 34.5K TypeScript/TSX |
| Tests passing | **607** (+58 subtests) | `pytest`, green in 3.95s, run July 13, 2026 |
| REST API endpoints | **132** | FastAPI, deployed behind Caddy (HTTP/2 + HTTP/3) |
| Peak month | **214 commits** (May 2026) | product + infra repos in parallel |

## Deployed, and drilled

The platform was built from February to July 2026 and deployed on a hardened VPS behind Caddy, with the product site at [www.21coreai.com](https://www.21coreai.com). The evidence I trust most is the restore drill: an off-host PostgreSQL restore from a sha256-verified dump brought back 43 tables in about 5.5 seconds. A backup that has never been restored is a hope, not a backup.

## What it ran

- **6 systemd services**, API, agent worker, AI gateway, Caddy, PostgreSQL 16, Redis.
- **75 tables across 11 schemas**, 47 tables under PostgreSQL row-level security with 49 live policies (multi-tenant isolation enforced by the database, not by convention).
- **pgvector + pg_trgm**, hybrid vector / keyword retrieval, 37 schema migrations.
- **Hardened host**, fail2ban, auditd, ClamAV, unattended-upgrades.
- **13 automated ops evidence checks**, committed as sanitized JSON, including the off-host PostgreSQL restore drill above.

## Commits per month

July is partial (through July 12). BetCoreAI is the product platform; the VPS repo is deployment and ops.

| Month | Platform | Infra & ops | Total |
|---|---|---|---|
| Feb 2026 | 44 |, | 44 |
| Mar 2026 | 119 |, | 119 |
| Apr 2026 | 58 |, | 58 |
| May 2026 | 172 | 42 | **214** |
| Jun 2026 | 94 | 44 | 138 |
| Jul 2026* | 29 | 12 | 41 |

## How to reproduce every number

Commits via `git log --oneline | wc -l`. Code volume via `git ls-files '*.py' | xargs wc -l`. Tests via `pytest tests -q` (607 passed, 88 files). Endpoints via a grep over the FastAPI routers. Database facts via `pg_tables` / `pg_policies`. Ops checks via the sanitized JSON reports in the infra repo's `evidence/` directory.

---

*Related: [How I built 21Core around prediction markets](https://www.afonsomartins.com/how-i-built-21core) · [RAG that cannot fake a citation: the retrieval engine I built](https://www.afonsomartins.com/citation-first-rag)*
