Storage Engine
- Header: magic ("Aing"), version, 16‑byte salt, KDF kind, cipher.
- Encryption: configurable cipher (
aes-256-gcm,chacha20-poly1305,xchacha20-poly1305) and KDF (scryptorargon2id). Providepassphraseto enable at rest encryption. - Indexes: vector (HNSW), full‑text (FTS), and spatial (R‑Tree) registries auto‑maintain on
insert/delete. - Compaction:
db.compact()rewrites a checkpoint and prunes WAL. - TTL: rows expire when the configured
ttl.columnevaluates to a past time.
