FolioFolioDocs

Branches

Folio uses branches to isolate workstreams. Contributors can work on top of the same files in parallel and then merge their changes into the main canonical branch.

A branch is a copy of the files in your project. Imagine downloading the project, opening it on your computer, and making a bunch of changes while the project files in your team's main copy stay untouched. You get your own workstream where you can play around with the files, and when you are ready, you can bring those changes into the central, canonical team copy.

For example, one agent may work on lighting while another generates alternative textures for the same Blender project. Both can work independently, and their changes can be reviewed before being incorporated into the approved version of the project.

Deliberate simplifications

Versioning can get very complicated quickly. Folio makes several simplifying assumptions so users can reason about changes much more easily:

  • Branches stay on their starting snapshot. A branch starts from main and does not receive later changes from main (there is no rebase and no branch-to-branch merging).
  • Merging is file version selection, not in-file merging. Merging a branch promotes its whole file versions to current on main, while keeping earlier versions of those files in history.
  • Two branches editing the same file cannot be auto-merged together. If two different branches both change the same file, you cannot merge edits from both automatically. Folio flags that main moved after your branch started, and you choose which version becomes current while the other stays safe in history.

This design involves saving multiple full versions of files across branches, which has a real storage implication. We make that trade-off on purpose: it keeps the day-to-day UX very simple and non-destructive, and because every competing version remains intact and addressable, we plan to expose these multi-version and merging semantics from the Folio shared drive directly to agents. That allows agents to inspect conflicting versions of a file (whether code, a 3D scene, or a document) and perform conflict resolution and merging for you.

Start work on a branch

You create a branch either when starting an agent session or when mounting the drive on your computer.

From an agent session

When you start an agent session, pick where it works: a new branch from main, an existing branch, or main itself. Folio suggests a name like session-2026-11-23-4f2a1c, which you can rename before starting.

When the session starts on a new branch, the File Browser switches to it automatically: "Switched to <name>. The session works on this branch."

From your computer

When you mount the drive on your Mac, pick which branch to mount (main, an open branch, or a new branch). Each mounted branch gets its own local folder: ~/planar-files for main, and ~/planar-<name> for a branch.

In the branch picker, Live shows branches currently being written to by a computer or session, and All shows every open branch.

Pinning versions on mounts and sessions

Every time a file is saved, Folio creates a new version in its history. Pinning a version means making it the current version on that branch, which is the version the File Browser, apps, other mounts, and jobs read by default.

Each computer mount and compute/agent session mount controls whether its saves automatically pin the new version as current, or leave the existing pinned version untouched while adding the new save to the file's history:

  • Computer mounts: Make each save the current version is on by default, so saving in your mounted folder immediately updates what everyone on that branch sees. You can turn it off when setting up the mount.
  • Agent and compute sessions: By default, a session on a branch pins its latest save automatically so the branch reflects the agent's work as it goes. A session running directly on main does not auto-pin your files on main, so its saves wait in history until you choose to make them current.

New files always become current on the branch where they are created.

When not to auto-pin saves

There are good reasons to turn auto-pinning off on a mount or session:

  • Working in an app alongside an agent or collaborator on the same branch. If you are actively editing files inside an app while an agent or another mounted computer is also writing to the same branch, auto-pinning means their saves can swap out the current version right under you. With auto-pinning off, their saves still land safely in the file's history, and your active view stays undisturbed until you decide to review and pin their version.
  • Reviewing noisy or iterative outputs. If a script or tool writes intermediate saves frequently, leaving pinning off keeps the branch's current file stable while preserving every save in history.

Note that when auto-pinning is off on a mounted folder, that local mount still shows its own saved bytes, while the File Browser and apps continue reading the pinned version until someone makes the newer version current.

Working in a branch from the browser

In the File Browser and apps

The active branch name appears at the start of the path bar, with a status bar underneath showing when the branch started from main and how many changes it has. Click the branch name to switch between main and any open branch.

While you are browsing a branch in the File Browser, any changes you make stay on that branch and leave main untouched. Uploads, new folders, renames, deletes, and version restores all apply to the branch you are viewing. Apps launched while browsing a branch also read from and write to that branch.

In the terminal

Each session tab is named for its branch, and the session bar displays the branch beside the machine and agent.

Inspecting branch changes

Inside a branch, added files are marked new on <branch> and modified files are marked changed on <branch>. Untouched files carry no mark. Toggle Show changes only to list every change on the branch, including moved and removed files.

When the work is done

  • Merge the whole branch: Click Merge into main… to review the branch's changes and promote them to main together. See Merging and review.
  • Cherry-pick a single file: If you only want one file from a branch instead of merging everything, switch to main, open that file's version history, and make the branch's version current.

Merging does not close a branch, and branches cannot be deleted today. After you merge, the branch remains open and browsable if you want to refer back to it or keep working on it.