mati_core/lib.rs
1#![warn(clippy::all)]
2// `.unwrap()` discards context — production paths should propagate via `?`
3// or document the invariant with `.expect("reason")`. `expect_used` is
4// deliberately NOT enabled: `.expect("...")` is the sanctioned escape
5// valve for programmer-error invariants (rust-analyzer / ripgrep
6// convention). Gated on `not(test)` because inline `mod tests` modules
7// legitimately use `.unwrap()` everywhere. CI runs `-D warnings`, so any
8// new `.unwrap()` in production code is a hard failure on merge.
9#![cfg_attr(not(test), warn(clippy::unwrap_used))]
10
11pub mod analysis;
12pub mod eval;
13pub mod graph;
14pub mod health;
15pub mod hooks;
16pub mod mcp;
17pub mod policy;
18pub mod scaffold;
19pub mod search;
20pub mod store;