Files
manual_slop/conductor/tracks/ticket_queue_mgmt_20260306/spec.md
2026-03-06 15:41:33 -05:00

1.2 KiB

Track Specification: Manual Ticket Queue Management (ticket_queue_mgmt_20260306)

Overview

Allow user to manually reorder, prioritize, or requeue tickets. Add drag-drop, priority tags, bulk selection.

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

  • 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
  • 1-space indentation