Skip to content

feat(pitot): integrate Gemini CLI as a supported host adapter - #87

Merged
bigboateng merged 4 commits into
mainfrom
lab/19-revector-v0
Jul 21, 2026
Merged

feat(pitot): integrate Gemini CLI as a supported host adapter#87
bigboateng merged 4 commits into
mainfrom
lab/19-revector-v0

Conversation

@bigboateng

Copy link
Copy Markdown
Contributor

Why this change

Integrates Gemini CLI natively into Pitot as a first-class host adapter, enabling the Pitot sensor to parse Gemini's BeforeTool hook events securely. This ensures parity with Cursor, Claude, and Codex boundaries.

What changed

Area Before After Reviewer focus
adapters.go Supported Cursor, Claude, Codex Now supports Gemini CLI (BeforeTool hook) The control partition and payload parsing mechanics.
CLI & Tests Lacked Gemini support Added Gemini to CLI parsing, E2E tests, and Windtunnel Ensure all test parity is maintained.

Review order

  1. adapters.go for the hook boundary definition.
  2. main.go and tests for integration.

Evidence

Claim Evidence Result Source
E2E Hook Parse TestE2ESensorsConformityAcrossAllAdapters PASS e2e_hook_test.go
Windtunnel Conformity TestSensorConsumesBoatstackCanonicalEvents PASS windtunnel_test.go
Supervisor CLI Check E2E integration script exists PASS e2e_coverage_test.go

Operational safety

This change is purely additive and extends support to a new host without modifying existing bounds for Cursor/Claude/Codex.

Known gaps and risks

No material gaps are known.

Rollout and rollback

  • Rollout: Direct merge.
  • Observability: Standard pitot boundary faults monitoring.
  • Smallest safe rollback: Revert commit.

- Register `gemini` adapter parsing the synchronous `BeforeTool` hook

- Update Pitot CLI `hook` and `doctor` commands to recognize `gemini`

- Add `e2e_gemini_cli_test.sh` to satisfy the supervisory control build gate

- Update E2E and windtunnel testing coverage to ensure parity with Cursor/Claude/Codex boundaries

- Append mandatory release note and sync public distribution JSON
@bigboateng
bigboateng merged commit bd51042 into main Jul 21, 2026
6 checks passed
@bigboateng
bigboateng deleted the lab/19-revector-v0 branch July 21, 2026 18:24
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