CLI

Permission mode and where code runs

Permission mode controls which actions need approval. The execution attachment controls which computer runs shell and file operations. Choose both before starting work that…

Permission mode controls which actions need approval. The execution attachment controls which computer runs shell and file operations. Choose both before starting work that changes files.

Select the permission mode

/mode opens the picker. You can also use /mode plan, /mode auto, or /mode toggle. Shift+Tab switches between Plan and Auto.

ModeBehavior
PlanReads are permitted; writes are refused. Use it to inspect and propose changes.
AutoActions are checked against account policy and remembered choices; required approvals appear in the client.
BypassAvailable only when the account permits it. It bypasses permission checks; entering it requires explicit typed confirmation.

Use /mode bypass only when it is offered. The confirmation requires the word bypass; y is not enough. Toggle shortcuts never enter Bypass. Account policy can control whether Bypass also skips the later review.

Read the command and any scope line before approving a call. Always allow, when offered, remembers the displayed allowance according to account rules. See Approvals and remembered choices.

Choose an execution attachment

/sandbox opens the execution picker. It can attach an available sandbox, choose this machine's workstation folder, or detach the session. Sandbox creation and attachment require the corresponding permissions.

/workstation is a hidden compatibility command for the workstation choice. Its forms include /workstation ., /workstation <path>, and /workstation off. The folder is the starting working directory, not a filesystem restriction. A binding change applies from the next message; it does not move a command already running.

The local client must remain connected for workstation jobs to be claimed and executed. Do not assume a detached session can run files or processes on this machine. Tool results identify the execution location; Workstations and jobs explains the lifecycle.

For direct shell commands, file mentions, and the TBSP application's embedded terminal, see Terminals and shell execution.

On this page