Phase 0 · Cloudflare-native skeleton
Stand up the platform on Workers, Durable Objects, Workflows, Queues, AI Gateway, Vectorize, D1, R2 — used the way Cloudflare intended.
-
Monorepo layout (apps/, packages/, infra/)
agent-router, agent-basal, config-api, fleet-api, workflow-control, workflow-runner, shared, agents-sdk-glue.
-
Each Worker scaffolded with proper bindings
workers_dev=false, observability on, no hand-rolled JSON-RPC. Reviewed by DevOps before any deploy.
-
Existing /api/chat path migrated through agent-router
Behind a feature flag defaulting OFF — production behavior unchanged until flipped.
-
D1 schema + Terraform plan only
No migrations applied, no terraform apply, until reviewed in the morning.