Claude Code Cloud Sessions Keep Deny and Ask Rules When Moving to a New Worker
Claude Code 2.1.319 fixes cloud sessions losing session-scoped deny and ask rules, such as those a PermissionRequest hook adds, when the session moves to a new worker. It also drops session-scoped allow rules at a move when the deny and ask rules cannot all be kept, so users may be asked again. /permissions in cloud sessions now says where the rules live.
Key Takeaways
- Session-scoped deny and ask rules are now kept when a cloud session moves to a new worker.
- Rules added by a PermissionRequest hook were among those lost.
- Allow rules are dropped when the deny and ask rules cannot all be kept.
- Users may be prompted again after a move.
/permissionsin cloud sessions now explains where rules live.- The fix removes a case where a restriction silently disappeared.
Deny and Ask Rules Survive a Move
Claude Code 2.1.319 fixes cloud sessions losing session-scoped deny and ask permission rules when the session moves to a new worker. Rules a PermissionRequest hook adds are an example. Before, those restrictions could vanish at a move, which left the session less restricted than the user set it.
A Cautious Trade-Off
Related behavior changed too. Cloud sessions now drop session-scoped allow rules at a move to a new worker when their deny and ask rules cannot all be kept. Users may be asked again as a result.
/permissions in Cloud Sessions
/permissions in a cloud session used to reply only that it was not available. It now says where the session's rules live and how to change them.