Description
fleet_poll_task in src/tui_bridge.rs silently polls the database every N seconds and sends FleetSnapshot to the TUI widget. No AgentEvent::Status is sent before or during the DB query, violating the TUI rule: 'ANY background or implicit operation must be accompanied by a visible system status indicator with a spinner.'
Actual Behavior
The fleet panel updates silently. The user sees the table refresh without any status message indicating that a background DB read is in progress.
Expected Behavior
Send AgentEvent::Status("Refreshing fleet...".into()) before list_agent_sessions and clear it after (or wire a dedicated fleet-refresh indicator in the fleet panel header).
Environment
- HEAD: 9d76476
- File:
src/tui_bridge.rs:653-692
Description
fleet_poll_taskinsrc/tui_bridge.rssilently polls the database every N seconds and sendsFleetSnapshotto the TUI widget. NoAgentEvent::Statusis sent before or during the DB query, violating the TUI rule: 'ANY background or implicit operation must be accompanied by a visible system status indicator with a spinner.'Actual Behavior
The fleet panel updates silently. The user sees the table refresh without any status message indicating that a background DB read is in progress.
Expected Behavior
Send
AgentEvent::Status("Refreshing fleet...".into())beforelist_agent_sessionsand clear it after (or wire a dedicated fleet-refresh indicator in the fleet panel header).Environment
src/tui_bridge.rs:653-692