Skip to content

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

refactor(agent): extract agent module into dedicated file

Steven Enamakelf9c275e8eede
diff --git a/crates/openhuman-core/src/agent/mod.rs b/crates/openhuman-core/src/agent/mod.rs
index a08da839fc..6d36f31020 100644
--- a/crates/openhuman-core/src/agent/mod.rs
+++ b/crates/openhuman-core/src/agent/mod.rs
@@ -71,6 +71,9 @@ pub mod session_host;
pub mod session_import;
pub mod session_store;
pub mod stop_hooks;
+/// Wall-clock deadline of one top-level turn: the outer backstop and the
+/// harness wind-down / hard-stop points derived from it.
+pub mod turn_deadline;
/// Product-specific adapters around `tinyagents_orchestration::subagent`.
/// Generic lifecycle ordering and task-key coalescing live in TinyAgents;
/// definitions, prompts, tools, policy, checkpoints and progress remain here.
@@ -85,7 +88,6 @@ pub mod triage;
/// background jobs, CLI). Read by the approval gate to make
/// origin-aware decisions rather than inferring trust from the absence of
/// `APPROVAL_CHAT_CONTEXT`.
-pub mod turn_deadline;
pub mod turn_origin;
/// Turn-workspace task-local — the per-turn filesystem root an embedder binds
/// a single agent turn to. Read by the session builder (as the turn's default