Subagent readonly flag doesn't work

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I expected read only to prevent editing of code. It does not.

Steps to Reproduce

Make a readonly subagent. Ask it to edit code. It will.

Expected Behavior

It can’t edit code.

Operating System

Windows 10/11
Linux

Version Information

Version: 2.4.21 (user setup)
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Haiku 4.5 non-thinking

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. Can you share an example config for your readonly subagent? I need the frontmatter from the .md file.

Also, it’d help to know:

  • The exact prompt you give the subagent
  • Whether you create the subagent via the UI or manually in .cursor/agents/

Your report will help us reproduce the issue and fix it.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.