Callback used by the planners to read a single line of user input. The runtime wires this to a CliDialog text question; tests substitute a canned-answer recorder.
CliDialog
typedef Prompt = String Function(String question);