RightNow Agent separates approval policy from isolation. Permission modes and rules decide whether a tool request may run. A configured OS sandbox can add a separate process boundary on supported kernels.
| Mode | Behavior |
|---|---|
| default (ask) | Runs read-only tools and built-in read-only shell commands without prompting, then asks for other actions. |
| acceptEdits | Allows file edits without a prompt while other operations still follow the permission pipeline. |
| plan | Accepted for Claude-compatible settings. Use RightNow plan mode for gated planning. |
| auto | Runs work that passes the safety check. Other calls are blocked or escalated. |
| dontAsk | Runs only pre-approved tools and built-in read-only handling. Other calls are denied instead of prompting. |
| bypassPermissions | The config name for always-approve. Tool calls generally run, but deny rules, hooks, and some shell ask rules still apply. |
--always-approve, --yolo, and --dangerously-skip-permissions auto-approve tool execution. They do not isolate the process and should not be used for untrusted work.
.\rightnow.ps1 --permission-mode auto
.\rightnow.ps1 --always-approve -p "Run the test suite"
.\rightnow.ps1 --permission-mode bypassPermissionsAny matching deny rule wins. If no deny matches, an ask rule wins over allow. Rule order in a file does not change that result.
[permission]
deny = ["Bash(rm -rf *)", "MCPTool(sales__delete_*)"]
ask = ["Edit"]
allow = ["Bash(git *)", "Read", "Grep"]| Source | Scope |
|---|---|
| --allow / --deny | Repeated CLI rules for the current process. |
| ~/.rightnow/config.toml | User rules for all projects. |
| .rightnow/config.toml | Rules from the repository root through the working directory. |
| .claude/settings*.json | Compatible global, project, and personal project rules. |
| managed configuration | Organization rules and requirements. |
Sandbox mode is off unless selected with --sandbox, GROK_SANDBOX, or [sandbox] profile. Kernel enforcement exists in the Linux Landlock and macOS Seatbelt implementations. The current product evidence is measured on Windows only.
On Windows, permission prompts are application decisions, not kernel-enforced filesystem or network isolation. Use an external containment boundary when stronger isolation is required.
Tool commands receive a filtered environment. By default, ordinary variables are inherited, while names matching *KEY*, *SECRET*, or *TOKEN* are removed. Matching is case-insensitive, and this filtering is separate from sandbox isolation.
[shell_environment_policy]
inherit = "core"
ignore_default_excludes = false
exclude = ["ACME_*", "CI_*"]
include_only = ["PATH", "HOME"]
set = { MY_FLAG = "1" }Repository text, command output, fetched pages, MCP output, hooks, and migrated rules can all influence an agent session.
Before approval, review commands, paths, destinations, URLs, headers, and environment values. Keep credentials in the environment or an approved secret mechanism, never in committed configuration or shared logs.