auth dialog: tell the human the keyboard works (Tab / arrows / Enter / Esc)
Your AI's guard dog to stop it from going rogue.
Brought to you by:
doberman
Originally created by: fu351
Originally owned by: thesageak
_add_button_row (src/doberman/auth/gui_prompter.py:331-424) wires Tab and the arrow keys to move the highlight between Deny and Approve and Enter to invoke the highlighted button (target.bind("<Tab>", _move_highlight) at line 419), and Escape/closing the window denies. Nothing on screen says so; the buttons are custom canvas shapes, so there's no native focus ring to hint at it.
What to do
_MUTED, _SUB_FONT or _DEADLINE_FONT): Tab / arrows switch - Enter confirms - Esc denies. Keep it ASCII; the auth prompt text has an ASCII-only guarantee with a test behind it, and a middle dot would trip it.tests/unit/test_gui_prompter.py with the faked canvas: after the dialog is populated, a text item containing Enter exists.Cosmetic. The bindings themselves don't change, and the deny-first highlight stays.
Originally posted by: thesageak
Hey! I'd like to work on this issue. Could you assign it to me?
Originally posted by: fu351
Yes go ahead @thesageak, assigned! Welcome to Doberman. One thing to watch: the auth prompt text has an ASCII-only guarantee with a test behind it, so keep the hint line to plain letters and hyphens, a middle dot will trip it. Ask here if anything's unclear, and feel free to join the Discord: https://discord.gg/Sfy5XGNqty
Ticket changed by: fu351