Skip to content

feat: add gemini cli support#87

Merged
mergify[bot] merged 3 commits intomatrixorigin:mainfrom
fengttt:main
Mar 24, 2026
Merged

feat: add gemini cli support#87
mergify[bot] merged 3 commits intomatrixorigin:mainfrom
fengttt:main

Conversation

@fengttt
Copy link
Contributor

@fengttt fengttt commented Mar 22, 2026

What type of PR is this?

  • feat (new feature)
  • fix (bug fix)
  • docs (documentation)
  • style (formatting, no code change)
  • refactor (code change that neither fixes a bug nor adds a feature)
  • perf (performance improvement)
  • test (adding or updating tests)
  • chore (maintenance, tooling)
  • build / ci (build or CI changes)

Which issue(s) this PR fixes

Fixes #86

What this PR does / why we need it

Add gemini cli support

@fengttt fengttt requested review from XuPeng-SH, aptend and Copilot and removed request for XuPeng-SH and Copilot March 22, 2026 21:37
@fengttt fengttt changed the title Add gemini cli support feat: add gemini cli support Mar 22, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Gemini CLI as a first-class supported agent in Memoria’s setup flow and CLI tooling, including generated MCP config and steering/rule templates.

Changes:

  • Add Gemini CLI detection and configuration to memoria CLI (init, rules, status).
  • Add Gemini-specific rule templates (GEMINI.md + .gemini/*.md).
  • Update setup skill and README to list Gemini CLI as a supported agent and document file locations.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
skills/setup/SKILL.md Updates setup decision tree/tool list to include Gemini CLI outputs.
README.md Documents Gemini CLI as supported and adds rule file locations.
memoria/crates/memoria-cli/src/main.rs Implements Gemini tool support (detect/configure/status/rules) and embeds new templates.
memoria/crates/memoria-cli/templates/gemini_rule.md New Gemini steering/rule template.
memoria/crates/memoria-cli/templates/gemini_session_lifecycle.md New Gemini session lifecycle guidance template.
memoria/crates/memoria-cli/templates/gemini_memory_hygiene.md New Gemini memory hygiene template.
memoria/crates/memoria-cli/templates/gemini_memory_branching.md New Gemini branching patterns template.
memoria/crates/memoria-cli/templates/gemini_goal_evolution.md New Gemini goal evolution template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fengttt
Copy link
Contributor Author

fengttt commented Mar 23, 2026

Resolve copilot codex issue, not part of this PR.

@mergify mergify bot merged commit 8e79ced into matrixorigin:main Mar 24, 2026
5 checks passed
@mergify
Copy link

mergify bot commented Mar 24, 2026

Merge Queue Status

  • Entered queue2026-03-24 08:50 UTC · Rule: main
  • Checks skipped · PR is already up-to-date
  • Merged2026-03-24 08:51 UTC · at 483c656226de4cbcbc9bdbc704fdc78d1db42434

This pull request spent 3 seconds in the queue, with no time running CI.

Required conditions to merge
  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
  • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
  • any of [🛡 GitHub branch protection]:
    • check-success = Check PR title
    • check-neutral = Check PR title
    • check-skipped = Check PR title
  • any of [🛡 GitHub branch protection]:
    • check-success = Check & Clippy
    • check-neutral = Check & Clippy
    • check-skipped = Check & Clippy
  • any of [🛡 GitHub branch protection]:
    • check-success = DB Tests
    • check-neutral = DB Tests
    • check-skipped = DB Tests
  • any of [🛡 GitHub branch protection]:
    • check-success = Unit Tests
    • check-neutral = Unit Tests
    • check-skipped = Unit Tests

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.

[Feature]: Gemini cli support

3 participants