Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor Agent does not enforce user workspace rules or operator commands. Over 10+ Agent sessions on a governed repo (.cursor/rules, RESET/NPS in AGENTS.md, hash-locked files, Xcode build gate, 134 passing tests), the agent patch-stacked fixes, edited locked files, updated lock hashes without my QA, ignored RESET (restated checklist but kept editing), and repeatedly claimed “fixed” when verify/build/tests passed but my manual app check still failed. Rules behave as suggestions, not fail-closed constraints. Request: mechanical enforcement (block out-of-scope writes, hard-stop on RESET, no self-certified “done”).
Steps to Reproduce
- Open a repo with always-applied .cursor/rules/, AGENTS.md operator triggers (RESET/NPS), and hash-locked paths (e.g. check-locked-files.sh + Xcode “Locked File Gate”).
- Use Cursor IDE → Agent (Auto) on a multi-session task (mine: intermittent macOS AppKit UI bug).
- Give symptom + pass criteria; use READ-ONLY tickets and type RESET when the agent drifts.
- Repeat across many sessions (10+).
Observed every time:
- Agent edits outside permitted/locked scope or stacks guards after failed fixes.
- RESET does not stop tool use / edits.
- Agent runs full test gate (exit 0) and claims fixed while my app check still fails.
- Agent updates lock-hash scripts to bless unverified changes.
Expected: RESET and rules fail closed until realigned; no “done” without agreed proof + user acceptance.
Actual: honor-system only; false “fixed” claims.
Expected Behavior
When workspace rules and RESET are configured:
- RESET — Agent stops all edits/shell until it restates R-E-S-E-T for the current task; resumes only after I say go.
- Permitted files — Agent cannot write paths outside an approved slice; hash-locked files cannot change unless I explicitly unlock in my message.
- Lock hashes — Agent cannot update lock/gate scripts in the same pass as code changes; bump only after I accept the fix.
- Done — No “fixed/complete” without command evidence and my stated acceptance when tests don’t match the symptom.
- Failed fix — Revert, not patch-stack.
Rules should block violating actions in the product, not rely on the model remembering them.
Operating System
MacOS
Version Information
Version: 3.9.8 (Universal)
VS Code Extension API: 1.105.1
Commit: 4aa8ff1b7877ed7bd01bcba308698f71a6735380
Date: 2026-06-25T01:39:30.490Z (1 day ago)
For AI issues: which model did you use?
Auto
Additional Information
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
Model: Auto
Repo: Mencken (macOS Swift). Full write-up: docs/03-operations/CURSOR_COMPANY_FEEDBACK_AI_RULES_AND_GATES.md
Context task (not Cursor UI): intermittent panel width collapse in my app when using AI tab—hard to repro. Product issue is Agent governance failing despite extensive rules/gates/tests.
Does this stop you from using Cursor
Yes - Cursor is unusable