-
Notifications
You must be signed in to change notification settings - Fork 0
Workspace Snapshots and Restore
Abhiyan Dhakal edited this page Mar 29, 2026
·
1 revision
admux save writes two kinds of workspace state:
-
admux.tomlfor shareable structure -
.admux/snapshot.jsonfor local best-effort restore
- session, window, and pane layout
- active window and active panes
- pane cwd and command argv
- recent terminal state and bounded scrollback tail
When no live workspace exists, admux up can:
- rebuild the structure from
admux.toml - seed panes from
.admux/snapshot.json - rerun the saved pane commands
This is best-effort restore. It is meant to bring terminal context back quickly, not to checkpoint and resume process memory exactly.
admux up --rebuild ignores .admux/snapshot.json and rebuilds from admux.toml only.
admux save also writes:
.admux/.gitignore
That keeps the snapshot sidecar local by default while allowing admux.toml to remain the shared source of truth.