Files
codex/codex-rs/tui
Eric Traut c587ff1f0b Keep MCP startup from showing the TUI as working (#64221)
## Why

MCP startup could show `Working` before a user turn began, and
reloading MCP servers could temporarily hide an unread `Done` status.

## What changed

Derive the terminal program status from user turn activity, active
goals, blocked states, and the stored turn result.

## Testing

Extend the status regression test to check that the TUI stays idle
while MCP starts, reports `Working` when a turn begins before MCP is
ready, and keeps `Done` visible throughout an MCP reload until the
result is acknowledged.

GitOrigin-RevId: f05fab26e54e610743f0f799ef30306835d5cbdd
2026-11-26 21:46:36 +00:00
..