Worker API
Routes `/api/crown/status`, `/api/crown/route`, `/api/crown/task`, `/api/crown/approval`, and `/api/crown/ledger`.
13-Cabinet OfficeCLOUDFLARE WORKER KIT
This page documents the CROWN Cloudflare Worker path. Static mode works first. Worker mode adds shared records through D1, quick event cache through KV, and optional async processing through Queues.
Routes `/api/crown/status`, `/api/crown/route`, `/api/crown/task`, `/api/crown/approval`, and `/api/crown/ledger`.
Stores events, tasks, and approval receipts for shared operator review.
Optional quick cache for recent events, routing receipts, and site status flags.
Optional async flow for digest generation, proof review, and cabinet handoff processing.
cd cloudflare-crown-operator
wrangler d1 migrations apply crown-site-operator
wrangler deploy
curl /api/crown/status