{"version":"2.1.207","anchor":"bug-fixes","canonical_anchor":"bug-fixes","heading":"","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.207\/e\/bug-fixes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.207","markdown":"- Fixed permission hook `canUseTool` callback: when it returns a schema-invalid result (ZodError), Claude now logs the validation error at the `error` level and surfaces a clear message (\"The canUseTool callback returned an invalid permission result\") rather than crashing or passing raw error text. (search for `\"canUseTool returned a schema-invalid permission result\"`)\n\n- Fixed worktreeinclude gitignore patterns: patterns that fail to compile are now warned and filtered out rather than causing a crash, with a telemetry event recorded per invalid pattern. (search for `\"gitignore-style pattern failed to compile\"`)\n\n- Fixed permission result handling when `updatedInput` is empty: the resolver now correctly checks `Object.keys(e.updatedInput).length > 0` only when `updatedInput` is defined, avoiding a crash on `undefined`. (search for `\"updatedInput\"` in permission result handling)\n\n- Fixed Remote Control session reset on login: re-authenticating now clears `replBridgeSessionGroupingId` and `replBridgeInitialName` from app state, preventing stale session grouping data from persisting after sign-out. (search for `\"replBridgeSessionGroupingId\"`)\n\n- Improved fs error categorization: additional POSIX error codes (`EDEADLK`, `EINTR`, `ENXIO`, `ECANCELED`, `ENEEDAUTH`, `ESTALE`) are now classified as retryable filesystem errors rather than hard failures. (search for `\"EDEADLK\"`)"}