From 3f2bd424c7c7d60b4d088aaa934437566e90d974 Mon Sep 17 00:00:00 2001 From: centdix Date: Sat, 21 Feb 2026 21:06:33 +0000 Subject: [PATCH] docs: add EE sandbox extra_mounts setup instructions Co-Authored-By: Claude Opus 4.5 --- .workmux.yaml | 4 +++- README_WORKMUX_DEV.md | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.workmux.yaml b/.workmux.yaml index c6cc49ae40..2e78c524f9 100644 --- a/.workmux.yaml +++ b/.workmux.yaml @@ -53,4 +53,6 @@ files: sandbox: enabled: false toolchain: off - # image and host_commands configured in global ~/.config/workmux/config.yaml + # image, host_commands, and extra_mounts configured in global + # ~/.config/workmux/config.yaml — see README_WORKMUX_DEV.md for required + # extra_mounts (windmill-ee-private access in sandbox) diff --git a/README_WORKMUX_DEV.md b/README_WORKMUX_DEV.md index dc2f287bee..e4057d2233 100644 --- a/README_WORKMUX_DEV.md +++ b/README_WORKMUX_DEV.md @@ -172,6 +172,25 @@ The setup is defined in `.workmux.yaml` at the repo root. Key sections: - **`files.copy`**: Copies `backend/.env` and `scripts/` into each worktree - **`files.symlink`**: Symlinks `node_modules` and `.svelte-kit` to avoid reinstalling per worktree +## Enterprise (EE) Code Access + +The enterprise source code lives in the `windmill-ee-private` repository (sibling to this repo). When you create a worktree, `scripts/worktree-env` automatically creates a matching EE worktree on the same branch and configures Claude Code's `additionalDirectories` to grant access. + +### Sandbox setup + +When using sandbox mode, the container needs explicit mounts to access the EE repo. Add the following to your global workmux config (`~/.config/workmux/config.yaml`): + +```yaml +sandbox: + extra_mounts: + - host_path: ~/windmill-ee-private + writable: true + - host_path: ~/windmill-ee-private__worktrees + writable: true +``` + +This mounts both the main EE repo (used by the main worktree) and the EE worktrees directory (used by feature worktrees) into every sandbox container. + ## Login Default credentials: `admin@windmill.dev` / `changeme`