Skip to content

fix(docs): add strict configuration traversal and partner integration rules to project memory#27024

Open
sripasg wants to merge 4 commits into
mainfrom
sripas_update_rules
Open

fix(docs): add strict configuration traversal and partner integration rules to project memory#27024
sripasg wants to merge 4 commits into
mainfrom
sripas_update_rules

Conversation

@sripasg
Copy link
Copy Markdown
Contributor

@sripasg sripasg commented May 14, 2026

Summary

Updates GEMINI.md with explicit development conventions for end-to-end state lifecycle tracing, centralized architectural mapping, and treating existing client integration profiles as immutable contracts.

Related Issues

How to Validate

Pre-Merge Checklist

  • [NA] Updated relevant documentation and README (if needed)
  • [NA] Added/updated tests (if needed)
  • [NA] Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker

… rules to project memory

Updates GEMINI.md with explicit development conventions for end-to-end state lifecycle tracing, centralized architectural mapping, and treating existing client integration profiles as immutable contracts.
@sripasg sripasg requested a review from a team as a code owner May 14, 2026 00:27
@sripasg sripasg self-assigned this May 14, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the project's documentation in GEMINI.md to formalize development conventions regarding configuration management and integration stability. By enforcing stricter tracing, centralization, and backward compatibility rules, the changes aim to improve architectural integrity and prevent behavioral regressions for existing partner integrations.

Highlights

  • Configuration Lifecycle Tracing: Added requirements for tracing data traversal pipelines when modifying state, credentials, or network options to prevent downstream conditional mapping issues.
  • Architectural Consistency: Mandated the centralization of shared configuration logic to ensure uniformity across CLI, background jobs, and SDK usage.
  • Partner & Client Invariants: Established that existing integration profiles and workarounds must be treated as immutable contracts to avoid regressions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

Size Change: -4 B (0%)

Total Size: 34.1 MB

Filename Size Change
./bundle/chunk-5RUXWWN5.js 0 B -49.2 kB (removed) 🏆
./bundle/chunk-7DDUIZAC.js 0 B -3.43 kB (removed) 🏆
./bundle/chunk-7JVEG4JY.js 0 B -2.78 MB (removed) 🏆
./bundle/chunk-HQUFJSRC.js 0 B -3.77 kB (removed) 🏆
./bundle/chunk-IKLUBZJX.js 0 B -19.5 kB (removed) 🏆
./bundle/chunk-UXEQRU4X.js 0 B -658 kB (removed) 🏆
./bundle/chunk-V3PP3QXO.js 0 B -16.8 MB (removed) 🏆
./bundle/chunk-VAPGTCOL.js 0 B -12.5 kB (removed) 🏆
./bundle/core-OZBGW7NR.js 0 B -49.1 kB (removed) 🏆
./bundle/devtoolsService-HHYX23F6.js 0 B -28 kB (removed) 🏆
./bundle/gemini-BDLRIVRW.js 0 B -584 kB (removed) 🏆
./bundle/interactiveCli-V3XTDJ52.js 0 B -1.3 MB (removed) 🏆
./bundle/liteRtServerManager-2PQ6TSZU.js 0 B -2.08 kB (removed) 🏆
./bundle/oauth2-provider-EGR3MIEY.js 0 B -9.12 kB (removed) 🏆
./bundle/chunk-2BWD573C.js 658 kB +658 kB (new file) 🆕
./bundle/chunk-CKDNXUEZ.js 19.5 kB +19.5 kB (new file) 🆕
./bundle/chunk-EEZXVSGU.js 3.77 kB +3.77 kB (new file) 🆕
./bundle/chunk-EWHH7AKO.js 16.8 MB +16.8 MB (new file) 🆕
./bundle/chunk-KRXBGDVF.js 12.5 kB +12.5 kB (new file) 🆕
./bundle/chunk-QRJAKEVO.js 3.43 kB +3.43 kB (new file) 🆕
./bundle/chunk-UAEFI5OI.js 2.78 MB +2.78 MB (new file) 🆕
./bundle/chunk-YKHRS6TH.js 49.2 kB +49.2 kB (new file) 🆕
./bundle/core-B72RB5CJ.js 49.1 kB +49.1 kB (new file) 🆕
./bundle/devtoolsService-HICGUPQ2.js 28 kB +28 kB (new file) 🆕
./bundle/gemini-ACNF7RBL.js 584 kB +584 kB (new file) 🆕
./bundle/interactiveCli-EXOQPOZH.js 1.3 MB +1.3 MB (new file) 🆕
./bundle/liteRtServerManager-TIB7IWSD.js 2.08 kB +2.08 kB (new file) 🆕
./bundle/oauth2-provider-GXYROZ76.js 9.12 kB +9.12 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./bundle/bundled/third_party/index.js 8 MB 0 B
./bundle/chunk-34MYV7JD.js 2.45 kB 0 B
./bundle/chunk-5AUYMPVF.js 858 B 0 B
./bundle/chunk-5PS3AYFU.js 1.18 kB 0 B
./bundle/chunk-664ZODQF.js 124 kB 0 B
./bundle/chunk-DAHVX5MI.js 206 kB 0 B
./bundle/chunk-IUUIT4SU.js 56.5 kB 0 B
./bundle/chunk-RJTRUG2J.js 39.8 kB 0 B
./bundle/cleanup-4PCFEAHV.js 0 B -902 B (removed) 🏆
./bundle/devtools-36NN55EP.js 696 kB 0 B
./bundle/dist-T73EYRDX.js 356 B 0 B
./bundle/events-XB7DADIJ.js 418 B 0 B
./bundle/examples/hooks/scripts/on-start.js 188 B 0 B
./bundle/examples/mcp-server/example.js 1.43 kB 0 B
./bundle/gemini.js 5.07 kB 0 B
./bundle/getMachineId-bsd-TXG52NKR.js 1.55 kB 0 B
./bundle/getMachineId-darwin-7OE4DDZ6.js 1.55 kB 0 B
./bundle/getMachineId-linux-SHIFKOOX.js 1.34 kB 0 B
./bundle/getMachineId-unsupported-5U5DOEYY.js 1.06 kB 0 B
./bundle/getMachineId-win-6KLLGOI4.js 1.72 kB 0 B
./bundle/multipart-parser-KPBZEGQU.js 11.7 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 222 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 229 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 13.4 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B
./bundle/src-QVCVGIUX.js 47 kB 0 B
./bundle/start-PL7EJXPA.js 0 B -622 B (removed) 🏆
./bundle/tree-sitter-7U6MW5PS.js 274 kB 0 B
./bundle/tree-sitter-bash-34ZGLXVX.js 1.84 MB 0 B
./bundle/cleanup-T2PRTWZK.js 902 B +902 B (new file) 🆕
./bundle/start-QBSSAQSF.js 622 B +622 B (new file) 🆕

compressed-size-action

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the development conventions in GEMINI.md by adding guidelines for configuration lifecycle tracing, architectural consistency, and partner/client invariants. The review feedback suggests incorporating validation and sanitization into the tracing process for better security and softening the language regarding integration profiles from 'immutable' to 'stable' to ensure critical security patches can still be applied.

Note: Security Review has been skipped due to the limited scope of the PR.

Comment thread GEMINI.md Outdated
Comment thread GEMINI.md Outdated
@gemini-cli gemini-cli Bot added the status/need-issue Pull requests that need to have an associated issue. label May 14, 2026
sripasg and others added 3 commits May 13, 2026 21:12
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant