Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Feb 13, 2025

https://www.reddit.com/r/RooCode/comments/1imbd4u/ask_mode_should_not_be_able_to_change_any_file/


Important

Disables writing in 'ask' mode, ensuring it remains read-only, and updates tests and documentation accordingly.

  • Behavior:
    • Disables writing in 'ask' mode by removing markdown file editing capabilities in modes.ts.
    • Updates isToolAllowedForMode in modes.test.ts to reflect changes, ensuring 'ask' mode cannot write to files.
  • Tests:
    • Modifies modes.test.ts to replace 'ask' mode with 'architect' mode for write tests.
    • Removes 'ask' mode write tests and updates error expectations.
  • Documentation:
    • Updates system.test.ts.snap to remove 'write_to_file' documentation for 'ask' mode.

This description was created by Ellipsis for 5f3ff25. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2025

🦋 Changeset detected

Latest commit: 5f3ff25

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mrubens mrubens merged commit a780d70 into main Feb 13, 2025
9 checks passed
@mrubens mrubens deleted the disable_writing_in_ask_mode branch February 13, 2025 14:11
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.

3 participants