Skip to content

Allow explicit no-edit instructions in run_task - #1916

Merged
justrach merged 1 commit into
mainfrom
fix/run-task-read-only
Nov 20, 2026
Merged

justrach merged 1 commit into
mainfrom
fix/run-task-read-only

Conversation

@justrach

Copy link
Copy Markdown
Owner

The workspace guard treated No edits. as an edit request. Ignore directly negated edit words without ignoring separate edit requests or changing server permissions. Add regression coverage for both dispatch and refusal.

Fixes #1914.

The workspace guard matched edit words without checking direct negation. Ignore only the negated occurrence so a separate edit request still triggers the guard. Server permissions are unchanged.

Co-Authored-By: Codegraff <blackfloofie@codegraff.com>
@justrach
justrach merged commit b32d419 into main Nov 20, 2026
12 of 14 checks passed
@justrach
justrach deleted the fix/run-task-read-only branch November 20, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

External run_task rejects read-only prompts that say “No edits”

1 participant