Before Command Execution#
Choose an approval policy under Remote Connections → Chat execution settings:
- Ask every time: Inspect each command proposed by the model, then approve that single run or reject it.
- Model review: Choose a dedicated review model, test it, and save. The Local write guardrail toggle below is enabled by default: the app first uses the local guardrail to accurately intercept mutating operations—such as edits, installations, deletions, privilege escalation, file-write redirections, and script execution—and immediately shows a manual confirmation sheet, while asynchronously invoking the independent review model in the background to explain what the command actually does in plain language and check whether it matches what the main model claimed (without blocking manual confirmation; if anomalies or high risks are detected, the warning dynamically escalates to red). The confirmation sheet supports syntax-highlighted read-only viewing, on-demand command editing, and collapsing. Remaining read-only diagnostic commands are handed to the review model along with recent user messages and the stated command intent, and execute automatically once confirmed read-only and aligned with your goal. If you prefer to let the independent review model and rules handle all judgments flexibly, you can manually turn off Local write guardrail in Chat execution settings → Model review. Whenever the review model requests confirmation, flags high risk (including suspected bypasses), fails to review, or times out, a manual confirmation prompt appears—it will never skip confirmation or silently abort on your behalf. In the confirmation sheet, you can also enable Temporary session prefix approval for a single non-high-risk command (strictly scoped to the current conversation, this host, and the current directory; never permits pipes, redirections, privilege escalation, or scripts; revocable with one tap at any time; automatically expires on restart or disconnect). Testing the model checks both basic read-only allowance and typical write-operation blocking, and reports response latency. Extra review rules lets you add extra allow or tighten conditions within the read-only scope (for example, asking before reading production logs or sensitive configuration files). The review model setting is shared with the SSH command review role in Default Models.
- Always allow this host: Enable per host under Remote Connections → Chat execution settings → Host permissions · Always allow; once confirmed, it takes effect immediately without disconnecting the terminal. You can also configure it from the server edit page or Tool Services → Permissions → SSH hosts. On first use, the app connects to the server and verifies the host fingerprint right on that page—no need to open the terminal first. When enabled, chat commands on that host run directly, including edits and deletions, without invoking the review model or prompting per command. Turning it off falls back to the global setting. Changing the address, port, username, or authentication type, or clearing host trust requires re-enabling this option.
Host-level "Always allow" takes priority over the global approval mode, and Pause model review will not disable a host's Always allow setting. Built-in credential-access blocking, connection verification, and execution-state checks remain in effect, but they do not constitute a remote permission sandbox—actual command permissions depend on the SSH account. Manual typing in the standalone terminal does not go through chat approval. The manual terminal and chat can connect to the same server simultaneously: chat commands use a separate connection and do not inherit the terminal's current directory or temporary environment variables, while chat executions on the same server remain mutually exclusive.
After Command Execution#
Command output is returned directly to the current chat model for analysis and follow-up actions without extra confirmation.
The review model only receives the pre-execution command and necessary context—never the execution output. Long output may be truncated, so rely on the actual status and exit code shown on the execution card to judge results.
How Many Tokens Does It Use?#
The standalone terminal does not call any model. In chat, every command round and its returned output enter the model interaction, so chained commands increase both turns and context size; Model review additionally invokes the review model. Enabling "Always allow" on a host saves only the review model's token usage and does not waive chat model costs. There is currently no dedicated multi-command summarization or on-demand reader for long output.