[Bug] Agent injects invisible "user_rules" that contradict user intent; UI path for User Rules missing / not editable

Describe the Bug

Summary

The Agent receives a <user_rules> block that includes instructions I did not set in the current Cursor UI, did not write in project AI_RULES.md, and did not order in chat. The Agent treated those injected lines as my authoritative rules, contradicted my explicit “one best design” requirement, and proposed a separate “simpler” implementation. Local inspection finds no file path for the contested text. Your staff have already described related product behavior on the forum.

Steps to Reproduce

What I experienced

  1. I had already settled a single best-practice design (documented in-repo) for securing Cloudflare R2 reads via Firebase session cookies.
  2. My standing preference is: one best design — not a watered-down “simple” alternative.
  3. The Agent still produced a “simple plan,” then a different “best plan,” and when challenged claimed this was because of my User Rule that says (Japanese paraphrase): after drafting an approach, consider a simpler implementation and wait for permission.
  4. I never set that rule in Settings, never ordered “make it simple,” and the Customize → Rules → User Rules path described by the Agent does not exist / is not usable in my UI the way docs claim.
  5. Project file clientApp/monorepo-vue/AI_RULES.md does not contain that “simpler implementation” clause.
  6. ~/.cursor/rules on this machine only has an unrelated always-apply no-delete rule.
  7. Full-text search under $HOME for the exact contested Japanese sentence returned zero files.
  8. state.vscdb key aicontext.personalContext only contains: “Always respond in Japanese”.
  9. Despite that, every Agent turn still appears to receive the contested text inside the prompt section labeled user_rules.

Expected Behavior

Why this is harmful

  • The Agent misattributes product-injected or invisible legacy rules as the user’s own commands.
  • That misattribution overrides explicit chat instructions (“best only / one design”).
  • Users cannot view, edit, or delete rules that still affect Agent behavior when the Customize UI does not show them.
  • This creates false explanations (“you configured this”) and destroys trust in Agent output during security-sensitive work.

Related Cursor acknowledgements

Forum thread:

Staff (@Colin) stated, in substance:

  • Agents may receive built-in Cursor guidance in the same “user rules” section (e.g. git commit guidance). Those are not saved on the account, do not appear in Customize, and Agents may describe them as if they were the user’s.
  • Legacy account User Rules can keep being injected into every chat while Customize → Rules fails to list them, so they cannot be edited or deleted. Clearing local state does not remove account-side rules.

Requests

  1. Separate clearly in the Agent prompt (and in Agent disclosures) between:
    • Cursor built-in system guidance
    • Account User Rules
    • Project rules / AI_RULES
      so the model cannot claim built-ins or ghost rules are “user-configured.”
  2. Fix the bug where injected account/legacy User Rules do not appear in Customize → Rules, or provide an account-level export/delete API for all rules that are still injected.
  3. Update docs/UI so the actual place to view User Rules matches what ships in current Cursor (the Agent told me a path that does not exist in my UI).
  4. Until fixed, stop injecting non-visible rules, or surface a hard warning listing every injected user_rules item with its true source (builtin / account / project / unknown).

Environment

  • OS: macOS (darwin 25.x)
  • App: Cursor IDE (Agent chat)
  • Workspace: local project (KOKONO-CV)
  • Date of incident record: 2026-11-04

I can provide the exact Japanese contested sentence and a redacted Agent transcript excerpt on request.

Please treat this as a product defect affecting rule provenance and user agency, not as user error.

Operating System

MacOS

Version Information

Version 3.27.22 (Universal)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Walter_Ehrmantraut, that sentence isn’t one of Cursor’s built-in instructions. It’s most likely a rule saved to your Cursor account, probably carried over from the old “Rules for AI” setting.

You can check and remove it here:

  1. Open the Command Palette (Cmd+Shift+P) and run “Open Customize”.
  2. Go to Rules and look under User Rules for the Japanese sentence.
  3. If it’s there, delete it and start a new Agent chat.

If it isn’t listed, that matches an issue the team is aware of: Customize can leave out older account rules while the agent still applies them. This is a known issue the team is tracking, and was also reported here:

Let us know if you see the Rules or not!