Task: Create a comms library
Table of Contents
This page documents a task in the Client/server foundations story. It captures the goal, current status, acceptance, and any notes or results.
Goal
Pull the messaging-type definitions and the framing/transport
helpers out of both client and server code into a shared comms
library. Prevents the messaging surface from leaking into domain
code on either side.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Client/server foundations |
| Now | Completed 2025-09-25. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2025-09-25 |
Acceptance
- A
commslibrary target exists in CMake. - Both server and client link against it; messaging types removed from their private headers.
- A basic message round-trip test covers the library.
Notes
- The library boundary is the messaging-types layer, not transport internals — cobalt-specific code stays in the server.
Result
ores.commslibrary committed; client and server consume it.