//! Chanora PoC — secure storage spike.
//!
//! Authority:
//!   * `docs/architecture/proof-of-concept-plan.md` §2 — Secure storage spike.
//!   * `docs/security/secure-storage-audit-report.md` — audit checks
//!     SS-AUD-001..008 and test cases SS-TC-001..005.
//!   * `docs/architecture/sysdes.md` ADR-006 — "SecureStore trait and
//!     per-platform adapters".
//!   * SRS-091..095, SysRS-158..162.
//!
//! This crate models the production shape, in miniature:
//!
//!   ┌─────────────────────────┐   ┌─────────────────────────────────┐
//!   │ LocalDatabaseRepository │   │ SecretStorageRepository (trait) │
//!   │  (rusqlite, non-secret) │   │   ── per-platform adapters ──    │
//!   └─────────────────────────┘   └─────────────────────────────────┘
//!         SRS-089 / SDD-077              SRS-092 / SDD-078 / ADR-006
//!
//! Scope: Linux adapter only (Secret Service via the `keyring` crate).
//! Other platforms (Windows DPAPI, macOS/iOS Keychain, Android Keystore)
//! are out of scope here and live in their own spikes/adapters.

pub mod secret;
pub mod sqlite_repo;
pub mod test_logger;

pub use secret::{SecretStorageRepository, SecureStoreError};
pub use sqlite_repo::LocalDatabaseRepository;
