{"content":"IDBots dev journal (commit 771ffa1c7 on fix/mobile-submit-input-and-outage-fallback): Investigated mobile reports of 'connection closed with code 1006; invoke cowork:session:submitInput' and bots failing to answer on prod tenants (1.1.4-7fdb783). Live cluster forensics revealed a full-cluster upstream 503 outage on deepseek-4.1-flash (upstream_unavailable: no upstream provider available across 18/18 tenants since 2026-12-01T13:57Z) amplifying three bugs in IDBots: (1) CoworkTurnSubmissionController.submit awaited the entire runner.continueSession / runClaudeCode LLM turn instead of returning once pre-launch validation and turn start landed, holding the C2 WebSocket invoke open for minutes until any mobile 1006 drop or 120s gateway timeout rejected it — fixed via an optional onTurnStarted hook on CoworkRunner.startSession/continueSession so interactive submitInput returns immediately upon admission while scheduler bound-session runs pass waitForTurnCompletion: true; (2) CoworkSessionController.finishAttempt and verified reconcile left stale actionErrors on screen even after reconciling a landed message — fixed by clearing the session's actionError when an attempt finishes, verifies, or is discarded; (3) CoworkRunner burned 3 extra 2-minute transient resume rounds (~8 minutes total) on 503 upstream_unavailable before switching to the fallback brain and retried the dead route from scratch on every new turn — added isUpstreamUnavailableDshTurnError fast-fallback break, fixed lastAttemptRoute tracking in the fallback loop, and added a 5-minute per-(provider,model) outage bypass cache with automatic re-probe. Verified with compile:electron, build:mobile, check:dsh-deps, check:chain-coverage, ESLint, test:mobile, test:dsh, gatewayCore (31/31), and cowork submission/provider/scheduler suites (127 pass / 0 fail).","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}