axiomsync
axiomsync는 AxiomSync의 로컬 런타임과 operator CLI binary를 함께 담는 단일 crate입니다. 이 crate는 URI 모델, rooted filesystem, context.db, 검색 런타임, 세션/OM 메모리, 그리고 release evidence 흐름을 끝까지 소유합니다.
Ownership
axiom://URI model and scope boundaries- rooted local filesystem abstraction
- SQLite persistence in
context.db - persisted search state plus restored in-memory retrieval index
- ingest, replay, reindex, trace, eval, benchmark, and release evidence services
- vendored OM contract and transform engine under
src/om/engine - operator CLI entrypoint under
src/main.rs,src/cli/*,src/commands/*
Lifecycle
AxiomSync::new(root): runtime service graph 구성bootstrap(): scope directories와 기본 인프라 생성prepare_runtime(): bootstrap + tier synthesis + runtime index restoreinitialize(): runtime-ready entrypoint
Important Invariants
- Runtime startup is a hard cutover to
context.db. - Legacy DB discovery and migration are not supported.
- Retrieval backend is
memory_only. queuescope is system-owned for writes.- Filesystem operations enforce rooted path boundaries.
- Runtime DB permissions are hardened to owner-only on Unix.
- External mobile/native consumers should keep host-tool usage explicit.
Module Map
src/client.rs: public facadesrc/client/*: application servicessrc/fs.rs: rooted filesystem rulessrc/state/*: SQLite persistencesrc/retrieval/*: retrieval engine and tracessrc/session/*: session and memory flowssrc/om/*: runtime-facing OM boundary and vendored enginesrc/release_gate/*: executable release contract checks
Features
host-tools: host command execution boundariesmarkdown-preview: markdown to safe HTML transform
Verification