# Native execution and privacy

> Process access, cleanup, local data, and network connections.

Open Max's built-in file tools stay within the project root. Shell commands, external tools, and hooks run as native processes with the access of the account running Open Max.

## Understand process access

Approval modes and permission rules decide which calls Open Max dispatches. They do not isolate a process after it starts. Use an operating-system sandbox or a container you control when a command needs restricted filesystem or network access.

External TOML tools receive a reduced environment containing `PATH`, `HOME`, `LANG`, and `TERM`, plus variables listed in their manifest's `env`. Shell commands and hooks inherit the harness's environment. See [Trust and permissions](https://useopenmax.dev/docs/permissions) for approval modes.

## Process lifetime

Each shell or external tool call runs in its own process group. Open Max terminates processes left in that group when the call returns. Use a named tmux session for work that must outlive a call.

On macOS and Linux, a separate watcher stops recorded tool process groups when Open Max exits, including after a crash or `kill -9`. The [execution reference](https://github.com/Max17190/open-max/blob/main/docs/execution.md) describes cleanup limits and the tests that verify them.

## Local data and network access

Open Max has no telemetry. Sessions, settings, tools, and skills stay under `~/.openmax/` and your project directory. The harness contacts your configured model endpoint and, for an explicitly connected ChatGPT account, OpenAI's authentication service.

Native child processes can make their own network connections. `/status` shows destinations configured by the harness; it does not list or restrict child-process traffic.

For file-write guarantees, process behavior, and privacy details, see the [full execution reference](https://github.com/Max17190/open-max/blob/main/docs/execution.md).
