Skip to main content

Crate apo

Crate apo 

Source
Expand description

APO — Engineering Evidence Platform.

Repository Hygiene is the first analyzer: it collects observational evidence about engineering controls in a local Git repository and derives policy scores.

Re-exports§

pub use config::Config;
pub use config::OutputFormat;
pub use error::Error;
pub use error::Result;
pub use report::Report;
pub use source::Workspace;

Modules§

cli
Command-line interface.
config
Runtime configuration for analysis.
discovery
Repository discovery and file inventory.
error
Error types for APO.
evidence
Normalized evidence model for hygiene findings.
git
Git metadata inspection via gix.
policy
Policy layer: map observational evidence to scores.
report
Report generation (JSON + Markdown + LLM remediation prompt).
rules
Hygiene rule engine.
source
Resolve local paths and remote Git URIs into an analyzable workspace.

Functions§

analyze
Analyze a repository and produce a hygiene report.
analyze_and_write
Analyze and write reports (and optional LLM prompt) to disk.
analyze_with_workspace
Analyze and retain the workspace until the caller drops it.