feat(sensor): capture Gemini CLI conversations and tool activity - #121
Draft
barisozbas wants to merge 2 commits into
Draft
barisozbas wants to merge 2 commits into
barisozbas wants to merge 2 commits into
Conversation
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.
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.
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.