-
Notifications
You must be signed in to change notification settings - Fork 44
Avoid mutating user files when running PlusCal/SANY and keep diagnostics mapped #467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a9d0b13 to
149b874
Compare
|
Why don't we want the AI to be able to mutate the files? |
Before this PR, the LM/MCP path called |
|
Isn’t this bypassing the agent-chat mode that’s designed to track all LLM-driven changes? If the user wants to accept the synthesized changes, how is she supposed to apply them? |
|
This is not bypassing anything. This PR only makes the LM/MCP parse tool read-only. If users want AI-suggested edits, those should go through agent-chat so changes stay explicit and tracked. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
as tools will be removed, let's close this, and re-assess in the future |
PlusCal transpilation and SANY parsing (LM tool and MCP server paths) now execute on temporary copies, remapping diagnostics to the original files so user workspace files remain unchanged.