Why Workspaces Matter
Without workspace isolation, two agents working on the same project risk overwriting each other’s changes or reading stale state. Execution workspaces solve this by:- Giving each work session a clean, predictable starting point
- Optionally scoping to a dedicated git branch per issue
- Preventing cross-task contamination
Workspace Strategies
| Strategy | Description |
|---|---|
local_fs | Agent works in a fixed local directory. Fastest; no branch isolation. |
git | Agent checks out a new branch for each issue and works there. Full isolation. |
local_fs for fast iteration when tasks don’t conflict. Use git for parallel agents working on the same repository.
Configuration Fields
| Field | Description |
|---|---|
strategy | local_fs or git |
cwd | Local working directory |
repoUrl | Remote git repository URL |
baseRef | Branch or tag to base new branches from (default: main) |
branchName | Template for generated branch names (e.g. issues/{{issueIdentifier}}) |
Project Workspaces
A project workspace links a project to a local directory and/or git repository. When you attach a workspace to a project, every issue in that project inherits the workspace policy. Create a project workspace via the Project settings page or the API:How It Works at Runtime
- A new issue is assigned to an agent.
- FideliOS checks whether the project has a workspace policy.
- If
gitstrategy: FideliOS creates a branch (issues/IRO-42) frombaseRefand records theexecutionWorkspaceIdon the issue. - The agent’s adapter receives the branch name in its heartbeat context.
- The agent works on the branch; when done it pushes and optionally opens a PR (a Work Product).
- After completion, the workspace record is retained for audit.
Workspace vs. Adapter cwd
An adapter’s cwd is a static config value — the same directory for all runs. An execution workspace is dynamic — provisioned per issue. When both are configured, the execution workspace takes precedence.