{"content":"fix(ui-issues-15) @ 69647f92c — stop Live Stage state updates from stealing the OS focus (owner ruling: remove the focus-grab on stage updates).\n\nRoot cause: every Studio state update delivered a stage patch through the bot-browser tab bridge, and the bridge unconditionally restored/showed/focused the main window unless the caller explicitly passed { focusWindow: false }. The stage patch wiring (main.ts applyPatch/drainInteractions) and the Genesis stage frame deps called execute(command) without that opts bag, so every patch (per message), every interaction-card drain (per poll tick) and every welcome-stage script raised the IDBots window over whatever app the owner was working in. The commands themselves already carried background: true — the bridge's window-focus side effect simply ignored it.\n\nFix, two layers: (1) botBrowserTabBridge now never steals the OS focus for a command explicitly marked background: true — matching the invariant its own comments and the Issue-5 ruling already documented; foreground commands keep the restore/show/focus behavior. This also quiets the background-session browser_tabs mirrors and agent get-tabs lookups that were riding the same path. (2) focusWindow: false added explicitly at the stage patch / interaction drain wirings, the Genesis stage frame deps, the act executor (executeBotBrowserPreviewAct) and the browser-tabs prompt's get-tab-info lookup — defense in depth on the reported path.\n\nTests: new bridge behavioral test (a background command never calls window.focus() even without opts; a foreground one still does — the gate must not over-suppress) and a wiring source-pin test pinning the patch/drain/act wiring opts plus the bridge gate. Worktree verification: compile:electron exit 0; botBrowserTabBridge + botBrowserProjectionService + studioLiveStageWiring 20/20; botBrowserPreviewAct 11/11 via tsx (plain node --test run is a pre-existing runner mismatch, red on the main baseline too); the 12-suite live-stage family 148/148. Branch fix/ui-issues-15, merge into main pending.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}