Skip to content

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

docs(contributing): add platform-specific README files for about_app and socket

Steven Enamakel75532ebdf29e
diff --git a/crates/openhuman-core/src/platform/about_app/README.md b/crates/openhuman-core/src/platform/about_app/README.md
index 17c8470fbf..92e7a24651 100644
--- a/crates/openhuman-core/src/platform/about_app/README.md
+++ b/crates/openhuman-core/src/platform/about_app/README.md
@@ -17,7 +17,7 @@ The single source of truth for the OpenHuman desktop app's **user-facing capabil
| --- | --- |
| `crates/openhuman-core/src/platform/about_app/mod.rs` | Export-only module root + docstring. Re-exports catalog reads, ops entry points, schema registry hooks, and types. |
| `crates/openhuman-core/src/platform/about_app/types.rs` | Serde domain types: `Capability`, `CapabilityCategory` (with `as_str` / `FromStr` incl. aliases), `CapabilityStatus`, `CapabilityPrivacy`, `PrivacyDataKind`. Inline serde/roundtrip tests. |
-| `crates/openhuman-core/src/platform/about_app/catalog.rs` | The static `CAPABILITIES` table plus shared `CapabilityPrivacy` constants. Implements `all_capabilities`, `capabilities_by_category`, `lookup`, `search`, and the `ensure_validated` integrity check. |
+| `crates/openhuman-core/src/platform/about_app/catalog.rs` | Includes the `CAPABILITIES` data (`catalog_data.rs`) and holds the shared `CapabilityPrivacy` constants. Implements `all_capabilities`, `capabilities_by_category`, `lookup`, `search`, and the `ensure_validated` integrity check. |
| `crates/openhuman-core/src/platform/about_app/ops.rs` | RPC-facing logic returning `RpcOutcome<T>`: `list_capabilities`, `lookup_capability`, `search_capabilities`. Thin wrappers over `catalog.rs` with summary logs. |
| `crates/openhuman-core/src/platform/about_app/schemas.rs` | Controller schemas + `handle_*` async handlers for the three RPC methods; param structs; the `all_about_app_controller_schemas` / `all_about_app_registered_controllers` registry pair. |
| `crates/openhuman-core/src/platform/about_app/catalog_data.rs` | The `CAPABILITIES` data itself (`LazyLock<Vec<Capability>>`), concatenated from `catalog_part_01.rs` / `catalog_part_02.rs` / `catalog_part_03.rs`; `#[path]`-included by `catalog.rs`. |
diff --git a/crates/openhuman-core/src/platform/socket/README.md b/crates/openhuman-core/src/platform/socket/README.md
index 9f7f2f5106..f9d0a45ebe 100644
--- a/crates/openhuman-core/src/platform/socket/README.md
+++ b/crates/openhuman-core/src/platform/socket/README.md
@@ -88,7 +88,7 @@ None of its own. State (`status`, `socket_id`, `error`, attached `WebhookRouter`
## Used by
- `crates/openhuman-core/src/core/all.rs` — registers the socket controllers.
-- `crates/openhuman-core/src/core/jsonrpc.rs`, `crates/openhuman-core/src/core/observability.rs` — reference the socket namespace/state.
+- `crates/openhuman-core/src/core/jsonrpc.rs` (`set_global_socket_manager` at bootstrap), `crates/openhuman-core/src/core/runtime/services.rs` (backend auto-connect with `token_provider_from_config`), `crates/openhuman-core/src/core/observability.rs` — reference the socket namespace/state.
- `crates/openhuman-core/src/platform/connectivity/rpc.rs` — connectivity/status surfacing.
- `crates/openhuman-core/src/skills/webhooks/{ops.rs,bus.rs}` — emit webhook responses back through the global manager.
- `crates/openhuman-core/src/security/devices/tunnel_client.rs` — emits tunnel frames/registration over the socket.
diff --git a/docs/CONTRIBUTING-BEGINNERS.md b/docs/CONTRIBUTING-BEGINNERS.md
index cfad5e9a36..c37545f853 100644
--- a/docs/CONTRIBUTING-BEGINNERS.md
+++ b/docs/CONTRIBUTING-BEGINNERS.md
@@ -56,8 +56,9 @@ npm install -g [email protected]
# Rust (the backend language)
brew install rustup-init
-rustup toolchain install --profile minimal
-rustup component add rustfmt clippy
+# The exact Rust version (plus rustfmt and clippy) is pinned in the repo's
+# rust-toolchain.toml; rustup installs it automatically the first time you run
+# cargo inside the checkout, so there is nothing to pick by hand here.
# CMake (required by Rust dependencies)
brew install cmake
@@ -71,7 +72,7 @@ Verify everything is installed:
```bash
node --version # should be v24.x.x or higher
pnpm --version # should be 10.10.0
-rustc --version # should match rust-toolchain.toml
+rustc --version # run inside the repo after Step 2: should print the version pinned in rust-toolchain.toml
cmake --version # any recent version
```
@@ -114,9 +115,10 @@ winget install Rustlang.Rustup
Close and reopen your terminal, then run:
```powershell
-rustup toolchain install --profile minimal
-rustup component add rustfmt clippy
-rustc --version # should match rust-toolchain.toml
+# The exact Rust version (plus rustfmt and clippy) is pinned in the repo's
+# rust-toolchain.toml; rustup installs it automatically the first time you run
+# cargo inside the checkout, so there is nothing to pick by hand here.
+rustc --version # run inside the repo after Step 2: should print the version pinned in rust-toolchain.toml
```
Install CMake:
@@ -152,8 +154,9 @@ npm install -g [email protected]
# Rust via rustup
sudo pacman -S --needed rustup
-rustup toolchain install --profile minimal
-rustup component add rustfmt clippy
+# The exact Rust version (plus rustfmt and clippy) is pinned in the repo's
+# rust-toolchain.toml; rustup installs it automatically the first time you run
+# cargo inside the checkout, so there is nothing to pick by hand here.
# Build tools required by native Rust crates (whisper-rs, cpal, enigo, etc.)
sudo pacman -S --needed base-devel cmake pkgconf clang openssl \
@@ -174,7 +177,7 @@ Verify everything is installed:
```bash
node --version # should be v24.x.x or higher
pnpm --version # should be 10.10.0
-rustc --version # should match rust-toolchain.toml
+rustc --version # run inside the repo after Step 2: should print the version pinned in rust-toolchain.toml
cmake --version # any recent version
```
@@ -205,8 +208,9 @@ Install Rust:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-rustup toolchain install --profile minimal
-rustup component add rustfmt clippy
+# The exact Rust version (plus rustfmt and clippy) is pinned in the repo's
+# rust-toolchain.toml; rustup installs it automatically the first time you run
+# cargo inside the checkout, so there is nothing to pick by hand here.
```
Install native build dependencies:
@@ -234,7 +238,7 @@ Verify everything is installed:
```bash
node --version # should be v24.x.x or higher
pnpm --version # should be 10.10.0
-rustc --version # should match rust-toolchain.toml
+rustc --version # run inside the repo after Step 2: should print the version pinned in rust-toolchain.toml
cmake --version # any recent version
```