{"version":"2.1.248","anchor":"remote-approval-answers-may-carry-a-rules-block-and-a-bad-on","canonical_anchor":"remote-approval-answers-may-carry-a-rules-block-and-a-bad-on","heading":"Remote approval answers may carry a rules block, and a bad one is skipped","tier":"notice","area":"Remote Approvals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/remote-approval-answers-may-carry-a-rules-block-and-a-bad-on","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Remote approval answers may carry a rules block, and a bad one is skipped\n\nRemote approval answers may carry their own permission rules, capped and dropped if unreadable.\n\n**What**\n\nThe format for a remote host's \"needs approval\" answer gained an optional block of its own permission rules. Each line is cleaned up and whitespace-collapsed, and both the count and the length of lines are capped: the allow and environment lists keep the first entries, the deny lists the last. A block that cannot be read is dropped and the request is still judged, rather than failing.\n\n**Evidence**\n\n`[remote-tools] dropped an unreadable auto_mode block from a needs_approval answer; the ask is judged without it`\n\n- Area: Remote Approvals\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 4\/5"}