Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(gitbooks): address review — tier-accurate approval claims, real auth routes, UI labels

cyrusb01495b2c057
diff --git a/.github/workflows/pr-quality.yml b/.github/workflows/pr-quality.yml
index 8881213859..9546621b2d 100644
--- a/.github/workflows/pr-quality.yml
+++ b/.github/workflows/pr-quality.yml
@@ -82,6 +82,7 @@ jobs:
--exclude '^https://www\.producthunt\.com/'
--exclude '^https://discord\.tinyhumans\.ai/?$'
'docs/**/*.md'
+ 'gitbooks/**/*.md'
'README.md'
'INSTALL.md'
'CONTRIBUTING.md'
diff --git a/gitbooks/developing/architecture.md b/gitbooks/developing/architecture.md
index 9385834f0d..6863596659 100644
--- a/gitbooks/developing/architecture.md
+++ b/gitbooks/developing/architecture.md
@@ -7,7 +7,7 @@ icon: code-branch
**A personal AI assistant built on Rust, with a persistent local memory and an agent harness that can act across your connected services.**
-OpenHuman is a cross-platform communication and automation platform: a Rust core that runs agent turns, keeps a pluggable memory engine, and executes tools against memory, channels, integrations, and (for users who opt in) a wallet, all wrapped in a single React + Rust (Tauri) codebase that can target multiple platforms. **What we document and ship for users today is desktop only: Windows, macOS, and Linux.** Android, iOS, and web are **not** supported in current docs or releases. The stack includes a managed Node.js runtime for tool-capable skills, persistent Rust-native WebSocket infrastructure to the backend, and a native Rust tool-dispatch path plus a standards-based Model Context Protocol (MCP) server for external clients.
+OpenHuman is a cross-platform communication and automation platform: a Rust core that runs agent turns, keeps a pluggable memory engine, and executes tools against memory, channels, integrations, and (for users who opt in) a wallet, all wrapped in a single React + Rust (Tauri) codebase that can target multiple platforms. **What we document and ship for users today is desktop only: Windows, macOS, and Linux.** Web is **not** a supported target. Android and iOS exist as experimental clients with their own build and publish workflows (`android-compile.yml`, `ios-appstore.yml`) and are not part of the shipped desktop host; do not treat them as product-ready. The stack includes a managed Node.js runtime for tool-capable skills, persistent Rust-native WebSocket infrastructure to the backend, and a native Rust tool-dispatch path plus a standards-based Model Context Protocol (MCP) server for external clients.
---
@@ -201,7 +201,7 @@ Conversation state is separate from memory: each thread's transcript is a JSONL
+-------------------------------------------------------------------+
```
-Credentials go through the OS keychain via the `keyring` crate (macOS Keychain, Windows Credential Manager, Linux Secret Service), on desktop only. Executable tools run through `SecurityPolicy` (`crates/openhuman-core/src/security/policy/`: `types.rs`, `path_checks.rs`, `command_checks.rs`, `enforcement.rs`) and a host-appropriate sandbox backend selected at runtime. The backends no longer live in `security/`: `crates/openhuman-core/src/sandbox/` picks between none, the OS jail (Landlock on Linux, Seatbelt on macOS) and Docker, over the `tinybox` crates. The legacy per-skill QuickJS memory and stack limit model is gone. Web-to-desktop auth handoff uses single-use login tokens with a 5-minute TTL, exchanged via the Rust HTTP client so it bypasses browser CORS. All WebSocket and HTTP connections use rustls, with no dependency on the platform's OpenSSL. Sensitive state lives in Redux (in memory) and the OS keychain (persistent); nothing sensitive goes into localStorage. User prompts are normalized, scored, and enforced server-side (`allow | review | block`) before model or tool execution; see `crates/openhuman-core/src/security/prompt_injection/`.
+Credentials go through the OS keychain via the `keyring` crate (macOS Keychain, Windows Credential Manager, Linux Secret Service), on desktop only. Executable tools run through `SecurityPolicy` (`crates/openhuman-core/src/security/policy/`: `types.rs`, `path_checks.rs`, `command_checks.rs`, `enforcement.rs`) and a host-appropriate sandbox backend selected at runtime. One consequence is worth stating plainly: when the `Local` backend is selected on a host with no usable OS jail, `sandbox/ops.rs` logs `[sandbox:local] OS backend unavailable, using noop` and spawns through the no-op backend, so the command runs **unconfined**. Landlock covers Linux and Seatbelt covers macOS; the Windows AppContainer backend exists upstream but is not compiled, so Windows is the case that hits this path. Use the Docker backend where confinement has to hold. The backends no longer live in `security/`: `crates/openhuman-core/src/sandbox/` picks between none, the OS jail (Landlock on Linux, Seatbelt on macOS) and Docker, over the `tinybox` crates. The legacy per-skill QuickJS memory and stack limit model is gone. Web-to-desktop auth handoff uses single-use login tokens with a 5-minute TTL, exchanged via the Rust HTTP client so it bypasses browser CORS. All WebSocket and HTTP connections use rustls, with no dependency on the platform's OpenSSL. Sensitive state lives in Redux (in memory) and the OS keychain (persistent); nothing sensitive goes into localStorage. User prompts are normalized, scored, and enforced server-side (`allow | review | block`) before model or tool execution; see `crates/openhuman-core/src/security/prompt_injection/`.
---
diff --git a/gitbooks/developing/architecture/README.md b/gitbooks/developing/architecture/README.md
index daf78065b9..2a826369bf 100644
--- a/gitbooks/developing/architecture/README.md
+++ b/gitbooks/developing/architecture/README.md
@@ -63,7 +63,7 @@ The full table is under "Repository layout" in the [deep architecture reference]
1. **Connect**. OAuth into an [integration](../../features/integrations/README.md). Backend stores the token; core never sees it in plaintext.
2. **Sync**. A [memory source](../../features/memory.md) (folder, file, link, GitHub, RSS, or a connected Composio toolkit) syncs on demand and on its own schedule.
3. **Read**. `tinymemory-sources` turns the source into documents, with an SSRF guard on links.
-4. **Scrub**. The `safety` feature of `tinymemory-integrations` removes secrets and personal identifiers from every item, on every write path.
+4. **Scrub**. Every engine the host binds is wrapped in `memory::guard::ScrubbingEngine`, which uses the `safety` feature of `tinymemory-integrations` to strip secrets and personal identifiers before a write leaves the process. The wrap happens where the engine is resolved, so it covers the tool, the RPC surface, source sync, backfill and import; a caller holding a `BoundEngine` and reaching past it is not covered, which is why resolution is the only sanctioned way to get one.
5. **Store**. The item goes to the selected engine (hosted TinyHumans or your CortexDB). Conversation turns are logged as they happen, learnings when the agent or you add one.
6. **Recall / Fetch**. The agent's `memory` tool asks the engine a question (with citations) or runs a raw hybrid search.
7. **Pack**. Before every turn, a token-budgeted memory pack is recalled and added to that turn's model request only, never to the transcript.
diff --git a/gitbooks/developing/architecture/frontend.md b/gitbooks/developing/architecture/frontend.md
index 71b07e8a37..5978b657f9 100644
--- a/gitbooks/developing/architecture/frontend.md
+++ b/gitbooks/developing/architecture/frontend.md
@@ -11,6 +11,8 @@ icon: browsers
This is one consolidated reference. Use the table of contents above (or your reader's outline) to jump between sections.
+The tree also carries a **mobile shell**: `AppRoutesIOS.tsx`, `pages/ios/`, the `services/transport/` connection profiles and the `app/src-tauri-mobile/` host. That client is **experimental and not part of the shipped desktop host**, which targets Windows, macOS and Linux only. It appears on this page because those files sit in the same tree and share the `App.tsx` provider chain, not because the client ships. See [iOS Companion](../../features/ios-companion.md) for what it is and what still has no desktop surface.
+
## Quick reference
| Section | Covers |
@@ -698,3 +700,4 @@ Stated rather than deleted, because each of these still turns up in older code a
- [Agent Harness](agent-harness.md): what the chat surface's tool timeline is rendering.
- [Memory](../../features/memory.md): the user-facing shape of the `/connections?tab=brain` chips.
- [Theming](../theming.md): the token layer behind `ThemeProvider` and Theme Studio.
+- [iOS Companion](../../features/ios-companion.md): the experimental mobile client the `AppRoutesIOS` shell and the `transport/` profiles belong to.
diff --git a/gitbooks/developing/architecture/mcp-registry.md b/gitbooks/developing/architecture/mcp-registry.md
index 9f43d0d44d..03d74babe2 100644
--- a/gitbooks/developing/architecture/mcp-registry.md
+++ b/gitbooks/developing/architecture/mcp-registry.md
@@ -64,7 +64,7 @@ Installed servers are connected as the core comes up, and `mcp::registry::superv
| `helpers.rs` | Shared RPC-handler plumbing: `Outcome` encoding, identifier guards, workspace-service resolution, credential-name injection. |
| `ops.rs` | `mcp_clients_*` RPC handler implementations (uninstall, list, browse, connect/disconnect, tool call, `update_env`, registry settings). One-to-one with `schemas.rs` handlers; publishes `DomainEvent`s `tinymcp` does not. |
| `config_ops.rs` | `mcp_clients_config_get` / `config_set`: the `Outcome` envelope, domain events and background connects over `tinymcp`'s `McpRegistry::render_config_doc` / `apply_config_doc`. The `mcp.json` shape, its refusals and the reconciliation (add, rewrite in place under the same `server_id`, or uninstall, merging write-only credentials) live in `tinymcp::registry::config_doc`. |
-| `action_tool.rs` | One deferred agent tool per action on a connected server, built from `tinymcp_bus::agent_tools::action_tool_specs` with `tools_safe_for_agent` as the admission filter; execution re-checks the current connection and routes through `ops.rs`. |
+| `action_tool.rs` | One deferred agent tool per action on a connected server, built from `tinymcp_bus::agent_tools::action_tool_specs` with `tools_safe_for_agent` as the admission filter; execution goes through `InstalledServerInvoker::invoke`, which re-checks the live safe-tool list and then calls `service.dynamic().invoke(...)` on the `tinymcp` service, rather than back through `ops.rs`. |
| `schemas/` (`mod.rs`, `registry.rs`, `handlers.rs`, `params.rs`) | Controller schemas + handler dispatch. Re-exported from `mod.rs` as `all_mcp_registry_controller_schemas` / `all_mcp_registry_registered_controllers`. |
| `bus.rs` | `DomainEvent` subscriber (`McpClientEventSubscriber`) that logs `McpServer*` / `McpClientToolExecuted` lifecycle events. |
| `supervisor_events.rs` | Turns a `tinymcp::Supervisor` tick report into this domain's `DomainEvent`s, stamped with the workspace whose host was ticked. |
diff --git a/gitbooks/developing/cef.md b/gitbooks/developing/cef.md
index 615a7bce35..c05e57c240 100644
--- a/gitbooks/developing/cef.md
+++ b/gitbooks/developing/cef.md
@@ -90,7 +90,7 @@ This was the bulk of the (since removed) `docs/TAURI_CEF_FINDINGS_AND_CHANGES.md
## The "no new JS injection" rule
-The rule is documented in [`CLAUDE.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md): **migrated providers load with zero injected JavaScript**. All scraping happens natively over CDP from the scanner side.
+The rule is documented in [`AGENTS.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md): **migrated providers load with zero injected JavaScript**. All scraping happens natively over CDP from the scanner side.
This matters because anything host-controlled that runs inside a third-party origin is an attack-surface liability. A persistent JS bridge inside Slack is one Slack update away from breaking, and one mistake away from leaking the bridge to attacker-controlled JS. CDP from outside the renderer is strictly better.
diff --git a/gitbooks/developing/embedding.md b/gitbooks/developing/embedding.md
index cfc51f085e..7aea352430 100644
--- a/gitbooks/developing/embedding.md
+++ b/gitbooks/developing/embedding.md
@@ -435,9 +435,9 @@ embed_headless`.
Tests worth reading alongside the examples, all under
`crates/openhuman-embed/tests/`: `harness_embed.rs` proves
`Harness` runs a real turn against a mocked provider with nothing else
-bound; `tests/runtime_agents.rs` runs three agents with different
+bound; `runtime_agents.rs` runs three agents with different
providers, access tiers, skills, MCP servers and working directories on one
-runtime; `tests/public_api.rs` pins the host-facing embedding contract at
+runtime; `public_api.rs` pins the host-facing embedding contract at
compile time. Run them with:
```bash
diff --git a/gitbooks/developing/mcp-server.md b/gitbooks/developing/mcp-server.md
index c3ca8c858d..a2cafb7466 100644
--- a/gitbooks/developing/mcp-server.md
+++ b/gitbooks/developing/mcp-server.md
@@ -34,8 +34,10 @@ clients can write as `mcp:<client>`.
## Tools
The MCP surface routes through the existing controller registry plus the core
-security policy: read tools pass the read gate, and the three act-gated tools
-(`memory.learn`, `memory.forget`, `agent.run_subagent`) are audited:
+security policy: read tools pass the read gate, and three tools pass the act
+gate. Two of them, `memory.learn` and `memory.forget`, are also recorded on the
+MCP write-audit path; `agent.run_subagent` is not, because the sub-agent's own
+side-effecting calls are audited through the approval gate instead:
| MCP tool | Backing RPC | Purpose |
| ------------------- | ------------------------------------ | ----------------------------------------------------------------------- |
diff --git a/gitbooks/developing/performance.md b/gitbooks/developing/performance.md
index 176c2097ce..f4a5b11c90 100644
--- a/gitbooks/developing/performance.md
+++ b/gitbooks/developing/performance.md
@@ -111,7 +111,7 @@ Everything above compiles in at build time through Cargo features (`media`,
`skills`, `flows`, `mcp`, `channels`, `http-server`, `scheduler-gate`,
`file-logging`, `modules`, and more). Beyond that, several domains ship as
loadable native `cdylib` modules rather than being linked into the core
-binary at all. The compiled registry pins fourteen: `tinycomputer`,
+binary at all. The compiled registry pins fourteen records across twelve module names, because `tinyruntime` ships as a router plus two language providers: `tinycomputer`,
`tinysearch`, `tinydocs`, `tinywallet`, `tinyjuice`, `tinyvoice`,
`tinyruntime` with its Node and Python providers, `tinymcp`,
`tinyconnectors`, `tinybox`, `tinychannels` and `tinyhosts`, each behind a
diff --git a/gitbooks/developing/testing-strategy.md b/gitbooks/developing/testing-strategy.md
index 8242834bf6..7fb7a255b8 100644
--- a/gitbooks/developing/testing-strategy.md
+++ b/gitbooks/developing/testing-strategy.md
@@ -17,7 +17,7 @@ How OpenHuman tests its product. Source of truth for "where does my test go?". C
| **Rust integration** | `tests/*.rs` at repo root, each an explicit `[[test]]` target in `crates/openhuman-cli/Cargo.toml` (`autotests = false`); `tests/raw_coverage/*.rs` is globbed by `build.rs` into the single `raw_coverage_all` target | Full domain wiring with real Tokio runtime, mock external services, JSON-RPC end-to-end (`tests/json_rpc_e2e.rs`), domain × domain interactions | `pnpm test:rust` (which calls `bash scripts/test-rust-with-mock.sh`) |
| **Vitest unit** | Co-located as `*.test.ts(x)` next to source under `app/src/**`, or under `app/src/**/__tests__/` | React components, hooks, store slices, pure utilities, service-layer adapters | `pnpm test` (root) or `pnpm --filter openhuman-app test:unit` |
| **WDIO E2E** | `app/test/e2e/specs/*.spec.ts` | Full desktop flow: UI → Tauri → in-process core → JSON-RPC; user-visible behaviour | All platforms: Linux CI drives the Wry-based debug build (macOS/Windows desktop E2E is disabled until a native driver lands, #5485). See [E2E Testing](e2e-testing.md). |
-| **Manual smoke** | [`docs/RELEASE-MANUAL-SMOKE.md`](https://github.com/tinyhumansai/openhuman/blob/main/docs/RELEASE-MANUAL-SMOKE.md) | OS-level surfaces drivers cannot assert: TCC permission prompts, Gatekeeper, code signing, DMG install, OS-native toasts | Human at release-cut, signed off in release PR |
+| **Manual smoke** | [`docs/RELEASE-MANUAL-SMOKE.md`](https://github.com/tinyhumansai/openhuman/blob/main/docs/RELEASE-MANUAL-SMOKE.md) | OS-level surfaces drivers cannot assert: TCC permission prompts, Gatekeeper, code signing, DMG install, OS-native toasts | Human at release-cut; the completed sign-off block is pasted as a GitHub commit comment on the `v<version>-staging` tagged commit QA validated. There is no release PR in the promotion flow, see [Release Policy](release-policy.md) |
---
diff --git a/gitbooks/features/approval-gate.md b/gitbooks/features/approval-gate.md
index 23ec248989..41ccf6ad56 100644
--- a/gitbooks/features/approval-gate.md
+++ b/gitbooks/features/approval-gate.md
@@ -8,12 +8,12 @@ icon: shield-check
# Approval Gate
-The Approval Gate is the checkpoint between the agent and the outside world. When the agent wants to run a tool with a real-world effect (post to Slack, send an email, create a calendar event, run a shell command, install a package), the gate intercepts the call, shows you what is about to happen, and waits for your decision.
+The Approval Gate is the checkpoint between the agent and the outside world. It parks the calls your autonomy tier classifies **Prompt**, rather than every tool with a real-world effect: `SecurityPolicy::gate_decision` (`crates/openhuman-core/src/security/policy/command_checks.rs`) maps each call's command class against your tier, and only a `Prompt` becomes a gate round-trip. When one does, the gate intercepts the call before the tool runs, shows you what is about to happen, and waits for your decision. A class your tier already allows runs silently: on `full` a `Write` is never prompted, as the tier table below shows.
{% hint style="warning" %}
-**The autonomy policy is off by default, and the gate is part of it.** `[autonomy] enabled` defaults to `false` (`crates/openhuman-core/src/config/schema/autonomy.rs`). Until you turn it on, command classification, the tier table, the allowlist, the hourly action budget, `workspace_only` and `forbidden_paths` are all inert, and an acting tool call runs without a prompt.
+**The autonomy policy is off by default, and the gate is part of it.** `[autonomy] enabled` defaults to `false` (`crates/openhuman-core/src/config/schema/autonomy.rs`). Until you turn it on, command classification, the tier table, the allowlist, the hourly action budget, `workspace_only` and `forbidden_paths` are all inert, and an acting tool call runs without a prompt, apart from the forced approvals below.
-That is deliberate rather than an oversight: these agents are expected to run inside a container, a platform jail or a Docker sandbox that already provides the isolation this in-process policy was approximating, and a shell that refuses ordinary shell syntax is not a usable shell. Set `[autonomy] enabled = true` in `config.toml` to get everything on this page.
+That is deliberate rather than an oversight: these agents are expected to run inside a container, a platform jail or a Docker sandbox that already provides the isolation this in-process policy was approximating, and a shell that refuses ordinary shell syntax is not a usable shell. Set `[autonomy] enabled = true` in `config.toml` to turn on the autonomy policy described here. The floor in the next section, and the forced approvals below, hold either way.
{% endhint %}
## What still holds with the policy off
@@ -100,10 +100,23 @@ The shipped default list is `file_read`, `memory_search`, `memory_list`, `get_ti
## `auto_approve_all`
-Separately from the per-tool list, `[autonomy].auto_approve_all` approves **every** call without prompting. Two things are worth knowing before enabling it:
+Separately from the per-tool list, `[autonomy].auto_approve_all` approves **every** call without prompting. Three things are worth knowing before enabling it:
- An unlabelled call site is still hard-denied, and the hard security blocks inside the tool implementations are unaffected.
- It bypasses **parking**, not just the prompt. A remote-origin triage dispatch (a connector or webhook payload reaching `triage.escalate`) normally parks and writes an audit row; with this flag on it is allowed immediately and **no audit row is written**, so those dispatches leave no approval trail.
+- It does not reach a **forced** approval, below.
+
+---
+
+## Forced approvals
+
+Browser page interactions are the one surface that cannot be pre-authorized. Every `click`, `double_click`, `fill`, `type`, `press`, `select` and `check` is routed through `ApprovalGate::intercept_forced` (`crates/openhuman-core/src/security/approval/gate_setup.rs`) rather than the ordinary entry point, which changes three things:
+
+- **Every shortcut is skipped.** `auto_approve_all`, the `auto_approve` allowlist and the per-flow tool trust are all ignored, and the forced park does not consult the autonomy tier, so the call parks even with `[autonomy] enabled = false`.
+- **The decision is one-time.** **Always allow** is refused on a forced request: only approve-once or deny can resolve it.
+- **It needs a live chat.** A turn whose origin is not a web-chat turn carrying both a thread id and a client id is denied instead of parked, so a cron, channel or flow turn cannot drive the browser.
+
+The card names the action kind, the page origin and a SHA-256 digest binding that action to that URL. If the page navigates while you are deciding, the approved action is refused rather than replayed against the new page.
---
@@ -119,15 +132,29 @@ Pending requests are stored in SQLite (`{workspace_dir}/approval/approval.db`) a
---
-## Background and cron bypass
+## What the turn's origin decides
+
+The gate is **interactive-only**: a parked call needs a surface that can answer it. Which turns it parks, and which pass straight through, is decided by the turn's origin, in `crates/openhuman-core/src/security/approval/gate_intercept.rs`, not by the tool:
+
+| Turn origin | At the gate |
+| --- | --- |
+| Cron and internal background jobs (`TrustedAutomation` → `Cron` / `Background`) | Allowed, no row, no event |
+| A saved flow's pre-declared action (`Workflow { require_approval: false }`) | Allowed, no row, no event |
+| CLI, a delegated sub-agent, and a **locally initiated** triage dispatch, which is labelled `Cli` | Allowed, no row, no event |
+| Web chat | Parks for your decision |
+| A **remote-origin** triage dispatch: a connector or webhook payload reaching `triage.escalate` | Parks and writes a `pending_approvals` row |
+| An external channel turn (Telegram, Slack, …) | Parks and writes a row |
+| An unlabelled call site (`Unknown`) | Denied outright |
+
+Triage is therefore two cases rather than one. A dispatch your own machine started keeps the authority its caller already had and is allowed silently. A dispatch steered by a payload from outside carries `TrustedAutomation { Workflow { require_approval: true } }`, so it parks and leaves an audit row even though no surface can decide a background park yet and it expires at the TTL. That buys the audit trail, not a working escalation, and `auto_approve_all` gives even that up. The two triage cases are pinned apart in `gate_triage_tests.rs`.
-The gate is **interactive-only**. Background, triage and cron turns carry no chat context, so there is nobody to answer a prompt. These turns are pre-authorized and pass straight through, with no row and no event. Approval is enforced for live chat turns.
+An external channel turn parks for the same reason: remote input is untrusted, so the row is written and a decision can still arrive on the thread card before the TTL.
---
## Configuration and RPC
-- **`[autonomy].enabled`**: the master switch. `false` by default; everything on this page needs it `true`.
+- **`[autonomy].enabled`**: the master switch for the policy. `false` by default; the command classes, the tier table, the allowlist and the hourly budget all need it `true`. Forced approvals and the always-forbidden floor do not.
- **`OPENHUMAN_APPROVAL_GATE`**: set to `0` or `false` to skip installing the gate even with the policy on. With no gate, `Prompt`-class calls run unprompted.
- **`[autonomy].level`** and **`[autonomy].auto_approve`**: tier and allowlist, via the `config.update_autonomy_settings` RPC or the settings panels.
diff --git a/gitbooks/features/cloud-deploy.md b/gitbooks/features/cloud-deploy.md
index d5d8729497..086a745064 100644
--- a/gitbooks/features/cloud-deploy.md
+++ b/gitbooks/features/cloud-deploy.md
@@ -145,8 +145,13 @@ Endpoints exposed by the running container, with the route policy from
| `POST /rpc` | The bearer token. This is the executable surface. |
| `GET /events` | Exempt from the header check, because a browser `EventSource` cannot set headers, but the handler enforces its own credential. Not an open stream. |
| `GET /ws/dictation` | The bearer token, as a header or `?token=`, checked before the WebSocket upgrade. |
+| `GET /oauth/mcp/callback` | Exempt from the bearer middleware: an external authorization server posts back here with no bearer. The one-time `state`, minted in `oauth_begin`, is the guard. |
+| `GET /dev/connect` | Exempt from the middleware, guarded in the handler instead: a debug build or an explicit opt-in, a loopback `app` origin and `Host`, and no cross-site navigation. It should not be reachable on a deployed core. |
+| `POST /v1/chat/completions`, `GET /v1/models` | The OpenAI-compatible surface, behind core's `http-server` gate. These accept the core bearer or an external provider key, so they are executable too, not just `/rpc`. |
-Treat only `/health`, `/` and `/schema` as genuinely unauthenticated.
+Treat only `/health`, `/` and `/schema` as genuinely unauthenticated. `/events`,
+`/oauth/mcp/callback` and `/dev/connect` are exempt from the *header* check but
+each carries its own guard; the two executable surfaces are `/rpc` and `/v1/*`.
The `OPENHUMAN_WORKSPACE` directory (`/home/openhuman/.openhuman` inside the
container) holds the core's config, sqlite databases, and skill state. **Mount
@@ -438,8 +443,17 @@ Plain `http://` is accepted without complaint only for loopback and
private-network hosts, which includes RFC1918 ranges and the Tailscale
`100.64.0.0/10` range (`isLocalOrPrivateNetworkHost` in
`app/src/utils/configPersistence.ts`). A public `http://` host still saves, but
-the panel warns, because every RPC call carries the bearer token in the clear.
-Use HTTPS for anything publicly reachable.
+the panel warns.
+
+{% hint style="warning" %}
+**A private address is not encryption.** Over plain `http://`, every `/rpc`
+request carries the bearer token in cleartext, and that token is the only
+credential the core checks. Anyone who can observe the link can read it and
+replay it, and "private" covers a shared office LAN, a hotel network and a
+coffee-shop Wi-Fi subnet as readily as it covers your own machine. Treat plain
+HTTP as safe only on a link you control end to end, such as loopback or an
+encrypted overlay like Tailscale or WireGuard. Use HTTPS for anything else.
+{% endhint %}
`VITE_OPENHUMAN_CORE_RPC_URL` in `app/.env.local` is a build-time fallback only.
The saved panel value outranks it, as does the shell's own `core_rpc_url`
diff --git a/gitbooks/features/connections.md b/gitbooks/features/connections.md
index dc3a8c0a33..63fc0a6c5c 100644
--- a/gitbooks/features/connections.md
+++ b/gitbooks/features/connections.md
@@ -15,24 +15,24 @@ Most of the older addresses redirect here, so a bookmark to `/skills` or `/chann
| Tab | What it holds |
| --- | --- |
-| **Apps** | The OAuth connectors. Pick a toolkit, authorize it in a browser window, and choose its scope (read, write or admin) and which triggers may fire. See [Third-party Integrations](integrations/README.md). |
-| **Messaging** | The channels the agent talks to you on: Telegram, Discord, the in-app web chat, Lark/Feishu, DingTalk, iMessage, email over IMAP and SMTP, and 元宝. See [Messaging Channels](channels.md). |
-| **MCP** | Model Context Protocol servers, in four views: your servers, client config, the raw `mcp.json` (which is the only place a server is actually added), and a browsable registry. Includes a playground for calling one tool by hand. |
+| **OAuth** | The OAuth connectors. Pick a toolkit, authorize it in a browser window, and choose its scope (read, write or admin) and which triggers may fire. See [Third-party Integrations](integrations/README.md). |
+| **Channels** | The channels the agent talks to you on: Telegram, Discord, the in-app web chat, Lark/Feishu, DingTalk, iMessage, email over IMAP and SMTP, and 元宝. See [Messaging Channels](channels.md). |
+| **MCP Servers** | Model Context Protocol servers, in four views: your servers, client config, the raw `mcp.json` (which is the only place a server is actually added), and a browsable registry. Includes a playground for calling one tool by hand. |
| **Skills** | Installed skill bundles, a registry to browse and install from, and a runner. See [MCP Servers & Skills](integrations/mcp-and-skills.md). |
| **Brain** | [Memory](memory.md): the engine, ask, explorer, learnings, conversations, the shared brain, background jobs and recall settings. |
| **Agent tools** | Which tools the agent may use, and the per-tool policy. |
-| **Computer** | Desktop and browser control, the decision model, and the planner. See [Browser & Computer Control](native-tools/browser-and-computer.md). |
+| **Browser Control** | Desktop and browser control, the decision model, and the planner. See [Browser & Computer Control](native-tools/browser-and-computer.md). |
| **Wallet** | Balances, send and receive, and the recovery phrase. See [Wallet](wallet.md). |
## API keys
-The second group is one tab per engine family, and each one is the same shape: use the managed TinyHumans route, or paste your own key.
+The second group is mostly one tab per engine family, each the same shape: use the managed TinyHumans route, or paste your own key. **Usage** is the exception, and reports spending and background activity rather than configuring anything.
| Tab | Covers |
| --- | --- |
| **LLM** | Model providers: the managed route, your own keys for 26 built-in providers, and local servers (Ollama, LM Studio, MLX, any OpenAI-compatible endpoint). See [Automatic Model Routing](model-routing/README.md). |
-| **Apps key** | Your own connector-platform key, if you would rather not use the managed route. |
-| **Voice** | Speech-to-text and text-to-speech providers, per-workload routing, and the dictation hotkey. |
+| **Composio** | Your own connector-platform key, if you would rather not use the managed route. |
+| **Voice agents** | Speech-to-text and text-to-speech providers, per-workload routing, and the dictation hotkey. |
| **Embeddings** | The embedding provider behind memory and tool search. |
| **Search** | Web-search providers. Two have a managed route; the rest are bring-your-own-key. See [Web Search](native-tools/web-search.md). |
| **Usage** | What you have spent, by day and by model, plus the background-activity log. See [Billing, Cost & Usage](billing-and-usage.md). |
diff --git a/gitbooks/features/hosting.md b/gitbooks/features/hosting.md
index 2854d7ef42..f02fbbae3d 100644
--- a/gitbooks/features/hosting.md
+++ b/gitbooks/features/hosting.md
@@ -49,7 +49,7 @@ team = "" # blank means your personal account
With `api_key` blank the credential comes from `TINYHOSTS_VERCEL_TOKEN`, falling back to `VERCEL_TOKEN`; a team account also reads `TINYHOSTS_VERCEL_TEAM_ID` or `VERCEL_TEAM_ID`.
-`[hosting] enabled` is `false` by default. With it off, or with no credential resolvable anywhere, **the ten tools are not registered at all** rather than registered and failing. That is deliberate: a tool that is present and cannot work is worse than one that is absent, because a model retries it. A *misconfigured* section, an unknown provider slug or a blank configured key, is an error and is logged, not silently skipped.
+`[hosting] enabled` is `false` by default. With it off, or with no credential resolvable anywhere, **the ten tools are not registered at all** rather than registered and failing. That is deliberate: a tool that is present and cannot work is worse than one that is absent, because a model retries it. A *misconfigured* section is an error and is logged rather than silently skipped: an unknown provider slug, or a key that is present but blank after trimming. Leaving `api_key = ""` out entirely, or set to the empty string, is the documented way to defer to the provider's environment variable and is not a misconfiguration.
## See also
diff --git a/gitbooks/features/integrations/README.md b/gitbooks/features/integrations/README.md
index 99637394d1..6792e7826f 100644
--- a/gitbooks/features/integrations/README.md
+++ b/gitbooks/features/integrations/README.md
@@ -59,7 +59,7 @@ Some integrations are not just something to read from: OpenHuman uses them to _t
- **Discord**: two-way, by OAuth or your own bot token, with a server and channel picker.
- **Web**: the chat inside the desktop app itself. Messages stay entirely local.
-Set your default under **Connections → Messaging**. [Messaging Channels](../channels.md) has the full list and what each one can do.
+Set your default under **Connections → Channels**. [Messaging Channels](../channels.md) has the full list and what each one can do.
## Beyond the curated catalog: MCP & Skills
diff --git a/gitbooks/features/model-routing/local-and-byok-models.md b/gitbooks/features/model-routing/local-and-byok-models.md
index 1bbde3d0b3..3a04bc4cfa 100644
--- a/gitbooks/features/model-routing/local-and-byok-models.md
+++ b/gitbooks/features/model-routing/local-and-byok-models.md
@@ -69,7 +69,7 @@ Two traps worth calling out:
- **Gemma 3 is split by size.** The 270M and 1B builds are text-only. Vision starts at 4B. Picking `gemma3:1b-it-qat` for vision gets you a text-only model.
- **`gemma3n` is not `gemma3`.** Despite the name, Gemma 3n is a separate, text-only model on Ollama. It is a fine chat model and a bad vision model.
-For embeddings, prefer **`bge-m3`** (1024 dimensions). Note what that does and does not cover: an `embeddings_provider` of `ollama:bge-m3` routes OpenHuman's own embedding calls locally, but the memory engine embeds on its own side, so switching this does not make memory recall local. Only [Privacy Mode](../privacy-mode.md) changes where inference goes, and memory is a separate decision you make by choosing its engine.
+For embeddings, prefer **`bge-m3`** (1024 dimensions). Note what that does and does not cover. An `embeddings_provider` of `ollama:bge-m3` routes OpenHuman's own embedding calls to your machine. It does not move memory: the engine embeds on its own side, so recall still runs wherever the engine runs. Those are three separate decisions, and no one switch covers all of them: this field routes OpenHuman's embeddings, [Privacy Mode](../privacy-mode.md) enforces where *inference* may go, and the memory engine you choose decides where memory lives.
### 3. Point OpenHuman at it
diff --git a/gitbooks/features/native-tools/browser-and-computer.md b/gitbooks/features/native-tools/browser-and-computer.md
index c3cb209ea8..e6a5c356dc 100644
--- a/gitbooks/features/native-tools/browser-and-computer.md
+++ b/gitbooks/features/native-tools/browser-and-computer.md
@@ -18,7 +18,7 @@ Elements are addressed by **reference**, never by coordinates or CSS selectors.
## Browser
-The browser is a real Chrome or Chromium, driven over the Chrome DevTools Protocol by a library linked into the module. There is no extra process and no socket.
+The browser is a real Chrome or Chromium, driven over the Chrome DevTools Protocol by a library linked into the module. Chrome is its own process, as it has to be, but nothing sits between it and the module: no driver binary, no local HTTP bridge, no second OpenHuman process.
- **Open** a session: launch a fresh browser (headless or headed), or **attach to the Chrome you already have running**. Attaching matters more than it sounds: plenty of sites turn away a fresh automated browser and serve a person's own. On task end an attached browser is only disconnected, never closed.
- **Snapshot** the page. The default perception mode, `sight`, runs a small in-page script that reads the page the way a person sees it: real links, buttons and fields, plus anything with a pointer cursor, a click handler or a tab stop. Hidden, zero-size, transparent and disabled things are dropped; things below the fold are marked offscreen and things behind a dialog are marked covered. It falls back to the accessibility tree when it cannot read a page, and `perception: "tree"` forces the tree.
@@ -86,9 +86,9 @@ Linux is not in the shipped surface: the module registry publishes no Linux arti
## Settings
-**Connections → Computer** holds all of it: the module's status and contract version, the decision model (Jev, OpenJEV or Levanto Sage) and which route it bills through, the planner and rescue models, and the browser section (executable path, perception mode, allowed domains).
+**Connections → Computer Control** holds all of it: the module's status and contract version, the decision model (Jev, OpenJEV or Levanto Sage) and which route it bills through, the planner and rescue models, and the browser section (executable path, perception mode, allowed domains).
-`[desktop] approvals_enabled` defaults to `false`: the core auto-continues the module's confirmation stop after the module re-observes and re-validates the exact target. Setting it `true` turns on an explicit approval card instead. Desktop goal confirmations are single-use and expire after 10 minutes.
+`[desktop] approvals_enabled` defaults to `false`, and it governs one narrow thing: the module's own mid-goal confirmation stop on the **desktop** surface, which the core then auto-continues after the module re-observes and re-validates the exact target. Setting it `true` surfaces that stop as an approval card instead. It does not weaken the [Approval Gate](../approval-gate.md): an irreversible step still needs an approval, and with no gate installed it is denied. Desktop goal confirmations are single-use and expire after 10 minutes.
## What it's good for
diff --git a/gitbooks/features/native-tools/voice.md b/gitbooks/features/native-tools/voice.md
index 0526193cb6..739a06ee2f 100644
--- a/gitbooks/features/native-tools/voice.md
+++ b/gitbooks/features/native-tools/voice.md
@@ -40,7 +40,7 @@ Each card has a **Test** button that opens a short session to check the provider
## Privacy
-- Audio capture is local. Streaming STT goes through the OpenHuman backend; no recording is retained beyond the live transcript.
+- Audio capture is local. Where the audio goes next depends on the provider you picked: the managed routes send it to the OpenHuman backend, and a bring-your-own-key provider such as Gemini Live on a Google API key talks to that vendor directly. Either way no recording is retained beyond the live transcript.
- TTS audio is streamed and discarded: nothing stored.
- What you and the agent say in a live session is saved to the open conversation, and so reaches your memory engine on the same terms as typed chat, when memory is on.
diff --git a/gitbooks/features/native-tools/web-scraper.md b/gitbooks/features/native-tools/web-scraper.md
index 2d0d879eba..3edf565e63 100644
--- a/gitbooks/features/native-tools/web-scraper.md
+++ b/gitbooks/features/native-tools/web-scraper.md
@@ -19,7 +19,7 @@ Reach for `http_request` instead when you need POST, custom headers or richer HT
| --- | --- | --- |
| `url` | Yes | An absolute `http` or `https` URL. |
| `max_bytes` | No | Truncate the body at this many bytes instead of the configured cap. |
-| `raw` | No | Return the body exactly as sent, skipping Markdown conversion. |
+| `raw` | No | Skip the Markdown conversion and return the body as served. It is not a way around the limits: the response cap and any `max_bytes` still truncate, and the result still carries the truncation marker. |
| `summary_focus` | No | An OpenHuman addition that steers the [TokenJuice](../token-compression.md) summary toward a topic. |
The tool is read-only and never prompts for approval. Parallel `web_fetch` calls are safe, since a GET is idempotent.
diff --git a/gitbooks/features/notifications-and-activity.md b/gitbooks/features/notifications-and-activity.md
index daa674bcbf..bfb3d2b16d 100644
--- a/gitbooks/features/notifications-and-activity.md
+++ b/gitbooks/features/notifications-and-activity.md
@@ -10,7 +10,7 @@ icon: bell
OpenHuman surfaces two kinds of "what's happening": **notifications** (things you should look at, like an important Slack message, a failed webhook, or a high-priority email) and **activity** (a ledger of what the agent did on its own while you weren't watching).
-Both live on the **Notifications** page. There is no longer an Activity hub or a Routines screen: `/activity` and `/routines` are back-compatibility redirects, and what they used to front moved to the Notifications page and to [Workflows](workflows.md) respectively.
+Both live on the **Notifications** page. There is no longer an Activity hub or a Routines screen. Both addresses still resolve, but not to what they used to show: `/activity` redirects to **Settings → Account**, and `/routines` to [Workflows](workflows.md). The notification feeds moved here, and the scheduler moved to Workflows → Schedules.
---
@@ -78,7 +78,7 @@ Product announcements arrive separately again, as a modal shown once per signed-
| --- | --- |
| Scheduled jobs and their run history | **Workflows → Schedules**. See [Cron & Scheduling](native-tools/cron.md). |
| Workflow runs | **Workflows → Runs** |
-| Memory belief builds and source syncs | **Connections → Brain → Background** |
+| Memory belief builds and source syncs | **Connections → Memory → Background** |
| Detached sub-agents and async delegation | The background inbox card in the thread that started them. See [Chat](chat.md). |
| Everything above, as notifications | The Notifications page, Agents category |
diff --git a/gitbooks/features/settings.md b/gitbooks/features/settings.md
index eabfd788e8..b1950f88be 100644
--- a/gitbooks/features/settings.md
+++ b/gitbooks/features/settings.md
@@ -46,7 +46,7 @@ Open it with the gear in the sidebar header, or `⌘,`.
Not in Agent access, which is the first place everyone looks.
-The tier itself (`readonly`, `supervised`, `full`) has no user-facing control: the panel holding the radios is a developer-only deep link. Set it in `config.toml` instead:
+The tier itself (`readonly`, `supervised`, `full`) has no control in the normal settings navigation. The panel that holds the radios is registered developer-only and as a hidden deep link, so it does not appear in the sidebar. Set the tier in `config.toml`:
```toml
[autonomy]
@@ -63,10 +63,10 @@ Roughly three times as many settings routes redirect as render, because the pane
| Old address | Now |
| --- | --- |
| `/settings/llm`, `/settings/embeddings`, `/settings/voice`, `/settings/search` | Connections, the matching API-keys tab |
-| `/settings/agents/*`, `/settings/tools` | Connections → Agent tools |
-| `/settings/memory-*`, `/settings/intelligence` | Connections → Brain |
-| `/settings/mcp-server`, `/settings/skills-runner` | Connections → MCP, Connections → Skills |
-| `/settings/wallet-balances` | Connections → Wallet |
+| `/settings/agents/*`, `/settings/tools` | Connections → Tools |
+| `/settings/memory-*`, `/settings/intelligence` | Connections → Memory |
+| `/settings/mcp-server`, `/settings/skills-runner` | Connections → MCP Servers, Connections → Skills |
+| `/settings/wallet-balances` | Connections → Wallet Balances |
| `/settings/cron-jobs` | Workflows → Schedules |
| `/settings/automations` | Workflows |
| `/settings/team`, `/settings/billing`, `/settings/notifications`, `/settings/devices`, `/settings/language` | Settings → Account |
diff --git a/gitbooks/features/workflows.md b/gitbooks/features/workflows.md
index 85f48ebc9b..b8c25fdb03 100644
--- a/gitbooks/features/workflows.md
+++ b/gitbooks/features/workflows.md
@@ -17,12 +17,13 @@ Chat is great for one-off asks. **Workflows** are for the things you want done _
You don't drag boxes to get started. Describe the automation in chat, for example _"whenever a new email arrives from a customer, summarize it and post to my Slack"_, and the agent uses its `propose_workflow` tool to draft a complete workflow graph. The proposal shows up in chat as a **Workflow Proposal Card** with a plain-English summary of every step.
-Two design guarantees make this safe:
+Three design guarantees make this safe:
-- The `propose_workflow` tool **only validates and describes** a candidate graph. It can never create or enable a flow by itself.
-- The **only** path from a proposal to a _new_ saved workflow is you clicking **Save & enable** on the card. That calls the `flows_create` RPC directly from the app, not from the agent.
+- The `propose_workflow` tool **only validates and describes** a candidate graph. It can never persist or enable a flow by itself.
+- Every authoring turn is propose-only by default. The usual path from a proposal to a saved workflow is you clicking **Save & enable** on the card, which calls the `flows_create` RPC directly from the app, not from the agent.
+- Nothing the agent can do turns a flow **on**. `flows_set_enabled` is off its belt entirely.
-One deliberate carve-out: when _you_ start the build (the Workflows page prompt bar creates the flow first and opens the copilot on it), the builder agent may finish the job with its `save_workflow` tool: it writes the built graph onto that **already-existing** flow after a sandbox dry run. It still cannot create a flow of its own, enable or disable one, or change the approval gate, and a real test run always requires your explicit confirmation first.
+Persisting is scoped to two explicit asks. `save_workflow` writes the built graph onto an **already-existing** flow, the case when _you_ started the build: the Workflows page prompt bar creates the flow first and opens the copilot on it. When there is no flow yet and you explicitly ask for one ("create this and save it"), the agent may also use `create_workflow`, or `duplicate_flow` to clone a saved flow for clone-then-edit. Both are on the `workflow_builder` agent's named tool list (`crates/openhuman-core/src/flows/agents/workflow_builder/agent.toml`), and both are force-disabled at creation: `CreateWorkflowTool` calls `flows_set_enabled(.., false)` on anything `flows_create` left enabled, and reports the flow's real state rather than the intended one if that second write fails. So a flow the agent creates is born off and stays off until you enable it, and a real test run of a saved flow always needs your confirmation first.
## What a workflow is made of
diff --git a/gitbooks/guides/child-safe-companion.md b/gitbooks/guides/child-safe-companion.md
index 655d7534bc..b33ce1597b 100644
--- a/gitbooks/guides/child-safe-companion.md
+++ b/gitbooks/guides/child-safe-companion.md
@@ -87,13 +87,12 @@ Edit the behavior prompt (`SOUL.md`, via the **Brain** page `/brain`) to set age
## Recovery
-- **Instant lockdown:** set `level = "readonly"` (if it drifted). Acting stops next turn.
+- **Instant lockdown:** set `enabled = true` and `level = "readonly"` (if either drifted). The level does nothing while `enabled` is `false`, so check both. Acting stops next turn.
- **Reset persona:** revert your `SOUL.md` edits to defaults if the customization misbehaves.
- **The real recovery is supervision.** If the experience isn't right for the child, step in. No software setting substitutes for that.
## See also
- [Keep sensitive data private](privacy-sensitive-data.md): the controls this guide stacks.
-- [Approval Gate](../features/approval-gate.md): how actions are gated.
- [Approval Gate](../features/approval-gate.md): the autonomy tiers and what each one blocks.
- [Privacy & Security](../features/privacy-and-security.md): what leaves the machine, and what does not.
diff --git a/gitbooks/guides/doctor-assistant.md b/gitbooks/guides/doctor-assistant.md
index 3b3c02b144..a5779480b0 100644
--- a/gitbooks/guides/doctor-assistant.md
+++ b/gitbooks/guides/doctor-assistant.md
@@ -38,7 +38,7 @@ In **Settings → Agents → Agent access**:
- Turn the autonomy policy on and set its tier: `[autonomy] enabled = true` with `level = "readonly"` (pure Q&A and drafting) or `level = "supervised"` (drafting plus approved actions) in `config.toml`. Avoid `full` for clinical use. The policy is off until you set `enabled = true`.
- Keep **workspace-only** on so the agent can't wander your disk.
-- With the policy on, the [Approval Gate](../features/approval-gate.md) parks every acting call, so nothing gets _acted on_ (files written, actions taken) without your yes. Note it gates **actions**, not network transport: prompts and attachments can still be sent upstream for inference.
+- With the policy on, the [Approval Gate](../features/approval-gate.md) stands between the assistant and any acting call: at `readonly` the tier refuses the call outright, and at `supervised` the gate parks it for your yes, unless its tool is on the always-allow list. Clear that list in **Settings → Agent access** if you want every call reviewed. Note the gate covers **actions**, not network transport: prompts and attachments can still be sent upstream for inference.
### 2. Turn on local inference for sensitive work
@@ -82,7 +82,7 @@ Test with **made-up** cases, never real patient data, until you're satisfied wit
## Recovery
-- **Instant containment:** set `level = "readonly"`. Acting stops on the next turn.
+- **Instant containment:** set `enabled = true` and `level = "readonly"` together. The level is inert while the policy is off, so both have to be set. Acting stops on the next turn.
- **Pull a source:** revoke any integration from Settings; future syncs stop immediately.
- **Reset the persona:** the behavior lives in an editable file; revert your edits to return to default tone.
diff --git a/gitbooks/guides/organize-project-folders.md b/gitbooks/guides/organize-project-folders.md
index 43f00c05eb..1b3420f6ab 100644
--- a/gitbooks/guides/organize-project-folders.md
+++ b/gitbooks/guides/organize-project-folders.md
@@ -1,8 +1,8 @@
---
description: >-
Let OpenHuman tidy, rename, and restructure a folder of files safely, inside
- a boundary you set, with every change gated by your approval once the
- autonomy policy is on.
+ a boundary you set, with changes gated by your approval once the autonomy
+ policy is on at the supervised tier.
icon: folder-tree
---
@@ -10,7 +10,7 @@ icon: folder-tree
**Goal:** point the assistant at a folder and have it clean it up (sort files, rename consistently, remove clutter) without letting it roam your whole disk or make changes you didn't see.
-The core idea: the agent works inside a **boundary you define**, and with the autonomy policy on, any file change that isn't provably read-only is **parked for your approval** before it runs.
+The core idea: the agent works inside a **boundary you define**, and with the autonomy policy on at the `supervised` tier, any file change that isn't provably read-only is **parked for your approval** before it runs. The tier is what decides that: at `full`, routine writes run on their own and only network, install and destructive actions stop to ask.
---
@@ -40,7 +40,9 @@ all inert and acting tool calls run unprompted. Credential stores and system
roots stay blocked either way.
{% endhint %}
-With the policy on, the agent's read/write root is its working folder and it is confined there, without ambient access to the rest of your disk. To let it work on a folder elsewhere, add that folder as a **trusted root**:
+Confinement to the working folder has two preconditions: the policy enabled, and `workspace_only` on. With both, the agent's read/write root is its working folder and it has no ambient access to the rest of your disk. With either one off, that boundary is not enforced.
+
+A **trusted root** is the deliberate exception. Each one grants its subtree even though it sits outside the working folder, taking precedence over `workspace_only`. To let the agent work on a folder elsewhere, add that folder as a trusted root:
- Open **Settings → Agent access**.
- Add the target folder as a trusted root with read-write access.
@@ -51,10 +53,10 @@ Keep the boundary as tight as the task: grant the one folder, not your home dire
In the same `[autonomy]` block, `level` decides how much runs without asking:
-- `supervised` _(recommended)_: the agent proposes each change and you approve moves, renames and deletes as they come.
+- `supervised` _(recommended)_: the agent proposes each change and you approve moves, renames and deletes as they come, except where you have already put the tool on the always-allow list.
- `full`: routine file writes run automatically. Still tighten the trusted root so "automatic" stays contained.
-Deleting and moving files are state-changing actions, so with `supervised` they are parked for your yes or no by the [Approval Gate](../features/approval-gate.md).
+Deleting and moving files are state-changing actions, so with `supervised` they are parked for your yes or no by the [Approval Gate](../features/approval-gate.md). Answering **Always allow** to a prompt adds that tool to the always-allow list, and from then on its calls run without a fresh approval. Remove it from the list in **Settings → Agent access** when you want each call reviewed again.
### 3. Ask for the reorganization
@@ -71,7 +73,8 @@ When the agent wants to move, rename, or delete, an **Approval Request card** ap
## Success checks
-- [ ] The agent only touched the folder you granted, and nothing outside the trusted root changed.
+- [ ] The policy is enabled and `workspace_only` is on, so the folder boundary is actually being enforced.
+- [ ] The agent only touched the folder you granted, and nothing outside your working folder and trusted roots changed.
- [ ] Each move/rename/delete showed up as an approval prompt (unless you chose "Always allow" for that tool).
- [ ] The folder matches the structure you asked for.
- [ ] Files you didn't mention are untouched.
@@ -87,9 +90,9 @@ When the agent wants to move, rename, or delete, an **Approval Request card** ap
## Recovery
-- **Nothing runs without approval** at the `supervised` tier. If a plan looks wrong, **Deny** and it doesn't happen.
+- **Nothing runs without approval** at the `supervised` tier, apart from the tools on your always-allow list. If a plan looks wrong, **Deny** and it doesn't happen.
- **Undo is manual.** OpenHuman doesn't roll file operations back for you, so work on a **copy** of anything precious, or keep the folder under version control (e.g. `git`) so you can revert.
-- If the agent is doing too much, set `level = "readonly"`. It can still suggest a plan but can't change files.
+- If the agent is doing too much, set both `enabled = true` and `level = "readonly"`. The level does nothing on its own: with `enabled = false` the whole policy is inert. With both set, the agent can still suggest a plan but can't change files.
## See also
diff --git a/gitbooks/guides/personal-assistant.md b/gitbooks/guides/personal-assistant.md
index f331b7cc3b..e4dea98172 100644
--- a/gitbooks/guides/personal-assistant.md
+++ b/gitbooks/guides/personal-assistant.md
@@ -1,13 +1,14 @@
---
description: >-
Go from a fresh install to a working personal assistant that knows your
- context, respects the boundaries you set, and acts only with your approval.
+ context, respects the boundaries you set, and, at the supervised tier, acts
+ only with your approval.
icon: robot
---
# Create my personal AI assistant
-**Goal:** a working assistant that has some memory of your world, replies in a style you like, and never takes a real-world action without your say-so.
+**Goal:** a working assistant that has some memory of your world, replies in a style you like, and, once you put it on the supervised tier, takes no real-world action without your say-so.
This is the "start here" guide. It assumes nothing beyond a downloaded app.
@@ -65,7 +66,7 @@ level = "supervised" # "readonly" | "supervised" | "full"
| Tier | What it means |
| -------------- | ------------------------------------------------------------------------------------------------------------------ |
| `readonly` | The assistant can observe and answer, but never acts (no sending, no file writes, no commands). |
-| `supervised` | It can act, but any state-changing, network, install, or destructive action is **parked for your approval** first. |
+| `supervised` | It can act, but any state-changing, network, install, or destructive action is **parked for your approval** first, unless its tool is on your always-allow list. |
| `full` | Routine actions run automatically; network, install and destructive actions still ask. |
{% hint style="warning" %}
@@ -78,7 +79,10 @@ system roots stay blocked either way.
`supervised` is the right starting point. With it on, nothing with an external
effect happens in a chat without you saying yes: that is the
-[Approval Gate](../features/approval-gate.md).
+[Approval Gate](../features/approval-gate.md). The one exception is a tool you
+put on the always-allow list, by answering **Always allow** to a prompt. That
+tool runs from then on without a fresh approval. Remove it from the list in
+**Settings → Agent access** when you want per-call review back.
**Settings → Agent access** holds the rest of the boundary once the policy is
on: the trusted roots, the always-allow list, the action timeout and the
@@ -124,7 +128,7 @@ You have a working assistant when **all** of these are true:
## Recovery
-- **Reset boundaries fast:** if the assistant is doing too much, set `level = "readonly"` in `config.toml`. It takes effect on the next turn and blocks all acting immediately.
+- **Reset boundaries fast:** if the assistant is doing too much, set both `enabled = true` and `level = "readonly"` in `config.toml`. The level alone changes nothing while `enabled` is `false`, because the whole policy is inert then. With both set, it takes effect on the next turn and blocks all acting immediately.
- **Nothing you connect is permanent:** revoke any integration from Settings; chunks already in your local memory stay (they're yours), and the next sync tick stops pulling that source.
- **If the app itself won't start,** see [Recover from a failed installation](recover-failed-installation.md). Your configuration is preserved by default.
diff --git a/gitbooks/guides/privacy-sensitive-data.md b/gitbooks/guides/privacy-sensitive-data.md
index 3e1b2bc46c..199a0776b4 100644
--- a/gitbooks/guides/privacy-sensitive-data.md
+++ b/gitbooks/guides/privacy-sensitive-data.md
@@ -60,7 +60,7 @@ You have real controls. From most to least private:
1. **Route inference on-device.** Run a local runtime such as Ollama yourself, pull the models, and [add it as a provider](local-model.md) so embeddings, summarization, and optionally chat/reasoning happen on your machine. OpenHuman doesn't install the runtime or download models for you. _(Speech and web search still use the backend proxy even then.)_
2. **Tighten what the assistant can do.** Set `[autonomy] enabled = true` and `level = "readonly"` in `config.toml`: it can then observe and answer but never act or reach the network on its own. The policy is **off by default**, so this is a switch you have to throw, not one to leave alone. See the [Approval Gate](../features/approval-gate.md).
-3. **Keep it in one folder.** With the policy on, `workspace_only` confines the agent to its working folder and it cannot read the rest of your disk; with the policy off, that boundary is not enforced. System and credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws`, and OS directories) are blocked outright either way.
+3. **Keep it in one folder.** The filesystem boundary has two preconditions: the policy enabled, and `workspace_only` on. With both, the agent is confined to its working folder and cannot read the rest of your disk. With either one off, that boundary is not enforced. A **trusted root** is the deliberate exception: each one you add grants its subtree outside the working folder, taking precedence over `workspace_only`. System and credential folders (`~/.ssh`, `~/.gnupg`, `~/.aws`, and OS directories) are blocked outright regardless of all three.
4. **Connect only what you need.** Every integration is a separate OAuth approval you grant (and can revoke) individually. Revoking stops the next sync; memory already collected stays local because it's yours.
## Built-in protections you didn't have to configure
@@ -76,6 +76,7 @@ You have real controls. From most to least private:
You know your privacy posture when you can answer these:
- [ ] Is the autonomy policy on, and do you know its tier? (Check `[autonomy]` in `config.toml`.)
+- [ ] If you are relying on the filesystem boundary, is `workspace_only` on as well, and do you know which trusted roots grant access outside the working folder?
- [ ] Do you know which integrations are connected? (Check **Settings**; disconnect any you don't need.)
- [ ] If locality matters for a workload, is it routed to a [local provider](local-model.md) that is running and answering?
- [ ] Are you comfortable that model turns send _retrieved snippets_, not your whole memory?
diff --git a/gitbooks/overview/auto-update.md b/gitbooks/overview/auto-update.md
index 33b54b7c63..c88c289942 100644
--- a/gitbooks/overview/auto-update.md
+++ b/gitbooks/overview/auto-update.md
@@ -11,7 +11,7 @@ OpenHuman updates the whole app in one step. The core is linked into the desktop
## What you see
-When a newer build is published, an update prompt appears in the app. It has four states, in order: **checking**, **downloading** (with progress), **ready to install**, and then the relaunch. If you are already current you see **up to date**, and a failure says so rather than silently retrying forever.
+When a newer build is available, the app checks for it and downloads it in the background. The prompt appears once the download is ready, then moves through **ready to install**, **installing** and **restarting**. If you are already current you see **up to date**, and a failure says so rather than silently retrying forever.
Installing shuts the in-process core down first, under the same restart lock the app uses elsewhere, so replacing the bundle never races a core still holding file handles. On macOS that is what keeps a `.app` replacement clean.
@@ -29,7 +29,7 @@ Every artifact is signed, and the public key is compiled into the app. A build w
Downloads get **three attempts** (one try plus two retries) with a linear backoff of two seconds times the attempt number.
-Only transient network failures are retried. Signature failures, filesystem errors and "no artifact for this target" are **not**, and that asymmetry is the point: re-downloading cannot fix a bad signature, and looping on a verification failure would both waste the user's bandwidth and mask tampering. The policy lives in `crates/openhuman-app/src/app_update.rs`, where `classify` and `is_transient` are the two functions that decide.
+Only transient network failures are retried. Signature failures, filesystem errors and "no artifact for this target" are **not**, and that asymmetry is the point: re-downloading cannot fix a bad signature, and looping on a verification failure would both waste the user's bandwidth and mask tampering. The policy lives in `crates/openhuman-app/src/app_update.rs`, where `classify` and `is_transient_updater_err` are the two functions that decide.
## Periodic checks
diff --git a/gitbooks/overview/getting-started.md b/gitbooks/overview/getting-started.md
index ce8b653360..5beea62877 100644
--- a/gitbooks/overview/getting-started.md
+++ b/gitbooks/overview/getting-started.md
@@ -52,7 +52,7 @@ then drops you into the app. Two things make the first request worth making:
- **An integration.** Open [Connections](../features/connections.md) → Apps and
connect one. Gmail is the usual first choice; each connection is a one-click
OAuth approval you can revoke.
-- **A memory engine.** Connections → Brain. Signed in, the hosted engine is
+- **A memory engine.** Connections → Memory. Signed in, the hosted engine is
already there; otherwise point it at your own CortexDB. With neither,
[memory](../features/memory.md) is off and the agent starts from zero every
chat.
diff --git a/gitbooks/overview/roadmap.md b/gitbooks/overview/roadmap.md
index 3918e19f8f..292d0200d2 100644
--- a/gitbooks/overview/roadmap.md
+++ b/gitbooks/overview/roadmap.md
@@ -13,11 +13,11 @@ Checked 2026-10-07.
## Taking off the early-beta badge
-[#6047](https://github.com/tinyhumansai/openhuman/issues/6047) is the checklist, with an explicit definition of done: the badge comes off when the boxes are closed, the memory smoke test passes on all three platforms, and the release workflow can publish without hand-holding.
+[#6047](https://github.com/tinyhumansai/openhuman/issues/6047) is the checklist, with an explicit definition of done: the badge comes off when the boxes are closed, the memory smoke test passes on macOS, Windows and Linux, and the release workflow can publish without hand-holding. Read the boxes against the text beside them: a ticked box is not always a passing test.
| Area | State |
| --- | --- |
-| Memory end to end (store, restart, recall, and the agent actually uses it) | Done |
+| Memory end to end (store, restart, recall, and the agent actually uses it) | Two of three items ticked ([#6041](https://github.com/tinyhumansai/openhuman/issues/6041), [#6040](https://github.com/tinyhumansai/openhuman/issues/6040)); the third is the end-to-end smoke test, which the checklist itself records as not currently passing |
| Reply persistence: a completed reply can never vanish | Done |
| Clean-install sign-in on all three platforms | Open, [#6020](https://github.com/tinyhumansai/openhuman/issues/6020) |
| Windows: native modules refused when `%TEMP%` grants Modify to a non-owner group, leaving memory and connectors unavailable | Open, [#6008](https://github.com/tinyhumansai/openhuman/issues/6008) |