ReviewOS

also looking at this

zig-utils/zig-test-framework

Define stable JSON event protocol

#27
Merged glennmichael123 wants to merge codex/issue-10-json-events into main
11 files +442 -177
docs/execution-pipeline.mdmodified+4-3
Changes to docs/execution-pipeline.md
@@ -43,9 +43,10 @@ New plan producers should append `PlanItem` values. New executors should emit
4343implement `Reporter.VTable`; `EventStream` adapts the typed lifecycle to that
4444stable callback interface.
4545
46The event types are intentionally internal Zig structures. The separately
47versioned JSON wire protocol is built on this layer rather than making this API
48depend on one serialization format.
46The lifecycle structures remain format-independent. The JSON reporter, live UI,
47and test history adapt them to the public, versioned
48[JSON event protocol](json-event-protocol.md), so integrations share one wire
49model without coupling the execution API to JSON.
4950
5051## Migration
5152