Architecture · SWE.3
Middleware packages
Detailed design lands in these packages. Board SOA runtime, the last mile after the bench has passed. The draft file remains middleware/README.md.
Perception and planning are a workload on this runtime, not the middleware itself. Trim through the SOR and runtime_modules. Boot starts EM only. EM launches the rest. sm is not the boot entry.
| Package | Role | Phase | Cases |
|---|---|---|---|
| core | Result / ErrorCode | P0 | — |
| com | Unified communication API | P0 | Supporting chain, not its own safety goal |
| bindings | iceoryx / SOME/IP / DDS and other transports | P0+ | — |
| osal | Clock, thread, process | P0 | OSAL |
| exec | ExecutionClient and EmDaemon | P3 | EM |
| phm | Alive / Deadline / Logical | P3 | PHM |
| sm | Function groups Off / Running / Updating | P3 | SM |
| collector | Local event ring | P3 | Collector |
| log | Logging, with an optional DLT sink | P3 | Skeleton, no safety goal |
| per | In-process KV | P3 | Trimmed per SKU |
| tsync | Time-sync skeleton | P3 | Trimmed per SKU |
| trace | Trace toward VCD / GMT | P2 | Debug path |
| ucm | Package manager and OTA orchestration | P3 | Skeleton, no safety goal |
| diag | UDS and DoIP sessions | P3 | Skeleton, no safety goal |
| hal | Board sensors and actuators | P1+ | — |
Third-party checkouts sit beside these packages and are pinned by the dependency manifest. They are not functional-safety evidence.