WIP almost done with track planning

This commit is contained in:
2026-03-06 15:00:15 -05:00
parent 2c90020682
commit 3b79f2a4e1
77 changed files with 1186 additions and 674 deletions

View File

@@ -0,0 +1,9 @@
# Manual Ticket Queue Management
**Track ID:** ticket_queue_mgmt_20260306
**Status:** Planned
**See Also:**
- [Spec](./spec.md)
- [Plan](./plan.md)

View File

@@ -0,0 +1,9 @@
{
"id": "ticket_queue_mgmt_20260306",
"name": "Manual Ticket Queue Management",
"status": "planned",
"created_at": "2026-03-06T00:00:00Z",
"updated_at": "2026-03-06T00:00:00Z",
"type": "feature",
"priority": "medium"
}

View File

@@ -1,16 +1,33 @@
# Implementation Plan: Manual Ticket Queue Management (ticket_queue_mgmt)
# Implementation Plan: Manual Ticket Queue Management (ticket_queue_mgmt_20260306)
## Phase 1: Research & Design
- [ ] Task: Analyze existing backend implementation
- [ ] Task: Design GUI/UX approach
- [ ] Task: Conductor - User Manual Verification
## Phase 1: UI Framework
- [ ] Task: Initialize MMA Environment
- [ ] Task: Add drag-drop support
- WHERE: src/gui_2.py
- WHAT: Enable ticket reordering via drag
- HOW: imgui drag-drop or custom handling
- SAFETY: Validate after drop
## Phase 2: Implementation
- [ ] Task: Implement feature
- [ ] Task: Write tests
- [ ] Task: Conductor - User Manual Verification
## Phase 2: Priority System
- [ ] Task: Add priority field
- WHERE: src/models.py
- WHAT: Add priority to Ticket
- HOW: Enum (high/med/low)
- [ ] Task: Add priority UI
- WHERE: src/gui_2.py
- WHAT: Dropdown or buttons
- HOW: imgui.combo
## Phase 3: Verification
- [ ] Task: Run test suite
- [ ] Task: Verify coverage
- [ ] Task: Conductor - Phase Completion Verification
## Phase 3: Bulk Operations
- [ ] Task: Implement multi-select
- WHERE: src/gui_2.py
- WHAT: Checkbox per ticket
- HOW: imgui.checkbox
- [ ] Task: Implement bulk actions
- WHERE: src/gui_2.py
- WHAT: Execute/skip/block buttons
- HOW: Apply to selected
## Phase 4: Verification
- [ ] Task: Test operations
- [ ] Task: Conductor - Phase Verification

View File

@@ -1,28 +1,21 @@
# Track Specification: Manual Ticket Queue Management
# Track Specification: Manual Ticket Queue Management (ticket_queue_mgmt_20260306)
## Overview
Reorder, prioritize, and requeue tickets with drag-drop UI.
Allow user to manually reorder, prioritize, or requeue tickets in the DAG. Add drag-drop reordering, priority tags, and bulk selection for execute/skip/block.
## Current State Audit
### Already Implemented
- Ticket system in models.py
- DAG dependency resolution
### Gaps to Fill
- No drag-drop reordering
- No priority tags
- No bulk operations
## Goals
- Drag-drop ticket reordering
- Priority tags (high/med/low)
- Bulk select and execute/skip/block
## Architectural Constraints
- **DAG Validity**: Reordering MUST maintain valid dependencies.
- **Atomic Operations**: Bulk operations MUST be atomic.
## Functional Requirements
- Drag-drop handlers
- Priority field on tickets
- Bulk action buttons
- **Drag-Drop**: Reorder tickets via drag-drop.
- **Priority Tags**: Set priority (high/med/low) on tickets.
- **Bulk Select**: Multi-select tickets.
- **Bulk Actions**: Execute/skip/block selected tickets.
## Non-Functional Requirements
- Maintain DAG validity
- Undo capability
## Acceptance Criteria
- [ ] Drag-drop reordering works.
- [ ] Priority tags display and save.
- [ ] Multi-select functional.
- [ ] Bulk actions apply correctly.
- [ ] DAG validity maintained.