Document production workspace restoration and save behavior

This commit is contained in:
2026-11-06 19:16:56 +00:00
parent 9a0d5de26a
commit 7d2e200407
+9 -1
View File
@@ -20,4 +20,12 @@ returns null for unavailable/corrupt preferences and false for failed writes.
Session availability is a screen/provider concern: the codec preserves identities
without contacting or reopening sessions on the server.
Focused validation: `tool/memwatch/full.sh 'test/features/chat/workspace --no-pub'`.
Production `ChatDestination` enables `ChatWorkspaceBinding`. Embedded/test screens
opt in explicitly. The binding serializes debounced saves, flushes pending edits
on disposal, and guards both tree and sidebar edits against late preference reads.
A direct-link chat is selected if already present or added beside the restored
panes. Logical server changes bind a separate snapshot and cannot carry panes
from the previous server. Narrow devices retain the tree and show its active pane.
Focused validation uses `tool/memwatch/full.sh test/features/chat/workspace`
and the real-screen `chat_workspace_restore_test.dart`.