Skip to content

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

docs(AGENTS.md, harness_embed.rs): update crate descriptions and test documentation

Steven Enamakel688bd0ee5e62
diff --git a/AGENTS.md b/AGENTS.md
index 7d7e39b414..464913a16a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -13,17 +13,18 @@ Architecture: [overview](gitbooks/developing/architecture.md),
| Path | Purpose |
| --- | --- |
| `app/src/` | Vite and React frontend |
-| `crates/openhuman-app/` | Thin desktop host |
-| `crates/openhuman-core/` | Business domains, transport, dispatch, auth, RPC, and runtime composition |
+| `crates/openhuman-app/` | Thin desktop host; excluded from the root workspace, build with `--manifest-path crates/openhuman-app/Cargo.toml` |
+| `crates/openhuman-core/` | Package `openhuman`: business domains under `src/<domain>/`, transport/dispatch/auth under `src/core/` |
+| `crates/openhuman-core/src/<domain>/` | Flat business-domain modules (agent, memory, tools, security, channels, ...) |
+| `crates/openhuman-core/src/core/` | CLI, JSON-RPC and HTTP dispatch, controller registry, event bus, runtime composition; no business logic |
+| `crates/openhuman-core/src/main.rs` | `openhuman-core` CLI |
| `crates/openhuman-embed/` | Typed library facade for embedding the core in another product |
| `crates/openhuman-rpc/` | Shared RPC contracts, response decoding, and HTTP client used by app and TUI |
| `crates/openhuman-tui/` | Standalone terminal frontend |
-| `crates/openhuman-core/src/` | Business domains, server dispatch, and runtime composition |
-| `crates/openhuman-core/src/main.rs` | `openhuman-core` CLI |
| `tests/` | Rust integration and JSON-RPC tests |
| `gitbooks/` | Public product and contributor documentation |
| `docs/` | Internal maintainer documentation |
-| `vendor/` | Recursive git submodules |
+| `vendor/` | Recursive git submodules; root `Cargo.toml` `[patch]` tables point into this tree |
Run commands from the repository root. The root package is a private pnpm
workspace.
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rs
index 6978d0bff0..36862c624d 100644
--- a/crates/openhuman-embed/tests/harness_embed.rs
+++ b/crates/openhuman-embed/tests/harness_embed.rs
@@ -1,8 +1,9 @@
//! End-to-end proof that `Harness` runs a real agent turn as a library call.
//!
-//! This is the acceptance test `docs/plans/pluggable-core/phase-1-corebuilder.md`
-//! specified and never got: build with no transport and no background services,
-//! run one turn, and assert nothing was bound.
+//! This is the acceptance test the `openhuman_core::core::runtime` composition
+//! (`CoreBuilder`, `DomainSet`, `ServiceSet`) implies and never got: build with
+//! no transport and no background services, run one turn, and assert nothing
+//! was bound.
//!
//! # Why one test does all of it
//!