mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-27 07:46:13 +00:00
docs: document phase 2 daemon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
41ef589e58
commit
3f5ef28503
2 files changed
+93
-3
No files matched your search
@@ -4,21 +4,22 @@
|
||||
Linux tool that keeps chosen git repos continuously in sync across machines, including
|
||||
uncommitted work, via snapshot refs (`refs/sync/<machine>/<branch>`) on a primary remote.
|
||||
Planned as a Rust workspace (core, providers, daemon, CLI, Tauri GUI). Currently in
|
||||
**Phase 0 done, Phase 1 implemented and validated against the real Gitea with two simulated machines (real two-PC run still pending)**: `grove-core` + `grove` CLI (`status`, `snapshot`, `add`, `sync`, `doctor`); daemon, GUI and providers do not exist yet. Do not start a
|
||||
**Phase 0 done, Phase 1 implemented and validated against the real Gitea with two simulated machines (real two-PC run still pending)**: `grove-core` + `grove` CLI (`status`, `snapshot`, `add`, `sync`, `doctor`); daemon (`groved`, Phase 2) implemented (not yet run on the real two PCs); GUI and providers do not exist yet. Do not start a
|
||||
new phase before its predecessor's results are written to `docs/`.
|
||||
|
||||
## Commands
|
||||
- Check shell scripts: `for f in spikes/*.sh; do bash -n "$f"; done`
|
||||
- Throwaway Forgejo (dev only, Podman): `spikes/forgejo-up.sh`, then `spikes/phase0.sh`
|
||||
- Rust: `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings`, `cargo test`
|
||||
- Daemon: `cargo run -p grove-daemon --bin groved -- --config PATH`; client `grove daemon status`
|
||||
|
||||
## Architecture
|
||||
See `docs/` (`phase0-spike.md`, `phase1.md`, `DECISIONS.md`). Git is the storage layer; shell out to
|
||||
See `docs/` (`phase0-spike.md`, `phase1.md`, `phase2.md`, `DECISIONS.md`). Git is the storage layer; shell out to
|
||||
system `git`; snapshots use a temp `GIT_INDEX_FILE` + `commit-tree`, never touching the
|
||||
user's branch or index.
|
||||
|
||||
## Conventions
|
||||
- Dependencies: serde+toml (config), clap+anyhow (CLI), approved. Ask before adding more.
|
||||
- Dependencies: serde+toml (config), clap+anyhow (CLI), notify+serde_json (daemon), approved. Ask before adding more.
|
||||
- Everything in the repo is English. Open questions go to `docs/DECISIONS.md`.
|
||||
- Never destroy local work; divergence is surfaced, never auto-merged.
|
||||
|
||||
|
||||
Reference in new issue
Block a user