mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 02:28:25 -05:00
The gemini CLI silently overrides --yolo to default approval mode when its cwd is not in the trusted-folders list (e.g., a tempfile.gettempdir scratch dir). The override is logged to stderr as 'Approval mode overridden to "default" because the current folder is not trusted' and the call exits 55. --skip-trust opts out of that gate. Verified 2026-05-04 in /tmp/gemini-trust-test.
8.4 KiB
8.4 KiB