Milestone 1: sync engine and lunesync CLI

Rust workspace with core (watch, settle, save, sync over a plain Git
remote, keep-both on same-line edits, offline queueing, tidy) and the
lunesync CLI (device, add, run, service, status, checkpoint, tidy,
history). Tests cover byte-exact round trips, keep-both, offline
catch-up and adopting an existing vault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 23:11:24 +07:00
commit 25b8be5bbd
18 changed files with 3601 additions and 0 deletions

11
core/src/lib.rs Normal file
View File

@@ -0,0 +1,11 @@
//! Lune's sync engine: keeps every copy of a vault current through a plain Git remote.
pub use git2;
pub mod config;
pub mod names;
pub mod remote;
pub mod runner;
pub mod state;
pub mod tidy;
pub mod vault;