Cloudflare worker kit
Deploy the NEXUS Site Operator Brain at the edge
Worker-backed business brain
This page documents the optional Cloudflare path for taking the static/local NEXUS layer into persistent state. The static site works without this. The Worker adds server-side receipts, D1 ledgers, KV state, and Queue-based handoffs.
| Endpoint | Purpose |
|---|---|
GET /api/nexus/status | Confirms Worker health and bindings. |
POST /api/nexus/route | Classifies a signal and routes it to the correct brain pair. |
POST /api/nexus/task | Creates an operator task. |
GET /api/nexus/ledger | Reads recent D1 events when configured. |
