Skip to content

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

docs(app_state): clarify test module attachment and identity consumer descriptions

Steven Enamakel26a19afcf7d6
diff --git a/crates/openhuman-core/src/desktop/app_state/README.md b/crates/openhuman-core/src/desktop/app_state/README.md
index 75045b92e1..56d838457b 100644
--- a/crates/openhuman-core/src/desktop/app_state/README.md
+++ b/crates/openhuman-core/src/desktop/app_state/README.md
@@ -16,7 +16,7 @@ Aggregator that the React shell polls every few seconds (`openhuman.app_state_sn
| `ops_current_user_generation.rs` | `CURRENT_USER_GENERATION` counter, `CURRENT_USER_SESSION_MUTATION_LOCK`, `forget_current_user_caches` (sign-out invalidation). |
| `recovery_signal.rs` | Process-lifetime latch for "config.toml was recovered from corruption this session" (#5167). |
| `schemas.rs` | `app_state` controller schemas and thin handlers. |
-| `*_tests.rs` | Sibling test files attached from `ops.rs`, `recovery_signal.rs`, and `schemas.rs`. |
+| `*_tests.rs` | Sibling test files attached with `#[cfg(test)] #[path = ...] mod`. |
## Public surface
@@ -46,7 +46,7 @@ Aggregator that the React shell polls every few seconds (`openhuman.app_state_sn
- `crates/openhuman-core/src/core/all.rs` — registers `all_app_state_registered_controllers()`; the shell reaches them through `coreRpcClient` → `relay_http_rpc`.
- `crates/openhuman-core/src/core/jsonrpc.rs` — `latch_from_config` at runtime bootstrap.
- `crates/openhuman-core/src/agent/harness/session/builder/factory.rs` — `load_stored_app_state` to read `onboarding_tasks.enabled_tools` for tool filtering.
-- `peek_cached_current_user_identity` — `agent/harness/session/turn/context.rs`, `agent/tinyagents/host/context_composer.rs`, `agent/tinyagents/payload_summarizer.rs`, `web_chat/progress_bridge.rs`, `security/credentials/sentry_scope.rs`, `main.rs`, and `crates/openhuman-app/src/lib.rs`.
+- `peek_cached_current_user_identity` — `agent/harness/session/turn/context.rs`, `agent/tinyagents/host/context_composer.rs`, `agent/tinyagents/payload_summarizer.rs`, `web_chat/progress_bridge.rs`, and the Sentry `before_send` filters in `main.rs` and `crates/openhuman-app/src/lib.rs`.
- `crates/openhuman-core/src/security/credentials/ops_part_02.rs` — takes `CURRENT_USER_SESSION_MUTATION_LOCK` and calls `forget_current_user_caches` on sign-out.
- `crates/openhuman-core/src/security/keyring_consent/ops.rs` — persists the consent choice through `update_local_state`.