feat(daemon): move repos deleted on their forge to Purged/

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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-11-16 22:22:31 +01:00
1 parent 9340a436d5
commit d1d1fa29f3
5 files changed
+574 -1

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ pub mod activity;
pub mod daemon;
pub mod discover;
pub mod ipc;
pub mod purge;
#[cfg(test)]
#[path = "../../../test-support/tmp.rs"]
mod test_tmp;