SQLite bootstrap, migrations, repository wiring, bootstrap snapshot, filesystem paths, and application runtime composition for Apollo. Use when Codex changes database initialization, schema evolution, repository mappings, `BootstrapSnapshot`, `AppState`, or Tauri startup composition in `src-tauri/src/lib.rs`.
This domain owns how Apollo boots its local runtime, prepares SQLite, runs migrations, exposes bootstrap metadata, and wires concrete repositories and adapters into AppState. Prefer schema-first changes and keep startup composition explicit.
AppState::new composes concrete implementations, but it should not hide schema drift.BootstrapSnapshot and related frontend contracts whenever startup metadata changes.src-tauri/src/lib.rs: logging, plugin wiring, database bootstrap, AppState, then window-specific runtime adjustments.SqliteAppRepository::initialize is the safe entry point for schema readiness.run_migrations is part of the public startup contract; migration names surface in the bootstrap summary.paths.rs, database.rs, and migrations.rs form one concern even though the modules are split.cargo test --manifest-path src-tauri/Cargo.toml persistence_repository.cargo test --manifest-path src-tauri/Cargo.toml.npx vitest run tests/unit/useDesktopCapabilities.spec.ts.references/context.md for the domain map, entry points, and adjacent skills.