Skip to content

Sentinel

Continuously monitors Workers for errors, generates reproduction tests, triages root causes via LLM, and submits fix PRs — all without human intervention.

Detect

Polls Workers Observability every 30 seconds. Fingerprints errors using SHA-256 with normalization. Deduplicates automatically.

Reproduce

Generates bun:test reproduction tests via LLM. Executes them in isolated Sandbox containers to confirm the bug exists.

Triage

Multi-turn LLM analysis reads source code, identifies the root cause file and lines, and assigns a confidence level.

Fix

TDD cycle in Sandbox: confirms bug, generates fix (up to 5 attempts), verifies fix, regression check, creates GitHub PR.

LogTailer ──→ TestGen ──→ CodeTriage ──→ FixAgent ──→ GitHub PR
│ │ │ │
▼ ▼ ▼ ▼
[errors- [triage- [fix-ready] [completed]
detected] ready]

Six Durable Object agents communicate through five Cloudflare Queues. Each agent has embedded SQLite for fast state, with D1 as the system of record.

Cloudflare Agents SDK

Durable Objects with scheduling, SQLite, and WebSocket support.

Cloudflare Sandbox

Isolated container execution for untrusted code — cloned repos, generated tests, and AI-written fixes never run in the Worker process.

Workers AI

LLM inference for test generation, root cause analysis, and fix generation via AI Gateway.

D1 + R2 + Queues

Relational data in D1, binary artifacts in R2, reliable messaging with Queues and dead-letter handling.