Repository navigation
Add Antigravity and T3 Code coding-agent session readers - #567
Merged
Merged
Conversation
stevyhacker
marked this pull request as draft
November 21, 2026 09:21
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
lokalbot | 2a2a1bf | Commit Preview URL Branch Preview URL |
Nov 21 2026, 10:11 AM |
stevyhacker
marked this pull request as ready for review
November 21, 2026 10:00
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
Adds local coding-agent session readers for Antigravity (
antigravity) and T3 Code (t3-code) alongside Claude Code and Codex in both the macOS app and the Windows/Linux Rust app, with per-agent toggles, timeline/digest attribution, privacy-contract updates, and 24-locale UI strings.transcript.jsonl(nevertranscript_full.jsonl) and siblingannotations/*.pbtxttitles under~/.gemini/antigravity,~/.gemini/antigravity-cli, and~/.gemini/antigravity-ide(deduplicated by conversation ID), skippingthinking, tool outputs, file contents, credentials, and settings.~/.t3/userdata/statev2.sqlite(and legacystate.sqlitefallback) strictly read-only for orchestration projection tables only — never auth, secrets, or settings — usingjson_extractso command output, file diffs, and reasoning never leave SQLite, skipping deleted/subagent threads, and returningclaimedSessionsfromorchestration_v2_projection_provider_threadsso native Claude Code and Codex sessions owned by T3 Code (including delegated subagents) are counted once.Validation
Not yet verified end-to-end:
cargo test --workspace --locked/cargo clippy --workspace --all-targets --locked -- -D warningswill run on the Linux & Windows CI workflow (lokalbot-engineuses Linux/Windowskeyringdependencies;lokalbot-enginecoding_agents(23 tests),agent_notes(24 tests),lokalbot-appsettings(101 tests) andonboarding(24 tests), andcargo clippy --no-deps -p lokalbot-enginewere verified locally on macOS using a temporary non-committed keyring stub).Changed test expectations
CodingAgentEvidenceTests/testSettingsDefaultOnAndRoundTrip: defaultenabledCodingAgents[.claudeCode, .codex]→[.claudeCode, .codex, .antigravity, .t3Code], and round-trip expectation updated withcodingAgentReadsT3Code = false→[.claudeCode, .antigravity].Why the old expectation was wrong: Antigravity and T3 Code are now first-class coding-agent session sources enabled by default alongside Claude Code and Codex when session reading is on.
CodingAgentEvidenceTests/testFinishedSetupKeepsTheSavedChoicesOfExistingInstalls: saved settings withcodingAgentReadsCodex: false[.claudeCode]→[.claudeCode, .antigravity, .t3Code], and legacy{}[.claudeCode, .codex]→[.claudeCode, .codex, .antigravity, .t3Code].Why the old expectation was wrong: installs with session reading enabled default the two new per-agent toggles to
true, so omitting those keys in oldersettings.jsonfiles now enables Antigravity and T3 Code alongside Claude Code and Codex.lokalbot-core::coding_agents::tests::reading_needs_both_the_setting_and_a_choice_the_person_made: confirmed defaultenabled_coding_agents()[ClaudeCode, Codex]→[ClaudeCode, Codex, Antigravity, T3Code], andone_agentnow also disablescoding_agent_reads_antigravityandcoding_agent_reads_t3_codeto isolate Codex.Why the old expectation was wrong: matches the expanded four-agent default set when the user has confirmed coding-agent session reading.
lokalbot-app::pages::settings::coding_agents::tests::the_row_stays_off_until_the_person_chooses:settings.enabled_coding_agents().len()2→4.Why the old expectation was wrong: confirming session reading now enables all four supported session readers (Claude Code, Codex, Antigravity, and T3 Code).
Linked issues
None
Risk / rollout notes
codingAgentReadsAntigravityandcodingAgentReadsT3Code(both defaulting totruewhen decoded from existing settings files). No SQLite schema migration is needed becausecoding_agent_bursts.agentalready storesCodingAgentKind.rawValueas text ("antigravity","t3-code").rusqlite.workspace = truetoLinuxWindows/crates/lokalbot-engine/Cargo.toml(already pinned in the workspaceCargo.toml/Cargo.lock; no version pins changed).?mode=ro, fallback?mode=ro&immutable=1if a read-only folder blocks-shm), touches only orchestration projection tables, and skipsstatev2.sqliteentirely whenmax(mtime(db), mtime(db-wal))precedes the scan window. Sessions that consult LokalBot via CLI or MCP withhold replies on both new readers.~/.gemini/antigravity*; T3 Code reads only~/.t3/userdata/statev2.sqlite/state.sqlite(and deduplicates T3-owned Claude Code and Codex native logs when T3 Code is enabled).