STUB DOCUMENT: This page is intentionally minimal and will be expanded with deeper technical details in a future update.
When an edge device has multiple cameras (each represented by a separate digital twin), Edge Core starts one driver container per camera and a single shared worker container that receives frames from all of them.
Architecture
Driver startup sequencing
Edge Core starts drivers before the worker and verifies each driver container reaches a running state:
- All linked twins are resolved from the environment.
- Driver images are pulled in parallel.
- Containers are started sequentially, each verified with a readiness probe.
- Once all drivers reach a stable state, the worker container starts.
- If some drivers fail, the worker still starts (with a warning) so healthy cameras can be utilized.
Worker environment wiring
The worker container receives:
Model pre-download
Before the worker starts, Edge Core scans workers/*.py for cw.models.load("...") calls and pre-downloads all referenced models to the local cache (~/.cyberwave/models/).
CLI visibility
cyberwave edge status shows:
- Each driver container with its twin UUID mapping
- The worker container with its full twin list
- Running/stopped status for all containers
Health monitoring
Edge Core continuously monitors driver containers during the runtime loop:
- Restart loop detection: Drivers that restart too frequently are stopped automatically.
- Driver-down alerts: If a driver stops while the worker is running, an alert is sent to the associated twin.
- Worker health: The worker container has its own health monitor with circuit-breaker protection against crash loops.