Skip to content

Restore Gemini CLI support - #302

Merged
yourconscience merged 3 commits into
mainfrom
restore-gemini
Nov 17, 2026
Merged

yourconscience merged 3 commits into
mainfrom
restore-gemini

Conversation

@yourconscience

@yourconscience yourconscience commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

What and why

Gemini CLI is supported again, next to Devin, which makes 16 harnesses.

Google still maintains Gemini CLI for Gemini Code Assist licences and for API and Vertex keys, with a stable release each week, and it is still widely installed: 464,043 npm downloads in the week to 2026-11-15 and about 1.7 million a month since August. 21 of 28 comparable tools list it.

  • The adapter is the one that shipped before Replace Gemini CLI with Devin #276, unchanged: MCP servers (stdio and remote, httpUrl) and hooks in ~/.gemini/settings.json, roles in ~/.gemini/agents, root file ~/.gemini/GEMINI.md, skills read from ~/.agents/skills.
  • Devin stays as it is.
  • The code that made a config naming gemini load as a no-op is gone, so such a config works again with no edit.
  • Gemini CLI and Antigravity CLI share ~/.gemini/GEMINI.md, written once, and doctor warns when a skill folder sits in both ~/.gemini/skills and ~/.gemini/antigravity-cli/skills, as before.
  • Docs, README, the skill, the site and the social image say 16. The agent wall on the site is four across from 640px up, so 16 marks make a 4x4 grid; phones keep two columns.
  • The launch video's agent scene is re-rendered as four rows of four. The other scenes, the soundtrack and the poster are unchanged.
  • The "To 2.8" notes no longer say Gemini CLI was removed.

How I checked it

  • go build, go vet, go test ./... pass; lint reports 0 issues; the docs site builds with no warnings. No test was added or deleted.

  • With a binary from this branch, a throwaway home and stub commands for every harness: setup --no-cron found gemini, agy and devin among the 15 it detects (Amp needs --agents amp, as documented). After adding a stdio server, a remote server and a Stop hook, sync wrote:

    • ~/.gemini/settings.json: both servers (the remote one as httpUrl) and the hook under AfterAgent with timeout: 10000.
    • ~/.gemini/agents/: six roles with kind: local and Gemini tool names.
    • ~/.gemini/GEMINI.md: a link to the config root's AGENTS.md.
    • Antigravity's ~/.gemini/config/mcp_config.json (stdio server only) and hooks.json, and its skill link, as before.
    • hook list shows gemini AfterAgent managed; doctor reports 20 passed and one warning (the optional agnix lint).
  • Site opened locally: 4x4 at 1280px and 640px, two columns at 375px, no sideways scroll, all 16 marks load.

  • Not checked: a real Gemini CLI loading these files. The adapter is the pre-Replace Gemini CLI with Devin #276 code and the restored files are byte-identical to it.

  • go test ./... and go vet ./... pass

  • I can explain this change without an AI tool

Summary by Sourcery

Restore Gemini CLI support across configuration sync, native integrations, and project documentation.

New Features:

  • Restore Gemini CLI as a supported harness with detection, native MCP, hook, role, skill, and root-instruction integration.
  • Add Gemini CLI-specific configuration handling, including remote MCP and hook event mappings.

Bug Fixes:

  • Allow configurations using the gemini key to load and sync normally again instead of treating them as removed support.

Enhancements:

  • Coordinate shared ~/.gemini/GEMINI.md handling and duplicate-skill diagnostics between Gemini CLI and Antigravity CLI.

Documentation:

  • Update README, user guides, capability matrices, branding, site content, and release notes to reflect support for 16 harnesses.
  • Add Gemini CLI branding and update the launch video and site layout for the expanded harness list.

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 days and 1 hour by commenting @sourcery-ai review. Upgrade to get a review now.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 447684bc-a6cf-4fd8-b112-0452331892da
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Reviewer's Guide

Data structures

Restore Gemini CLI as a recognized harness and role-rendering target, including its role options and tool mapping.

  • internal/agentrole/gemini.go L1-40
  • internal/agentrole/parser.go L65-66
  • internal/agentrole/role.go L43, L96-100, L126

API

Reinstate the Gemini harness adapter for skills, MCP, hooks, roles, and shared root instructions, and register its detection and configuration defaults.

  • internal/app/doctor.go L31
  • internal/app/gemini.go L1-57
  • internal/app/harness.go L359-385, L479-481, L487
  • internal/app/setup_scaffold.go L170

Expose Gemini CLI in hook listing and managed-hook recognition, and use its URL-key terminology in the remote MCP adapter.

  • internal/app/hook_cli.go L184-185, L273-274
  • internal/app/mcp_remote.go L13

Implementation

Remove the special-case filtering and warning that made Gemini configuration entries no-ops, restoring normal configuration handling.

  • internal/app/config.go L10 (removed lines), L108 (removed lines), L562 (removed lines)

Clarify the shared root-file handling and Antigravity duplicate-skill comments now that Gemini support is restored.

  • internal/app/agy.go L12, L268-269
  • internal/app/conflicts.go L85-86
  • internal/app/sync.go L898

UI

Add Gemini CLI to the site agent wall and update the harness count, grid styling, and sample sync output.

  • docs/site/index.html L20-23, L120-123 (+6 small edits)
  • docs/site/marks/NOTICES.md L3, L16
  • docs/site/marks/gemini.svg L1
  • docs/site/og.svg L14
  • docs/site/style.css L211, L221
  • docs/site/brag.mp4
  • docs/site/og.png

Documentation

Update the project and harness documentation to describe Gemini CLI support, its capabilities and shared files, and the restored 16-harness count.

  • README.md L5, L52
  • docs/README.md L10
  • docs/brand/BRAND.md L9-97 (4 small edits)
  • docs/brand/preview.html L517, L557, L635
  • docs/comparison.md L48
  • docs/harnesses.md L3-7 (+7 small edits)
  • docs/hooks.md L22-76 (7 small edits)
  • docs/mcp.md L3, L31, L65
  • docs/memory.md L15
  • docs/philosophy.md L11
  • docs/roles.md L43-80 (5 small edits)
  • docs/skills.md L14
  • skills/tackroom/SKILL.md L3-252 (6 small edits)
  • docs/upgrading.md L29 (removed lines)

Refresh the README illustrations to match the restored harness count.

  • docs/images/tackroom-dark.svg L28
  • docs/images/tackroom-light.svg L28

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@yourconscience
yourconscience merged commit c4af7b9 into main Nov 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant