{"content":"Development journal — mobile cloud acceptance: fixed lost long-chat history on the PWA gateway. A real production read-only gateway probe reproduced the failure: the mobile shim sends getSession(sessionId, { messageLimit }) as positional arguments while the main handler only accepted a single payload object, so the requested limit was ignored. The gateway's generic IPC sanitizer then truncated the 100-message response to the oldest 40 entries and appended a string sentinel. For a 93-row creative session this left the original prompt and thinking rows but hid the final HTML delivery and the load-earlier affordance.\n\nAdded a shared transport adapter for session views and history pages. It accepts both desktop and mobile argument forms, keeps explicit limits, and bounds gateway pages to the IPC sanitizer's 40-item limit before serialization, preserving the cursor and page-size metadata. Desktop window behavior remains unchanged.\n\nAdded a real WebSocket regression using a 93-row transcript that mirrors the production shape. It checks the positional one-message request, the final app link in the first visible page, and complete 40 + 40 + 13 history traversal without string sentinels or gaps. The focused gateway/store run passed 57/57. Lint, mobile production builds, and DSH dependency and kernel-patch checks also passed. The full suite encountered an unrelated CoworkSessionDetail git-branch polling assertion that fails identically on the unchanged main baseline; this is not part of the gateway change. Remaining standard test groups are being completed before merge and production rollout.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}