Skip to content

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

chore: files changed crates/openhuman-core/src/test_support/README.md

Steven Enamakel349e7b6a1677
diff --git a/crates/openhuman-core/src/test_support/README.md b/crates/openhuman-core/src/test_support/README.md
index 0ba6c3c2ba..db1f612a57 100644
--- a/crates/openhuman-core/src/test_support/README.md
+++ b/crates/openhuman-core/src/test_support/README.md
@@ -74,7 +74,7 @@ This module owns no state of its own. It mutates and reads state owned by other
- Double gating: `reset` is fail-closed behind both the `/rpc` bearer token and `OPENHUMAN_E2E_MODE`; introspection RPCs rely on the bearer token alone. The token file specs read is written by `crates/openhuman-app/src/core_process.rs` under `#[cfg(debug_assertions)]` only.
- In-process reset: the core process is not restarted; specs reload the webview afterward so the renderer also starts blank.
-- Add new persistent state to `reset`: per the module docstring, any new domain that survives `test_reset` is a leak that lets specs interfere: extend `rpc::reset` when adding persistent state.
+- Add new persistent state to `reset`. Per the module docstring, any new domain that survives `test_reset` is a leak that lets specs interfere, so extend `rpc::reset` when adding persistent state.
- Path-jail ordering: `resolve_workspace_relative` rejects `..` (and root/prefix components) lexically before touching the filesystem; the `canonicalize` + `starts_with` check underneath only catches symlink escapes and used to fail open for non-existent targets (openhuman#6085). It canonicalizes the root first (macOS `/var`→`/private/var`); `walk_dir` uses `symlink_metadata` and skips symlinks so listings can't follow links out of the workspace.
- CI runs only the `introspect` tests: the CI Lite lane filters to `test_support::introspect::` because `rpc_tests.rs`'s `wipe_memory_tree` test fails under `--no-default-features` (the memory driver there does not serve `Maintenance`, so `wipe_all_rpc` errors). Run `cargo test -p openhuman --features e2e-test-support --lib -- test_support::` locally to cover both files.
- `read_workspace_file` byte accounting: `returned_bytes` is the raw byte count before lossy UTF-8 conversion (which substitutes U+FFFD and can change length) so specs can assert byte-accurate truncation.