summaryrefslogtreecommitdiff
path: root/makima/src/orchestration/mod.rs
blob: 8c210892ab4eef2c2fa350969812ee43572833bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Orchestration engine for directive-driven autonomous execution.
//!
//! This module provides the core orchestration capabilities:
//! - [`DirectiveEngine`]: Main orchestration loop that manages directive lifecycle
//! - [`ChainPlanner`]: LLM-based chain generation from directive goals
//! - [`Verifier`]: Pluggable verification system for step validation
//!
//! # Architecture
//!
//! The orchestration system follows a directive-first approach:
//! 1. Directives define goals, requirements, and acceptance criteria
//! 2. Chains are generated execution plans (DAGs of steps)
//! 3. Steps map to contracts that are created and monitored
//! 4. Tiered verification (programmatic first, then LLM) determines confidence
//! 5. Confidence scoring (green/yellow/red) drives autonomy decisions

mod engine;
mod planner;
mod verifier;

pub use engine::{DirectiveEngine, EngineError};
pub use planner::{ChainPlanner, GeneratedSpec, PlannerError};
pub use verifier::{
    auto_detect_verifiers, CompositeEvaluator, ConfidenceLevel, EvaluationResult, Verifier,
    VerifierError, VerifierInfo, VerifierResult, VerifierType,
};