brainwires_autonomy/lib.rs
1#![deny(missing_docs)]
2//! # brainwires-autonomy
3//!
4//! Autonomous agent operations — self-improvement, Git workflows, and
5//! human-out-of-loop execution for the Brainwires Agent Framework.
6//!
7//! ## Feature flags
8//!
9//! | Feature | Description |
10//! |---------|-------------|
11//! | `self-improve` | Self-improvement controller and strategies |
12//! | `eval-driven` | Eval-driven feedback loop (requires `brainwires-eval`) |
13//! | `supervisor` | Agent supervisor with health monitoring |
14//! | `attention` | Attention mechanism with RAG integration |
15//! | `parallel` | Parallel coordinator with optional MDAP |
16//! | `training` | Autonomous training loop |
17//! | `git-workflow` | Automated Git workflow pipeline |
18//! | `webhook` | Webhook server for Git forge events |
19//! | `full` | All features enabled |
20
21pub mod config;
22pub mod error;
23pub mod metrics;
24pub mod safety;
25
26#[cfg(feature = "self-improve")]
27pub mod self_improve;
28
29pub mod agent_ops;
30
31#[cfg(feature = "git-workflow")]
32pub mod git_workflow;
33
34#[cfg(feature = "gpio")]
35pub mod gpio;
36
37#[cfg(feature = "scheduler")]
38pub mod scheduler;
39
40#[cfg(feature = "reactor")]
41pub mod reactor;
42
43#[cfg(feature = "services")]
44pub mod services;
45
46pub use config::AutonomyConfig;
47pub use error::AutonomyError;
48pub use metrics::{SessionMetrics, SessionReport};
49pub use safety::{ApprovalPolicy, AutonomousOperation, SafetyGuard};