Protocol v1
Envelope
All control-plane events use JSON envelope:
json
{
"protocolVersion": "1.0",
"messageId": "uuid",
"messageType": "channel.route.decided",
"ts": "2026-02-25T18:00:00Z",
"traceId": "uuid",
"channelId": "general",
"taskId": "optional",
"branchId": "optional",
"workerId": "optional",
"payload": {},
"extensions": {}
}Message Types
channel.message.receivedchannel.route.decidedbranch.spawnedbranch.conclusionworker.spawnedworker.progressworker.completedworker.failedcompactor.threshold.hitcompactor.summary.appliedvisor.bulletin.generated
Core Policies
- Routing: rule-based thresholds and keyword heuristics.
- Branch persistence: ephemeral; only conclusion and references survive.
- Compactor thresholds:
>80%soft,>85%aggressive,>95%emergency. - Compatibility: additive changes only; unknown fields ignored.