Repository navigation
feat: add EventRelay Gemini analysis command - #2417
Merged
Merged
Conversation
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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. Comment |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documented file-scope example points to a nonexistent repository path and will not analyze the intended service.
1 open finding
What changed in this PR
Adds a repository-owned Gemini CLI /analyze-code extension for bounded, read-only EventRelay analysis.
Changes:
- Adds the extension manifest, context, and analysis prompt.
- Documents local validation and usage.
- Adds contract tests and scoped
.gitignoreexceptions.
| File | Description |
|---|---|
.gitignore |
Tracks the repository extension while ignoring other local extensions. |
.gemini/extensions/eventrelay-engineering/README.md |
Documents installation and invocation. |
.gemini/extensions/eventrelay-engineering/GEMINI.md |
Defines repository-specific context and constraints. |
.gemini/extensions/eventrelay-engineering/gemini-extension.json |
Declares extension metadata. |
.gemini/extensions/eventrelay-engineering/commands/analyze-code.toml |
Implements the read-only analysis command. |
tests/unit/test_eventrelay_gemini_extension.py |
Verifies manifest, safety, scope, and output contracts. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.

Canonical issue
Closes #2416
Outcome
Adds a repository-owned Gemini CLI extension with
/analyze-code, the official slash-command form of the requested@analyze-codeconcept. The command performs bounded, read-only EventRelay analysis across architecture, correctness, performance, security, and test gaps while preserving the repository's locked facts and evidence boundaries.Scope
/analyze-codeTOML prompt; local usage documentation; a narrow.gitignoreexception for this extension; focused manifest, safety, repository-invariant, analysis-dimension, measurement, documentation, and example-path contracts./generate-tests,/verify-change, application/runtime changes, dependencies, model calls, production requests, deployments, and user-global Gemini configuration changes.Risk
Verification
Exact head:
0985db9ace34911556fe0808c5ccde9bb8fb84d7python3 -m unittest -v tests.unit.test_eventrelay_gemini_extension— 8 passed.gemini extensions validate .gemini/extensions/eventrelay-engineering— passed with Gemini CLI 0.46.0.git diff --check— passed; GitHub reports six expected files and 285 additions.0985db9ace34911556fe0808c5ccde9bb8fb84d7; zero unresolved threads remain.Production evidence
Not applicable. This is repository developer tooling and changes no application or deployment path. No Gemini model call was made, so prompt-output quality is not presented as runtime proof; current evidence covers manifest validity, exact-head isolated installation, command-contract content, and repository checks. No user-global installation is claimed.
Agent handoff