//! Svault — an AI-aware secret access layer.
//!
//! The crate is organized into a reusable [`core`] and a set of frontends that
//! drive it:
//!
//! - [`core`] — crypto, vault storage, the policy engine, the AI judge, and
//! supporting primitives. Frontend-agnostic.
//! - [`daemon`] — the Unix unlock daemon and its client.
//! - [`tui`] — the interactive terminal UI.
//! - [`cli`] — the `svault` command-line interface (entry point: [`cli::run`]).
//! - [`mcp`] — the local Model Context Protocol server (`svault mcp`), a stdio
//! JSON-RPC frontend that exposes gated secret access to AI agents.
//! - [`gui`] — placeholder for a future graphical frontend.
//!
//! The `svault` binary ([`main`](../main/index.html)) is a thin wrapper over
//! [`cli::run`]. Each frontend reuses [`core`] without touching the others.
//!
//! Note: the [`core`] module deliberately shadows the std `core` crate; the
//! source uses `std` throughout, so this is safe. Reach the std crate with
//! `::core` if ever needed.