Skip to main content

Module protocol

Module protocol 

Source
Expand description

The engine ⇄ schema-crate wire protocol: RON over stdio. The engine spawns the KB’s compiled schema binary, writes one Request to stdin, reads one Response from stdout. Nothing else crosses the boundary — the engine never links a schema crate.

Enums§

Request
Response

Functions§

serve_schema
The whole main() of a schema binary: one RON Request on stdin, one RON Response on stdout. A schema crate supplies its registry and its validation fn; everything else about the wire lives here.