This commit is contained in:
2026-02-27 23:13:19 -05:00
parent 2ccb4e9813
commit 858c4c27a4
9 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +0,0 @@
# MMA Dashboard Visualization Overhaul
Overhauls the GUI dashboard to display a visual DAG, live streams, and track browsers.
### Navigation
- [Specification](./spec.md)
- [Implementation Plan](./plan.md)

View File

@@ -1,6 +0,0 @@
{
"id": "mma_dashboard_visualization_overhaul",
"title": "MMA Dashboard Visualization Overhaul",
"status": "planned",
"created_at": "2026-02-27T19:20:00.000000"
}

View File

@@ -1,16 +0,0 @@
# Implementation Plan: MMA Dashboard Visualization Overhaul
## Phase 1: Track Browser Panel [checkpoint: 2b1cfbb]
- [x] Task: Implement a list view in the MMA Dashboard that reads from the `tracks` directory. 2b1cfbb
- [x] Task: Add functionality to select an active track and load its state into the UI. 2b1cfbb
- [x] Task: Display progress bars based on task completion within the active track. 2b1cfbb
## Phase 2: DAG Visualizer Component [checkpoint: 7252d75]
- [x] Task: Design the layout for the Task DAG using DearPyGui Node Editor or collapsible Tree Nodes. 7252d75
- [x] Task: Write the data-binding logic to map the backend Python DAG (from Track 1) to the UI visualizer. 7252d75
- [x] Task: Add visual indicators (colors/icons) for Task statuses (Ready, Blocked, Done). 7252d75
## Phase 3: Live Output Streams [checkpoint: 25b72fb]
- [x] Task: Refactor the AI response handling to support multiple concurrent UI text streams. 25b72fb
- [x] Task: Bind the output of Tier 1 (Planning) to a designated "Strategy" text box. 25b72fb
- [x] Task: Bind the output of Tier 2 and spawned Tier 3/4 workers to the active Task's detail view in the DAG. 25b72fb

View File

@@ -0,0 +1,7 @@
# Robust Live Simulation Verification
Builds automated UI simulation testing to prevent orchestrator GUI regressions.
### Navigation
- [Specification](./spec.md)
- [Implementation Plan](./plan.md)

View File

@@ -0,0 +1,6 @@
{
"id": "robust_live_simulation_verification",
"title": "Robust Live Simulation Verification",
"status": "planned",
"created_at": "2026-02-27T19:20:00.000000"
}

View File

@@ -0,0 +1,18 @@
# Implementation Plan: Robust Live Simulation Verification
## Phase 1: Framework Foundation
- [ ] Task: Create `tests/visual_sim_mma_v2.py` based on existing simulation patterns.
- [ ] Task: Implement helper methods in `ApiHookClient` for querying specific DearPyGui item states (e.g., `get_text_value`, `get_node_status`).
## Phase 2: Epic & Track Verification
- [ ] Task: Write the simulation routine to trigger a new Epic and verify the Track Browser updates correctly.
- [ ] Task: Verify that selecting a newly generated track successfully loads its initial (empty) state into the DAG visualizer.
## Phase 3: DAG & Spawn Interception Verification
- [ ] Task: Simulate the "Start Track" action and verify the DAG visualizer populates with tasks.
- [ ] Task: Simulate the Auto-Queue advancing to a "Ready" task.
- [ ] Task: Verify the "Approve Worker Spawn" modal appears with the correct prompt and context.
- [ ] Task: Simulate clicking "Approve" and verify the worker's simulated output streams into the correct task detail view.
## Phase: Review Fixes
- [ ] Task: Apply review suggestions 605dfc3

View File

@@ -1,16 +1,16 @@
# Track Specification: MMA Dashboard Visualization Overhaul
# Track Specification: Robust Live Simulation Verification
## Overview
Make the invisible backend operations visible and interactive. The current GUI is too barebones to effectively manage a multi-agent system. This track overhauls the MMA Dashboard to provide real-time insights into tracks, task dependencies, and agent streams.
Establish a robust, visual simulation framework to prevent regressions in the complex GUI and asynchronous orchestration layers. This track replaces manual human verification with an automated script that clicks through the GUI and verifies the rendered state.
## Goals
1. **Track Browser:** Create a dedicated panel to view all tracks, their statuses, and overall progress metrics.
2. **DAG Visualizer:** Implement a visual representation (hierarchical list or node graph) of the current Track's tasks, clearly indicating status and blockers.
3. **Live Output Streams:** Ensure the GUI text boxes stream the output of Tier 1 (Planning), Tier 2 (Directing), and Tiers 3/4 (Executing) in real-time, tied precisely to their respective tasks.
1. **Simulation Framework Setup:** Build a dedicated test script (`tests/visual_sim_mma_v2.py`) utilizing `ApiHookClient` to control the live GUI.
2. **Simulate Epic Planning:** Automate the clicking of "New Epic", inputting a prompt, and verifying the expected Tier 1 tracks appear in the UI.
3. **Simulate Execution & Spawning:** Automate the selection of a track, the generation of the DAG, and the interaction with the HITL Approval modal.
## Constraints
- Must be built natively using DearPyGui capabilities (e.g., node editor or nested tree nodes).
- Must be performant and not block the main rendering loop when updating live text streams.
- Must run against a live instance of the application using `--enable-test-hooks`.
- Must fail loudly if the visual state (e.g., rendered DAG nodes, text box contents) does not match expectations.
## Context & Origins
This track was born from the "Human Verification" phase of the initial MMA Orchestrator prototype (`mma_orchestrator_integration_20260226`). We realized that while the backend API plumbing for the hierarchical MMA tiers (Tiers 1-4) was technically functional, the product lacked the necessary state management, UX visualization, and human-in-the-loop security gates to be usable.
@@ -28,7 +28,7 @@ As you execute this track, ensure you maintain alignment with the other Phase 2
This is a multi-track phase. To ensure architectural integrity, these tracks **MUST** be executed in the following strict order:
1. **MMA Data Architecture & DAG Engine:** (Builds the state and execution foundation)
2. **Tiered Context Scoping & HITL Approval:** (Builds the security and context subsetting on top of the state)
3. **[CURRENT] MMA Dashboard Visualization Overhaul:** (Builds the UI to visualize the state and subsets)
4. **Robust Live Simulation Verification:** (Builds the tests to verify the UI and state)
3. **MMA Dashboard Visualization Overhaul:** (Builds the UI to visualize the state and subsets)
4. **[CURRENT] Robust Live Simulation Verification:** (Builds the tests to verify the UI and state)
**Prerequisites for this track:** `Tiered Context Scoping & HITL Approval` MUST be completed (`[x]`) before starting this track.
**Prerequisites for this track:** `MMA Dashboard Visualization Overhaul` MUST be completed (`[x]`) before starting this track.