agentfs quick <dir> | Init, attach and run in one shot. Project name from the directory's basename. |
agentfs init <name> | Create a project under ~/.agentfs/. |
agentfs mount <name> <dir> | Attach a host directory as the project's read-only lower layer. |
agentfs run <name> -- <cmd> | Run a command inside the sandbox. Defaults to $SHELL. |
agentfs snap <name> [tag] | Snapshot the current layer, optionally under a name. |
agentfs list <name> | Every snapshot and checkpoint, with the current one marked. |
agentfs log <name> | History from the current position back. |
agentfs diff <name> <a> <b> | Path-level diff between two snapshots. |
agentfs restore <name> <ref> | Put the layer back to a snapshot. Append-only: the state you left is still there. |
agentfs undo <name> | One step back, without naming a snapshot. |
agentfs apply <name> | Write the agent's changes into the real directory. The only command that touches it. |
agentfs status [name] | Position, active sandbox, mounts, layer size. |
agentfs gc <name> | Collect snapshots nothing points at any more. |