{"version":"2.1.242","anchor":"permission-prompts-can-be-marked-so-a-stray-keystroke-cannot","canonical_anchor":"permission-prompts-can-be-marked-so-a-stray-keystroke-cannot","heading":"Permission prompts can be marked so a stray keystroke cannot approve them","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/permission-prompts-can-be-marked-so-a-stray-keystroke-cannot","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Permission prompts can be marked so a stray keystroke cannot approve them\n\nSDK hosts are told when a permission prompt must default to no and not pre-select approve.\n\n**What**\n\nThe permission request sent to SDK hosts over the control protocol carries an optional flag saying the prompt must default to no. A terminal-style prompt opens on the decline option and accepts no digit shortcut, and hosts drawing their own approve buttons are told not to pre-select approve.\n\n**Details**\n\n- the field is optional, so requests without it keep the existing behaviour\n- it is advisory for custom hosts: the schema states the expectation rather than enforcing it\n\n**Evidence**\n\n`\"True when the ask must not be approvable by a single stray keystroke (PermissionAskDecision.defaultToNo): a terminal-style prompt opens on its decline option and takes no digit shortcut. Hosts rendering approve options should not pre-select approve when set.\"`\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5"}