feat(instructions): add gemini as a managed-instruction target - #26
Merged
Conversation
Adds gemini to the supported instruction agents so `rudi instructions
gemini --install` manages a RUDI block in ~/.gemini/GEMINI.md, matching
the existing claude and codex targets. Aliases gemini-cli and google
normalize to gemini; the home-directory mapping moves from a two-way
ternary to an instructionDirName() map.
Red: node --test src/__tests__/unit/instructions-command.test.js
(gemini normalized to generic)
Green: same command 9/9; pnpm test 634/634
Debt scan: node scripts/agent-debt-runner.mjs --changed-since origin/main
(0 errors, 0 warnings)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
rudijetson
marked this pull request as ready for review
August 23, 2026 01:24
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
geminito the supported agents inrudi instructions, sorudi instructions gemini --installmanages a RUDI block in~/.gemini/GEMINI.md, matching the existing claude and codex targets.gemini-cliandgooglenormalize togemini.instructionDirName()map.Verification
node --test src/__tests__/unit/instructions-command.test.js— new behavior test failed withgemininormalizing togeneric.pnpm test634/634.node scripts/agent-debt-runner.mjs --changed-since origin/main— 0 errors, 0 warnings.~/.gemini/GEMINI.md: install writes the Gemini-branded block, second install reports unchanged.Notes
rudi initseeding still targets codex only; extending init to gemini is deliberately out of scope here.🤖 Generated with Claude Code