agent-kernel 0.1.0

Minimal Agent orchestration kernel for multi-agent discussion
Documentation
/// Observability events emitted during a multi-agent discussion.
///
/// `AgentEvent` is a first-class output of the kernel (observability-first principle).
/// Callers receive a full stream of events via `mpsc::Sender<AgentEvent>`.
///
/// Phase 1 has exactly 6 variants. `Evolved` is a Phase 2 variant added in the
/// independent agent-kernel repository.
#[derive(Debug)]
pub enum AgentEvent {
    /// Emitted at the start of each round to report overall progress.
    Progress {
        current_round: usize,
        max_rounds: usize,
    },
    /// One agent's contribution in a discussion round.
    Round {
        round: usize,
        agent_name: String,
        content: String,
    },
    /// Discussion converged before reaching `max_rounds`.
    Converged { reason: String },
    /// Final synthesized summary produced by the primary agent.
    Summary { content: String },
    /// Discussion was cancelled via `CancellationToken`.
    Cancelled,
    /// Discussion finished (all rounds completed or converged).
    Completed,
    /// An agent's SOUL.md was evolved to a new version (Phase 2).
    Evolved {
        agent: String,
        old_version: u32,
        new_version: u32,
    },
}