# Agent working folders and shared storage

Give a board a working folder on each computer by browsing it, and name shared storage once so one saved path opens on Mac, Windows and Linux.

URL: https://docs.truetask.io/helper/folders

A board's working folder is where your agents start work on that board, and where a [Truetask Helper](https://docs.truetask.io/helper/) action that works in a folder runs.
Each paired computer can have its own, because the same folder sits in a different place on every computer.
Storage roots go one step further: name a shared drive once, and a folder saved on it opens on every computer that sees it, which is also how the [Deadline plugin](https://docs.truetask.io/plugins/deadline#pair-the-farm-s-paths-with-storage-roots) opens a render's files.

## Working folders

Open the board's **Board details** (see [Boards](https://docs.truetask.io/boards/#board-details)).
The **Working folders** section lists the board's folder on each computer, and **Details** opens the **Working folders** dialog: **Where agents start work on this board.**

The dialog has one section per place.

| Section | What it holds |
| --- | --- |
| **Shared folder** (**This board**) | The board's own folder: **Every computer opens this folder, unless it has its own**. It shows once you have more than one computer, or once one is set. |
| One per computer | What that computer will really open, under its name: its own folder, **Same as the shared folder**, or **Automatic**. |

**Automatic** means agents use the board's repository when it is in one of that computer's repository folders, and an empty folder otherwise.
A computer that cannot see the shared storage the board's folder is on falls back to **Automatic** too, and says which storage it cannot see.

Every section has **Choose...**, which opens the folder picker on that computer.
The cross next to a folder clears it: **Clear** for the shared folder, **Back to the shared folder** or **Back to Automatic** for a computer's own.

Only board admins change working folders; members read them.
With no computer paired yet, the dialog offers Truetask Helper instead.

A computer's working folder is used by:

- every agent kickoff and chat on the board that runs on that computer;
- a Helper action declared with `folder=True` (see [Apps and actions](https://docs.truetask.io/helper/apps-and-actions#an-action-that-works-in-a-folder));
- the **Changes** of a task, which are read from that folder (see [Agents on your computer](https://docs.truetask.io/agents/desktop#see-what-changed)).

## The folder picker

Nobody types a path from memory: **Choose...** browses the computer that will do the work.

The picker opens **On** the computer's name, with:

- **Start from**: places to begin, such as **This board's folder here**, **Home folder**, **The repository's clone**, a **Shared storage** root the computer sees, or a folder **Used on another board**;
- the folder you are in as a trail you can click, its subfolders, and **Up one folder**;
- a field to **Paste a full path**, which that computer checks as you type and answers if there is no folder there;
- **Use this folder** to pick it.

On your own computer, with the Truetask Helper app open there, the picker also offers the system's own dialog: **Choose in Finder...**, **Choose in Explorer...** or **Choose in the file manager...**.

What you may browse is the computer's own rule.
Your own computer lets you browse anywhere.
A shared computer lets you browse only inside the workspace's storage roots that it sees.

When a computer cannot answer, the picker says why instead of spinning: it is offline, it runs a Helper too old to browse, it has no window to open a dialog in, or it sees none of the shared storage.

A folder you pick inside shared storage is saved on its storage root, not as that computer's own path, so the same choice opens on every computer that sees the root.

## The folder a chat works in

A task's **Agent** channel or the Truetask AI window that runs on your computer has a **Folder** row behind its **Agent settings** button: **Which folder should the agent work in?**

| Option | What it does |
| --- | --- |
| **Board folder** | The board's working folder on the computer that answers, named with its path. |
| **Automatic** | The computer picks where to work. |
| **Choose another folder...** | A folder for this chat only, not the board, picked by browsing the computer. |
| **Bind a folder on the board** | Sets the board's folder, so every kickoff and chat starts there. |

With no folder bound for the board, the agent starts in a scratch folder.

## Storage roots

A storage root is shared storage that each system mounts in its own place: a file server, a NAS, a project drive.
A workspace admin names it once with where macOS, Windows and Linux find it, and from then on a path on it opens on every computer.

A path on a root is kept in the form `projects:shows/alpha`: the root's name, a colon, and the path inside it.
That one value opens on a Mac at `/Volumes/projects/shows/alpha`, on Windows at `P:\shows\alpha` and on Linux at `/mnt/projects/shows/alpha`, each at that computer's own mount.

### Add a storage root

Workspace admins open the **Truetask Helper** card in Integrations and choose **Add a root** under **Storage roots**.
A workspace with no roots yet keeps the section folded under **Storage and apps**.

| Field | What it takes |
| --- | --- |
| **Name** | Lowercase letters, digits, dashes and underscores, starting with a letter. The name stays once the root exists, since saved paths carry it. |
| **macOS**, **Linux** | A full path, starting with `/`. |
| **Windows** | A drive, such as `P:\`, or a share, such as `\\server\share`. |

Leave a system empty when none of its computers reach this storage.
**Add root** saves it.

A root's page shows **Computers that see it**.
A computer sees a root once its Helper finds the folder there, and it looks again every 30 seconds, so a share mounted later is picked up.
On a computer's own page, the **Actions** tab lists the **Storage it sees**.

Removing a root stops the paths kept on it from opening until a root of that name exists again.

A computer that mounts a root somewhere other than the workspace says gives it its own place in the Helper's workspace `config.json`, under `roots`.
See [Install and update](https://docs.truetask.io/helper/install#where-it-keeps-its-files).

### Suggested storage

Workspace admins also see **Suggested storage**: network shares your computers have mounted that no root covers yet, each with how many computers mount it.
**Name it** opens a new root with every system's path already filled in.
**Dismiss** sends a suggestion away for the workspace, with **Undo** in the toast.

### Where stored paths work

A stored path works anywhere a computer is given a path:

- a board's or a chat's working folder;
- **Open a file or folder** on a computer;
- every `path` input of a Helper action, in a menu, an automation step or the API.

A job for a stored path only goes to a computer that sees its root, and a path that climbs out of its root, through `..` or a link, is refused.

## Related

- [Truetask Helper](https://docs.truetask.io/helper/)
- [Your agents on your computer](https://docs.truetask.io/helper/agents)
- [Apps and actions](https://docs.truetask.io/helper/apps-and-actions)
- [Boards](https://docs.truetask.io/boards/)
- [Software teams running coding agents](https://docs.truetask.io/guides/software-teams)
- [Solo developers with a queue of local agents](https://docs.truetask.io/guides/solo-developers)
