{"version":"2.1.248","anchor":"restricted-sessions-deny-out-of-directory-file-access-outrig","canonical_anchor":"restricted-sessions-deny-out-of-directory-file-access-outrig","heading":"Restricted sessions deny out-of-directory file access outright","tier":"notice","area":"Restricted Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/restricted-sessions-deny-out-of-directory-file-access-outrig","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Restricted sessions deny out-of-directory file access outright\n\nRestricted sessions now deny out-of-directory reads and writes outright, with no prompt.\n\n**What**\n\nIn a `--restricted` session, a read or write aimed at a path outside the working directory is now denied explicitly instead of falling through to a permission prompt. The denial text is new in this build.\n\n**Details**\n\n- One helper produces the denial and is wired into both the read decision and the write decision; the write path calls the read decision with the restricted flag forced on.\n- The denial reason is mapped to the restricted-mode circuit breaker so repeated attempts are handled as a group.\n- Session-level only: it depends on how the session was launched, not on any server-side flag.\n\n**Evidence**\n\n`is outside ${u}; --restricted confines the file tools to the working directory.`\n\n- Area: Restricted Mode\n- Names: `--restricted`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}