mirror of
https://github.com/stablyai/orca.git
synced 2026-10-23 16:03:49 +00:00
path.relative returns backslash-separated paths on Windows, so the stale-artifact and frontmatter diagnostics printed src\cli\... there while tests and copy-pasteable commands expect forward slashes. Hoist the normalization into toPosixRelativePath, apply it to both call sites, and cover the Windows branch on every platform by injecting path.win32. Co-authored-by: poorpaper <poorpaperdesire@gmail.com>