The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(AGENTS.md): document the new autonomy policy toggle and quoted heredoc handling
Steven Enamakel54d0dca30725
diff --git a/AGENTS.md b/AGENTS.mdindex 8dc05c1734..0610ccc7a7 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -163,19 +163,39 @@ guessing from logs.- Rust configuration is defined under`crates/openhuman-core/src/config/schema/` and loaded through its config operations.-The autonomy policy is security-sensitive:--- `action_dir` is the agent's permitted read and write root.+The autonomy policy is **off by default** (`[autonomy] enabled = false`,+`config/schema/autonomy.rs`). Agents here run inside containers, platform jails+and Docker sandboxes that already provide the isolation this in-process policy+was approximating, and a shell tool that refuses ordinary shell syntax is not a+usable shell. `SecurityPolicy::from_config` carries the flag; every enforcement+entry point short-circuits on it.++With the policy **disabled** (the default):++- Command classification, the approval gate, the command allowlist and the+ hourly action budget are all inert.+- `workspace_only`, `forbidden_paths` and the workspace-internal boundary are+ not enforced.+- `is_always_forbidden` still is: credential stores (`~/.ssh`, `~/.gnupg`,+ `~/.aws`) and system roots stay unreachable. So do `..` traversal and null+ bytes in a path. Keep that floor.++With `[autonomy] enabled = true`:++- `action_dir` is the agent's permitted read and write root — and is granted as+ a `ReadWrite` trusted root by `from_config`, so changing the working folder+ does not cost the agent write access to it.- `workspace_dir` stores internal state and is never an acting-tool target.- Unknown commands classify as writes.-- System and credential paths are always forbidden.-- The approval gate is on by default. Interactive requests expire as denied- after ten minutes.-- Sandboxed agents use the platform jail or Docker backend. Rust path checks- still apply if the sandbox falls back.--Do not weaken `is_workspace_internal_path`, `is_always_forbidden`,-`classify_command`, or approval behavior to make a feature work.+- The approval gate prompts on non-read classes. Interactive requests expire as+ denied after ten minutes.++Either way, sandboxed agents use the platform jail or Docker backend, and the+Rust path checks still apply if the sandbox falls back.++A quoted heredoc body (`<< 'EOF' … EOF`) is **data**, not shell:+`strip_quoted_heredoc_bodies` blanks it before any structural scan. An unquoted+delimiter (`<< EOF`) is still expanded and still scanned.## Frontend