1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Durable store layer.
//!
//! This module provides the high-level persistent memory engine used by both
//! library consumers and the CLI.
//!
//! Responsibilities:
//!
//! - own the in-memory map
//! - coordinate persistence to disk
//! - apply locking semantics
//! - expose typed CRUD operations
//! - keep runtime configuration attached to the store
//! - hide lower-level file format details behind stable APIs
//!
//! The store layer is intentionally separated from `core`:
//!
//! - `core` = pure logic, validation, map internals
//! - `store` = stateful runtime engine + persistence boundaries
/// Primary high-level store type.
///
/// Re-exported so callers can use:
///
/// ```rust,no_run
/// use agentmem::Store;
/// ```
pub use Store;
/// Store metadata and statistics.
pub use ;
/// File lock guard used internally and optionally surfaced later.
pub use StoreLock;
/// Persistence helpers and on-disk representations.
///
/// Re-exported selectively for testing and controlled advanced use.
pub use ;
/// Current storage format version.
pub use STORE_FORMAT_VERSION;