Skip to content

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

test(agent_harness_e2e): update comment and remove section header

Steven Enamakel85b74dc676cd
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 98345672e9..1603b16d9e 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1367,7 +1367,7 @@ enabled = true
// NOTE: We intentionally do NOT call register_approval_surface_subscriber() here.
// That function uses an OnceLock so it only registers once per process. If it fires
- // on an early test's tokio runtime (e.g. approval_gate_installed_after_ensure), the
+ // on an early test's tokio runtime (e.g. an early approval test), the
// background task is tied to that runtime and dies when it drops. Subsequent tests
// then have no bridge and never see the approval_request SSE event.
//
@@ -1406,8 +1406,6 @@ fn pre_create_for_approval(home: &Path, filename: &str) -> std::path::PathBuf {
target
}
-// ─── 5.1 ensure_approval_gate helper ─────────────────────────────────────────
-
// ─── 5.2 approval_gate_approve_flow ──────────────────────────────────────────
//
// Architecture: `file_write` is a direct tool on the orchestrator's belt (the