You'll notice
Remote/background task titles are now sanitized with a fallback of '(remote task)' if invalid or empty
What
When a remote or background agent task is registered, its title is now checked and cleaned up before use. If the title is empty or invalid, it falls back to the placeholder "(remote task)" instead of using the raw, unchecked value.
Why
This avoids problems that could arise from displaying an empty or malformed title for a background task, ensuring the task list always shows something sensible.