Disabled Team Rules still loaded into context

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I have several team rules defined.
When I disable them in the cursor.com ui (https://cursor.com/en-US/dashboard/team-content)
and reopen Cursor, with a new agent session, the disabled rules are still loaded into the context.

Evidence:

Fact Implication
Rules appear in <always_applied_workspace_rules> in the Agent system prompt Cursor’s Agent session builder is treating them as always-on
Rules have no .mdc file on disk They are server-side team rules, not local project rules
cursor/disabledTeamRules in state.vscdb explicitly lists all three The user’s opt-out was recorded correctly by the UI
Rules still appear in the system prompt despite being in the disabled list The Agent system prompt builder does not check disabledTeamRules before injecting team rules

Broken flow:

User toggles rule OFF in Cursor UI
        ↓
Cursor writes rule name to cursor/disabledTeamRules in state.vscdb ✅
        ↓
User opens Agent session
        ↓
Cursor fetches team rules from backend ✅
        ↓
Cursor builds Agent system prompt
        ↓
[BUG] disabledTeamRules list is NOT consulted ❌
        ↓
All team rules injected into system prompt regardless of user preference

Steps to Reproduce

  1. Open Cursor Settings → Rules
  2. Find a team rule and toggle it OFF
  3. Verify via SQLite that the rule name was added to cursor/disabledTeamRules:
    sqlite3 "~/Library/Application Support/Cursor/User/globalStorage/state.vscdb" \
      "SELECT value FROM ItemTable WHERE key = 'cursor/disabledTeamRules';"
    
  4. Open any Agent/Chat session
  5. Ask the agent to describe its system prompt context (or observe context window usage)
  6. Expected: Disabled rules should not appear in system prompt
  7. Actual: Disabled rules appear as always_applied_workspace_rules

Expected Behavior

Disabled rules should not be loaded into the context

Operating System

MacOS

Version Information

Version: 3.0.16 (Universal)
VSCode Version: 1.105.1
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50
Date: 2026-04-09T05:33:51.767Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Lior_Schejter!

I can reproduce an issue with team rules, although it’s not exactly the scenario you describe.

When I disable them in the cursor.com UI (https://cursor.com/en-US/dashboard/team-content) and reopen Cursor, with a new agent session, the disabled rules are still loaded into the context.

I can’t reproduce this. If I disable a rule on cursor.com, it no longer appears in the agent context. I’ve verified this with internal tooling that’s more reliable than asking the agent to self-report.

However, if a rule is active on cursor.com (and marked as optional) and you disable it locally in Cursor Settings → Rules, the rule is still injected into the agent prompt. That’s a confirmed bug on our end, and I’ve filed it internally.

If your case is specifically about disabling rules on cursor.com (not locally), could you try upgrading to the latest version and testing again? Also, make sure you’re testing in a new chat session. Existing conversations won’t pick up rule changes.

My mistake, I wasn’t precise.
The bug is indeed that it’s marked as optional and active in cursor.com, and disabled locally.
and still gets injected into the context.

As you confirm here, it’s apparently a bug. Thanks for confirming.

any expectation on when it’s going to be fixed?

No ETA to share at the moment!

+1
My entreprise adds ~20 team-rules of which only 3 are mandatory but disabling (locally in cursor app) the optional ones, relaunching a new agent after closing/reopening the app, still adds all the team rules in the context (so even the ones I toogled off).
This consumes between 1/5 to 1/6 of the whole context window in my case which is wasted tokens/energy/money on every request. This is now more obvious thanks to the nice newly introduced feature that display the context usage per category.

Eager to see progress on this issue so we can stop wasting ressources.

App version details:
Version: 3.3.30 (Universal)
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

This has been fixed in a recent update. You’re on 3.3.30, and the fix shipped in 3.4.12+. Please update to the latest stable release, then start a new Agent chat and check whether the disabled optional rules still show up in your context usage.

For reference, non-enforced Team Rules can be toggled off under Cursor Settings → Rules. Only rules your admin has marked as required stay on.

If you still see disabled rules in context after updating, please create a new thread with your Cursor version and a Request ID from a fresh repro and we’ll dig in.

Doesn’t seem fixed in 3.4.20, I opened a new ticket: Disabled team rules still loaded into context and reported as always applied workspace rules

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

We have a team/workspace rule that is optional for all members.
I’ve explicitly disabled it in Cursor, but it’s still added to the context.

Steps to Reproduce

I’ve created a team/workspace rule on cursor.com.
Inside cursor I’ve then disabled the rule.

When I start a new thread, then the rule is added to the context anyway.

Expected Behavior

The rule should not be added to the context, when I’ve disabled it.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.5.17 (user setup)
VSCode Version: 1.105.1
Commit: d5b2fc092e16007956c9e5047f76097b9e626ca0
Date: 2026-05-20T02:43:31.559Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

I’ve tried multiple agents - e.g. Opus 4.7 and Composer 2.5

For AI issues: add Request ID with privacy disabled

13963b80-c9c3-447a-89d6-fc75aa7f6a8d

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Lior_Schejter!

This should be fixed now in the latest versions of v3.7.