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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Analysis Workflow State Machine (Spec 202)
//!
//! This module implements an explicit state machine for the analysis workflow,
//! providing:
//!
//! - **Explicit phases** - Each analysis phase is an enum variant
//! - **Pure guards** - Transition validation is pure (testable)
//! - **Effectful actions** - Side effects isolated via environment traits
//! - **Checkpoint support** - Save/restore state for resume capability
//! - **Clear dependencies** - Phase prerequisites explicit in guards
//!
//! ## Architecture
//!
//! The workflow follows the "pure guards, effectful actions" pattern:
//!
//! ```text
//! AnalysisState { phase: Initialized }
//! ↓ can_start_call_graph() guard
//! AnalysisState { phase: CallGraphBuilding }
//! ↓ build_call_graph() action
//! AnalysisState { phase: CallGraphComplete }
//! ↓ can_start_coverage() | can_skip_coverage()
//! AnalysisState { phase: CoverageComplete }
//! ↓ ...
//! AnalysisState { phase: Complete }
//! ```
pub use ;
pub use ;
pub use ;
pub use *;
pub use ;
pub use MockAnalysisEnv;