Skip to main content

oxicode/store/
mod.rs

1//! oxicode-cli's self-contained domain types and adapters.
2//!
3//! Previously lived in a separate `oxicode-store` crate. After the
4//! port-based refactor, all of oxicode-cli's storage-adjacent code lives
5//! here in a single module. The `oxicode-sdk` port traits
6//! (`oxicode_sdk::ports::*`) are the persistence contract; this module
7//! holds concrete types and file-based adapters.
8//! # Removed during legacy cleanup
9//!
10//! - `auth_guidance`, `settings_validation`, `session_navigation`,
11//!   `model_resolver`, `model_registry` โ€” absorbed from the old
12//!   `oxicode-store` crate with zero importers.
13//! - `memory_mnemopi`, `memory_sqlite`, `memory_summary`, `memory_workers`,
14//!   `mnemopi`, `extracting_backend` โ€” the pre-Foundation local durable
15//!   memory stack. Under the Oxi Foundation v1 host the oxibrain daemon is
16//!   the only durable-memory authority (Foundation plan ยง5); the legacy
17//!   stores kept compiling through the migration window and were removed
18//!   with the `oxicode-mnemopi` crate. `oxicode migrate brain` reads the
19//!   legacy JSONL directly (foundation::migrate) and needs none of them.
20
21pub mod access_compat;
22pub mod auth_storage;
23pub mod fs_util;
24pub mod hook_approval;
25pub mod router_config;
26pub mod session;
27pub mod session_cwd;
28pub mod settings;
29pub mod todo_state;