Expand description
SSE event types emitted during an orchestrator run.
CouncilEvent is the single source of truth for the wire format
shared by the Axum SSE handler, the CLI consumer, and the TypeScript
frontend types.
Serialisation uses the same {"type":"variant_name", ...} envelope as
[gglib_core::AgentEvent] and CouncilEvent so frontend event handlers
stay consistent.
§Event lifecycle
PlanProposed → [PlanApproved | PlanRejected]
→ NodeStarted* → NodeTextDelta* → NodeToolCall* → NodeComplete*
→ SynthesisStart → SynthesisTextDelta* → SynthesisComplete
→ CouncilCompleteError paths emit CouncilEvent::NodeFailed or
CouncilEvent::CouncilError and then the stream closes.
Structs§
- Agent
Stance - The final stance outcome for a single debating agent.
Enums§
- Approval
Kind - Describes what the human-in-the-loop gate is waiting for approval on.
- Council
Event - A single event in an orchestrator execution stream.
- Stance
Outcome - How a debating agent’s position changed over the course of a debate.
Constants§
- COUNCIL_
EVENT_ CHANNEL_ CAPACITY - Channel capacity for the orchestrator event sender.