Forks
Copy a drive, or one folder of it, into a sandbox in an instant, work there, see what changed, and apply what you keep.
A fork is a new drive of the same workspace, made from another one (or from one folder of it) without copying any bytes. It shares the original's files, data key and bucket, so forking terabytes takes a moment. Work in it like any drive, through Finder, the CLI, the API or MCP, then list what changed and bring back the parts you want.
Typical uses: give an AI Agent a sandbox to reorganize or retag; cut an alternative version of an episode; try a color pass without touching the delivered files.
side fork create "Film A – color test" --path /Ep01
# …change files, tags, move and delete things in the fork…
side fork changes "Film A – color test"
side fork apply "Film A – color test" --dry-run
side fork apply "Film A – color test" /Ep01/color # only this folder
side fork apply "Film A – color test" --force # overwrite conflicts tooAPI
| To | Call |
|---|---|
| Fork (any member; you may rename or delete the fork) | POST /v1/space/forks with name and optional path |
| A drive's forks | GET /v1/space/forks |
| What changed in a fork | GET /v1/spaces/{fork}/fork/changes |
| Apply changes to the original | POST /v1/spaces/{fork}/fork/apply with optional paths, force, dry_run |
| A fork with its own copy | POST /v1/space/forks with "copy": true and optional storage_id |
| Try a failed copy again | POST /v1/spaces/{fork}/fork/copy/retry |
A fork with its own copy
A fork normally shares the original's bytes for good: it is instant, but it lives in the original's bucket and depends on it. Make it with copy and it becomes independent:
side fork create "Film A archive" --copy # its own copy in the same storage
side fork create "Film A for the client" --copy --storage stg_01… # or in another bucket
side fork list # shows how far the copy isIt is usable at once, sharing the original's files until the copy is done. In the background the server copies every chunk the fork's files use into the fork's own place (the original's storage unless --storage names another, or server for the server's own), then switches the fork over. fork.copy on the drive says copying, done or failed (with the reason; retry with …/fork/copy/retry). After that the fork no longer depends on the original's bucket or on the original being kept, and its stored bytes count toward the workspace's plan like any drive's. It is still a fork: changes can be listed and applied back as before.
Changes and conflicts
Each change is one of added, modified, metadata (same bytes, different sidecars), moved (including renames) and deleted.
A file that also changed in the original after the fork is a conflict, and apply skips it unless you pass force. With force, the fork's version wins and the people whose saves it replaces are notified as usual. Nothing is lost: their versions stay in history.
Applying needs editor rights in the original, and it writes as you, so the journal, webhooks, notifications, sidecar validation and namespace ownership all apply as if you made the changes there.
Forks for Agents
A token limited to some drives may fork them, and the forks it makes are added to its drives automatically. An Agent can open its own sandbox and work there without ever reaching other drives. In the SDKs, side.space(fork) works in the new fork, and side keeps working in the drive it forked.
const sandbox = side.space(await side.fork("Film A – agent", { path: "/Ep01" }));
await sandbox.upload("/notes.md", "# ideas\n");
console.log(await sandbox.forkChanges()); // [{ kind: "added", path: "/notes.md", … }]
await sandbox.applyFork({ dryRun: true });
await sandbox.applyFork(); // conflicts skipped unless { force: true }sandbox = side.space(side.fork("Film A – agent", path="/Ep01"))
sandbox.upload("/notes.md", "# ideas\n")
print(sandbox.fork_changes())
sandbox.apply_fork(dry_run=True)
sandbox.apply_fork()made, err := side.Fork(ctx, "Film A – agent", "/Ep01")
sandbox := side.Space(made.ID)
_, err = sandbox.UploadText(ctx, "/notes.md", "# ideas\n", nil)
changes, err := sandbox.ForkChanges(ctx)
applied, err := sandbox.ApplyFork(ctx, &sidespace.ApplyOptions{DryRun: true})let made = side.fork("Film A – agent", "/Ep01").await?;
let sandbox = side.space(&made.id);
sandbox.upload_text("/notes.md", "# ideas\n", &Default::default()).await?;
let changes = sandbox.fork_changes().await?;
let applied = sandbox.apply_fork(&ApplyOptions { dry_run: true, ..Default::default() }).await?;The MCP tools are fork_space, fork_changes and apply_fork.