Commit Graph
75 Commits
Author SHA1 Message Date
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
dasemuandClaude Sonnet 5.5 d1c0ddb5dc feat(cli): list linked worktrees after grove add
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:08:52 +01:00
dasemuandClaude Sonnet 5.5 39ab3cde1a feat(migrate): support repos with linked worktrees
Nested ones move with the checkout, outside ones stay; link files are
rewritten, backed up and restored on rollback. Locked, prunable and
mid-operation linked worktrees are refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:07:30 +01:00
dasemu 0884d556ce Merge pull request 'feat: per-group routing by visibility, repo owners and tea/gh tokens' (#4) from feat/routing-owners-cli-tokens into development
Reviewed-on: #4
2026-11-16 15:56:17 +00:00
dasemuandClaude Opus 5.5 b4bc604c8e docs: phase 6 (routing, owners, CLI tokens)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:54:07 +01:00
dasemuandClaude Opus 5.5 ed07c0a081 feat: per-group routing by visibility and repo owners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:54:07 +01:00
dasemuandClaude Opus 5.5 e2631e7ab7 feat(providers): pull mirrors on Gitea and tea/gh token fallback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:54:07 +01:00
dasemu 251bfe3685 Merge pull request 'feat: phases 3-5 (providers, secrets, resolve, GUI, packaging)' (#3) from feat/providers into development
Reviewed-on: #3
2026-11-16 13:19:25 +00:00
dasemu 6176417aab Merge pull request 'feat(daemon): Phase 2 groved with inotify, scheduler and IPC' (#2) from feat/daemon into development
Reviewed-on: #2
2026-11-16 13:18:59 +00:00
dasemuandClaude Sonnet 5.5 fcc0ea1f12 chore: .deb packaging, phase 3/5 docs, lessons, env example
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:39:01 +01:00