Skip to content

feat: Direction B one-command mount + docs/repo hygiene - #26

Merged
zcsizmadia merged 3 commits into
mainfrom
feat/direction-b-one-command
Aug 28, 2026
Merged

zcsizmadia merged 3 commits into
mainfrom
feat/direction-b-one-command

Conversation

@zcsizmadia

Copy link
Copy Markdown
Collaborator

Makes Direction B (WSL mounting a Windows tree) a single command and folds plan.md into the README.

Feature

wsldrive mount /tmp/win --win-root 'C:/proj' --win-agent /mnt/c/.../wsldrived.exe --hvsocket

Auto-launches the Windows agent via WSL interop, auto-discovers the WSL VM GUID (hcsdiag, or --vm-guid), and connects over Hyper-V sockets — ~10x faster than /mnt/c (9P/virtiofs). New src/platform/linux/win_launch.{hpp,cpp} (pure build_win_agent_command, GUID discovery, fork/exec supervisor) with a WinLaunch.BuildsCommand unit test.

Docs

  • README rewritten to incorporate plan.md's design (roles, transport, ext4<->Windows semantics, non-goals) and document the Direction B flow + hvsocket enablement.
  • bench/RESULTS.md: the --hvsocket UX is now landed, not "remaining".

Hygiene

  • Removed tracked junk: build.err, plan.md, unused scripts/bench/mount-listen.sh.
  • .gitignore: ignore *.err, tidied grouping.

Both platforms build warning-clean (-Werror); 98/98 tests pass on Windows, 97/97 on Linux.

Generated with Claude Code

Zoltan Csizmadia and others added 3 commits August 28, 2026 12:41
Direction B (WSL mounting a Windows tree) now works from a single command:
`wsldrive mount /tmp/win --win-root C:/proj --win-agent .../wsldrived.exe
--hvsocket` auto-launches the Windows agent via WSL interop, discovers the WSL
VM GUID (hcsdiag, or --vm-guid), and connects over Hyper-V sockets — ~10x
faster than /mnt/c (9P/virtiofs).

- add src/platform/linux/win_launch.{hpp,cpp}: WinAgentSpec, pure
  build_win_agent_command, discover_wsl_vm_guid, and a fork/exec WinAgent
  supervisor; wire into platform CMakeLists
- add WinLaunch.BuildsCommand unit test (Linux)
- rewrite README: fold in plan.md's design (roles, transport, ext4<->Windows
  semantics, non-goals); document the Direction B one-command flow and hvsocket
  enablement
- update bench/RESULTS.md: hvsocket UX is landed, not "remaining"
- remove tracked junk (build.err, plan.md) and unused scripts/bench/mount-listen.sh
- .gitignore: ignore *.err, tidy grouping

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@zcsizmadia
zcsizmadia merged commit a6b1e68 into main Aug 28, 2026
3 checks passed
@zcsizmadia
zcsizmadia deleted the feat/direction-b-one-command branch August 28, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant