enact-core 0.0.1

Core agent runtime for Enact - Graph-Native AI agents
Documentation
//! Agent Inbox - Mid-Execution Guidance
//!
//! The inbox enables injection of guidance, evidence, and control signals
//! into running executions. This is checked after every step in the Agentic Loop.
//!
//! ## Invariants
//!
//! - **INV-INBOX-001**: Inbox MUST be checked after every step in the Agentic Loop
//! - **INV-INBOX-002**: Control messages (pause/cancel) MUST be processed first
//! - **INV-INBOX-003**: All inbox messages MUST emit events for audit trail
//! - **INV-INBOX-004**: Messages are scoped to a specific ExecutionId
//!
//! ## Message Priority
//!
//! 1. Control (pause/resume/cancel) - highest
//! 2. Evidence (contradicts_plan)
//! 3. Evidence (other)
//! 4. Guidance (high priority)
//! 5. Guidance (other)
//! 6. A2A - lowest
//!
//! @see docs/TECHNICAL/31-MID-EXECUTION-GUIDANCE.md

mod message;
mod store;

pub use message::{
    A2aMessage, ControlAction, ControlMessage, EvidenceImpact, EvidenceSource, EvidenceUpdate,
    GuidanceMessage, GuidancePriority, GuidanceSource, InboxMessage, InboxMessageType,
};
pub use store::{InMemoryInboxStore, InboxStore};