Skip to content

Assistant: Can still edit file when in ask mode #10212

@jonvanausdeln

Description

@jonvanausdeln

System details:

Positron and OS details:

Positron Version: 2025.11.0 (user setup) build 197
Code - OSS Version: 1.105.0
Commit: a4f9d35
Date: 2025-10-28T07:55:49.310Z
Electron: 37.6.0
Chromium: 138.0.7204.251
Node.js: 22.19.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Session details:

R 4.4.1
Anthropic - Claude 4 Sonnet

Describe the issue:

In ask mode, assistant was still able to edit files.

chinook-sqlite.r.-.qa-example-content.-.Positron.2025-10-28.15-02-05.mp4

Note, I had previously set editing to "auto approve" so it didn't ask for permission. I subsequently turned off the auto approve, and it would then ask before editing.

This is confusing to an end user. I would have thought that in ask mode, it wouldn't edit a file. And if I had forgotten I'd auto-approved in a different mode, I would be even more surprised that it did the edits without asking.

Steps to reproduce the issue:

  1. Open an R file (or python)
  2. In ASK mode, ask assistant to "Add a method to my file to find today's date"

Expected or desired behavior:

It should refuse to edit the file in ask mode.

Were there any error messages in the UI, Output panel, or Developer Tools console?

Chat log:

positron-chat-export-2025-10-28T22-01-35-704Z.json

Metadata

Metadata

Assignees

Labels

area: assistantIssues related to Positron Assistant

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions