Skip to content

feat(instructions): add gemini as a managed-instruction target - #26

Merged
rudijetson merged 2 commits into
mainfrom
feat/instructions-gemini
Aug 23, 2026
Merged

feat(instructions): add gemini as a managed-instruction target#26
rudijetson merged 2 commits into
mainfrom
feat/instructions-gemini

Conversation

@rudijetson

Copy link
Copy Markdown
Contributor

Summary

  • Adds gemini to the supported agents in rudi instructions, 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.
  • Help text lists the new agent.

Verification

  • Red: node --test src/__tests__/unit/instructions-command.test.js — new behavior test failed with gemini normalizing to generic.
  • Green: same command 9/9; full pnpm test 634/634.
  • Debt scan: node scripts/agent-debt-runner.mjs --changed-since origin/main — 0 errors, 0 warnings.
  • Manually verified against a real empty ~/.gemini/GEMINI.md: install writes the Gemini-branded block, second install reports unchanged.

Notes

  • rudi init seeding still targets codex only; extending init to gemini is deliberately out of scope here.

🤖 Generated with Claude Code

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
rudijetson marked this pull request as ready for review August 23, 2026 01:24
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@rudijetson
rudijetson merged commit dc9d2d9 into main Aug 23, 2026
1 check 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