Claude Code now logs a warning if session activity tracking leaks a 'parked on user' count
Claude Code tracks internally when a session's activity is "parked" waiting on the user. A new warning, session_activity_parked_leaked, is now logged if the internal counter that tracks reasons for activity drops to zero while there's still a nonzero count of activity parked on the user. The leaked count is included in the warning, and an internal generation counter is bumped before the stale count is cleared.
This is an internal consistency check, not a user-facing feature. It helps catch a bookkeeping bug where the app thinks it's still waiting on you when it shouldn't be, which could otherwise cause confusing hangs or stuck states.