Skip to content

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

docs: standardize punctuation in README files

Steven Enamakeld620794d0e7e
diff --git a/crates/openhuman-core/src/desktop/app_state/README.md b/crates/openhuman-core/src/desktop/app_state/README.md
index daf4feb4ce..240cf9693a 100644
--- a/crates/openhuman-core/src/desktop/app_state/README.md
+++ b/crates/openhuman-core/src/desktop/app_state/README.md
@@ -1,6 +1,6 @@
# App State
-Aggregator that the React shell polls every few seconds (`openhuman.app_state_snapshot`) to render the OS-level chrome: the stored credential and user, local-AI status, service health, onboarding tasks, keyring status, config-recovery notice. Owns the on-disk `app-state.json` and the merge/patch surface for shell-managed local fields. Does NOT own any of the underlying domain state, it assembles snapshots from peer domains and persists shell-side onboarding metadata.
+Aggregator that the React shell polls every few seconds (`openhuman.app_state_snapshot`) to render the OS-level chrome: the stored credential and user, local-AI status, service health, onboarding tasks, keyring status, config-recovery notice. Owns the on-disk `app-state.json` and the merge/patch surface for shell-managed local fields. Does NOT own any of the underlying domain state. It assembles snapshots from peer domains and persists shell-side onboarding metadata.
The snapshot never talks to the backend. The user it reports is the payload the host handed the core with `auth.set_credential` (the host's own `/auth/me` answer); the *live* current user is the session owner's business, the Tauri shell's session cache (`openhuman_tinyhumans::session::CurrentUserCache`), and the frontend merges it in (`app/src/services/coreStateApi.ts`).
diff --git a/crates/openhuman-rpc/README.md b/crates/openhuman-rpc/README.md
index 970d6f382b..f900bd99af 100644
--- a/crates/openhuman-rpc/README.md
+++ b/crates/openhuman-rpc/README.md
@@ -6,19 +6,19 @@ core's `/rpc` endpoint. It is its own crate so the side that produces
envelopes (`openhuman-core`, via `crate::rpc`) and the sides that decode them
(the Tauri shell's HTTP relay in `crates/openhuman-app`, the TUI in
`crates/openhuman-tui`) compile the same definition, and so that definition
-depends on nothing in the core — only `serde`/`serde_json`, plus the optional
+depends on nothing in the core: only `serde`/`serde_json`, plus the optional
HTTP client.
## Public surface
-- `pub struct RpcOutcome<T>` / `fn new` / `fn single_log` / `fn into_cli_compatible_json` — `lib.rs` — handler result plus its log lines; the type domain `ops.rs` operations return (see `AGENTS.md`'s module-shape table).
-- `pub fn apply_log_envelope(value, logs) -> Value` — `lib.rs` — single definition of the bare-vs-wrapped response-shape rule; see its doc comment before touching it.
-- `pub fn unwrap_rpc(value: &Value) -> &Value` — `lib.rs` — client-side unwrapping of nested `result`/`data` envelopes.
-- `pub struct StructuredRpcError` / `pub const STRUCTURED_RPC_ERROR_SENTINEL` — `structured_error.rs` — typed error envelope, sentinel-encoded into the controller `Result<_, String>` channel and decoded by `crates/openhuman-core/src/core/jsonrpc.rs`.
-- `pub struct HttpRpcResponse` — `client.rs` (feature `http-client`) — verbatim status + body from an OpenHuman RPC endpoint.
-- `pub fn post_json_rpc(url, token, body) -> Result<HttpRpcResponse, String>` — `client.rs` (feature `http-client`) — POST a JSON-RPC body with a 30s timeout; disables redirects when a bearer token is set.
-- `pub fn bearer_header(token: Option<&str>) -> Option<String>` — `client.rs` (feature `http-client`) — normalize a token into an `Authorization` header value.
-- `pub fn redact_url_for_log(url: &str) -> String` — `client.rs` (feature `http-client`) — strip credentials, path, query and fragment before logging a URL.
+- `pub struct RpcOutcome<T>` / `fn new` / `fn single_log` / `fn into_cli_compatible_json`: `lib.rs`: handler result plus its log lines; the type domain `ops.rs` operations return (see `AGENTS.md`'s module-shape table).
+- `pub fn apply_log_envelope(value, logs) -> Value`: `lib.rs`: single definition of the bare-vs-wrapped response-shape rule; see its doc comment before touching it.
+- `pub fn unwrap_rpc(value: &Value) -> &Value`: `lib.rs`: client-side unwrapping of nested `result`/`data` envelopes.
+- `pub struct StructuredRpcError` / `pub const STRUCTURED_RPC_ERROR_SENTINEL`: `structured_error.rs`: typed error envelope, sentinel-encoded into the controller `Result<_, String>` channel and decoded by `crates/openhuman-core/src/core/jsonrpc.rs`.
+- `pub struct HttpRpcResponse`: `client.rs` (feature `http-client`): verbatim status + body from an OpenHuman RPC endpoint.
+- `pub fn post_json_rpc(url, token, body) -> Result<HttpRpcResponse, String>`: `client.rs` (feature `http-client`): POST a JSON-RPC body with a 30s timeout; disables redirects when a bearer token is set.
+- `pub fn bearer_header(token: Option<&str>) -> Option<String>`: `client.rs` (feature `http-client`): normalize a token into an `Authorization` header value.
+- `pub fn redact_url_for_log(url: &str) -> String`: `client.rs` (feature `http-client`): strip credentials, path, query and fragment before logging a URL.
## Feature flags
@@ -31,23 +31,23 @@ HTTP client.
explicitly: `openhuman-rpc = { path = "../openhuman-rpc", features =
["http-client"] }`. `crates/openhuman-core/Cargo.toml` and
`crates/openhuman-tui/Cargo.toml` use `openhuman-rpc.workspace = true` and
- therefore build the crate with **no** features — they only need the
+ therefore build the crate with **no** features: they only need the
envelope and error types. `cargo tree -p openhuman -e normal -f "{p} [{f}]"
--depth 1` shows `openhuman-rpc [...] []` for both; the app's tree shows
`[default,http-client]`.
## Consumers
-- `crates/openhuman-core/src/lib.rs` — `pub use openhuman_rpc as rpc;`, so
+- `crates/openhuman-core/src/lib.rs`: `pub use openhuman_rpc as rpc;`, so
domain `ops.rs` files return `RpcOutcome<T>` through this crate rather than
a locally defined type.
-- `crates/openhuman-app/src/core_rpc.rs` — imports (`pub(crate) use`, renamed
+- `crates/openhuman-app/src/core_rpc.rs`: imports (`pub(crate) use`, renamed
to `relay_bearer_header` / `RelayHttpResponse`) `bearer_header`,
`HttpRpcResponse` and `redact_url_for_log`, and wraps `post_json_rpc` in
its own `post_json_rpc` / `relay_http_rpc` to reach both the embedded core
and self-hosted runtimes from the Rust host (see the mixed-content note in
that file, #3865).
-- `crates/openhuman-tui/src/cockpit.rs` — `pub use openhuman_rpc::unwrap_rpc;`
+- `crates/openhuman-tui/src/cockpit.rs`: `pub use openhuman_rpc::unwrap_rpc;`
is the TUI's decode point; `controls.rs`, `app.rs` and `state.rs` read RPC
responses through it.
@@ -66,7 +66,7 @@ HTTP client.
A controller's wire shape is decided by its log vector, not its schema, so
a handler that later gains a log line silently changes its own response
- shape. Do not "fix" this here — it needs a maintainer ruling because
+ shape. Do not "fix" this here: it needs a maintainer ruling because
normalizing it is a wire change across every controller. See the doc
comment on `apply_log_envelope` for the full rationale.
diff --git a/crates/openhuman-tinyhumans/README.md b/crates/openhuman-tinyhumans/README.md
index 287041cd19..7f0eb1df3e 100644
--- a/crates/openhuman-tinyhumans/README.md
+++ b/crates/openhuman-tinyhumans/README.md
@@ -51,7 +51,7 @@ openhuman_tinyhumans::install(openhuman_tinyhumans::InstallOptions::default())?;
| `install` | process-global installation, idempotent |
| `RuntimeBuilder` | embed builder + transport |
| `hosted` | the hosted-backend RPC proxies (`billing`, `team`, `referral`, `announcements`), moved here from the core; `hosted::extension()` packages them as a `ControllerExtension` that `install()` registers with the core's registry under `DomainGroup::Hosted`. Wire names (`openhuman.billing_*`, …) are unchanged |
-| `session` | the host-side login/session owner (formerly the `openhuman-session` crate): `SessionClient` (login-token exchange, `GET /auth/me`), `CurrentUserCache`, `CoreLink` (credential handoff into whichever core the host owns), `SessionManager`, process-global `identity` for sync Sentry hooks. May use core utilities (`util::tls`, `api::product`) but never `openhuman_core::security::*` — the core only *takes* a credential |
+| `session` | the host-side login/session owner (formerly the `openhuman-session` crate): `SessionClient` (login-token exchange, `GET /auth/me`), `CurrentUserCache`, `CoreLink` (credential handoff into whichever core the host owns), `SessionManager`, process-global `identity` for sync Sentry hooks. May use core utilities (`util::tls`, `api::product`) but never `openhuman_core::security::*`: the core only *takes* a credential |
| `jwt` | the SDK's JWT readers, for hosts that already depend on this crate |
Routes and error classification stay in the core (`api/rest.rs`,
diff --git a/crates/openhuman-tui/README.md b/crates/openhuman-tui/README.md
index 07835c8d8e..26f8801267 100644
--- a/crates/openhuman-tui/README.md
+++ b/crates/openhuman-tui/README.md
@@ -6,8 +6,8 @@ Settings tabs, persistent thread resume, command/file pickers, approvals, plan
review, task/goal/agent/skill/MCP/artifact views, Git review, and a multiline
composer. Chat uses the same `web_chat` surface the desktop app drives
(`openhuman.channel_web_chat` / `openhuman.channel_web_cancel` +
-`web_chat::subscribe_web_channel_events`). It boots the core in-process — no
-HTTP, no sockets — via
+`web_chat::subscribe_web_channel_events`). It boots the core in-process: no
+HTTP, no sockets: via
`CoreBuilder::new(HostKind::Cli).domains(DomainSet::full()).services(ServiceSet::none())`
and streams a live transcript in the terminal.
@@ -42,7 +42,7 @@ Any other `-`-prefixed argument is rejected before the core boots.
## Feature flags
-- `crash-reporting` (default on) — pulls in `sentry` and `dotenvy`, forwards
+- `crash-reporting` (default on): pulls in `sentry` and `dotenvy`, forwards
`openhuman-core/crash-reporting`, and makes `init_crash_reporting` install a
Sentry client and panic integration before the TUI takes over the terminal.
Without it, `init_crash_reporting` compiles to a no-op at the same call
@@ -50,7 +50,7 @@ Any other `-`-prefixed argument is rejected before the core boots.
## Crate relationships
-- Depends on `openhuman-core` directly and runs it in-process — there is no
+- Depends on `openhuman-core` directly and runs it in-process: there is no
need to spawn or connect to an `openhuman-core` binary.
- Depends on `openhuman-rpc` only for `unwrap_rpc` (re-exported from
`src/cockpit.rs`), which strips the optional `result`/`data` envelopes core
@@ -64,13 +64,13 @@ Any other `-`-prefixed argument is rejected before the core boots.
| File | Purpose |
| --- | --- |
-| `app.rs` | Terminal chat event loop — bridges keyboard input, the web-channel broadcast, and a spinner ticker over `tokio::select!`. |
+| `app.rs` | Terminal chat event loop: bridges keyboard input, the web-channel broadcast, and a spinner ticker over `tokio::select!`. |
| `cockpit.rs` | OpenHuman-native overlays and structured control-plane state. |
| `composer.rs` | Keyboard-first, terminal-independent chat composer. |
| `controls.rs` | Config and account actions for the tabbed terminal UI. |
| `crash_reporting.rs` | Crash-reporting client ownership for the standalone terminal binary. |
-| `render.rs` | Ratatui rendering — a pure view over `TranscriptState` + `UiState`. |
-| `runner.rs` | CLI entry point (`run_from_cli`) — flag parsing, logging setup, and core boot. |
+| `render.rs` | Ratatui rendering: a pure view over `TranscriptState` + `UiState`. |
+| `runner.rs` | CLI entry point (`run_from_cli`): flag parsing, logging setup, and core boot. |
| `state.rs` | Pure, terminal-free transcript reducer for the Chat tab. |
| `terminal.rs` | Terminal setup/teardown with panic-safe restoration. |
| `ui_state.rs` | Pure navigation and form state for the four terminal pages. |