Skip to main content
A mount path is ephemeral. Server autosaves and permanent snapshots are the durable state behind it. A writable session also owns a local crash-safe journal, so the same machine can recover changes that had not reached the server when the mount stopped. Use these commands, or their SDK equivalents, to inspect a session, resume it, browse its history, get back to an earlier snapshot’s contents, or delete a file system.

Check Status

With unsaved changes, status lists dirty paths:
Two more lines appear as a session ages:
  • retained: counts files already published and kept locally as the byte cache. They are durable; the local copies only make reads and future autosaves fast.
  • ignored: counts local-only files that never enter an autosave or snapshot (build output and the like, per the file system’s ignore rules).
Add --json for machine-readable output; the SDK’s MountStatus.raw carries the same structured payload.

Browse History

Autosaves provide a recent recovery window. Create a permanent, billed snapshot as part of the changed generation you need to keep:
Permanent snapshots are exempt from automatic retention. Snapshotting a clean mount promotes its current automatic save to permanent retention in place, without uploading file bytes or creating a duplicate content version. It is a quiet no-op only when the current save is already permanent. Drop a permanent snapshot you no longer need with tl fs delete-snapshot agent-scratch <snapshot-id>.

List Sessions

tl fs ls with no argument lists your file systems.

Resume a Session

Unmounting keeps the session by default:
Remounting the file system on a machine that has a detached session resumes that session, unsaved local changes included. The new mount path can be different:

Discard Local Changes

Throw away unsaved changes (and ignored files under the mount) with the mount:
Everything already published is untouched: autosave checkpoints and snapshots are immutable.

Access Historical State

Autosave checkpoints and permanent snapshots are immutable, and the shared timeline only moves forward — there is no in-place restore. To get back to an earlier state, fork the file system at that snapshot. A fork is metadata-only: the server shares the immutable content and publishes only metadata, so no file bytes are copied.
Mount the fork (or mount it read_only into sandboxes) to work from the historical state. You can fork at the live head or at any retained point — a permanent snapshot, or an autosave still inside the retention window. To read individual files at a historical point without mounting anything, pass the snapshot to the SDK’s read APIs:

Inspect a Session

If a session’s local state is ever inconsistent (a hard sandbox kill mid-write, an interrupted resume), tl fs doctor inspects the crash-safe local session state and reports problems:
Doctor only reads local session state; durable history is never touched.

Delete a File System

Pass -f to skip the confirmation; the SDK clients delete without prompting. Deletion removes the file system, its history, and its sessions.