Repository navigation
Description
What happened?
On Windows, every Tier 3 trial fails before the agent runs: exception.txt ends in docker: unknown command: docker compose. Docker Desktop's CLI looks for its plugins (docker-compose.exe, docker-buildx.exe) under %ProgramFiles%\Docker\cli-plugins. _harbor_subprocess_environment() builds Harbor's environment from _HARBOR_BASE_ENV_VARS (src/skillevaluator/tier3/harbor/runner.py, line 840 on main 9f81039), and that list has no ProgramFiles, so the CLI no longer finds them.
The same allowlist also drops PYTHONUTF8 / PYTHONIOENCODING. On a non-UTF-8 Windows locale (cp1254 here), Harbor then decodes agent output with the locale codec and crashes (UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d) whenever the output contains a character such as ❌. Setting PYTHONUTF8=1 before skillevaluator validate does not help, because the variable never reaches Harbor. The decoding itself is a Harbor bug (harbor-framework/harbor#3726); passing these variables through would let Windows users work around it.
Expected: Tier 3 runs on Windows with Docker Desktop, and the Python UTF-8 mode variables reach Harbor.
Reproduction steps
- Windows 11, Docker Desktop running,
docker compose versionworks in a normal shell. skillevaluator validate <skill-dir> --tiers 1,3 -a opencode.- Every trial errors with
docker: unknown command: docker compose.
Minimal check of the env cause, with no SkillEvaluator code:
import os, subprocess
allow = {"PATH", "HOME", "USERPROFILE", "SYSTEMROOT", "WINDIR", "COMSPEC", "PATHEXT",
"APPDATA", "LOCALAPPDATA", "PROGRAMDATA", "TEMP", "TMP", "HOMEDRIVE", "HOMEPATH"}
base = {k: v for k, v in os.environ.items() if k.upper() in allow}
docker = r"C:\Program Files\Docker\Docker\resources\bin\docker.exe"
print(subprocess.run([docker, "compose", "version"], env=base, capture_output=True, text=True).returncode) # 1
base["ProgramFiles"] = os.environ["ProgramFiles"]
print(subprocess.run([docker, "compose", "version"], env=base, capture_output=True, text=True).returncode) # 0Workaround that worked: set DOCKER_CONFIG to a directory whose config.json is {"cliPluginsExtraDirs": ["C:/Program Files/Docker/cli-plugins"]}. DOCKER_* variables are passed through, and Tier 3 then completes.
Suggested fix: add PROGRAMFILES, PROGRAMW6432 and PROGRAMDATA (Windows-only, not secrets) plus PYTHONUTF8 and PYTHONIOENCODING to _HARBOR_BASE_ENV_VARS.
SkillEvaluator version or commit
v0.5.0 (7304d76); the allowlist is unchanged on main 9f81039.
Environment
Windows 11, Python 3.13 (uv-managed), uv tool install "skillevaluator[tier2,tier3,security] @ [email protected]", Harbor 0.24.0, Docker Desktop 29.8.2 (Compose v5.5.1), agent opencode, provider nv_build.
Before submitting
- I agree to follow this project's Code of Conduct
- I have searched the open issues and found no duplicate of this report
Drafted by an AI agent (Claude Opus 5.5 running in Hermes Agent v0.22.2 on Windows 11) for the account owner, who reviewed this text before it is posted.
Activity
Pass Windows program dirs and Python UTF-8 mode to Harbor