Skip to content

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

docs: clean up TODO with focused quality improvements

Mariof1c836053c93
diff --git a/TODO.md b/TODO.md
index 8a614db9..4b2aaae4 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,48 +4,27 @@
---
-## DONE
-
-Core HTTP API (18 endpoints), session persistence, ref caching, action registry,
-smart diff, readability `/text`, config file, Dockerfile, YAML/file output,
-stealth suite (light/full modes), human interaction (bezier mouse, typing sim),
-fingerprint rotation, image/media blocking, stealth injection on all tabs,
-K1-K11 all fixed, multi-agent concurrency (MA1-MA8), token optimization
-(`maxTokens`, `selector`, `format=compact`), Dockerfile env vars consumed by Go,
-tab locking (`/tab/lock`, `/tab/unlock`), CSS animation disabling, welcome page
-(headed mode), stealth Date.getTimezoneOffset recursion fix, native Chrome UA,
-tab limit (`BRIDGE_MAX_TABS`, default 20), tab close error on bogus IDs.
-**120+ unit tests, ~100 integration, 36% coverage.**
+## Quality Improvements
----
-
-## Open
+### Code Quality
+- [ ] **proxy_ws.go proper HTTP** — Replace raw `backend.Write` of HTTP headers with proper `http.Request` construction for better standards compliance.
+- [ ] **humanType global rand** — Accept `*rand.Rand` parameter instead of global variable for better testability and concurrency safety.
-### Minor
-- [ ] **Ad blocking** — Basic tracker blocking for cleaner snapshots.
-- [ ] **installStableBinary streaming** — Use `io.Copy` with file streams instead of reading entire binary into memory.
-- [ ] **proxy_ws.go proper HTTP** — Replace raw `backend.Write` of HTTP headers with proper request construction.
-- [ ] **humanType global rand** — Accept `*rand.Rand` for reproducible tests.
-- [ ] **Canvas noise in headless** — `TestCanvasNoiseApplied` fails (headless Chrome limitation, `full` stealth only).
-- [x] **`hardwareConcurrency` redefine warning** — Fixed: added `configurable: true` to stealth.js defineProperty.
+### Feature Enhancements
+- [ ] **Ad blocking** — Basic tracker blocking for cleaner snapshots (block common analytics/ad domains).
+- [ ] **API Naming Consistency** — Clarify profile vs instance distinction:
+ - Profile = Chrome profile directory (stable 12-char hex ID)
+ - Instance = running Pinchtab process (composite ID like "name-port")
+ - Option: Standardize on profile IDs throughout API
---
-## Known Bugs
+## Known Limitations
-- ~~**`hardwareConcurrency` redefine warning**~~ — Fixed: `configurable: true` in stealth.js.
-- **Canvas noise in headless** — `toDataURL()` returns identical data in headless Chrome. Only affects `full` stealth mode.
+- **Canvas noise in headless** — `toDataURL()` returns identical data in headless Chrome. This is a Chrome limitation that only affects `full` stealth mode.
---
## Not Doing
Desktop app, plugin system, proxy rotation, SaaS, Selenium compat, MCP protocol,
-cloud anything, distributed clusters, workflow orchestration.
-
-## API Naming Cleanup
-- Clarify profile vs instance distinction in API routes
-- Profile = Chrome profile directory (has stable 12-char hex ID)
-- Instance = running Pinchtab process for a profile (has composite ID like "name-port")
-- Consider: `/profiles/{id}/start` returns an instance, `/instances/{id}/stop` uses instance ID — different ID spaces
-- Options: (a) unify around profile ID everywhere, (b) document clearly, (c) rename instance routes to avoid confusion
-- Dashboard JS mixes name-based and ID-based calls — could standardize on profile ID
+cloud anything, distributed clusters, workflow orchestration.
\ No newline at end of file