Skip to content

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

docs(subagent-host): clarify constrained stack test rationale

Steven Enamakelef3f4470b64f
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
index a665d6c8ab..2a3261b30b 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs
@@ -572,15 +572,14 @@ fn unsigned_in_user_fails_probe() {
/// `thread 'tokio-rt-worker' has overflowed its stack, fatal runtime
/// error: stack overflow`.
///
-/// The deep ground-truth regression catcher for this is the
-/// `chat-harness-subagent.spec.ts` Playwright spec, which exercises the
-/// real orchestrator → researcher dispatch end-to-end (real provider
-/// stream, real config load, real tool registry). The scripted unit
-/// path here has much smaller per-frame state than production, so a
-/// single stack size doesn't cleanly bracket boxed-vs-unboxed — we use
-/// the loose 1 MiB worker stack as a smoke check that the dispatch
-/// path remains poll-bounded after refactors. See `subagent_host/
-/// ops.rs` `Box::pin` callsites for the structural fix.
+/// The former `chat-harness-subagent.spec.ts` browser lane was intended
+/// to exercise real orchestrator → researcher dispatch, but it remained
+/// skipped under issue #6389 and was not active passing coverage. The
+/// constrained-worker-stack smoke here still checks that this scripted
+/// dispatch path remains poll-bounded after refactors; its smaller
+/// per-frame state does not cleanly bracket boxed-vs-unboxed with one
+/// stack size. See `subagent_host/ops.rs` `Box::pin` callsites for the
+/// structural fix.
#[test]
fn nested_subagent_dispatch_runs_on_a_constrained_worker_stack() {
use async_trait::async_trait;