From ac1adf39dd48be466efe0552d7067589a98c387a Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Sun, 12 Jul 2026 14:36:25 +0200 Subject: [PATCH 1/2] feat(evals): add docker-via-wsl eval to evals.json The 24 existing evals cover docker-development only; docker-via-wsl (added in a later PR) had none. Adds one eval asserting the skill's core correction: re-issue the failing Docker command through `wsl.exe -e bash -lc` from inside WSL2's native filesystem, instead of continuing to drive Docker from a Windows/Git-Bash shell on a mapped network drive (the actual cause of the "Is a directory" bind- mount failure). Signed-off-by: Sebastian Mendel --- evals/evals.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/evals/evals.json b/evals/evals.json index fa59e30..333c483 100644 --- a/evals/evals.json +++ b/evals/evals.json @@ -502,5 +502,26 @@ "description": "Advises verifying the negative case too (process down -> unhealthy)" } ] + }, + { + "name": "docker-via-wsl-reissue-not-windows-shell", + "prompt": "My Bash tool's `uname -s` shows MINGW64_NT -- I'm on Windows outside WSL. The user's `docker compose up` from this Git Bash shell, run from a Z:\\ mapped network drive, fails with 'could not read from input file: Is a directory' for a bind-mounted config file. What do I do?", + "assertions": [ + { + "type": "content_regex", + "value": "wsl\\.exe", + "description": "Re-issues the Docker command through wsl.exe instead of continuing to drive Docker from the Windows/Git-Bash shell" + }, + { + "type": "content_regex", + "value": "-e bash -lc|bash -lc", + "description": "Uses the specific 'wsl.exe -e bash -lc' re-issue form, not a bare 'wsl' invocation" + }, + { + "type": "content_regex", + "value": "SMB|network (share|drive)|Z:|UNC|WSL2", + "description": "Identifies the SMB/network-drive path translation inside Docker Desktop's WSL2 backend as the root cause, not a Docker cache or single-file-bind-mount bug" + } + ] } ] From d483b1791f30a6a64c5e81adf786b0dce7595df8 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Sun, 12 Jul 2026 15:10:21 +0200 Subject: [PATCH 2/2] test: tighten docker-via-wsl regex to require -e flag The alternation '-e bash -lc|bash -lc' was redundant since 'bash -lc' matches as a substring of the first alternative, letting a response that omits the -e flag pass the discriminating assertion. Signed-off-by: Sebastian Mendel --- evals/evals.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evals/evals.json b/evals/evals.json index 333c483..cf5d3ef 100644 --- a/evals/evals.json +++ b/evals/evals.json @@ -514,7 +514,7 @@ }, { "type": "content_regex", - "value": "-e bash -lc|bash -lc", + "value": "-e bash -lc", "description": "Uses the specific 'wsl.exe -e bash -lc' re-issue form, not a bare 'wsl' invocation" }, {