Commit Graph
84 Commits
Author SHA1 Message Date
dasemuandClaude Opus 5.5 7f337d5261 feat(gui): About view with Slint attribution
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>
2026-11-16 19:41:56 +01:00
dasemu 37cd4e9931 Merge pull request 'test: clean up temp dirs and spawned daemons' (#8) from fix/test-tmp-cleanup into development 2026-11-16 18:28:53 +00:00
dasemuandClaude Sonnet 5.5 a5716e63a7 docs: add lesson on cleaning test temp dirs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:28:03 +01:00
dasemuandClaude Sonnet 5.5 dd4cea48d0 test: clean temp dirs and spawned daemons in all crates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:26:23 +01:00
dasemuandClaude Sonnet 5.5 00226b4178 test(core): remove temp dirs after tests via shared RAII helper
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:23:09 +01:00
dasemu 09fbf79e87 Merge pull request 'feat(gui): native Slint desktop app with tray; faster import, SSH protocol' (#7) from feat/native-gui into development 2026-11-16 18:18:54 +00:00
dasemuandClaude Opus 5.5 430e25c31d fix(gui): treat a reset connection to the instance socket as stale
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>
2026-11-16 19:18:24 +01:00
dasemuandClaude Sonnet 5.5 04750532f2 fix(daemon): treat a repo whose directory vanishes mid-pass as removed, without error logs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:04:24 +01:00
dasemuandClaude Sonnet 5.5 3cba9784a3 fix: import/bootstrap hardening, canonical registry URLs, GUI canonical add path
- plain clones count as present; import refuses non-empty targets
- registry stores canonical https URLs; bootstrap matches provider by host
- clone URLs and repo names validated; GitHub link-style pagination
- bridge passes the canonical path to grove add; fix flaky instance test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:58:28 +01:00
dasemuandClaude Sonnet 5.5 fdc5a8f5a6 fix(core): clone rolls back what it created and refuses a non-empty directory
- 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>
2026-11-16 18:54:12 +01:00
dasemuandClaude Sonnet 5.5 f1509c3d65 fix(providers): pagination, owner listing fallback, URL and name validation
- 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>
2026-11-16 18:53:10 +01:00
dasemuandClaude Sonnet 5.5 b875a41b4d feat(gui): stalled repos, runtime not-migrated rows, safer import cleanup
- 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>
2026-11-16 18:47:38 +01:00
dasemu 01c4974c07 Merge remote-tracking branch 'origin/development' into feat/native-gui 2026-11-16 18:46:22 +01:00
dasemu 8b39ded607 Merge pull request 'fix(daemon): rediscover repos at runtime and skip half-built repos' (#6) from fix/daemon-rediscovery into development 2026-11-16 17:18:50 +00:00
dasemuandClaude Sonnet 5.5 a99f28b07e docs: document busy marker, readiness and inotify limits
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:17:42 +01:00
dasemuandClaude Sonnet 5.5 e2abeed414 fix(daemon): leave repos alone while grove add or clone is still building them
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>
2026-11-16 18:17:42 +01:00
dasemuandClaude Sonnet 5.5 ec6a3a04f3 feat(gui): migrate clones from the GUI; diagnostics log and tray restart
- 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>
2026-11-16 18:15:36 +01:00
dasemuandClaude Sonnet 5.5 3784e1533b docs: describe runtime rediscovery in the daemon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:13:22 +01:00
dasemuandClaude Sonnet 5.5 9b5e5d5367 fix(daemon): rediscover managed repos at runtime
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>
2026-11-16 18:13:22 +01:00
dasemuandClaude Sonnet 5.5 28e07aab56 feat: owner-scoped import listing, ssh protocol, robust import
- providers: list_owner_repos (org/user endpoints), ssh_url, Send+Sync
- import: parallel sides, case-insensitive/origin-based presence check,
  continue after failed clones and report them
- config: per-provider protocol (https|ssh); GUI settings, onboarding
- gui: import scan on its own thread, per-group cache, Rescan, failures

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:09:34 +01:00
dasemuandClaude Sonnet 5.5 5aeb7b2077 perf(gui): cut hidden CPU with a busy daemon
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>
2026-11-16 17:54:57 +01:00
dasemu 072c3873d3 Merge pull request 'feat: linked-worktree migration, daemon scope and snapshot privacy' (#5) from feat/daemon-scope into development 2026-11-16 16:52:10 +00:00
dasemuandClaude Sonnet 5.5 7ccc8a497a docs: phase 7 autostart and onboarding notes, annotate Tauri line in phase 5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 e65bd5c24e fix(gui): keep branch name while typing, per-worktree busy state, onboarding that survives init, stale resolve output, ahead/behinddirty as attention
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>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 82c89cad1f feat(gui): opt-in start at login; deb ships the autostart file under /usr/share/grove and recommends libnotify-bin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 f8c191e9a0 fix(gui): single-instance socket never evicts a live instance and lives in a private dir
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 053f5ef97e docs: phase 7 daemon scope, snapshot policy and window raising
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:36:06 +01:00
dasemuandClaude Sonnet 5.5 e3a16a494c feat(gui): show snapshot policy, withheld snapshots and not-migrated clones; raise visible window
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:36:06 +01:00
dasemu 23b7970644 Merge remote-tracking branch 'origin/feat/daemon-scope' into feat/native-gui 2026-11-16 17:30:56 +01:00
dasemuandClaude Sonnet 5.5 9b16e0b2cc docs: phase 7 native GUI, mark phase 3 superseded, update CLAUDE.md and LESSONS.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:52 +01:00
dasemuandClaude Sonnet 5.5 67b4f9e5d4 build: package grove-gui, desktop files and icon in the deb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:52 +01:00
dasemuandClaude Sonnet 5.5 951e3d844e chore: remove the HTML/JS frontend and the Tauri shell
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:52 +01:00
dasemuandClaude Sonnet 5.5 fe2999d5b0 feat(gui): native Slint GUI with ksni tray, replacing grove-bridge
Folds the bridge library into grove-gui (src/bridge.rs) and drops the HTTP server.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:52 +01:00
dasemuandClaude Sonnet 5.5 b8e9b5b170 docs: purge procedure, cache key and ssh-port residual risk
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:40 +01:00
dasemuandClaude Sonnet 5.5 ff70b74353 fix(daemon): short TTL for absent answers, provider URL in the cache key
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:40 +01:00
dasemuandClaude Sonnet 5.5 bdf0219842 fix(core): purge own snapshot refs on every push URL incl. remote-only ones; LC_ALL=C and no submodule recursion on pushes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:40 +01:00
dasemuandClaude Sonnet 5.5 2b8a8c498d fix(providers): GitHub reply without visibility is unknown
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:40 +01:00
dasemuandClaude Sonnet 5.5 8bcdcd5771 Merge branch 'feat/migrate-linked-worktrees' into feat/daemon-scope
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:22:15 +01:00
dasemuandClaude Sonnet 5.5 babf1f50fe docs: snapshot gate details, residual risk, group-name breaking change
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:21:42 +01:00
dasemuandClaude Sonnet 5.5 a15a4170b9 fix(cli): grove sync honours group auto_materialize and documents ignoring the snapshot policy
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:21:42 +01:00
dasemuandClaude Sonnet 5.5 9d1a743073 fix(daemon): gate snapshots on every push URL and mirror target, shorter private TTL, purge on withhold, offline uses last verdict
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:21:42 +01:00
dasemuandClaude Sonnet 5.5 30c84aef2f feat(core): purge_own_snapshots deletes this machine's snapshot refs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:21:42 +01:00
dasemuandClaude Sonnet 5.5 15cd03aedf fix(providers): GitHub internal repos are not private
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:21:42 +01:00
dasemuandClaude Sonnet 5.5 a9f8fe4a50 fix(migrate): refuse linked-worktree submodules and relative worktree links
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>
2026-11-16 17:15:48 +01:00
dasemuandClaude Sonnet 5.5 5184cc9a95 docs: daemon scope, snapshot privacy and per-group auto_materialize
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:14:29 +01:00
dasemuandClaude Sonnet 5.5 9e69b60e89 feat(daemon): manage only bare-layout repos in configured groups, gate snapshots by visibility
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:14:29 +01:00
dasemuandClaude Sonnet 5.5 990f155f65 feat(core): snapshots policy in config and push_snapshots sync option
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:14:29 +01:00
dasemuandClaude Sonnet 5.5 fc309f9b18 feat(providers): get_repo to read one repo's visibility
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:14:29 +01:00
dasemuandClaude Sonnet 5.5 65bd95f1f7 docs: describe linked worktree migration and sync behaviour
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:08:52 +01:00
dasemuandClaude Sonnet 5.5 022c5325c9 fix(sync): never archive or rediscover worktrees outside the layout
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:08:52 +01:00