Skip to content

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

docs(developing): add Rust core and CEF build guides

Steven Enamakelc85c91864394
diff --git a/gitbooks/developing/building-rust-core.md b/gitbooks/developing/building-rust-core.md
index a79c008705..fe6a47d99a 100644
--- a/gitbooks/developing/building-rust-core.md
+++ b/gitbooks/developing/building-rust-core.md
@@ -5,12 +5,10 @@ icon: terminal
# Building the Rust core
-This page is the contributor-facing reference for compiling the Rust core on a fresh machine.
-
-It covers the **core workspace and its sibling crates**:
+This page shows how to compile the Rust core on a fresh machine. It covers the core workspace and its sibling crates:
- Cargo package: `openhuman`
-- Binary: `openhuman-core`
+- Binary: `openhuman-core` (built from `openhuman-cli`)
- Library: `openhuman_core`
The root `Cargo.toml` is a virtual workspace whose members are
@@ -19,7 +17,7 @@ The root `Cargo.toml` is a virtual workspace whose members are
`crates/openhuman-tui`. `crates/openhuman-app` (the Tauri desktop shell) is
excluded from that workspace and builds from its own manifest.
-If you want the full desktop app (`pnpm dev`, Tauri, frontend tooling), use [Getting Set Up](getting-set-up.md). That path has extra JavaScript, submodule, and desktop-runtime requirements that are **not** needed for a core-only `cargo` workflow.
+If you want the full desktop app (`pnpm dev`, Tauri, frontend tooling), use [Getting set up](getting-set-up.md). That path needs extra JavaScript, submodule and desktop-runtime tooling that a core-only `cargo` workflow does not.
## 1. Install the pinned Rust toolchain
@@ -28,8 +26,8 @@ The repository pins Rust in [`rust-toolchain.toml`](https://github.com/tinyhuman
- Channel: `1.96.1`
- Components: `rustfmt`, `clippy`
-The pin exists because `rusqlite` 0.40 / `libsqlite3-sys` 0.38 use the
-`cfg_select!` macro, stabilized in 1.96 (unstable through 1.95).
+The pin exists because `rusqlite` 0.40 and `libsqlite3-sys` 0.38 use the
+`cfg_select!` macro, which became stable in 1.96.
Recommended install:
@@ -49,19 +47,16 @@ git clone https://github.com/tinyhumansai/openhuman.git
cd openhuman
```
-That is enough for the Rust workspace. Core sources, the package manifest, and
-the authoritative domain implementation live under `crates/openhuman-core/`.
-The stable host-facing library facade is the sibling
-`crates/openhuman-embed/` package, while the terminal frontend is
-`crates/openhuman-tui/`. The `openhuman-core` binary itself, the developer and
-benchmark bins, and the root `tests/*.rs` / `examples/*.rs` targets live in
-`crates/openhuman-cli/`, which depends on `crates/openhuman-tinyhumans/` for
-the SDK-backed backend transport the core does not carry on its own. Shared
-JSON-RPC contracts and the HTTP client used by the Tauri shell and the TUI
-live in `crates/openhuman-rpc/`.
+That is enough for the Rust workspace. Here is where things live:
+
+- `crates/openhuman-core/` holds the core sources, the package manifest and the domain implementation.
+- `crates/openhuman-embed/` is the library facade for hosts.
+- `crates/openhuman-tui/` is the terminal frontend.
+- `crates/openhuman-cli/` holds the `openhuman-core` binary, the developer and benchmark bins, and the root `tests/*.rs` and `examples/*.rs` targets. It depends on `crates/openhuman-tinyhumans/` for the SDK-backed backend transport, which the core does not carry.
+- `crates/openhuman-rpc/` holds the JSON-RPC contracts and the HTTP client that the Tauri shell and the TUI use.
The recursive submodules under repo-root `vendor/` are required for the core
-build too, not just the desktop shell: `crates/openhuman-core/Cargo.toml`
+build too, not just the desktop shell. `crates/openhuman-core/Cargo.toml`
path-depends on `vendor/tinyagents`, `vendor/tinymemory`, `vendor/tinymcp`,
and the rest of the `tiny*` family, and the root `Cargo.toml` `[patch]`
tables point into `vendor/tinymemory`, `vendor/tinyflows`,
@@ -72,30 +67,29 @@ copy nested under `vendor/tinyagents/`.
git submodule update --init --recursive vendor/
```
-Desktop/Tauri work has extra requirements on top of this: follow [Getting
-Set Up](getting-set-up.md) for those.
+Desktop and Tauri work has extra requirements. Follow [Getting set up](getting-set-up.md) for those.
## 3. Build commands
From the repository root:
```bash
-# Fast dependency + type check
+# Fast dependency and type check
cargo check --manifest-path Cargo.toml
-# Debug build of the actual CLI / RPC binary
+# Debug build of the CLI and RPC binary
cargo build --manifest-path Cargo.toml -p openhuman-cli --bin openhuman-core
# Check the stable host-facing embedding facade
cargo check --manifest-path Cargo.toml -p openhuman-embed
-# Check the shared RPC contracts + HTTP client crate
+# Check the shared RPC contracts and HTTP client crate
cargo check --manifest-path Cargo.toml -p openhuman-rpc
# Build the terminal frontend (embeds the core in-process)
cargo build --manifest-path Cargo.toml -p openhuman-tui
-# Check the desktop shell (separate Cargo world, own manifest/lockfile)
+# Check the desktop shell (separate Cargo world, own manifest and lockfile)
cargo check --manifest-path crates/openhuman-app/Cargo.toml
# Release build
@@ -107,20 +101,19 @@ cargo test --manifest-path Cargo.toml
Notes:
-- The core library's package name is `openhuman` (crate `openhuman_core`), but the runnable binary, `openhuman-core`, is built from the `openhuman-cli` package (`crates/openhuman-cli/src/main.rs`), which is why the commands above pass `-p openhuman-cli`.
+- The core library's package is `openhuman` (crate `openhuman_core`). The runnable binary, `openhuman-core`, is built from the `openhuman-cli` package (`crates/openhuman-cli/src/main.rs`), which is why the commands above pass `-p openhuman-cli`.
- The built binary lands at `target/debug/openhuman-core` or `target/release/openhuman-core`.
### Faster local linking (optional)
-The `openhuman` core crate links a large single rlib, so the edit → `cargo
-check`/`cargo test` inner loop is frequently link-bound. A faster linker (mold
-on Linux, lld on macOS) can cut a large slice off every incremental relink.
+The `openhuman` core crate links a large single rlib, so the edit, `cargo check` and `cargo test` loop is often link-bound. A faster linker (mold
+on Linux, lld on macOS) cuts a large slice off every incremental relink.
[`.cargo/config.toml`](https://github.com/tinyhumansai/openhuman/blob/main/.cargo/config.toml) documents the manual
-opt-in, but the easiest path is:
+opt-in. The easiest path is:
```bash
# installs mold/lld detection into $CARGO_HOME/config.toml, never the
-# repo's tracked .cargo/config.toml, so it's a per-machine opt-in
+# repo's tracked .cargo/config.toml, so it is a per-machine opt-in
scripts/dev-setup-linker.sh
# preview the change first
@@ -128,23 +121,21 @@ scripts/dev-setup-linker.sh --dry-run
```
Install the linker first (`apt install mold` / `brew install llvm`). The
-script detects it and exits with instructions if it's missing. It's
-idempotent: re-running it after the linker is already configured is a no-op.
-CI enables the same flag directly via `RUSTFLAGS` in the Linux Rust jobs; this
-script exists so local `cargo` invocations get the same speedup without
-depending on a container.
+script detects it and exits with instructions if it is missing. It is
+idempotent, so running it again after the linker is configured does nothing.
+CI enables the same flag through `RUSTFLAGS` in the Linux Rust jobs. The
+script gives local `cargo` runs the same speedup.
### Feature gates and binary size
`crates/openhuman-core/Cargo.toml` builds most of its domains behind Cargo
features. A bare `cargo check` compiles the contributor default set (`media`,
`skills`, `flows`, `mcp`, `channels`, `http-server`, `scheduler-gate`,
-`file-logging`, `modules`), which is not the same as what the desktop app
-ships: `scripts/ci/product-features.txt` is the single source of truth for
+`file-logging`, `modules`), which is not what the desktop app
+ships. `scripts/ci/product-features.txt` is the single source of truth for
the shipped product's gate list, and `scripts/ci/check-feature-forwarding.mjs`
-asserts that `crates/openhuman-app/Cargo.toml` forwards exactly that set.
-Turning a gate off drops real code and, for some gates, whole native
-dependencies. For measured binary sizes and RSS across a few feature recipes,
+checks that `crates/openhuman-app/Cargo.toml` forwards exactly that set.
+Turning a gate off drops real code and, for some gates, whole native dependencies. For measured binary sizes and RSS across a few feature recipes,
see [Performance](performance.md).
## 4. macOS prerequisites
@@ -153,9 +144,7 @@ Install:
- Xcode Command Line Tools: `xcode-select --install`
-Why:
-
-- Native dependencies (`cpal` for audio capture behind the `inference` feature, which `voice` requires; the `objc2` Contacts cohort compiled by the vendored `tinymemory` crates) compile C/Objective-C code during the build and need Apple toolchains and SDK headers present.
+Why: native dependencies compile C and Objective-C code during the build, and they need the Apple toolchain and SDK headers. These include `cpal` for audio capture (behind the `inference` feature, which `voice` requires) and the `objc2` Contacts crates compiled by the vendored `tinymemory` crates.
After Xcode CLT is installed, the core should build with the cargo commands above.
@@ -165,7 +154,7 @@ After Xcode CLT is installed, the core should build with the cargo commands abov
Install these packages before running `cargo` on a fresh Linux machine.
-**Ubuntu / Debian:**
+Ubuntu or Debian:
```bash
sudo apt-get update
@@ -175,28 +164,28 @@ sudo apt-get install -y \
libstdc++-14-dev
```
-**Arch Linux:**
+Arch Linux:
```bash
sudo pacman -S --needed base-devel cmake pkgconf clang openssl \
alsa-lib libxi libxtst xdotool libevdev
```
-> On Arch, `clang` includes `libclang` and `base-devel` includes `gcc` (providing `libstdc++`), so separate `-dev` packages are not needed.
+> On Arch, `clang` includes `libclang` and `base-devel` includes `gcc` (providing `libstdc++`), so you do not need separate `-dev` packages.
Why these matter:
-- `build-essential` / `base-devel`, `cmake`, `pkg-config` / `pkgconf`: native builds used by transitive Rust dependencies.
+- `build-essential` / `base-devel`, `cmake`, `pkg-config` / `pkgconf`: native builds for transitive Rust dependencies.
- `clang`, `libclang-dev`: bindgen (used by native crates such as `cpal`'s ALSA bindings) and C/C++ compilation paths.
- `libssl-dev` / `openssl`: OpenSSL headers needed by some networking dependencies.
-- `libasound2-dev` / `alsa-lib`, `libxi-dev` / `libxi`, `libxtst-dev` / `libxtst`, `libxdo-dev` / `xdotool`, `libudev-dev` (included in Arch `systemd-libs`), `libevdev`: required by audio/input/device crates (`cpal`, `enigo`/X11 input handling) pulled into the core build.
+- `libasound2-dev` / `alsa-lib`, `libxi-dev` / `libxi`, `libxtst-dev` / `libxtst`, `libxdo-dev` / `xdotool`, `libudev-dev` (included in Arch `systemd-libs`), `libevdev`: required by the audio, input and device crates (`cpal`, `enigo`/X11 input handling) pulled into the core build.
- `libstdc++-14-dev`: `clang`-driven builds may pick GCC 14 C++ headers on Ubuntu runners; this keeps `libstdc++.so` resolvable for those native crates.
### Linux desktop/Tauri package set
If you are building the desktop shell instead of the core-only crate, install the broader dependency set.
-**Ubuntu / Debian** (mirrored from [`.github/workflows/build-desktop.yml`](https://github.com/tinyhumansai/openhuman/blob/main/.github/workflows/build-desktop.yml)):
+Ubuntu or Debian (mirrored from [`.github/workflows/build-desktop.yml`](https://github.com/tinyhumansai/openhuman/blob/main/.github/workflows/build-desktop.yml)):
```bash
sudo apt-get update
@@ -209,7 +198,7 @@ sudo apt-get install -y \
libgbm1 libpango-1.0-0 libcairo2 libatspi2.0-0 libxshmfence1 libu2f-udev
```
-**Arch Linux:**
+Arch Linux:
```bash
sudo pacman -S --needed gtk3 webkit2gtk-4.1 libayatana-appindicator \
@@ -225,7 +214,7 @@ Use the desktop lists only when you need `crates/openhuman-app/`; for root-crate
Install:
- Rust via `rustup`
-- Visual Studio Build Tools 2022 or Visual Studio with the **Desktop development with C++** workload
+- Visual Studio Build Tools 2022 or Visual Studio with the Desktop development with C++ workload
- The MSVC target used by CI and release builds: `x86_64-pc-windows-msvc`
Recommended commands after the Microsoft toolchain is installed:
@@ -240,9 +229,9 @@ Use the MSVC toolchain, not MinGW, to match CI and release builds.
## 7. Related paths
-- [Getting Set Up](getting-set-up.md): full desktop contributor setup with `pnpm`, Tauri, and submodules. The core runs in-process inside the desktop shell (see [Tauri Shell](architecture/tauri-shell.md)); there is no sidecar staging step.
-- [OpenHuman Architecture](architecture/README.md): where the core fits into the desktop app and RPC flow.
-- [Deep Architecture Reference](architecture.md): the full crate map and repository layout.
+- [Getting set up](getting-set-up.md): the full desktop contributor setup with `pnpm`, Tauri and submodules. The core runs in-process inside the desktop shell (see [Tauri shell](architecture/tauri-shell.md)), so there is no sidecar staging step.
+- [Architecture overview](architecture/README.md): where the core fits into the desktop app and RPC flow.
+- [Architecture](architecture.md): the full crate map and repository layout.
- [Embedding](embedding.md): using `crates/openhuman-embed` to run the core as a library in another product.
-- [Engines](engines.md): the pluggable LLM, embedding, memory, and search backends the core can run against.
+- [Engines](engines.md): the pluggable LLM, embedding, memory and search backends the core can run against.
- [Performance](performance.md): binary size, cold start, and memory numbers across feature recipes.
diff --git a/gitbooks/developing/cef.md b/gitbooks/developing/cef.md
index c05e57c240..ee85de397c 100644
--- a/gitbooks/developing/cef.md
+++ b/gitbooks/developing/cef.md
@@ -1,122 +1,34 @@
---
description: >-
- Historical design notes from when OpenHuman shipped its own Chromium (CEF)
- runtime. The shell now runs on stock Tauri (Wry); kept as background only.
+ Why the desktop shell no longer uses Chromium (CEF), what replaced it, and
+ the rule against injecting JavaScript into child webviews.
icon: chrome
---
-# Chromium Embedded Framework (historical)
+# Chromium Embedded Framework (retired)
-{% hint style="warning" %}
-**Historical.** The desktop shell no longer ships CEF. `crates/openhuman-app/` builds on upstream Tauri's native webview runtime (Wry: WKWebView / WebView2 / WebKitGTK), and `AGENTS.md` forbids restoring CEF or CDP-scanner assumptions. The native iMessage scanner remains separate because it reads `chat.db` directly. Everything below describes the retired runtime and is kept only as design background; the file paths it cites (`crates/openhuman-app/src/webview_accounts/`, `scripts/ensure-tauri-cli.sh`, `vendor/tauri-cef`) no longer exist.
-{% endhint %}
+OpenHuman no longer ships its own Chromium. The desktop shell, `crates/openhuman-app/`, runs on the native webview that Tauri v2 provides through Wry: WKWebView on macOS, WebView2 on Windows and WebKitGTK on Linux. Do not restore CEF or Chrome DevTools Protocol (CDP) scanner assumptions. [`AGENTS.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md) states this rule.
-For about a year OpenHuman did not run on the platform's built-in webview. It shipped its own **Chromium Embedded Framework (CEF) runtime** through a fork of `tauri-runtime`, and that single decision was load-bearing for almost every "OpenHuman knows what's happening in your tools" feature in the product.
+This page is background for anyone who finds CEF references in older code or notes.
-This page explains why CEF was in the bundle, what the codebase used it for, and what replaced each piece. Nothing described below is in the shipped app.
+## What CEF was for
-## Why CEF instead of a stock webview
+For a while the shell shipped Chromium through a fork of `tauri-runtime`. The stock native webviews do not expose CDP, and CDP was what let the app watch connected web apps such as Slack, WhatsApp, Telegram, Discord and Google Meet. Each one ran in its own child webview with isolated storage, and a scanner for each read its state over CDP rather than through injected JavaScript. The same runtime also powered a Google Meet camera that showed the mascot, and notification interception for embedded apps.
-Stock Tauri uses each platform's native webview. WKWebView on macOS, WebView2 on Windows, WebKitGTK on Linux. Those work fine for rendering the OpenHuman app itself. They have one fatal limitation for our use case: **none of them expose Chrome DevTools Protocol (CDP)**.
+None of that is in the shipped app.
-CDP is the load-bearing primitive. Every "watch what's happening inside Slack / WhatsApp / Telegram / Discord / Meet" feature in OpenHuman talks to those embedded apps via CDP, not via injected JavaScript. CDP gives us:
+## What replaced it
-- `Target.getTargets` to discover every page and service worker.
-- `IndexedDB.requestDatabaseNames` / `requestDatabase` / `requestData` to walk a third-party app's local storage.
-- `DOMSnapshot.captureSnapshot` for read-only DOM inspection that doesn't trip framework reactivity.
-- `Runtime.evaluate` for ephemeral one-shot reads (a single fixed JSON serializer, never a persistent bridge).
-- `Page.addScriptToEvaluateOnNewDocument` for the small number of cases where we genuinely need a renderer-side shim before page JS runs.
+- Browser automation moved out of the shell. A real Chrome is driven over CDP from the Rust side, through the `tinycomputer` module, as a separate process that the agent launches or attaches to. See [Browser and computer control](../features/native-tools/browser-and-computer.md).
+- The scanners that walked third-party apps are gone. The iMessage scanner remains because it reads `~/Library/Messages/chat.db` directly and never needed a browser.
-Stock webviews give none of that, which is why CEF was vendored.
+## No JavaScript injection into child webviews
-**What replaced it.** Browser automation moved out of the shell entirely: a real Chrome driven over CDP from the Rust side, through the `tinycomputer` module, as a separate process the agent either launches or attaches to. See [Browser & Computer Control](../features/native-tools/browser-and-computer.md). The scanners that walked a third-party app's IndexedDB are gone; the one that survived, iMessage, never needed a browser because it reads `chat.db` directly.
+Do not add JavaScript injection to child webviews. New behavior belongs in Rust-side IPC hooks, and any new Tauri plugin should be audited for `js_init_script`.
-The vendored runtime lived at `crates/openhuman-app/vendor/tauri-cef/` (forked from the upstream `tauri-cef` branch onto `tinyhumansai/tauri-cef:feat/cef-notification-intercept`, currently CEF 146.4.1). Every Tauri crate is patched at `crates/openhuman-app/Cargo.toml` via `[patch.crates-io]` to point at this fork. The vendored `cargo-tauri` CLI bundles Chromium correctly into `Contents/Frameworks/`; stock `@tauri-apps/cli` produces a broken bundle that panics in `cef::library_loader::LibraryLoader::new`. `scripts/ensure-tauri-cli.sh` (removed) reinstalled the vendored CLI whenever the fork is newer than the installed binary.
-
-## What CEF was used for
-
-### Embedded third-party webviews
-
-Every connected provider that runs as a hosted web app gets its own child CEF webview:
-
-- WhatsApp Web
-- Telegram Web
-- Slack
-- Discord
-- Google Meet
-- LinkedIn
-- Gmail
-- Zoom
-- WeChat
-- Google Messages
-- browserscan
-
-Per-account storage is isolated to `{app_local_data_dir}/webview_accounts/{id}/`. Two Slack workspaces, two browser profiles. Code (removed): `crates/openhuman-app/src/webview_accounts/mod.rs`.
-
-### CDP-driven scanners
-
-Each provider had a **scanner module** in `crates/openhuman-app/src/` (all removed except `imessage_scanner/`). Every scanner holds a long-lived WebSocket to CEF's `--remote-debugging-port=19222` and ticks on a fixed schedule:
-
-| Scanner | Cadence | What it does |
-| ------------------- | ------------------------------- | -------------------------------------------------------------------- |
-| `whatsapp_scanner` | 2s DOM tick + 30s full IDB walk | Reads message stores, pulls media metadata |
-| `telegram_scanner` | Same | Plus QR-login hand-off to native Telegram Desktop |
-| `slack_scanner` | 30s IDB walk | Pure IDB - no DOM scrape needed |
-| `discord_scanner` | Periodic | Channel + DM state via CDP |
-| `meet_scanner` | Periodic | Live captions + participant state during calls |
-| `wechat_scanner` | Periodic | WeChat Web chat list + active conversation DOM scrape via CDP |
-| `gmessages_scanner` | Periodic | Google Messages Web read-only IndexedDB walk |
-| `imessage_scanner` | Periodic | **No webview.** Reads `~/Library/Messages/chat.db` directly on macOS |
-
-Each scan emitted `webview:event` payloads from the shell, so scanning continued whether the UI window was open or backgrounded. (The native iMessage scanner's old `openhuman.memory_doc_ingest` RPC call no longer exists in the core.)
-
-### Google Meet mascot camera
-
-The flashiest CEF trick, and the one that went with it. The Meet agent did not just _attend_ a meeting, it **broadcast** itself as a camera. That worked because CEF let us:
-
-1. Inject a tiny bridge (`camera_bridge.js`) via `Page.addScriptToEvaluateOnNewDocument` before any Meet code runs.
-2. Override `navigator.mediaDevices.getUserMedia` so it returns a `MediaStream` from a hidden 640×480 canvas instead of a real camera.
-3. Render the mascot SVG on that canvas, swapping mood states (idle, thinking, talking) via `window.__openhumanSetMood(...)` driven from Rust over CDP.
-
-There's also a build-time path that rasterizes the mascot SVG to Y4M and uses CEF's native `--use-file-for-fake-video-capture` flag, a fully native fake-camera source with no JS at all.
-
-Code (removed): `crates/openhuman-app/src/meet_video/`.
-
-### Native notification interception
-
-The fork at `feat/cef-notification-intercept` adds renderer-side shims for `Notification.permission`, `Notification.requestPermission()`, and `navigator.permissions.query({name: "notifications"})`. These now install in the real `tauri-runtime-cef` path on every runtime code path, so when Slack checks if it can show notifications, the answer is consistent with what CEF's permission callbacks already granted.
-
-This was the bulk of the (since removed) `docs/TAURI_CEF_FINDINGS_AND_CHANGES.md`. It's why Slack stops asking the same permission five times in a session.
-
-## The "no new JS injection" rule
-
-The rule is documented in [`AGENTS.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md): **migrated providers load with zero injected JavaScript**. All scraping happens natively over CDP from the scanner side.
-
-This matters because anything host-controlled that runs inside a third-party origin is an attack-surface liability. A persistent JS bridge inside Slack is one Slack update away from breaking, and one mistake away from leaking the bridge to attacker-controlled JS. CDP from outside the renderer is strictly better.
-
-| Provider | Migrated? | What loads at startup |
-| ----------- | ------------- | -------------------------------- |
-| WhatsApp | Yes | Zero JS |
-| Telegram | Yes | Zero JS |
-| Slack | Yes | Zero JS |
-| Discord | Yes | Zero JS |
-| browserscan | Yes | Zero JS |
-| Gmail | grandfathered | Legacy `runtime.js` bridge |
-| LinkedIn | grandfathered | Legacy `LINKEDIN_RECIPE_JS` |
-| Google Meet | grandfathered | Camera + audio + caption bridges |
-
-Legacy injection should shrink, never grow. New providers go straight onto the CDP-only path.
-
-## Removed sections
-
-This page used to carry a CEF prewarm note, Windows and Linux startup-triage
-runbooks, a plugin-audit table, and a "where this could evolve" design section.
-They are dropped rather than kept: the runbooks told a maintainer to collect
-logs and set environment variables that no longer exist, and the design section
-has been overtaken. The one idea in it that did happen, browser automation as a
-first-class agent tool, is
-[Browser & Computer Control](../features/native-tools/browser-and-computer.md).
+Host-controlled code that runs inside a third-party origin is an attack-surface risk. A persistent bridge inside another site breaks when that site updates, and one mistake can expose the bridge to attacker-controlled JavaScript.
## See also
-- [`AGENTS.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md): the canonical rule that no JavaScript injection is added to child webviews, and that CEF and CDP-scanner assumptions are not restored.
+- [Tauri shell](architecture/tauri-shell.md): the current desktop host and its IPC surface.
+- [`AGENTS.md`](https://github.com/tinyhumansai/openhuman/blob/main/AGENTS.md): the repo-wide rules.