From 28a574ad0af660a04e7320eb6aa0b992aa965dad Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 20 Feb 2026 07:03:13 +0000 Subject: [PATCH] docs: mark Phase 4 complete in TODO.md Co-Authored-By: Virgil --- TODO.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 82b701a..28c0d3a 100644 --- a/TODO.md +++ b/TODO.md @@ -29,9 +29,9 @@ go-ml is migrating to use `go-inference` shared interfaces. Once that's done, go ## Phase 4: IDE Subsystem Hardening -- [ ] **Bridge reconnection test** — Kill mock Laravel WS server, verify exponential backoff + reconnect in `bridge.go`. -- [ ] **Add auth to bridge** — `bridge.go` connects unauthenticated. Add token header on WebSocket upgrade. -- [ ] **Dashboard tools beyond stubs** — `tools_dashboard.go` returns empty data. Implement real data fetching or document as stub. +- [x] **Bridge reconnection test** — Fixed data race (atomic.Int32), added exponential backoff test (HTTP 403 path), server shutdown detection test. `8c0ef43` +- [x] **Add auth to bridge** — Token field in Config, WithToken option, Bearer header in dial(). Tests for presence + absence. `8c0ef43` +- [x] **Dashboard/chat/build tool tests** — 49 tests: all 11 tool handlers with nil bridge (error) and connected mock (success), JSON round-trips for all types, stub doc comments. `8c0ef43` ## Phase 5: Testing Gaps