Skip to content

A question is answered as a question, not typed as input

TUI decision 106 · accepted · 2026-09-20

Client.answer/3 used to send the person's answer to ask_user as ordinary input, because the wire had no other way; the daemon now has question.answer (troupe-remote Decision 651), so the worker sends that, with the call id the question carried. Troupe.Remote.Translate turns question_asked into the :question_asked the model already drew as a menu and question_answered into what clears it, and a branch's worker registers a question's call id beside an approval's so the parent's screen routes the answer to the right session. Nothing in the UI changed: it asked for exactly this shape before the harness left.

Governs: clients/tui/lib/troupe/client/daemon.ex