//! Cross-team edge detection events (AAASM-1001).
//!
//! Published to the internal broadcast channel whenever an `EdgeRepo::insert`
//! records an edge whose source and target agents belong to different teams.
//! Consumers (e.g. the inter-team channel work in AAASM-198) subscribe via
//! `InMemoryEdgeRepo::subscribe_cross_team_events()`.
use ;
use AgentId;
use EdgeType;
/// Capacity of the cross-team edge event broadcast channel.
pub const CROSS_TEAM_CHANNEL_CAPACITY: usize = 64;
/// Emitted whenever an edge is inserted between agents in different teams.
///
/// Both `source_team_id` and `target_team_id` are always non-empty — the event
/// is only published when both agents have a known, non-NULL `team_id`.