Control plane vs runtime plane
The control plane decides what should happen. The runtime plane is where the workspace actually runs. This separation keeps product orchestration, database state, locks, cloud allocation, and Docker runtime control from collapsing into one blob.
- Control plane: Next.js API routes, project orchestration, Postgres state, Redis locks, AWS control logic, VM agent client.
- Runtime plane: EC2 ASG instances, VM agent, Docker, project container, code-server, S3-backed restore/sync.
- Storage plane: Postgres for durable state, Redis for fast coordination, S3 for workspace files.




