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")
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")
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)
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")
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")