Avoid mutating user files when running PlusCal/SANY and keep diagnostics mapped#467
Avoid mutating user files when running PlusCal/SANY and keep diagnostics mapped#467younes-io wants to merge 8 commits into
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.