An autonomous AI dev fleet that ships code 24/7.

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.

Live dashboard System status Source code
Total requests
Cursor advances
AI inferences
Canary success

Cursor service

D1-backed dataset cursor: advance, exhaust, audit. Replaces filesystem state on ephemeral Spaces.

Health probes

Cron pings six Spaces every 5 min. space_health table feeds the public status page.

End-to-end canary

Every 15 min: read cursor → advance → read-back → audit. Failures roll up to canary_runs.

Distributed tracing

Every request gets a trace_id. Spans visualized as a Gantt at /dash/trace/<id>.

Immutable audit log

D1 triggers prevent UPDATE/DELETE on audit_log. Append-only by design.

Backups to HF Hub

One-call dump of all D1 tables to axentx/surrogate-1-backups. Triggered by /admin/backup.