Roadmap item RD7 from docs/moon/roadmaps/rust.md — Track: Core Orchestration Daemon.
Follow-up from the RD1 spike (ADR 0003).
Effort: S
Introduce an internal tokio::sync::broadcast::<AgentEvent> bus in a new event_bus.rs module; agents.rs/llm_client.rs publish to it instead of taking &AppHandle; the Tauri shim (lib.rs) and tcp_server.rs both become subscribers. Removes the tauri dependency from agents.rs and llm_client.rs, and is a hard prerequisite for RA3.
Roadmap item
RD7fromdocs/moon/roadmaps/rust.md— Track: Core Orchestration Daemon.Follow-up from the RD1 spike (ADR 0003).
Effort: S
Introduce an internal
tokio::sync::broadcast::<AgentEvent>bus in a newevent_bus.rsmodule;agents.rs/llm_client.rspublish to it instead of taking&AppHandle; the Tauri shim (lib.rs) andtcp_server.rsboth become subscribers. Removes thetauridependency fromagents.rsandllm_client.rs, and is a hard prerequisite for RA3.