Screen claude/permission

A permission dialog for a Write call. Its options are numbered, its mark is unframed, and its footer holds "Esc to cancel". The tg-bridge module docstring says that a live probe measured it against Claude Code 2.1.226 on 2026-08-10. The size of the pane was not recorded. `tests/test_sessions.py::test_a_permission_dialog_is_recognised` asserts the state, `tests/test_sessions.py::test_the_dialog_question_is_read_from_above_the_input_region` the question, and `tests/test_sessions.py::test_the_dialog_options_are_read_from_the_input_region` the options.

Expected state
PERMISSION
Agent version
Claude Code 2.1.226
Provenance
measured-edited
The text of the screen claude/permission, a plain capture.
● Write(cedar.txt)

────────────────────────────────────────────────────
 Create file
 cedar.txt
 Do you want to create cedar.txt?
 ❯ 1. Yes
   2. Yes, allow all edits during this session (shift+tab)
   3. No

 Esc to cancel · Tab to amend

Download the exact bytes of this screen Read the metadata file on GitHub

Expected result

state
PERMISSION
dialog
permission
question
Do you want to create cedar.txt?
The options of the dialog
NumberLabelSelected
1Yesno
2Yes, allow all edits during this session (shift+tab)no
3Nono

Metadata

agent
claude
agent_version
2.1.226
measured
2026-08-10
capture
plain
pane
not known
provenance
measured-edited
edits
  • rule lines may be shortened; not verified against a new capture
facts