| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deleting a remote's session on claude.ai leaves the remote a link to it
(bridge-pointer.json), which it then can't resume (404). reset NAME
forgets the session: moves the link aside (bridge-pointer.json.old), and
the remote starts with a new one, stopped and started again if it runs.
remove NAME retires a remote: stops it, and moves its directory and
Claude Code project to ~claude/remotes/.removed/NAME-DATE, worktrees in
it repaired; its branches and trust stay; not for static ones. Then
the old session and environment can go, on claude.ai. Both ask first
(y/N), but with -f, as root, not from the remote itself, all or nothing
like rename, whose take-back they share (its messages generalized).
.removed is not worth a backup: in the rsync filter.
|
|
|
rsync filter rules for /home/ of a guest with configs/claude.nix: a
blacklist of scratch (the remotes' tmp, never backed up, and src/tmp,
for repositories not worth a backup, like third parties', symlinked
from src), the claude.ai login (a secret; claude auth login again after
a restore), and what's rebuildable, transient, or synced again from the
account (caches, the crates cargo fetched, Claude Code's sessions,
snapshots, plugins). What remains: the repositories (uncommitted files,
branches only there), the remotes' directories, transcripts, memory,
links to claude.ai sessions, uploads, trust and settings, and the
remotes started with claude-remote. With how to use it, and how to
restore.
|