8 Commits
Author SHA1 Message Date
dasemuandClaude Opus 5.5 51450ffa5e fix(daemon): dispatch due repos longest-waiting first
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>
2026-11-17 17:03:51 +01:00
dasemuandClaude Opus 5.5 f16438fa02 feat(daemon): run sync passes on a worker pool
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>
2026-11-17 16:02:41 +01: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 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 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 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 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