Skip to content

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

reorganize: move action items to TODO.md, reset priorities P0-P4

bot28d720ec2d67
diff --git a/TODO.md b/TODO.md
index d75b5e9f..b79ea5f7 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,31 +4,48 @@
---
-## Done (P0–P8)
+## DONE
Core HTTP API, 16 endpoints, session persistence, ref caching, action registry,
smart diff, readability `/text`, config file, Dockerfile, YAML/file output,
stealth suite (navigator, WebGL, canvas noise, font metrics, WebRTC, timezone,
plugins, Chrome flags), human interaction (bezier mouse, typing simulation),
fingerprint rotation via CDP (`SetUserAgentOverride`, `SetTimezoneOverride`),
-handlers.go split (4 files), architecture docs. **62 tests** (54 unit + 8 integration).
+handlers.go split (4 files), architecture docs, image/media blocking
+(`BRIDGE_BLOCK_IMAGES`, `BRIDGE_BLOCK_MEDIA`), stealth injection on all tabs,
+K1-K9 all fixed, multi-agent concurrency verified (MA1-MA8).
+**92 unit tests + ~100 integration tests, 28.9% coverage.**
---
## Open
-### Minor
-- [ ] **Dockerfile env vars** — `CHROME_BINARY`/`CHROME_FLAGS` set but not consumed by Go
-- [ ] **humanType global rand** — Accept `*rand.Rand` for reproducible tests
+### P0: Stability
+- [ ] **K10 — Profile hang** — Stale lock files + restored tabs cause Chrome startup hang. Add lock cleanup on startup + Chrome connection timeout. Users will hit this on first real use.
+- [ ] **Coverage to 30%** — Add tests for cookie/stealth handler happy paths (~2% gap).
+
+### P1: Token Optimization
+- [ ] **`maxTokens` param on `/snapshot`** — Truncate response at N tokens. Wikipedia at 142K is unusable without this.
+- [ ] **`selector` param on `/snapshot`** — Scope a11y tree to CSS selector (`#content`, `article`). Eliminates nav/footer noise.
+- [ ] **Compact snapshot format** — Current nodes are verbose JSON objects. A flat format could halve tokens. Close the 3-4× gap with OpenClaw aria trees.
+
+### P2: Bugs
+- [ ] **K11 — File output ignores path** — `?output=file&path=X` ignores the `path` param, writes to default location.
+- [ ] **`blockImages` on CreateTab** — Global `BRIDGE_BLOCK_IMAGES` not applied when creating tabs, only on `/navigate`.
-### P9: Multi-Agent Coordination
-- [ ] **Tab locking** — `POST /tab/lock`, `POST /tab/unlock` with timeout-based deadlock prevention
-- [ ] **Tab ownership tracking** — Show owner in `/tabs` response
+### P3: Multi-Agent
+- [ ] **Tab locking** — `POST /tab/lock`, `POST /tab/unlock` with timeout-based deadlock prevention.
+- [ ] **Tab ownership tracking** — Show owner in `/tabs` response.
-### P10: Quality of Life
-- [ ] **Ad blocking** — Basic tracker blocking for cleaner snapshots
-- [ ] **CSS animation disabling** — Faster page loads, more consistent snapshots
-- [ ] **Randomized window sizes** — Avoid automation fingerprint
+### P4: Quality of Life
+- [ ] **Headed mode testing** — Run Section 2 tests to validate non-headless.
+- [ ] **Ad blocking** — Basic tracker blocking for cleaner snapshots.
+- [ ] **CSS animation disabling** — Faster page loads, more consistent snapshots.
+- [ ] **Randomized window sizes** — Avoid automation fingerprint.
+
+### Minor
+- [ ] **Dockerfile env vars** — `CHROME_BINARY`/`CHROME_FLAGS` set but not consumed by Go.
+- [ ] **humanType global rand** — Accept `*rand.Rand` for reproducible tests.
---
diff --git a/tests/v0.4.0-test-summary.md b/tests/v0.4.0-test-summary.md
index 17442ed9..b53bb644 100644
--- a/tests/v0.4.0-test-summary.md
+++ b/tests/v0.4.0-test-summary.md
@@ -291,16 +291,6 @@
---
-## Action Items
-
-1. **K10 — Profile hang (P1):** Add stale lock file cleanup on startup + Chrome connection timeout. Users will hit this on first real use.
-2. **K11 — File output path (P2):** Honor the `path` parameter in `?output=file&path=X`.
-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. **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`.
-
----
+*Action items moved to TODO.md*
*Consolidated from: mario-test-00, mario-test-07, mario-test-08, bosch-test-00, bosch-test-02, test-summary, test-summary-07, v0.3.0-performance-history, v0.4.0-token-performance*