Skip to content

feat(orchestration): Phase 6 — TUI integration #1241

@bug-ops

Description

@bug-ops

Parent: #1235
Blocked by: #1240

Summary

Add TUI visualization for task orchestration DAG with live status updates.

Branch: feat/m33/orchestration-tui
Feature flags: orchestration + tui

Deliverables

New files

  • crates/zeph-tui/src/widgets/plan_view.rsPlanView widget

Modified files

  • crates/zeph-tui/src/widgets/mod.rs — add plan_view module
  • crates/zeph-tui/src/layout.rs — integrate PlanView
  • src/init.rs — wizard update for [orchestration] settings

TUI widget

Task graph table with columns:

  • # (TaskId index)
  • Title (truncated)
  • Status (colored: yellow=Running, green=Completed, red=Failed, dim=Skipped, cyan=Ready)
  • Agent (assigned agent def name or hint)
  • Duration (wall-clock time)

Status indicators with spinners for Running tasks per TUI rules.

Tests (~5)

  • Widget renders correct row count
  • Status colors map correctly
  • Empty graph renders placeholder message
  • Widget handles graph with mixed statuses

Dependencies

Blocked by: Phase 5 (#1240)
Can run in parallel with: Phase 7 (#1242)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestorchestrationTask orchestration / DAG scheduling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions