lore-forge/desktop/lore-sys/examples
Peterino 0e8e4a601a Add file locking, autosync and notifications to the desktop client
Desktop milestone 3, protocol v3.

- lore-sys: lock acquire, release and status, and notification
  subscribe/unsubscribe, with their events.
- Service: locks, lock, unlock (with force) and workspace_settings
  methods; locks and notice events; error -32006 for files someone
  else holds. SUBMIT refuses those files and releases your locks on
  what it pushed unless keep_locks is set.
- Service policies: a file watcher rescans after edits, warns once per
  edited file someone else has locked, and with lock_on_edit locks
  newly modified binary files (NUL in the first 8 KB, or the binary/
  text extension lists). One notification subscription per repository
  keeps locks current and marks the workspace behind on pushes.
- Autosync (off, interval, on_change) only pulls. It holds back when
  local edits overlap remote changes, keeps them, and sets a warning.
- GUI: LOCK/UNLOCK in FILES with multi-select, LOCKED BY and LOCK in
  CHANGES with KEEP LOCKS, a LOCKS tab with UNLOCK and FORCE UNLOCK,
  the AUTO popup, notices under the header and in the tray tooltip.
  --test goes on when its warm-up sync is refused; --tab locks.
- e2e: bob gets writer access and a CLI working copy to check locks,
  lock on edit and autosync between two users.
- Docs: verified lock and notification behaviour of liblore v0.14.0,
  the protocol v3 tables, autosync, and the milestone status.
2026-11-26 12:07:40 -07:00
..
probe.rs Add file locking, autosync and notifications to the desktop client 2026-11-26 12:07:40 -07:00