WIP almost done with track planning
This commit is contained in:
9
conductor/tracks/mma_multiworker_viz_20260306/index.md
Normal file
9
conductor/tracks/mma_multiworker_viz_20260306/index.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# MMA Multi-Worker Visualization
|
||||
|
||||
**Track ID:** mma_multiworker_viz_20260306
|
||||
|
||||
**Status:** Planned
|
||||
|
||||
**See Also:**
|
||||
- [Spec](./spec.md)
|
||||
- [Plan](./plan.md)
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "mma_multiworker_viz_20260306",
|
||||
"name": "MMA Multi-Worker Visualization",
|
||||
"status": "planned",
|
||||
"created_at": "2026-03-06T00:00:00Z",
|
||||
"updated_at": "2026-03-06T00:00:00Z",
|
||||
"type": "feature",
|
||||
"priority": "medium"
|
||||
}
|
||||
@@ -1,16 +1,31 @@
|
||||
# Implementation Plan: MMA Multi-Worker Visualization (mma_multiworker_viz)
|
||||
# Implementation Plan: MMA Multi-Worker Visualization (mma_multiworker_viz_20260306)
|
||||
|
||||
## Phase 1: Research & Design
|
||||
- [ ] Task: Analyze existing backend implementation
|
||||
- [ ] Task: Design GUI/UX approach
|
||||
- [ ] Task: Conductor - User Manual Verification
|
||||
## Phase 1: Layout Design
|
||||
- [ ] Task: Initialize MMA Environment
|
||||
- [ ] Task: Design multi-pane layout
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: Split view for workers
|
||||
- HOW: imgui.columns or child windows
|
||||
- SAFETY: Handle 0 workers
|
||||
|
||||
## Phase 2: Implementation
|
||||
- [ ] Task: Implement feature
|
||||
- [ ] Task: Write tests
|
||||
- [ ] Task: Conductor - User Manual Verification
|
||||
## Phase 2: Worker Tracking
|
||||
- [ ] Task: Track worker status
|
||||
- WHERE: src/multi_agent_conductor.py
|
||||
- WHAT: Per-worker status
|
||||
- HOW: Dictionary of worker states
|
||||
- SAFETY: Thread-safe updates
|
||||
|
||||
## Phase 3: Verification
|
||||
- [ ] Task: Run test suite
|
||||
- [ ] Task: Verify coverage
|
||||
- [ ] Task: Conductor - Phase Completion Verification
|
||||
## Phase 3: Controls
|
||||
- [ ] Task: Add kill buttons
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: Button per worker to kill
|
||||
- HOW: Signal worker thread
|
||||
- SAFETY: Graceful termination
|
||||
- [ ] Task: Add restart buttons
|
||||
- WHERE: src/gui_2.py
|
||||
- WHAT: Respawn killed worker
|
||||
- HOW: Re-submit ticket
|
||||
|
||||
## Phase 4: Verification
|
||||
- [ ] Task: Test multi-worker display
|
||||
- [ ] Task: Conductor - Phase Verification
|
||||
|
||||
@@ -1,28 +1,21 @@
|
||||
# Track Specification: MMA Multi-Worker Visualization
|
||||
# Track Specification: MMA Multi-Worker Visualization (mma_multiworker_viz_20260306)
|
||||
|
||||
## Overview
|
||||
Split-view GUI for parallel worker streams per tier.
|
||||
Split-view GUI for parallel worker streams per tier. Visualize multiple concurrent workers with individual status, output tabs, and resource usage. Enable kill/restart per worker.
|
||||
|
||||
## Current State Audit
|
||||
### Already Implemented
|
||||
- mma_streams in app_controller.py
|
||||
- Tier source tagging
|
||||
|
||||
### Gaps to Fill
|
||||
- Single stream display only
|
||||
- No per-worker status
|
||||
- No kill/restart controls
|
||||
|
||||
## Goals
|
||||
- Split view per worker
|
||||
- Individual status/output tabs
|
||||
- Kill/restart per worker
|
||||
## Architectural Constraints
|
||||
- **Stream Performance**: Multiple concurrent streams MUST NOT degrade UI performance.
|
||||
- **Memory Efficiency**: Old stream data MUST be pruned to prevent memory bloat.
|
||||
|
||||
## Functional Requirements
|
||||
- Multi-pane layout
|
||||
- Worker lifecycle controls
|
||||
- Output streaming per worker
|
||||
- **Multi-Pane Layout**: Split view showing all active workers.
|
||||
- **Per-Worker Status**: Display running/complete/blocked/failed per worker.
|
||||
- **Output Tabs**: Each worker has scrollable output tab.
|
||||
- **Kill/Restart**: Buttons to kill or restart individual workers.
|
||||
|
||||
## Non-Functional Requirements
|
||||
- Handle 4+ concurrent workers
|
||||
- Graceful termination
|
||||
## Acceptance Criteria
|
||||
- [ ] 4+ concurrent workers displayed simultaneously.
|
||||
- [ ] Each worker shows individual status.
|
||||
- [ ] Output streams scroll independently.
|
||||
- [ ] Kill button terminates specific worker.
|
||||
- [ ] Restart button re-spawns worker.
|
||||
|
||||
Reference in New Issue
Block a user