surrogate-1 is a constellation of code-writing agents running across HuggingFace Spaces, GCP, and Cloudflare — coordinated by a cursor service, trained continuously on production traces, and observable end-to-end.
D1-backed dataset cursor: advance, exhaust, audit. Replaces filesystem state on ephemeral Spaces.
Cron pings six Spaces every 5 min. space_health table feeds the public status page.
Every 15 min: read cursor → advance → read-back → audit. Failures roll up to canary_runs.
Every request gets a trace_id. Spans visualized as a Gantt at /dash/trace/<id>.
D1 triggers prevent UPDATE/DELETE on audit_log. Append-only by design.
One-call dump of all D1 tables to axentx/surrogate-1-backups. Triggered by /admin/backup.