Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

autorun: add multi-agent test results (MA1-MA8 all pass) to summary

bote198bf53df4d
diff --git a/tests/v0.4.0-test-summary.md b/tests/v0.4.0-test-summary.md
index 55f91d9f..17442ed9 100644
--- a/tests/v0.4.0-test-summary.md
+++ b/tests/v0.4.0-test-summary.md
@@ -14,7 +14,8 @@
| Unit tests | 92 | 0 | 0 | 92 |
| Integration tests (stealth) | ~100 | 0 | 1 (WebGL, headless) | ~101 |
| Live curl — Section 1 core | 39 | 1 | 10 | 50 |
-| **Total** | **~231** | **1** | **11** | **~243** |
+| Live curl — Section 3 multi-agent | 8 | 0 | 0 | 8 |
+| **Total** | **~239** | **1** | **11** | **~251** |
**Coverage:** 28.9%
**Build time:** 0.36-0.46s
@@ -132,12 +133,24 @@
| ST6 | Fingerprint rotate (random) | ✅ PASS | Random fingerprint |
| ST8 | bot.sannysoft.com | ✅ PASS | Most checks green |
+### 3. Multi-Agent (concurrent access)
+
+| # | Scenario | Status | Notes |
+|---|----------|--------|-------|
+| MA1 | Concurrent snapshot reads | ✅ PASS | Two tabs snapshotted simultaneously, both return correct content |
+| MA2 | Concurrent navigates | ✅ PASS | Two tabs navigate to different sites at once, no cross-talk |
+| MA3 | Tab isolation | ✅ PASS | Content doesn't leak between tabs |
+| MA4 | Concurrent actions | ✅ PASS | Click on tab1 while eval on tab2 — both succeed |
+| MA5 | Ref collision | ✅ PASS | Same tab snapshotted twice concurrently — identical refs |
+| MA6 | Rapid fire (10 concurrent) | ✅ PASS | 10/10 valid snapshot responses |
+| MA7 | Tab limit (concurrent open) | ✅ PASS | 5 tabs created concurrently, no crashes |
+| MA8 | No tabId default | ✅ PASS | Returns a valid tab when no tabId specified |
+
### Sections Not Tested
| Section | Reason |
|---------|--------|
| 2. Headed Mode | Requires non-headless instance |
-| 3. Multi-Agent | Requires concurrent test harness |
| 5. Docker | Requires Docker build |
| 6. Config Extended | Requires multiple instances |
| 7. Error Handling | Chrome crash, large page, rapid nav |
@@ -253,7 +266,7 @@
| Criterion | Status |
|-----------|--------|
-| Multi-agent MA1-MA5 | ❌ Not tested |
+| Multi-agent MA1-MA8 | ✅ 8/8 PASS |
| Stealth bot.sannysoft.com | ✅ PASS |
| Session persistence SP1-SP2 | ❌ Not tested |
@@ -285,9 +298,8 @@
3. **Coverage to 30%:** Add tests for cookie/stealth handler happy paths (~2% gap).
4. **Token optimization:** Implement `maxTokens` and `selector` params on `/snapshot` — Wikipedia at 142K tokens is unusable without truncation.
5. **Headed mode testing:** Run Section 2 tests to validate non-headless.
-6. **Multi-agent testing:** Build concurrent test harness for Section 3 (MA1-MA5).
-7. **Compact snapshot format:** Close the 3-4× gap with OpenClaw aria trees — biggest token cost win.
-8. **`blockImages` on CreateTab:** Global `BRIDGE_BLOCK_IMAGES` not applied when creating tabs, only on `/navigate`.
+6. **Compact snapshot format:** Close the 3-4× gap with OpenClaw aria trees — biggest token cost win.
+7. **`blockImages` on CreateTab:** Global `BRIDGE_BLOCK_IMAGES` not applied when creating tabs, only on `/navigate`.
---