The first history snapshot could clear the optimistic user bubble after a
Welcome send created and selected a chat, leaving the prompt invisible
until its backend log arrived.
Skip the redundant history reset on the first snapshot and rebuild the
merged message window in log order. Reuse the existing message IDs and
renderer so the greeting precedes the prompt and the backend echo updates
the same user row. Later full snapshots still clear stale history.
Add browser regressions for text and attachment sends with snapshots
arriving during or after rendering, and update the WebUI contracts.
Validation: 72 focused tests passed. Live desktop and mobile checks covered
delayed dispatch, normal in-chat sending, and a real backend message echo.
Initialize the scheduler store before snapshots. Preserve legacy memory calls and per-action permissions while advertising the unified tool, and retain saved policy IDs for moved tools. Restore legacy log rendering and connector tool events, and reject malformed boolean arguments by default.