Skip to content

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

docs: add README files for migration helpers and runtime node modules

Steven Enamakelac7ec4da4f7a
diff --git a/crates/openhuman-core/src/config/migration_helpers/README.md b/crates/openhuman-core/src/config/migration_helpers/README.md
index 99017d1e36..e908a43487 100644
--- a/crates/openhuman-core/src/config/migration_helpers/README.md
+++ b/crates/openhuman-core/src/config/migration_helpers/README.md
@@ -1,6 +1,6 @@
# migration
-Data-migration helpers that import memory from **other AI assistants' workspaces** (OpenClaw, Hermes Agent) into the current OpenHuman workspace's memory backend. It scans a source workspace for SQLite (`brain.db`) and Markdown memory artifacts, normalizes them into `Memory` entries, backs up the target's existing memory, and writes the imported entries — supporting a `dry_run` plan-only mode and idempotent re-runs (unchanged entries are skipped, conflicts are renamed). Exposes two RPC controllers under the `migrate` namespace.
+Data-migration helpers that import memory from other AI assistants' workspaces (OpenClaw, Hermes Agent) into the current OpenHuman workspace's memory backend. It scans a source workspace for SQLite (`brain.db`) and Markdown memory artifacts, normalizes them into `Memory` entries, backs up the target's existing memory, and writes the imported entries. It supports a `dry_run` plan-only mode and idempotent re-runs (unchanged entries are skipped, conflicts are renamed). It exposes two RPC controllers under the `migrate` namespace.
> Not to be confused with `crate::config::migrations` (plural), which handles internal config **schema** version upgrades. This module migrates **user memory data** from foreign vendors.
diff --git a/crates/openhuman-core/src/runtime/node/README.md b/crates/openhuman-core/src/runtime/node/README.md
index 5576e6bbf7..f992abd460 100644
--- a/crates/openhuman-core/src/runtime/node/README.md
+++ b/crates/openhuman-core/src/runtime/node/README.md
@@ -100,26 +100,26 @@ This module reads `config.node` (`enabled`, `prefer_system`, `version`,
## Dependencies
-- `crate::modules::runtime` — the module client this delegates to.
-- `crate::config` — the settings each request carries.
-- `crate::tools`, `security`, `agent::host_runtime`, `memory` — the
+- `crate::modules::runtime`: the module client this delegates to.
+- `crate::config`: the settings each request carries.
+- `crate::tools`, `security`, `agent::host_runtime`, `memory`: the
registry the bridge enumerates and executes.
- `crate::core::bus::BUS` / `crate::core::events::DomainEvent`,
- `crate::core::all`, `crate::rpc` — events and RPC plumbing.
+ `crate::core::all`, `crate::rpc`: events and RPC plumbing.
External crates: `tinyruntime-bus`, `tokio`, `anyhow`, `serde`/`serde_json`,
-`tracing`, `async-trait`. No HTTP client, no archive crates, no digest crate —
-those went with the machinery.
+`tracing`, `async-trait`. No HTTP client, no archive crates, and no digest
+crate: those went with the machinery.
## Used by
-- `crates/openhuman-core/src/runtime/javascript/mod.rs` — the public language slot.
-- `crates/openhuman-core/src/tools/impl/system/{node_exec,npm_exec,shell}.rs` — hold an
+- `crates/openhuman-core/src/runtime/javascript/mod.rs`: the public language slot.
+- `crates/openhuman-core/src/tools/impl/system/{node_exec,npm_exec,shell}.rs`: hold an
`Arc<NodeBootstrap>`; the exec tools call `resolve()`, `shell` uses the
non-blocking `try_cached()`.
-- `crates/openhuman-core/src/agent/harness_init/registry.rs` — the `node_runtime` init step
+- `crates/openhuman-core/src/agent/harness_init/registry.rs`: the `node_runtime` init step
uses `probe_installed()` to decide whether provisioning is visible work.
-- `crates/openhuman-core/src/core/all.rs` — registers the `javascript.*` controllers.
+- `crates/openhuman-core/src/core/all.rs`: registers the `javascript.*` controllers.
## Notes / gotchas
@@ -127,7 +127,7 @@ those went with the machinery.
aliases are `javascript`. That indirection is what let the backend underneath
be replaced by a bus module without churning a single caller.
- **`build_runtime_tools` is not cheap**: each bridge call rebuilds the full tool
- registry from `Config`. There is no caching at the bridge layer — the
+ registry from `Config`. There is no caching at the bridge layer: the
memoisation here is only for toolchain resolution.
- **The local cache is not redundant with the module's.** The module memoises
too, but only this one can answer without awaiting, which is the entire reason