Files
Cursor Agent 44ee7a6c3a fix: resolve background activity bugs (scope mismatch, leak on disconnect, dialog reset)
- 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.
2026-06-16 17:17:29 +00:00
..