Command matcher can filter out actions destined to failure (eg, closing a closed door) and reject them, leaving only unambiguous options (eg, if there are two doors, one open and one closed, 'close door' will unambiguously choose the open door.)