refinement of upcoming tracks
This commit is contained in:
@@ -1,21 +1,41 @@
|
||||
# Track Specification: Manual Ticket Queue Management (ticket_queue_mgmt_20260306)
|
||||
|
||||
## Overview
|
||||
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.
|
||||
Allow user to manually reorder, prioritize, or requeue tickets. Add drag-drop, priority tags, bulk selection.
|
||||
|
||||
## Architectural Constraints
|
||||
- **DAG Validity**: Reordering MUST maintain valid dependencies.
|
||||
- **Atomic Operations**: Bulk operations MUST be atomic.
|
||||
## Current State Audit
|
||||
|
||||
### Already Implemented
|
||||
- **`models.Ticket`**: No priority field
|
||||
- **`dag_engine.py`**: `get_ready_tasks()` returns in order
|
||||
- **GUI**: Linear ticket list display
|
||||
|
||||
### Gaps to Fill
|
||||
- No priority field on Ticket
|
||||
- No drag-drop reordering
|
||||
- No bulk selection/operations
|
||||
|
||||
## Functional Requirements
|
||||
- **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.
|
||||
- Add `priority: str = "medium"` to Ticket (high/medium/low)
|
||||
- Drag-drop reordering in ticket list
|
||||
- Multi-select for bulk operations
|
||||
- Bulk execute/skip/block
|
||||
|
||||
## Key Integration Points
|
||||
| File | Purpose |
|
||||
|-----|---------|
|
||||
| `src/models.py` | Add priority field |
|
||||
| `src/gui_2.py` | Drag-drop, bulk UI |
|
||||
| `src/dag_engine.py` | Priority-aware ordering |
|
||||
|
||||
## Architectural Constraints
|
||||
- DAG validity maintained after reorder
|
||||
- Dependency order cannot be violated
|
||||
|
||||
## Acceptance Criteria
|
||||
- [ ] Drag-drop reordering works.
|
||||
- [ ] Priority tags display and save.
|
||||
- [ ] Multi-select functional.
|
||||
- [ ] Bulk actions apply correctly.
|
||||
- [ ] DAG validity maintained.
|
||||
- [ ] Drag-drop reordering works
|
||||
- [ ] Priority tags display and save
|
||||
- [ ] Multi-select functional
|
||||
- [ ] Bulk actions apply correctly
|
||||
- [ ] DAG validity maintained
|
||||
- [ ] 1-space indentation
|
||||
|
||||
Reference in New Issue
Block a user