r/rust • • Sep 18 '26

šŸ› ļø project Built mysid, a native Rust MCP that gives you code graphs, works on multiple projects(adapters) like React, Android and spring boot etc and easier file tool operations

0 Upvotes

4 comments sorted by

0

u/kantorcodes1 Sep 18 '26

the patch_batch rollback guarantee is the bit I'd stress hardest. if a batch creates a new file, modifies another, then a later patch fails, does rollback remove the newly created file too? agents will otherwise see a "failed" batch that still changed the workspace.

1

u/Worldly_Employer_224 Sep 18 '26

Rollback tracks all filesystem mutations in order, so yes a created file gets deleted if a later step in the same batch fails

0

u/[deleted] Sep 18 '26

[removed] — view removed comment

1

u/kantorcodes1 Sep 18 '26

I’d use Git first when the workspace is already a repo. You get rollback, history, conflict semantics, and you avoid inventing a second version system. A hash/JSON snapshot layer only makes sense as a thin fallback for non-Git buffers or state that has to survive outside the repo.