Skip to main content

autom8/
lib.rs

1//! autom8 - CLI tool for orchestrating Claude-powered development.
2//!
3//! autom8 bridges the gap between product requirements (specs) and working code
4//! by driving Claude through iterative implementation of user stories.
5//!
6//! # Core Workflow
7//!
8//! 1. Define features as structured user stories with acceptance criteria
9//! 2. autom8 orchestrates Claude to implement each story
10//! 3. Reviews for quality and iterates as needed
11//! 4. Commits changes and creates GitHub PRs
12//!
13//! # Modules
14//!
15//! - [`commands`] - CLI command handlers
16//! - [`runner`] - Main orchestration loop
17//! - [`claude`] - Claude CLI integration
18//! - [`gh`] - GitHub CLI integration
19//! - [`output`] - Terminal output formatting
20//! - [`state`] - State machine and persistence
21//! - [`config`] - Configuration management
22//! - [`spec`] - Spec/user story structures
23
24pub mod claude;
25pub mod commands;
26pub mod completion;
27pub mod config;
28pub mod display;
29pub mod error;
30pub mod gh;
31pub mod git;
32pub mod knowledge;
33pub mod output;
34pub mod progress;
35pub mod prompt;
36pub mod prompts;
37pub mod runner;
38pub mod self_test;
39pub mod signal;
40pub mod snapshot;
41pub mod spec;
42pub mod state;
43#[cfg(test)]
44pub mod test_utils;
45pub mod ui;
46pub mod worktree;
47
48pub use display::{BannerColor, StoryResult};
49pub use error::{Autom8Error, Result};
50pub use progress::{Breadcrumb, BreadcrumbState, ProgressContext};
51pub use runner::Runner;
52pub use snapshot::{FileMetadata, SpecSnapshot};
53pub use spec::Spec;
54pub use state::{MachineState, RunState, RunStatus, SessionMetadata, SessionStatus, StateManager};