Problem
The Gemini image can fail on first ACP startup because Gemini CLI expects ~/.gemini/projects.json to contain a registry object, not an empty JSON object.
Reproduction
- Deploy
openab-gemini with gemini --acp.
- Start a fresh container/home directory.
- Gemini CLI exits during startup with a
ProjectRegistry/connection closed failure.
Expected
The image should create ~/.gemini/projects.json with:
Actual
Startup can fail if the file is missing or initialized as {}.
Proposed fix
Seed the file in the Gemini image entrypoint before launching openab, and document the behavior for custom images.
Problem
The Gemini image can fail on first ACP startup because Gemini CLI expects
~/.gemini/projects.jsonto contain a registry object, not an empty JSON object.Reproduction
openab-geminiwithgemini --acp.ProjectRegistry/connection closedfailure.Expected
The image should create
~/.gemini/projects.jsonwith:{"projects":{}}Actual
Startup can fail if the file is missing or initialized as
{}.Proposed fix
Seed the file in the Gemini image entrypoint before launching
openab, and document the behavior for custom images.