{"version":"2.1.331","anchor":"cwd-recovery-and-permissionsession-fixes","canonical_anchor":"cwd-recovery-and-permissionsession-fixes","heading":"Stored deny can cancel a waiting tool call, plus small session fixes","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/cwd-recovery-and-permissionsession-fixes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Stored deny can cancel a waiting tool call, plus small session fixes\n\nA stored_deny reason can now cancel a waiting tool call; remote and headless sessions also get fixes for folder recovery and connection errors\n\n**What**\n\nA tool call is a single action Claude takes, such as running a command. A permission request can be parked, which means it is left waiting for an answer. This release adds a way for a saved refusal to answer it:\n\n- `stored_deny` is a new reason for refusing a tool call. It uses the same message as a timeout and counts as a cancelled refusal rather than a refusal you gave.\n\n- Parked permission requests now raise a stored-deny signal when they are refused this way.\n\nThe same release makes several small robustness changes, mostly for remote sessions and headless sessions, which are sessions that run without an interactive screen:\n\n- Shell folder recovery, the step that recovers the folder a command runs in, now checks the recovery path before using it.\n\n- `\"attachment\"` messages are now marked `remoteSourced`, meaning they came from the remote side.\n\n- `\"Malformed_HTTP_Response\"` is now treated as a connection error.\n\n- Task-notification messages now carry a `rowSource` of `\"recorded\"` or `\"harness\"`.\n\n- Plain printable text made only of basic ASCII characters is now accepted as valid straight away, before it is split into parts.\n\n**Why**\n\nIt suggests a deny rule saved earlier can now cancel a tool call that was waiting for approval. A malformed response from the server should now be handled like a dropped connection rather than another kind of failure.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}