On Plasma Wayland an autostarted grove-gui could end up with a task bar
entry that shows nothing (window mapped while the compositor starts).
- A --hidden start waits for the StatusNotifier watcher instead of opening
the window when the tray is not up yet (ksni assume_sni_available)
- Show requests from other launches in the first 20 s after a --hidden start
(session restore) are ignored and logged
- Every window show is logged with its reason; the session type at start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GZUAGhGYoiLvmfXweQnDY
Desktop sessions (KDE Plasma on Fedora) often lack ~/.local/bin in PATH, so
Exec=grove-gui never started a source install from the menu or at login.
The Start-at-login toggle now writes the running binary's absolute path, and
the README documents a source install whose menu entry does the same.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- grove group add|remove|list and grove provider add|remove|list edit
config.toml (validated first, previous file kept as config.toml.bak)
- grove open [group/]repo[@branch] launches Zed, VS Code, Claude Code (in a
terminal) or Claude Desktop; [open] config for defaults, terminal and own
launchers; grove new --open
- GUI: provider/namespace forms and removal in Settings, Open buttons on
repos and worktrees, open-after-create on New repository
- docs/phase8.md, DECISIONS 10-11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GZUAGhGYoiLvmfXweQnDY
A whole ignored directory (e.g. .claude/) made every incoming file under it a
'would overwrite ignored local files' conflict, even when the file did not
exist locally, so such branches never fast-forwarded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the worker pool, a full pass every fetch_interval_s re-marked every repo
due 'now' and dispatch went by path, so when a cycle took longer than the
interval the repos late in the alphabet never got a pass (52 of 80 on a real
machine). Keep the earlier due time and dispatch by it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A gap of more than 20 min between two confirmations reset the wait, but a
cycle over ~80 repos took ~25 min, so no deletion was ever confirmed.
Only a gap over 6 h starts over now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The loop thread schedules and sync.workers threads (default 4) run passes,
so a slow or hanging fetch no longer holds up every other repo. A repo never
has two passes at once; passes go only to idle workers, so pause and backoff
behave as before. Visibility and merged-PR caches are shared without holding
locks across forge requests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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
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>
`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>
Adds an About view (sidebar) showing the Grove version, its MIT licence
and the AboutSlint widget, which satisfies the attribution clause of the
Slint Royalty-free Desktop, Mobile, and Web Applications License 2.0.
Documents the licence choice in README and docs/phase7.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under load, connecting to a socket file whose listener is gone can fail
with ECONNRESET instead of ECONNREFUSED; both mean no live instance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- failure after the clone step removes the .bare and worktree dirs it made
- a directory it created is removed once the busy marker is gone
- if cleanup fails, .grove-stage makes the daemon report the repo as stalled
- git clone gets -- before url and path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- pages stop on total/Link/empty page, not on a short page
- GitHub/Gitea owner listing falls back to /user/repos (collaborator repos) and says so
- url module: plain repo names, https/ssh/scp URLs on the provider host, canonical https
Co-Authored-By: Claude Sonnet 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>
- 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>
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>
Coalesce daemon events to one status refresh per 10 s while hidden (1 s
visible), skip log/config reads and the UI-thread hand-off while hidden,
and render tray pixmaps once per state.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Also: reject unknown resolve modes, compute the UTC offset once, notify-send --, serve the instance socket before the window exists.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolve the new worktree's gitdir pointer relative to its own dir, and
mention link repair in the interrupted-migration message.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>