Skip to content

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

docs: update module references after agent_runs move

Steven Enamakelad0b40496e0c
diff --git a/crates/openhuman-core/src/agent/session_host/README.md b/crates/openhuman-core/src/agent/session_host/README.md
index 68647103b0..8c35abfecd 100644
--- a/crates/openhuman-core/src/agent/session_host/README.md
+++ b/crates/openhuman-core/src/agent/session_host/README.md
@@ -33,7 +33,7 @@ detail.
A conversation's durable identity is `tinyagents_session::transcript::SessionRef`,
derived from the thread id and the agent id, with no timestamp in the stem,
-so one conversation always resolves to the same file. `session_api.rs` binds
+so one conversation always resolves to the same file. The runtime binds
that identity with `set_thread_id` and resumes with `ResumeMode::Session`; it
does not mint stems, seed history by hand, or pick a transcript by recency.
@@ -47,8 +47,8 @@ session instance rather than only on a brand-new thread.
Compaction never erases history. It seals the current generation and opens
the next one, recording the sealed generation as the new one's parent; the
-sealed file stays on disk, and `session_api.rs` is what lets a caller list a
-long conversation's generations without reading the whole chain.
+sealed file stays on disk. TinyAgents owns the generation chain and its
+transcript lookup.
## Where next
diff --git a/crates/openhuman-core/src/agent/triage/README.md b/crates/openhuman-core/src/agent/triage/README.md
index 9f89e98f1c..d0245e349f 100644
--- a/crates/openhuman-core/src/agent/triage/README.md
+++ b/crates/openhuman-core/src/agent/triage/README.md
@@ -59,7 +59,7 @@ the gate. Tests use a `_for_test` variant that skips the permit.
## Not routed through triage
`TriggerEnvelope::from_cron` still exists, but only the manual RPCs
-`agent.triage_evaluate` ([`agent/schemas.rs`](../schemas.rs)) and `webhooks.trigger_agent`
+`agent.triage_evaluate` ([`agent_runs/schemas.rs`](../../agent_runs/schemas.rs)) and `webhooks.trigger_agent`
([`skills/webhooks/ops.rs`](../../skills/webhooks/ops.rs)) build one. The cron scheduler does not call
`run_triage`: `cron/scheduler/agent_run.rs::run_agent_job` runs the job's
agent directly, and `scheduler/delivery.rs` hard-codes
@@ -97,7 +97,7 @@ Re-exported from [`mod.rs`](./mod.rs):
- `crates/openhuman-core/src/desktop/notifications/rpc.rs`: background
triage spawned after `notification_ingest`; score persisted via
`store::update_triage`, origin `local_trigger_origin`.
-- `crates/openhuman-core/src/agent/schemas.rs`: `agent.triage_evaluate` RPC
+- `crates/openhuman-core/src/agent_runs/schemas.rs`: `agent.triage_evaluate` RPC
(synthetic trigger from any source, optional dry-run without
`apply_decision`).
diff --git a/crates/openhuman-core/src/agent_registry/README.md b/crates/openhuman-core/src/agent_registry/README.md
index 78a3de894a..136ea46a4e 100644
--- a/crates/openhuman-core/src/agent_registry/README.md
+++ b/crates/openhuman-core/src/agent_registry/README.md
@@ -137,12 +137,12 @@ ranking works.
- [`config/schema/`](../../config/schema/): `Config.agent_registry: AgentRegistryConfig` is the
persisted store every `ops.rs` function reads and writes.
- [`host_definition.rs`](./host_definition.rs): seeds the
- process-global `AgentDefinitionRegistry` from `registry::agents::load_builtins()`;
+ process-global `AgentDefinitionRegistry` from `agents::load_builtins()`;
TinyAgents validates the merged hierarchy when workspace overrides load.
- [`agent/session_host/builder/factory.rs`](../agent/session_host/builder/factory.rs):
`Agent::from_config_for_agent` falls back to `find_custom_in_config` +
`definition_from_registry_entry` when an id is not in the harness registry.
-- [`agent/schemas.rs`](../agent/schemas.rs): `agent.graph_topologies` and `agent.registry_snapshot`
+- [`agent_runs/schemas.rs`](../agent_runs/schemas.rs): `agent.graph_topologies` and `agent.registry_snapshot`
enumerate `load_builtins()`.
- `flows/` (`ops/inference_readiness.rs`, `ops/builder_gates.rs`,
`builder_tools/kind_reads.rs`, `tinyflows/caps/agent.rs`): resolve a flow
diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjs
index dde858c719..9c6b3e68e4 100644
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@ -35,7 +35,7 @@ const LEGACY_LIMIT_ENTRIES = [
["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 964],
["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1235],
["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1042],
- ["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1171],
+ ["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1117],
// These established external test modules grew with upstream coverage. Pin
// their current sizes while follow-up work separates their test concerns.
// `core/` was pruned from the line limit by name until these pins; its