Skip to content

Wire protocol

The wire protocol is the normative spec underneath grafOS. Most developers never need to read it — the SDK and CLI cover the everyday surface. But if you’re writing a foreign-language client, debugging an interop issue, or auditing the trust model, this section is the source of truth.

Top-level documents

Resource model

Scheduler + control plane

Data planes

Golden vectors

The wire encoding is enforced by golden vectors at vectors/v0/ in the source tree. Any conforming implementation must reproduce them byte-for-byte. CI fails if a code change produces different bytes; regenerating is a deliberate operator action via:

Terminal window
cargo run -p fabricbiosd --bin vectors-gen
git diff --exit-code vectors/v0 # CI checks this is clean

The golden-vector contract is the strongest “wire compatibility” guarantee the project makes. It catches accidental encoding drift before it ships.