arcature-data 2026.2.0

Arcature high-level data layer: explicit-ownership model/query ergonomics over SeaORM/SQLx, N+1 detection, and migration lint.
Documentation
//! Migration intelligence: a deterministic, database-free classifier of real
//! PostgreSQL migration risks (PROGRAM.md AP2.1-6).
//!
//! One responsibility per file (AGENTS.md ยง1):
//!
//! - [`statement`] โ€” [`SqlStatement`] and the SQL splitter (comments, quotes,
//!   semicolons).
//! - [`finding`] โ€” [`Finding`], [`LintSeverity`], [`LintCategory`],
//!   [`LintReport`].
//! - [`classify`] โ€” [`classify`] / [`classify_statements`], the keyword
//!   analysis that emits findings.
//!
//! `arc db lint` (in `arcature-cli`) feeds SQL into [`classify_statements`]
//! and prints the [`LintReport`] (human or `--json`). The classifier never
//! connects to a database, never reads environment variables, and never
//! panics on hostile input. The shadow-DB `diff`/`drift`/`verify` paths
//! (PROGRAM.md AP2.1-6) are deferred to a later wave and would feed *rendered*
//! SQL into this same classifier.

mod classify;
mod finding;
mod statement;

pub use classify::{classify, classify_statements};
pub use finding::{Finding, LintCategory, LintReport, LintSeverity};
pub use statement::SqlStatement;