From c47ec5db04bf7c478340a96e9c2c548b522fedf6 Mon Sep 17 00:00:00 2001 From: Josh Gratton Date: Mon, 18 May 2026 10:01:25 -0400 Subject: [PATCH] feat(web): show a sidebar status alert while WSL backend is connecting A cold-start launch where the WSL backend is still booting (or where the renderer's first registration attempt fails before retries cover the gap) used to leave the sidebar silent: no projects, no indication anything was happening. The user has no way to tell whether the backend is starting up, broken, or simply not configured. Promote the reconciler's in-memory trace to a real zustand store (useLocalSecondaryReconcileStore) tracking pendingInstanceIds, per-instance registrationErrors, and budgetExhausted. The reconciler writes: - addPending/removePending around each register attempt - setRegistrationError on Promise.race failure or timeout - clearRegistrationError when an attempt actually returns a record - budgetExhausted = true once auto-retry runs out of attempts - budgetExhausted = false on user-driven reconcile (so Retry resets it) The window.__t3LocalSecondaryDebug global keeps working - it now just reads from the store. Add a LocalSecondaryStatus component to the sidebar. It renders: - A "Connecting