Files
manual_slop/conductor/tracks/session_context_snapshots_20260311/spec.md

2.2 KiB

Specification: Session Context Snapshots & Visibility

1. Overview

This track focuses on transitioning from global context management to explicit session-scoped context. It introduces transparent visibility into the exact context (system prompts, aggregated markdown, files, and screenshots) used in a session, allows saving context selections as reusable presets, and adds MMA dashboard integration for filtering session hubs by specific agents.

2. Functional Requirements

2.1 Context Presets & Assignment

  • Context Snapshots: Users can save the current selection of files and screenshots as a named "Context Preset".
  • Preset Swapping: Users can easily load a Context Preset into an active session.
  • MMA Assignment: Allow assigning specific Context Presets to individual MMA agent personas, preventing all agents from having access to all files by default.

2.2 Transparent Context Visibility

  • No Hidden Context: The Session Hub must expose the exact context provided to the model.
  • Initial Payload Visibility: The aggregated markdown content generated at the start of the discussion must be viewable in the UI.
  • System Prompt State: Display the fully resolved system prompt that was active for the session.
  • Injection Timeline: The UI must display when specific files or screenshots were injected or included during the progression of the discussion.

2.3 Agent-Focused Session Filtering

  • Dashboard Integration: Move the "Focus Agent" feature from the Operations Hub to the MMA Dashboard.
  • Agent Context Filtering: Add a button on any live agent's panel in the MMA Dashboard that automatically filters the other hubs (Session/Discussion) to show only information related to that specific agent's session.

3. Acceptance Criteria

  • Context selections (files/screenshots) can be saved and loaded as Presets.
  • MMA Agent Personas can be configured to use specific Context Presets.
  • The Session Hub displays the generated aggregate markdown and resolved system prompt.
  • The discussion timeline clearly shows when files/screenshots were injected.
  • The MMA Dashboard allows focusing the UI on a specific agent's session data.