MCP text_editor str_replace/insert report "Replaced successfully" but script edits don't save
What happens Through the editor's MCP server, text_editor str_replace and insert on a Luau script answer "Replaced successfully" for every edit, but nothing changes:
text_editor view and grep still show the original text.
The editor's own script panel still shows the original text.
The exported .riv still has the original script.
Reopening the file doesn't help.
Seen twice: 2026-10-20 and 2026-10-22, on two different scripts plus a throwaway test script.
What does save
manage_scripts create with content: the new script reads back correctly.
Pasting the full text into the script panel by hand.
Expected: either the edit lands in the document, or the tool returns an error.
Steps to reproduce
Open a file that has a Luau script.
Call text_editor str_replace on that script, changing one identifier.
The reply is "Replaced successfully".
Call text_editor view on the same script: the old text is still there.
Environment: macOS (Darwin 25.5), Rive editor Early Access MCP driven from Claude Code. Rive editor version 0.9.349.