01Signal ingestion & fusion▸
Behavioral events (PostHog) and error events (Sentry/logs) are normalized into one signals table with a common shape, plus a rolling signal_windows aggregate polled every 1–5 minutes. This is the single highest-leverage piece of engineering — every downstream stage depends on signals being comparable regardless of source.
02Anomaly detection▸
Deliberately not an LLM call. A rules-plus-z-score classifier routes each window into one of three classes: frontend runtime error, latency regression, or a broken user flow — the third defined specifically by a funnel drop with no matching error, which is exactly what fusion catches and error-only tools miss.
03Root-cause investigation▸
The Aurora-adapted agent gathers evidence — stack traces, recent diffs, PostHog session replays — through multi-step tool use and produces a ranked, justified diagnosis rather than a single-shot guess.
04Repair generation▸
The Patch Agent writes a scoped fix and runs the existing test suite. No patch proceeds if tests fail — reject and retry, not a soft warning.
05Preview verification▸
The patch deploys to an isolated preview environment; synthetic traffic re-runs to confirm the original anomaly signal actually clears before any human sees it.
06Human approval▸
The single mandatory checkpoint. A reviewer sees the evidence ledger — diagnosis, diff, preview results — and approves or rejects in under a minute.
07Canary release▸
Approved patches ship to a small weighted slice of traffic. The same fused anomaly detector from stage 02 keeps monitoring — no separate canary-specific logic to drift out of sync.
08Recovery verification & rollback▸
Promote to full release only if the original signal clears and no new anomaly appears. Otherwise, automatic rollback, logged with the reason — this is the part of the loop with the thinnest prior art anywhere.
09Evidence ledger▸
Every stage's decision and justification is recorded and attached to the PR — the primary research artifact, and the dataset every ablation in this project is measured from.