Several related questions regarding the rules

Hey, good questions. I’ll cover both.

  1. AGENTS.md symlink and duplicated context
  • Yep, this will duplicate context. Cursor treats AGENTS.md and .cursor/rules/*.mdc as separate rule sources and loads them separately. It doesn’t detect that one is a symlink to the other. So if your AGENTS.md points to rule.mdc, both will be injected into the system prompt, basically doubling token cost for the same content.
  • The fix is simple: keep only one. If you need AGENTS.md for Codex compatibility, keep it and delete the .mdc file (or set alwaysApply: false). If you mainly use Cursor, keep the .mdc and remove the symlink.
  1. Workspace name in the Rules tab
  • This is a known cosmetic issue. In multi-root workspaces, the Rules tab shows the name of the first folder instead of the actual workspace name. A similar report is here: Bug: Settings > Rules tab label doesn't update after "Save Workspace As...". The team is aware. There’s no ETA, but it’s being tracked. This doesn’t affect functionality. Rules still apply correctly regardless of the label.

Let me know if you have more questions.