# Implementation Plan: Session Context Snapshots & Visibility ## Phase 1: Backend Support for Context Presets - [ ] Task: Write failing tests for saving, loading, and listing Context Presets in the project configuration. - [ ] Task: Implement Context Preset storage logic (e.g., updating TOML schemas in `project_manager.py`) to manage file/screenshot lists. - [ ] Task: Conductor - User Manual Verification 'Phase 1: Backend Support for Context Presets' (Protocol in workflow.md) ## Phase 2: GUI Integration & Persona Assignment - [ ] Task: Write tests for the Context Hub UI components handling preset saving and loading. - [ ] Task: Implement the UI controls in the Context Hub to save current selections as a preset and load existing presets. - [ ] Task: Update the Persona configuration UI (`personas.py` / `gui_2.py`) to allow assigning a named Context Preset to an agent persona. - [ ] Task: Conductor - User Manual Verification 'Phase 2: GUI Integration & Persona Assignment' (Protocol in workflow.md) ## Phase 3: Transparent Context Visibility - [ ] Task: Write tests to ensure the initial aggregate markdown, resolved system prompt, and file injection timestamps are accurately recorded in the session state. - [ ] Task: Implement UI elements in the Session Hub to expose the aggregated markdown and the active system prompt. - [ ] Task: Enhance the discussion timeline rendering in `gui_2.py` to visually indicate exactly when files and screenshots were injected into the context. - [ ] Task: Conductor - User Manual Verification 'Phase 3: Transparent Context Visibility' (Protocol in workflow.md) ## Phase 4: Agent-Focused Session Filtering - [ ] Task: Write tests for the GUI state filtering logic when focusing on a specific agent's session. - [ ] Task: Relocate the 'Focus Agent' feature from the Operations Hub to the MMA Dashboard. - [ ] Task: Implement the action to filter the Session and Discussion hubs based on the selected agent's context. - [ ] Task: Conductor - User Manual Verification 'Phase 4: Agent-Focused Session Filtering' (Protocol in workflow.md)