Files
Mert Koseoglu 89f4e73630 fix(sandbox): suppress MinGW path-conv for Windows ctx_execute child (#782) + clean .ctx-mode-* temp + pin cwd (#788)
#782: On Windows Git Bash, a bare `mvn` runs Maven's POSIX script which on
the mingw branch leaves CLASSWORLDS_JAR as a POSIX path that native java.exe
cannot resolve (ClassNotFoundException). Rewrite the bare `mvn` token to
`mvn.cmd` (native Windows launcher) in shell scripts. This avoids re-enabling
global MSYS path-conversion suppression that #826/#791 removed for native git.

#788(a): Non-shell runtimes (python/js/ts/...) ran with cwd=sandbox tmpDir, so
repo-relative checks failed depending on language. Unify cwd to the project
root (or per-call override) for all languages; the script file still lives in
the sandbox and is passed by absolute path.

#788(b): .ctx-mode-* temp dirs leaked on Windows when SQLite -wal/-shm handles
lingered and a single rmSync threw EBUSY/EPERM into a silent catch. Add
cleanupTmpDir() with rmSync maxRetries/retryDelay backoff.
2026-06-21 18:36:47 +03:00
..