# Objective - Fix V4 edit prediction requests failing for local Windows projects because native path separators do not match Unix-formatted context paths on the server. ## Solution - Canonicalize serialized buffer paths through the existing `RelPath` representation. ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable ## Suggested .rules additions - Paths serialized for edit prediction APIs must use `RelPath`'s Unix representation rather than platform-native `PathBuf` formatting. --- Release Notes: - N/A