4 Commits (1455859825e0c465d8d675b8741147f80f30c311)

Author SHA1 Message Date
Elijah Voigt cf1bc9d8a8 feat(db): implement database & caching layer [claudbg-goc1, claudbg-umrv, claudbg-hskl, claudbg-edmr]
- src/db/connection.rs: DbHandle type alias (Arc<libsql::Database>), open_db(), default_db_path()
- src/db/schema.rs: run_migrations() creating sessions, messages, tool_uses, raw_sessions tables
- src/db/sync.rs: ensure_synced() and force_resync() with lazy mtime/size-based staleness check
- Cargo.toml: add tempfile dev-dependency for tests
- Fix: scope read connection before write to avoid SQLite locked error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
Elijah Voigt 63e1f34778 fix: add explicit [lib]/[[bin]] sections to Cargo.toml for rust-analyzer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
Elijah Voigt 3b62deb617 feat(wave1): Add Cargo.toml dependencies + create src/lib.rs scaffold [claudbg-yugb]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
Elijah Voigt c85e353c70 Initial project scaffold
- flake.nix: Nix flake with crane-based Rust builds, rust-overlay for a
  pinned stable toolchain (with rust-analyzer, clippy, rust-src), and a
  devShell stocked with cargo-watch, cargo-edit, cargo-nextest, and beans
- Cargo.toml: minimal package manifest targeting Rust edition 2024
- Cargo.lock: generated lockfile
- src/main.rs: placeholder main entry point
- flake.lock: pinned flake input revisions
- .gitignore, .envrc, .beans.yml, .claude/settings.json: project tooling config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago