Background agents can't read SECRETS

Describe the Bug

BE used to work fine a few days ago, now i tried running it again and the secret env variable i passed through the Secrets field is not present in the BE environment anymore.

Steps to Reproduce

  1. Launch a background agent with a secret env variable set through Cursor settings → BE → Secrets
  2. Manually log into the BE session terminal and echo the variable, or tell the agent to do it

Expected Behavior

I expect the variable to be set in the environment of the BE

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.3
VSCode Version: 1.99.3
Commit: 3af362bc7c6ffdde67ee75328bc9be679d6f3a40
Date: 2025-07-10T05:01:55.920Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0