When a fetch fails with a not-found error, the daemon asks the forge:
a 404 for a repo owned by the token's account (or an `owners` org),
with a working token, still confirmed 10 min later, moves the repo to
root/<sync.purged_dir>/<group>/<repo> (default "Purged"), where it is
no longer synced. Never deleted; worktree links repaired; skipped while
busy or with a git operation in progress.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The daemon inherited the desktop session's SSH_ASKPASS (ksshaskpass), so
an ssh passphrase/host-key prompt opened a dialog nobody answered, and
git had no time limit: the single sync loop stalled for 1.5 h and repos
migrated meanwhile were never picked up.
- groved sets a non-interactive git env (no terminal/askpass prompts,
HTTP low-speed abort) and leaves the ssh command to the user/repo.
- Git calls get an optional wall-clock limit (daemon: 900 s); on expiry
the whole process group (git, ssh, helpers) is killed.
- Secret Service lookups time out like the forge CLIs (locked keyring).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- daemon status reports stalled repos; GUI shows them with the backup hint
- activity: repo_stalled is a warning; repo_added/removed shown
- migrate rows keep their result only until the next status refresh
- import removes a failed clone's directory only if it created it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add a .grove-busy marker held by migrate and clone/init, treat a repo as
ready only with .bare/HEAD and no marker or .grove-stage, warn once on stale
markers. Also re-watch recreated dirs by inode, watch shallow dirs before
discovery, and retry failed watches with a rate-limited log.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Watch the root, group dirs and unmanaged children for layout changes,
debounce, then re-run discovery and diff. Drop repos that vanish without
errors, and re-run discovery on every full pass as a safety net.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Idle paused loop no longer spins, local snapshots continue during network
backoff, debounce has a maximum wait, sync accepts non-canonical paths, removed
repos are dropped, socket dir mode is enforced. adopt_if_identical now skips
worktrees with staged changes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Debounced per-repo passes, periodic full pass, exponential backoff, pause and
resume, JSON protocol over a Unix socket, activity log, grove daemon CLI client
and a systemd user unit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>