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.

EndpointPurpose
GET /api/nexus/statusConfirms Worker health and bindings.
POST /api/nexus/routeClassifies a signal and routes it to the correct brain pair.
POST /api/nexus/taskCreates an operator task.
GET /api/nexus/ledgerReads recent D1 events when configured.