Skip to content

Fleet UI Phase 2: Dropbox / task visibility #564

@Wirasm

Description

@Wirasm

Phase 2: Dropbox / Task Visibility

Part of #562 (Fleet UI Epic)

PRD: .claude/PRPs/prds/fleet-ui-honryu-visibility.prd.md — Phase 2

What

Show task assignments, acknowledgments, and reports from the fleet dropbox protocol in the UI.

Why

Answers: "What was each worker asked to do? Did they acknowledge? Did they finish?" — the second most important question after agent status.

Scope

2.1 Extend FleetStore with Dropbox State

  • Add HashMap<String, DropboxState> to FleetStore
  • Call existing kild_core::sessions::dropbox::read_dropbox_state() per session
  • Same 3s refresh timer as agent status
  • Add facade method dropbox_state(session_id) to AppState

2.2 Dashboard Cards: Task Badge

  • When dropbox state exists, show task badge row on cards:
    • Task assigned, no ack: "Task #003" + "pending" badge in copper
    • Task acked (task_id == ack): "Task #003" + "acked" badge in aurora
    • Has report: "Task #003" + "done" badge in ice
    • First ~60 chars of task content as muted subtitle

2.3 Detail View: Fleet Section

  • After "Git" section, add "Task" section when dropbox state exists:
    • Task ID + ack status badge
    • Full task content in a surface-bg scrollable box
    • Report content in a separate surface-bg box with ice accent
    • Delivery method from latest history entry

Files

  • crates/kild-ui/src/state/fleet.rs — extend with dropbox state
  • crates/kild-ui/src/state/app_state/state.rs — add dropbox_state facade
  • crates/kild-ui/src/views/dashboard_view.rs — task badges on cards
  • crates/kild-ui/src/views/detail_view.rs — fleet/task section
  • crates/kild-ui/src/views/main_view/rendering.rs — pass fleet data to detail view

Depends on

Verification

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority - Nice to have, consider closing if staleeffort/mediumFew files, one domain or module, some coordination neededfeatureNew functionality (planned)fleetFleet/brain (Honryū) coordinationuiGPUI native GUI (kild-ui)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions