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: fix malformed path links in module READMEs
Steven Enamakel6b2c1f3fdc52
diff --git a/crates/openhuman-core/src/platform/proc_metrics/README.md b/crates/openhuman-core/src/platform/proc_metrics/README.mdindex d94851de48..74bff26a90 100644--- a/crates/openhuman-core/src/platform/proc_metrics/README.md+++ b/crates/openhuman-core/src/platform/proc_metrics/README.md@@ -8,7 +8,7 @@ figures.| File | Role || --- | --- |-| `crates/openhuman-core/src/platform/proc_metrics/mod.rs` | `ProcSample`, `sample_self`, [`/proc`](.//proc) parsers, and roster/report aggregation. |+| `crates/openhuman-core/src/platform/proc_metrics/mod.rs` | `ProcSample`, `sample_self`, `/proc` parsers, and roster/report aggregation. || `crates/openhuman-core/src/platform/proc_metrics/tree.rs` | `sample_tree`, `ChildSample`, `TreeSample`: process-*tree* RSS including descendants. |## `ProcSample`@@ -19,11 +19,11 @@ RSS), `threads`, `binary_size_bytes`, `cpu_user_ms` / `cpu_system_ms`, and`open_fds` (`None` when the platform lookup is unavailable, never amisleading zero).-`sample_self` supports Linux ([`/proc/self/status`](.//proc/self/status) + [`/proc/self/smaps_rollup`](.//proc/self/smaps_rollup)-+ [`/proc/self/stat`](.//proc/self/stat)) and macOS (`proc_pidinfo` / `proc_pid_rusage`); it+`sample_self` supports Linux (`/proc/self/status` + `/proc/self/smaps_rollup`++ `/proc/self/stat`) and macOS (`proc_pidinfo` / `proc_pid_rusage`); itreturns a structured `anyhow::Result` error elsewhere rather than fabricatinga reading. `parse_status` and `parse_smaps_rollup` are OS-agnostic, take-`&str`, and are unit-tested against literal [`/proc`](.//proc) text without a live+`&str`, and are unit-tested against literal `/proc` text without a livefilesystem.## Aggregationdiff --git a/crates/openhuman-core/src/sandbox/README.md b/crates/openhuman-core/src/sandbox/README.mdindex 66cb110801..97537165a2 100644--- a/crates/openhuman-core/src/sandbox/README.md+++ b/crates/openhuman-core/src/sandbox/README.md@@ -52,7 +52,7 @@ backend, execute.`OPENHUMAN_SANDBOX` (`SANDBOX_OFF_ENV`) to `off`, `none`, `0`, `false` or`disabled`, case-insensitive. This is for hosts that already isolate thecore (a container, a CI or benchmark image, a VM), where the outer isolation- permits work such as package installs or [`/etc`](.//etc) edits that the action-dir+ permits work such as package installs or `/etc` edits that the action-dirjail would refuse.The rest of the policy follows from that. `workspace_root` is the action dir@@ -84,7 +84,7 @@ user's project:command is wrapped to redirect its output into these files, because somebackends (macOS Seatbelt) rebuild the command and drop piped stdio.- `sandbox_scratch_root(state_dir)/<uuid>/`, exported as `TMPDIR`, `TEMP` and- `TMP` unless the caller set them. [`/tmp`](.//tmp) is not granted, so this is where+ `TMP` unless the caller set them. `/tmp` is not granted, so this is where`mktemp`, compilers and package managers write.Both are granted read-write for that spawn only and are removed on drop@@ -101,10 +101,10 @@ controlled by `[runtime.local_jail]` (`LocalJailConfig`):| --- | --- | --- || `~/.cargo/bin`, `~/.cargo/{config.toml,config,env}` | read-only | `toolchain_homes`, when present || `~/.cargo/registry`, `~/.cargo/git` | read-write | `toolchain_homes`, when present |-| `~/.rustup`, `~/.nvm`, `~/.npm`, [`/usr/local`](.//usr/local), [`/opt`](.//opt) | read-only | `toolchain_homes`, when present |+| `~/.rustup`, `~/.nvm`, `~/.npm`, `/usr/local`, `/opt` | read-only | `toolchain_homes`, when present || git config files and their `include` targets (canonicalized, depth 8) | read-only | `toolchain_homes`, when present || `extra_read_only`, `extra_read_write` | as listed | always, subject to the floor |-| [`/proc`](.//proc) | read-only | only with `allow_proc = true` (default off) |+| `/proc` | read-only | only with `allow_proc = true` (default off) |The credential floor applies to every grant: any path that`SecurityPolicy::is_always_forbidden` rejects, or that is a parent of a@@ -119,12 +119,12 @@ environment.it with `DockerCli::run_one_shot`. The container is `docker run --rm` with thehost action dir mounted read-write at `/workspace`, network `none` by default,`--cap-drop ALL` plus any extra drops, `--security-opt no-new-privileges`, a-read-only rootfs with [`/tmp`](.//tmp) and [`/var/tmp`](.//var/tmp) tmpfs mounts, memory and CPU+read-only rootfs with `/tmp` and `/var/tmp` tmpfs mounts, memory and CPUlimits (512 MB and 1 CPU by default), and only the passthrough env plus therequest's env. Containers carry the label `openhuman.sandbox=true` so`cleanup_orphaned_containers` can kill leftovers. `validate_docker_policy`-rejects host networking and a mount or workspace root of `/`, [`/etc`](.//etc),-[`/proc`](.//proc), [`/sys`](.//sys) or the Docker socket.+rejects host networking and a mount or workspace root of `/`, `/etc`,+`/proc`, `/sys` or the Docker socket.### Backend statusdiff --git a/crates/openhuman-core/src/security/README.md b/crates/openhuman-core/src/security/README.mdindex 04b09ccd76..835d7d9971 100644--- a/crates/openhuman-core/src/security/README.md+++ b/crates/openhuman-core/src/security/README.md@@ -24,7 +24,7 @@ and policy, so it also injects the default trusted roots: the projects home(`~/OpenHuman/projects`) as read-write, the configured `action_dir` asread-write (skipped when the action dir sits at or above `workspace_dir`), thetool-result artifacts directory as read-only, and the namespaced scratch dir-([`/tmp/openhuman`](.//tmp/openhuman), never [`/tmp`](.//tmp) itself) as read-write.+(`/tmp/openhuman`, never `/tmp` itself) as read-write.The policy is off by default. `AutonomyConfig::enabled`(`config/schema/autonomy.rs`) defaults to `false`, and `from_config` copies it@@ -61,7 +61,7 @@ and hold in every configuration:matched by path segment, case-insensitively: `.ssh`, `.gnupg`, `.aws`,`.azure`, `.kube`, `keychains`, and the Windows pairs`Microsoft\{Protect,Credentials,Crypto,Vault}`. System roots are matched by- absolute prefix: [`/etc`](.//etc), [`/root`](.//root), [`/boot`](.//boot), [`/proc`](.//proc), [`/sys`](.//sys), `/system`,+ absolute prefix: `/etc`, `/root`, `/boot`, `/proc`, `/sys`, `/system`,`C:\Windows`, `C:\Program Files`, `C:\Program Files (x86)`,`C:\ProgramData`. A trusted-root grant cannot reach these either, and theper-turn workspace grant is checked after this test, so it cannot either.diff --git a/crates/openhuman-core/src/security/policy/README.md b/crates/openhuman-core/src/security/policy/README.mdindex 515e98862b..7d32401068 100644--- a/crates/openhuman-core/src/security/policy/README.md+++ b/crates/openhuman-core/src/security/policy/README.md@@ -88,10 +88,10 @@ Each of these must not be weakened to make a feature work:- `is_always_forbidden` (`path_checks.rs`) does a case-insensitive,segment-based match against `SENSITIVE_COMPONENTS` (`.ssh`, `.gnupg`,`.aws`, `.azure`, `.kube`, `keychains`, Windows DPAPI dirs) plus a prefix- match against `SYSTEM_PREFIXES` ([`/etc`](.//etc), [`/root`](.//root), [`/boot`](.//boot), [`/proc`](.//proc), [`/sys`](.//sys),+ match against `SYSTEM_PREFIXES` (`/etc`, `/root`, `/boot`, `/proc`, `/sys`,`/system`, `C:\Windows`, `C:\Program Files[ (x86)]`, `C:\ProgramData`).It is unconditional; a `trusted_root` grant can never reach these paths.- Gray-area directories ([`/usr`](.//usr), [`/opt`](.//opt), [`/var`](.//var), `~/Library`) deliberately+ Gray-area directories (`/usr`, `/opt`, `/var`, `~/Library`) deliberatelystay in the user-overridable `forbidden_paths` list instead, so a grant canstill reach, for example, `/usr/local/...`.- `classify_command`'s fail-closed floor ([`command_checks.rs`](./command_checks.rs)): adiff --git a/crates/openhuman-core/src/test_support/README.md b/crates/openhuman-core/src/test_support/README.mdindex 97a1964e66..bae0e5aaeb 100644--- a/crates/openhuman-core/src/test_support/README.md+++ b/crates/openhuman-core/src/test_support/README.md@@ -78,7 +78,7 @@ reads inside the workspace:1. A lexical component walk rejects `..` and any root or prefix component(`C:\`, `\\?\`) before touching the filesystem. `./` is allowed.-2. The workspace root is canonicalized (on macOS [`/var`](.//var) resolves to+2. The workspace root is canonicalized (on macOS `/var` resolves to`/private/var`), the relative path is joined onto it, and the candidate iscanonicalized and checked with `starts_with`. This second step catches asymlink pointing out of the workspace, which the lexical walk cannot see.