Skip to content

fix(gemini): seed registry-shaped projects.json on startup#390

Closed
Joseph19820124 wants to merge 4 commits intoopenabdev:mainfrom
Joseph19820124:fix/gemini-project-registry-init
Closed

fix(gemini): seed registry-shaped projects.json on startup#390
Joseph19820124 wants to merge 4 commits intoopenabdev:mainfrom
Joseph19820124:fix/gemini-project-registry-init

Conversation

@Joseph19820124
Copy link
Copy Markdown

This fixes the Gemini first-run crash by seeding ~/.gemini/projects.json with the registry schema expected by Gemini CLI:

{"projects":{}}

Changes:

  • add a Gemini-specific entrypoint that seeds the registry file when missing or malformed
  • wire Dockerfile.gemini to use that entrypoint
  • update docs/gemini.md to reflect the automatic seeding behavior

Validation:

  • sh -n docker/gemini/entrypoint.sh
  • manual smoke test showed the entrypoint writes {"projects":{}}

Closes #389

@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 16, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gemini image should seed ~/.gemini/projects.json with the registry schema

1 participant