All gemini-code runs silently fail with the current gemini CLI (untrusted-directory refusal)
Recent versions of @google/gemini-cli refuse to run headless in a directory that hasn't been trusted. Since the harness installs the CLI fresh in each container (npm install -g @google/gemini-cli, unpinned), every gemini-code trial now exits immediately with:
Gemini CLI is not running in a trusted directory. To proceed, either use `--skip-trust`,
set the `GEMINI_CLI_TRUST_WORKSPACE=true` environment variable, or trust this directory...
The agent does 0 steps, writes no skills, and the trial is recorded as an ordinary FAIL (steps_used: 0, agent_exit: 0), so nothing flags it as an infra error.
Fix is one word in the run template:
"run": 'GEMINI_CLI_TRUST_WORKSPACE=true gemini --yolo --output-format stream-json ...'
Verified working. Happy to open a PR!
Separate minor issue in the same file: the startup key check in generate_skills.py probes the retired gemini-2.0-flash model, which now 404s and blocks all gemini configs before any trial starts.
On a separate note: gemini-cli is deprecated by Google in favour of antigravity-cli, so this repo likely needs to be migrated over.