# TASKS.md
<!-- Quick-read pointer to active and planned conductor tracks -->
<!-- Source of truth for task state is conductor/tracks/*/plan.md -->

## Active Tracks
*(none — all planned tracks queued below)*
*See tracks.md for active track status*

## Completed This Session
*(See archive: strict_execution_queue_completed_20260306)*

---

#### 0. conductor_path_configurable_20260306
- **Status:** Planned
- **Priority:** CRITICAL
- **Goal:** Eliminate hardcoded conductor paths. Make path configurable via config.toml or CONDUCTOR_DIR env var. Allow running app to use separate directory from development tracks.

## Phase 3: Future Horizons (Tracks 1-20)
*Initialized: 2026-03-06*

### Architecture & Backend

#### 1. true_parallel_worker_execution_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Implement true concurrency for the DAG engine. Once threading.local() is in place, the ExecutionEngine should spawn independent Tier 3 workers in parallel (e.g., 4 workers handling 4 isolated tests simultaneously). Requires strict file-locking or a Git-based diff-merging strategy to prevent AST collision.

#### 2. deep_ast_context_pruning_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Before dispatching a Tier 3 worker, use tree_sitter to automatically parse the target file AST, strip out unrelated function bodies, and inject a surgically condensed skeleton into the worker prompt. Guarantees the AI only sees what it needs to edit, drastically reducing token burn.

#### 3. visual_dag_ticket_editing_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Replace the linear ticket list in the GUI with an interactive Node Graph using ImGui Bundle node editor. Allow the user to visually drag dependency lines, split nodes, or delete tasks before clicking Execute Pipeline.

#### 4. tier4_auto_patching_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Elevate Tier 4 from a log summarizer to an auto-patcher. When a verification test fails, Tier 4 generates a .patch file. The GUI intercepts this and presents a side-by-side Diff Viewer. The user clicks Apply Patch to instantly resume the pipeline.

#### 5. native_orchestrator_20260306
- **Status:** Planned
- **Priority:** Low
- **Goal:** Absorb the Conductor extension entirely into the core application. Manual Slop should natively read/write plan.md, manage the metadata.json, and orchestrate the MMA tiers in pure Python, removing the dependency on external CLI shell executions (mma_exec.py).

---

### GUI Overhauls & Visualizations

#### 6. cost_token_analytics_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Real-time cost tracking panel displaying cost per model, session totals, and breakdown by tier. Uses existing cost_tracker.py which is implemented but has no GUI.

#### 7. performance_dashboard_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Expand performance metrics panel with CPU/RAM usage, frame time, input lag with historical graphs. Uses existing performance_monitor.py which has basic metrics but no detailed visualization.

#### 8. mma_multiworker_viz_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** 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.

#### 9. cache_analytics_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Gemini cache hit/miss visualization, memory usage, TTL status display. Uses existing ai_client.get_gemini_cache_stats() which is not displayed in GUI.

#### 10. tool_usage_analytics_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Analytics panel showing most-used tools, average execution time, and failure rates. Uses existing tool_log_callback data.

#### 11. session_insights_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Token usage over time, cost projections, session summary with efficiency scores. Visualize session_logger data.

#### 12. track_progress_viz_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Progress bars and percentage completion for active tracks and tickets. Better visualization of DAG execution state.

#### 13. manual_skeleton_injection_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Add UI controls to manually flag files for skeleton injection in discussions. Allow agent to request full file reads or specific def/class definitions on-demand.

#### 14. on_demand_def_lookup_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Add ability for agent to request specific class/function definitions during discussion. User can @mention a symbol and get its full definition inline.

---

### Manual UX Controls

#### 15. ticket_queue_mgmt_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Allow user to manually reorder, prioritize, or requeue tickets in the DAG. Add drag-drop reordering, priority tags, and bulk selection.

#### 16. kill_abort_workers_20260306
- **Status:** Planned
- **Priority:** High
- **Goal:** Add ability to kill/abort a running Tier 3 worker mid-execution. Currently workers run to completion; add cancel button.

#### 17. manual_block_control_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Allow user to manually block or unblock tickets with custom reasons. Currently blocked tickets rely on dependency resolution; add manual override.

#### 18. pipeline_pause_resume_20260306
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Add global pause/resume for the entire DAG execution pipeline. Allow user to freeze all worker activity and resume later.

#### 19. per_ticket_model_20260306
- **Status:** Planned
- **Priority:** Low
- **Goal:** Allow user to manually select which model to use for a specific ticket, overriding the default tier model.

#### 20. manual_ux_validation_20260302
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Interactive human-in-the-loop track to review and adjust GUI UX, animations, popups, and layout structures.

---

### C/C++ Language Support

#### 25. ts_cpp_tree_sitter_20260308
- **Status:** Planned
- **Priority:** High
- **Goal:** Add tree-sitter C and C++ grammars. Extend ASTParser to support C/C++ skeleton and outline extraction. Add MCP tools ts_c_get_skeleton, ts_cpp_get_skeleton, ts_c_get_code_outline, ts_cpp_get_code_outline.

#### 26. gencpp_python_bindings_20260308
- **Status:** Planned
- **Priority:** Medium
- **Goal:** Bootstrap standalone Python project with CFFI bindings for gencpp C library. Provides foundation for richer C++ AST parsing in future (beyond tree-sitter syntax).

---

### Path Configuration

#### 27. project_conductor_dir_20260308
- **Status:** Planned
- **Priority:** High
- **Goal:** Make conductor directory per-project. Each project TOML can specify custom conductor dir for isolated track/state management. Extends existing global path config.

#### 28. gui_path_config_20260308
- **Status:** Planned
- **Priority:** High
- **Goal:** Add path configuration UI to Context Hub. Allow users to view and edit configurable paths (conductor, logs, scripts) directly from the GUI.
