Windows host support (native sbx + Git Bash) #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision
Docker Sandboxes runs natively on Windows (
sbxv0.46 under%LOCALAPPDATA%\DockerSandboxes) and supports--clone. The VM is Linux onboth platforms, so only the host side (
bin/agentbox,lib/,install.sh,scripts/build-template.sh) has to run on Windows. Target: Git Bash.Not WSL: the projects live on the Windows filesystem and are used by
Windows tools; WSL against
/mnt/cis slow, the Linuxsbxin WSL would be anested VM, and calling
sbx.exefrom WSL mixes path worlds on every call.Depends on #1 (Enforce LF line endings for everything that runs in the VM) and #2 (sbx 0.46 compatibility:
--no-share-skillsis gone).Tasks
sbx.exewantsC:\..., Git Bash produces/c/..., andMSYS converts some arguments automatically but not all (not
name:pathforms likesandbox:/pathorpath:ro). One wrapper thatconverts host paths with
cygpath -wbefore everysbxcall, andMSYS2_ARG_CONVERSION_EXCL/MSYS_NO_PATHCONVwhere VM paths muststay untouched.
WORKSPACEcolumn ofsbx ls, which will print Windows paths./dev/kvmdoes not exist; use a Windows check (orsbx diagnose). Check thatsbx loginwas done: every commandfails with
Not authenticated to Dockerotherwise.~/.local/binand~/.configresolve under the Windowshome in Git Bash; make sure
PATHadvice is right there.stat -c '%u %a'on the config file means little onNTFS; decide what the config permission check does on Windows.
tests/run-tests.shpasses under Git Bash;tests/e2e.shpasses against Windows sbx.
Done when
The whole single-repo workflow (
create,open,diff,merge,update,remove) works from Git Bash on Windows 11, and both test suitespass there.