- VCS scope cwd mismatch: Pass raw (un-normalized) cwd to shouldRunScopeWork
so the scope key matches what the client sends in activity lease scopes,
while keeping the normalized path for filesystem operations.
- Disconnect never clears leases: Add removeSession to BackgroundPolicy and
call it in the WebSocket disconnect handler so activity leases are cleaned
up immediately when a client disconnects rather than waiting for TTL expiry.
- Advanced dialog clears overrides: In BackgroundActivityAdvancedDialog, change
the shared policy Select to update baseProfile while keeping profile as
'custom' and preserving existing overrides, instead of calling the preset
helper that wipes overrides.