# Stable turn activity and chat attention ## Turn activity - One stable native disclosure replaces separate reasoning/tool footer chips and the empty pending-answer bubble. It sits above the answer from prompt acceptance through completion, with a single-line current recorded tool title/description, elapsed seconds, theme-accent animated dots and trailing disclosure arrow. - Local animation/timer ticks rebuild only the status subtree. Reduced-motion settings stop the dots. Current calls update the same widget; completed calls never remain labelled running while the turn waits for its answer. - Finished turns retain a compact summary such as `Ran 4 commands`, `Used 2 tools`, or `Reasoning`. Recorded failures/stopped calls are not represented as successful completion. No command counts are inferred from assistant prose. - The owned native dialog follows live records and reuses tool input/output/error detail rendering. Reasoning remains expandable/selectable there. Disposal closes only its owned route; pending permissions/questions remain separate/actionable. - Ordinary passive activity records join the assistant turn; dedicated compaction safety notices retain their existing lifecycle and dismissal behavior. ## Evidence so far - Production-entry isolated browser probe `tool/chat_stable_activity_probe.mjs` passed: current command/elapsed, unchanged row top/height through tool changes, hidden reasoning, live open-detail updates, final four-command summary and answer. Captures inspected at `build/stable-activity-{material,cupertino}`. The latter name denotes the narrow probe configuration, not proof of Cupertino rendering: the current production web theme intentionally uses Material controls. - Full integrated suite: **1,984 tests passed**. Scoped analysis of chat source, chat tests and registration passed with no issues. Whole-app analysis retains one unrelated existing unnecessary-import info in artifact viewer tests. - Regressions cover new summary/disclosure ordering, reasoning folding/paging, queued follow-up identity, live modal updates, stable row height, pending animation, compaction safety notices and independent permission controls. ## Chat-list attention - Integrated `985cc355` plus manager fixes: actual unread assistant messages, user messages from another client, returned visible tool content, and unresolved forms/permissions mark New. Step/reasoning/activity/usage/metadata chatter does not. Generic `updated_at` changes are not proof of unseen content. - Native loading is shown while working with nothing unread. New takes precedence even during a running turn; opening suppresses/acknowledges New. Timestamp-only refresh cannot manufacture unread. Without actual content/action evidence, the list cannot infer messages missed offline from its metadata-only listing. - Only final turn-end clears live working state; a background shell exiting or compaction completing cannot incorrectly clear it. List snapshots preserve newer in-flight running frames, and delayed preference reads respect opens. - Production browser probe `tool/chat_attention_probe.mjs` passed and captures inspected at `build/chat-attention-release`: loading-only, New for a message during work, then acknowledged by opening. Native host tests passed as well. ## Publication - Existing installer used for web and APK, with no executing pipeline runs, backend/auth change, shared-service restart, real-chat mutation or device use. - Rollback of installed/public artifacts: `~/.local/share/pipelines/backups/stable-chat-activity-20261028-162341/`. - Website live; public rollback `build/web-before-stable-activity-1793205830/`. Full authenticated JS downloads on HTTPS 8443/8096 match SHA256: `5895b2f091a9a5ce876ad03a9971740e0e98340c31f3ea59f8f19a42159fa2dc`. - APK **0.1.29886758** published to both public feeds. ZIP integrity, package/build metadata and unchanged signing certificate verified. Full authenticated APK downloads and feed metadata verified on HTTPS 8443/8096; web JS reverified in the same check. APK: 65,713,538 bytes, SHA256: `784fc6e5c8b1fe45aad4fddbab3f4ee489716cb12cfaa6e5802c73802ca705d3`. - Feed rollbacks: `build/updates-before-stable-activity-29886758/` and `build/web/updates-before-stable-activity-29886758/`. No phone installation. - Installer builds contain all functional source changes; the only subsequent source edit encloses a return in braces to satisfy lint. - Available through Settings → App updates → Check for updates, or `https://alans-macbook-pro.tail6bf4dc.ts.net:8443/updates/pipelines.apk`.