Index Antigravity IDE and agy CLI native histories #132
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.45) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 312 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.344
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #132"
general
weight: 0.35
youdie006
Add a focused Antigravity adapter for native IDE and agy CLI JSONL histories, based on the Antigravity portion of #83 and the maintainer's request to split that proposal by tool.
The default registry discovers both
~/.gemini/antigravity/brainand~/.gemini/antigravity-cli/brain. Explicitin_home/cli_in_homeconstructors accept the Gemini configuration directory used byagy --gemini-dir, so embedders can select isolated profile homes. Each root has its own reconciliation scope.Conversation-directory keys stay stable across compact/full transcript availability; the reader selects the log with the greatest native step coverage, preferring full logs for untruncated content when coverage matches. Changes to either log invalidate the cache. User prompts, assistant replies and paired structured tool calls/results are searchable. Successful edit evidence is streamed from the complete log even when conversation reads are windowed. Optional native summary metadata supplies titles, workspace URIs and parent relationships; transcripts determine which conversations exist. Discovery errors prevent archival of cached sessions. Failed summary database reads skip that root's sync pass and preserve indexed metadata until a healthy retry; an absent database permits transcript-only indexing. Archived sessions remain readable from their durable cached transcripts even when their native directory remains.
A committed fixture was sanitized from a live agy 1.5.7 session on Linux on 2026-11-13, with private text, commands and paths replaced. It preserves one user turn, three tool calls/results and the final assistant reply. Additional synthetic cases cover writes, failed/unfinished edits, redaction, malformed JSON/URIs, full/compact deduplication, windowed provenance, independent IDE/CLI roots and real index reconciliation, normal and archived CLI show reads, nullable legacy summaries, dangling symlink errors and bounded refresh after summary-only updates (including older databases without row timestamps, stale row timestamps and removed summary rows). No Qoder or ZCode changes are included. Protobuf-only histories without JSONL transcripts are outside this reader's scope.
Validation: 370 Rust tests, Clippy with warnings denied, and rustfmt pass. Index tests use disposable sources and SESSIONWIKI_DATA. The adapter reuses the optional activity-time hook also introduced in #130/#131 to keep opaque change tokens separate from real dates. Based on upstream main 8925005.