- Prune a worktree whose pushed tip a merge commit brought into the default
branch (not on its first-parent history), with no forge needed.
- Never prune or keep from materializing main/master/development/... plus
sync.prune_protected; this also stops a development->main PR pruning
development.
- Follow repos transferred or renamed on the forge when listing merged PRs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The daemon asks the forge (GitHub, Gitea/Forgejo) which pull requests were
merged and removes the local worktree and branch of each merged head that
holds no local work. Squash/rebase merges and head branches kept on the
forge are covered; regenerable ignored output (target/, node_modules...)
does not keep a worktree, any other ignored file does. The tip is kept in a
refs/sync-backup/<machine>/<stamp>/merged/<branch> ref, and materialize no
longer brings a pruned branch back unless it gets new commits.
New config: sync.prune_merged (default true) and sync.prune_disposable.
See docs/prune-merged.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GZUAKXXztS4Hy4F4sSRkc
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>
`grove add` repoints an origin that is a Gitea/GitHub pull mirror to the
mirror's writable source (on a configured provider) and fetches it;
`grove import` clones the source instead of the mirror, keeping the
mirror's name and refusing a visibility mismatch.
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>
- Migrate / Migrate all with confirmation, sequential runs, per-repo results
- bridge: allow 'add' only for dirs directly under a group
- log panics, exit reasons and daemon/tray events to <state>/grove-gui.log
- restart the tray service if its D-Bus connection ends
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>