[PR #1541] [MERGED] test(clients): verify native Gemini CLI integration #2958

Closed
opened 2026-10-17 21:12:15 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/1541
Author: @N0zoM1z0
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @N0zoM1z0

Base: main ← Head: test/gemini-native-client


📝 Commits (2)

  • 5bc1b55 test(clients): verify native Gemini CLI integration
  • 1da2977 chore: sync Gemini verifier with main

📊 Changes

4 files changed (+496 additions, -0 deletions)

View changed files

📝 docs/testing.md (+13 -0)
📝 package.json (+1 -0)
➕ scripts/verify-gemini-client.mjs (+378 -0)
➕ scripts/verify/clients/gemini-model-fixture.mjs (+104 -0)

📄 Description

REA already registers Gemini CLI, but its native skill and MCP analysis round trip lacked a reproducible verification lane. Add verify:gemini-client using the installed client and a loopback Gemini API fixture.

The lane checks public setup plans, backups and idempotence; native personal skill activation; the complete tool catalog and all forwarded input JSON Schemas; full JavaScript Evidence for a Unicode path; the final native reply and owned-process cleanup. Decode Gemini's observed untrusted_context envelope while retaining original requests. Disable the client's heap auto-sizing relaunch to preserve caller resource limits. Product runtime and contracts are unchanged.

Validation: actual @google/gemini-cli@0.63.0 chat and call modes passed against both source and a fresh production-only installed tarball (139 tools and 139 input schemas in every run); npm run check:fast passed. Linux x64 with a local model fixture; token counts are synthetic. Live Google API and native Windows are unverified. No fresh Hopper/Ghidra verification was performed.

Primary producer references: pinned configuration, skills, headless output.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/1541 **Author:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Created:** 10/10/2026 **Status:** ✅ Merged **Merged:** 10/10/2026 **Merged by:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Base:** `main` ← **Head:** `test/gemini-native-client` --- ### 📝 Commits (2) - [`5bc1b55`](https://github.com/morluto/rea/commit/5bc1b5530f9452e974711b75e33e6b30017959ea) test(clients): verify native Gemini CLI integration - [`1da2977`](https://github.com/morluto/rea/commit/1da2977a59f7f587ee08ec79b267a75ab8b53fa4) chore: sync Gemini verifier with main ### 📊 Changes **4 files changed** (+496 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+13 -0) 📝 `package.json` (+1 -0) ➕ `scripts/verify-gemini-client.mjs` (+378 -0) ➕ `scripts/verify/clients/gemini-model-fixture.mjs` (+104 -0) </details> ### 📄 Description REA already registers Gemini CLI, but its native skill and MCP analysis round trip lacked a reproducible verification lane. Add `verify:gemini-client` using the installed client and a loopback Gemini API fixture. The lane checks public setup plans, backups and idempotence; native personal skill activation; the complete tool catalog and all forwarded input JSON Schemas; full JavaScript Evidence for a Unicode path; the final native reply and owned-process cleanup. Decode Gemini's observed `untrusted_context` envelope while retaining original requests. Disable the client's heap auto-sizing relaunch to preserve caller resource limits. Product runtime and contracts are unchanged. Validation: actual `@google/gemini-cli@0.63.0` chat and call modes passed against both source and a fresh production-only installed tarball (139 tools and 139 input schemas in every run); `npm run check:fast` passed. Linux x64 with a local model fixture; token counts are synthetic. Live Google API and native Windows are unverified. No fresh Hopper/Ghidra verification was performed. Primary producer references: [pinned configuration](https://github.com/google-gemini/gemini-cli/blob/573846625af9e93b3b968e0e0b86bb093a4c9b16/docs/reference/configuration.md), [skills](https://github.com/google-gemini/gemini-cli/blob/573846625af9e93b3b968e0e0b86bb093a4c9b16/docs/cli/skills.md), [headless output](https://github.com/google-gemini/gemini-cli/blob/573846625af9e93b3b968e0e0b86bb093a4c9b16/docs/cli/headless.md). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-17 21:12:15 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#2958
No description provided.