Skip to main content

xchecker_gate/
lib.rs

1//! Gate command for policy-based spec validation
2
3pub mod command;
4pub mod exit_codes;
5pub mod json;
6pub mod paths;
7pub mod pending_fixups;
8pub mod policy;
9pub mod types;
10
11// Re-exports for convenience
12pub use command::GateCommand;
13pub use exit_codes::{POLICY_VIOLATION, SUCCESS};
14pub use json::emit_gate_json;
15pub use policy::{
16    GatePolicy, load_policy_from_path, parse_duration, parse_phase, resolve_policy_path,
17};
18pub use types::{
19    GateCondition, GateResult, PendingFixupsResult, PendingFixupsStats, SpecDataProvider,
20};