# Todo 26: Workspace Snapshot Save ## Status done ## Goal Move save/load/delete controls out of the ChatAgent config modal and make their meaning explicit: a saved item is a workspace snapshot, not only a prompt set. ## Root Cause The existing save feature still works, but it is hidden inside the ChatAgent config dialog and named as a prompt set. The saved payload already includes prompt items, pre-messages, ChatAgent config, EventAgent config, selected tools, and event loop settings, so the UI label and placement no longer match the actual behavior. ## Scope - Add a visible Workspace Snapshot section in the left panel. - Remove the save/load/delete controls from the ChatAgent config modal. - Rename browser-side storage helpers from prompt-set wording to workspace-snapshot wording. - Keep backward compatibility for existing `agent-lab.prompt-sets.v1` localStorage data. - Preserve the request payload behavior used by chat runs. ## Verification - Static tests prove snapshot controls are outside the ChatAgent dialog and save the same workspace fields used by `buildRequest()`. - `uv run pytest tests/test_websocket_api.py -q` passes: 27 tests. - `uv run pytest`