Commit Graph
56 Commits
Author SHA1 Message Date
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 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
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 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
dasemuandClaude Sonnet 5.5 8e118c90ba feat(gui): Tauri v2 shell with tray (not yet compiled)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:39:01 +01:00
dasemuandClaude Sonnet 5.5 2d71d9d413 feat(gui): plain HTML/JS frontend (repos, detail, resolve, activity, wizards, settings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:39:01 +01:00
dasemuandClaude Sonnet 5.5 503d615951 feat(bridge): localhost HTTP bridge with strict arg validation and host/origin checks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:39:01 +01:00
dasemuandClaude Sonnet 5.5 6377c02fec feat(daemon): report worktree path in status JSON
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:39:01 +01:00
dasemuandClaude Sonnet 5.5 9572da6763 feat: age-encrypted secrets channel (init, push, pull, rekey)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:27:31 +01:00
dasemuandClaude Sonnet 5.5 398b959ffe feat: resolve diverged worktrees, status --plan, snapshot size limit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:25:22 +01:00
dasemuandClaude Sonnet 5.5 b86342b1d0 feat: provider wizards (init, login, new, import, config repo, bootstrap)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:23:10 +01:00
dasemuandClaude Sonnet 5.5 e599d48db8 feat(providers): Gitea/Forgejo and GitHub clients, token storage
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:19:33 +01:00
dasemuandClaude Sonnet 5.5 0e77dd26d9 fix(daemon): address review findings
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>
2026-11-16 13:05:38 +01:00
dasemuandClaude Sonnet 5.5 3f5ef28503 docs: document phase 2 daemon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:01:30 +01:00
dasemuandClaude Sonnet 5.5 41ef589e58 feat(daemon): add groved with inotify watching, scheduler and IPC
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>
2026-11-16 13:01:30 +01:00
dasemuandClaude Sonnet 5.5 a631d0a90f fix(core): adopt upstream when a dirty worktree is identical to it
A worktree with another machine's snapshot applied stayed BehindDirty forever
after the author committed and pushed that work. When the worktree content is
byte-identical to the upstream tree, a mixed reset moves the branch without
touching any file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:01:30 +01:00
dasemu f762d02c99 Merge pull request 'feat: Phase 1 core + CLI (snapshots, add, sync, doctor)' (#1) from feat/core-snapshot into development
Reviewed-on: #1
2026-11-16 11:55:18 +00:00
dasemuandClaude Sonnet 5.5 15df527064 docs: record phase 1 validation on the real Gitea
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:53:38 +01:00
dasemuandClaude Sonnet 5.5 c935d779e1 chore: rename project to grove and add MIT license
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:52:25 +01:00
dasemuandClaude Sonnet 5.5 126acb4b57 fix(core): protect ignored files and fix backup ref namespaces
Archive no longer deletes worktrees holding ignored files, fast-forward and
snapshot apply decline instead of overwriting ignored files, backup refs use
per-kind namespaces, add refuses sparse checkouts. Regression tests and docs
updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:12:46 +01:00
dasemuandClaude Sonnet 5.5 938604193e docs: document phase 1 design, decisions and lessons
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:07:26 +01:00
dasemuandClaude Sonnet 5.5 81d8142c57 feat: add sync orchestrator and CLI add/sync/doctor
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:07:09 +01:00
dasemuandClaude Sonnet 5.5 e731c691f8 feat(core): add receive logic, foreign snapshot apply, materialize and archive
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:05:56 +01:00