//! Task management and execution.

pub mod completion_gate;
pub mod context_recovery;
pub mod learning_injection;
pub mod manager;
pub mod progress_log;
pub mod state;

pub use completion_gate::CompletionGate;
pub use context_recovery::{build_context_recovery, CheckpointInfo, ContextRecoveryInfo};
pub use learning_injection::{
    extract_learnings_from_output, inject_learnings, inject_learnings_with_context,
    LearningInjectionError, LearningInjector,
};
pub use manager::{ManagedTask, TaskConfig, TaskManager};
pub use progress_log::{Learning, ProgressLogEntry, TaskCompletionStatus};
pub use state::TaskState;
