Skip to content

feat(sensor): capture Gemini CLI conversations and tool activity - #121

Merged
barisozbas merged 3 commits into
mainfrom
bozbas/sensor-gemini-cli
Sep 16, 2026
Merged

barisozbas merged 3 commits into
mainfrom
bozbas/sensor-gemini-cli

Conversation

@barisozbas

@barisozbas barisozbas commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

ADR currently misses Gemini CLI sessions. Add the gemini source for current JSONL journals and legacy JSON conversation snapshots, including tool arguments/results, status, approval requests, usage, and nested subagents. Consolidate repeated messages without losing recorded activity across rewinds, and refresh resumed session exports.

Document native macOS/Linux/Windows paths and GEMINI_CLI_HOME semantics. Add synthetic contract fixtures and a CI matrix on all three operating systems. No runtime dependencies or agent configuration changes are required.

Test Plan

245 Sensor tests pass locally on Python 3.11; changed Python files pass Ruff. Native platform jobs exercise discovery, parsing and export. Tests replay synthetic records from the documented upstream contract; an authenticated live Gemini session is not part of local validation.

Revert Plan

Revert this commit to remove the gemini source; existing exported JSON remains usable.

Issue Links

None - user-requested source onboarding without a tracking issue.

Summary:
ADR currently misses Gemini CLI sessions. Add the gemini source for current JSONL journals and legacy JSON conversation snapshots, including tool arguments/results, status, approval requests, usage, and nested subagents. Consolidate repeated messages without losing recorded activity across rewinds, and refresh resumed session exports.

Document native macOS/Linux/Windows paths and GEMINI_CLI_HOME semantics. Add synthetic contract fixtures and a CI matrix on all three operating systems. No runtime dependencies or agent configuration changes are required.

Test Plan:
244 Sensor tests pass locally on Python 3.11; changed Python files pass Ruff. Native platform jobs exercise discovery, parsing and export. Tests replay synthetic records from the documented upstream contract; an authenticated live Gemini session is not part of local validation.

Revert Plan:
Revert this commit to remove the gemini source; existing exported JSON remains usable.
Resolve source registration and documentation conflicts while preserving Gemini, DeepSeek Harness, resumed-session handling, and opt-in OpenTelemetry export.
@barisozbas
barisozbas marked this pull request as ready for review September 16, 2026 12:28
@barisozbas
barisozbas requested a review from cmvan September 16, 2026 12:28
@barisozbas
barisozbas merged commit 93ed35c into main Sep 16, 2026
14 checks passed
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.

2 participants