rouse-context/work
Jason Monk 214e05e794 Fix WebSocket disconnect-reconnect loop on duplicate onStartCommand
Observer coroutines (state, sessions, wakelock, idle timeout) were
launched in onStartCommand, which runs on every wake broadcast. Duplicate
collectors caused conflicting reconnect attempts: the state observer saw
DISCONNECTED during a refresh disconnect and raced with the explicit
reconnect. Move observers to onCreate (runs once) and mark refresh
disconnects as intentional so the state observer does not trigger
spurious reconnect loops.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:17:17 -04:00
..
src Fix WebSocket disconnect-reconnect loop on duplicate onStartCommand 2026-04-07 09:17:17 -04:00
build.gradle.kts Extract core:bridge module for TLS accept + MCP session bridging 2026-04-06 14:22:37 -04:00