Execution modes
Choose where FixBugs runs project commands for a workspace, and what each mode can read, write, and upload.
On this page
Reproductions, experiments, and verification runs execute your project's commands. The execution mode decides where those commands run for each workspace folder. FixBugs asks you once per folder, and you can change the mode at any time.
Compare the modes
| Mode | Where commands run | What commands can write | What leaves your machine |
|---|---|---|---|
| Local, sandboxed | This machine, inside an OS sandbox: Seatbelt on macOS, bubblewrap on Linux and WSL 2 | The workspace folder, temp, and toolchain caches. .git is read-only. ~/.ssh, ~/.aws, and ~/.config/gh are hidden | Nothing is uploaded. The network stays open |
| Local container | A container built from the repository's devcontainer or Dockerfile, with Docker or Podman | The workspace folder, mounted at /workspace. .git is read-only. Other changes are discarded after each command | Nothing is uploaded. The container uses the default network |
| Remote sandbox | The FixBugs sandbox service | The uploaded copy of the working tree | A snapshot of the working tree and your full shell environment, for each run |
| Local, unsandboxed | This machine, with your user's permissions | Anything your user can write | Nothing is uploaded. No isolation |
Which modes your machine offers
When you open the chooser, FixBugs probes this machine and lists the modes it can use. The recommended mode comes first with a Recommended badge. Local, unsandboxed is always listed last, with a No isolation badge.
- On macOS with Seatbelt, and on Linux with bubblewrap, FixBugs recommends Local, sandboxed.
- On Linux with bubblewrap where user namespaces are restricted, FixBugs recommends Remote sandbox. Local, sandboxed is still listed.
- Everywhere else, including Windows, FixBugs recommends Remote sandbox.
Windows has no local sandbox. To use Local, sandboxed on a Windows machine, open the folder through WSL 2. The chooser shows what your machine is missing.
Local container is listed only when Docker or Podman is installed and the repository has a container file: .devcontainer/devcontainer.json, .devcontainer.json, or a Dockerfile at the root. Docker Compose devcontainers are not supported.
If the sandbox or container runtime is gone when a command runs, the command fails instead of running without isolation. For example: "Container runtime not available. Start Docker or change execution mode."
How Local container runs commands
Each command runs in its own container, which is removed when the command ends.
- The container runs as a non-root user, with all Linux capabilities dropped. Installs that need root fail unless the image allows them.
- Only the workspace folder is mounted. Files the command writes outside
/workspaceare discarded with the container. - Only proxy, locale, time zone, and terminal variables, and the devcontainer's
containerEnvandremoteEnv, reach the container. To forward more variables, list their names inmodulo.fixbugs.execution.containerEnv. - Each container is limited to 4 GB of memory and half of the runtime's CPUs.
What Remote sandbox uploads
Only reproductions, experiments, and validation run remotely. Every other command still runs on this machine.
For each run, FixBugs uploads every file in the working tree that git does not ignore, including uncommitted and untracked files, and the full environment FixBugs runs with. .git, node_modules, virtualenvs, and Python caches are always skipped. Git-ignored files such as .env stay on this machine unless you allow them.
Nothing keeps running between commands: each command runs in a fresh container that is removed when it finishes. Your uploaded files are deleted when the run ends. Remote sandbox keeps only a cache of installed dependencies, private to you, deleted 24 hours after its last use.
At most 4 sandbox runs can be active at once. If you start another, FixBugs asks you to close one first.
Plan
Remote sandbox: Free Trial, Team, and Warroom. See Plans & pricing.
Allow or deny uploads
When Remote sandbox is selected, Upload overrides appears below the modes. Patterns are gitignore-style and relative to the workspace folder. Allow uploads a git-ignored file; Deny keeps a file on this machine. Deny wins.
- Enter a pattern, for example
.env. - Choose Allow or Deny.
- Select Add grant. The pattern appears in the list with its effect.
Choose or change the mode
The first time you open the FixBugs home in a folder without a saved mode, the chooser opens and asks How should FixBugs run commands? Choose a mode, then select Use this mode.
To change the mode later:
- Open the Command Palette and run
FixBugs: Change Execution Mode. You must be signed in. Execution mode opens. - Select a mode.
- Select Save. The Current badge moves to the mode you chose.
To check the machine again, for example after you install Docker, select Probe again.
The setting modulo.fixbugs.execution.mode mirrors the saved mode for the folder. Editing the setting does not change the mode; use FixBugs: Change Execution Mode.
Next steps
- Stay in control: decide what FixBugs may run without asking you.
- Command permissions: approve or deny each command.
- Choose your models: pick the models that propose the commands.
- Settings: every FixBugs setting.