//! PR size classification (small / medium / large / architectural)
//! and the gate table each size requires. See
//! `wiki/features/adaptive-workflow.md`.

mod diff;
mod enforce;
mod gates;
mod render;
mod size;

pub use diff::{from_git, parse_diff, DiffError};
pub use enforce::{enforce, fail_closed, fail_open, EnforceFinding, EnforceInput};
pub use gates::{gates_for, Gate};
pub use render::render_size_report;
pub use size::{
    classify, is_architectural_path, is_public_api_change_line, is_test_path, DiffSummary, Size,
    Thresholds,
};
