bug(kimi): TUI loads indefinitely without delivering prompt or image attachments
What went wrong?
I selected Kimi with the default settings and set the UI to TUI. AO kept loading indefinitely. The Kimi agent opened in the background, but AO did not send it the initial prompt or any task context.
To get the agent to start working, I had to enter the prompt again directly in Kimi.
I also could not attach images for Kimi in AO.
Expected behavior
AO should finish opening the Kimi TUI, deliver the initial prompt and its context automatically, and allow images to be attached for the Kimi session.
Additional context
I do not know whether this also happens with other agents.
Fixed by merged PR #5557 (commit 684d6d67d), which explicitly addressed this report by bounding Kimi prompt-readiness polling against the spawn request deadline, reserving time for fallback delivery, and giving rollback stages independent cleanup contexts. On current main, the focused Kimi adapter and session-manager prompt/attachment tests pass; spawn attachments are staged before launch and their workspace paths are appended to the same after-start prompt. Closing as resolved to avoid a duplicate no-op change.