Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(antigravity): migrate managed installs to native CLI #35487

MergedYash-Singh1(GitHub profile, opens in a new tab)merged 0 commits intot3/antigravity-native-goals fromrefs/pull/35487/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Managed Antigravity installs are stuck on the separate 1.4.5 ACP package, whose registry does not distribute the newer native CLI. This prevents managed installs from reaching the runtime needed for native goals.

Migrate new installs and existing users' updates to Google's platform-specific CLI manifests. Verify the published SHA-512 checksum and ACP identity before atomically activating the single executable. Background discovery uses the installation subscription API and respects provider update checks; explicit installation checks the channel again. Withdrawn releases are refused before activation and when resolving a managed runtime. Reinstall never downgrades a newer active release and can pick up a republished build with the same version. Old installation records and leased releases remain usable, and failed updates preserve the active runtime.

Native launches use the instance's isolated profile and the advertised system-prompt extension. Supports Apple Silicon and Intel macOS, Linux x64/ARM64 with glibc or musl, and Windows x64/ARM64. Existing custom binary paths remain in control of their selected executable.

Stacked on https://github.com/pingdotgg/t3code/pull/35409. This supplies the managed native runtime for that PR's goal support. It uses Google's CLI channel rather than the older ACP registry channel in #21249.

Validation:

  • vp run check:changed passed, including format, lint, knip, affected typechecks, and 481 tests.
  • The existing VCS watcher test now expects the current isRepo field in both branch results, correcting the server-shard CI failure.
  • Migration tests fail on the stack base and pass here. Coverage includes native archives, Windows executables, malformed manifests, checksum failures, update preferences, later releases, offline reinstall, and downgrade prevention.
  • Real macOS ARM64 installation in temporary state downloaded Google's 1.5.7 archive and passed checksum, extraction, and ACP startup validation. A separate native probe confirmed profile placement.
phase=succeeded version=1.5.7 downloadedBytes=88013461
source=managed harnessPath=null isolated=true

Migration preserves profile files but may require signing in again. Authenticated turns and resuming a legacy native session with the new CLI were not verified. Other operating systems use focused fixtures rather than live installation tests.

Implemented with GPT 6.1 Sol through the Codex harness.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Needs Human Approval

      Macroscope's review found this PR requires human approval — This changes the default managed Antigravity installation to Google's native CLI channel and migrates existing installs when users update. Human review is required for that default change, including acceptance of possible reauthentication during migration.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    3. github-actions[bot](GitHub profile, opens in a new tab)commented

      Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire—5.0 KiB—6.8 KiB✅
      CodexThread snapshot wire—3.8 KiB—4.9 KiB✅
      CodexLive turn WebSocket wire—1.2 KiB—2.0 KiB✅
      CodexLive turn WebSocket decoded—21.5 KiB—24.4 KiB✅
      CodexLive turn messages—1—8✅
      ClaudeTotal thread wire—5.0 KiB—6.8 KiB✅
      ClaudeThread snapshot wire—3.8 KiB—4.9 KiB✅
      ClaudeLive turn WebSocket wire—1.2 KiB—2.0 KiB✅
      ClaudeLive turn WebSocket decoded—21.9 KiB—24.4 KiB✅
      ClaudeLive turn messages—1—8✅

      Other scenarios

      No main baseline exists yet for these 64 scenario measurements.

      All 64 scenario measurements
      ProviderScenarioMetricMain baselineThis PRImpactPR ceiling
      Codexshort turn resumeWebSocket decoded—10.5 KiB—12.7 KiB✅
      Codexshort turn resumeWebSocket messages—2—2✅
      Codexlong turn running, cold openHTTP decoded—281.7 KiB—302.7 KiB✅
      Codexlong turn running, cold openrows—75—75✅
      Codexlong turn running, history pageHTTP decoded—92.4 KiB—107.4 KiB✅
      Codexlong turn running, history pagerows—75—75✅
      Codexlong turn finished, cold openHTTP decoded—381.5 KiB—410.2 KiB✅
      Codexlong turn finished, cold openrows—151—151✅
      Codexlong turn finished, socket cold openWebSocket decoded—381.6 KiB—410.2 KiB✅
      Codexlong turn finished, socket cold openWebSocket messages—2—2✅
      Codexlong turn finished, socket cold openrows—151—151✅
      Codexlong turn finished, work pageHTTP decoded—186.2 KiB—200.2 KiB✅
      Codexlong turn finished, work pagerows—150—150✅
      Codexidle thread resumeWebSocket decoded—65 B—200 B✅
      Codexidle thread resumeWebSocket messages—1—1✅
      Codexfleet shell snapshotHTTP decoded—41.6 KiB—53.7 KiB✅
      Codexfleet shell snapshotrows—27—27✅
      Codexfleet shell subscribeWebSocket decoded—65 B—200 B✅
      Codexfleet shell subscribeWebSocket messages—1—1✅
      Codexfleet shell resume checkHTTP decoded—18 B—100 B✅
      Codexfleet shell resume checkrows—0—0✅
      Codexstale shell reloadHTTP decoded—41.6 KiB—53.7 KiB✅
      Codexstale shell reloadrows—27—27✅
      Codexstale shell resumeWebSocket decoded—140 B—400 B✅
      Codexstale shell resumeWebSocket messages—2—2✅
      Codexstale todo list cold openHTTP decoded—72.4 KiB—83.0 KiB✅
      Codexstale todo list cold openrows—75—75✅
      Codexstale todo list cold opennodes—2—4✅
      Codexstale todo list cold opensubagents—2—4✅
      Codexstale todo list cold openplans—1—2✅
      Codexstale todo list cold openproviderTurns—1—2✅
      Codexstale todo list cold opencheckpoints—1—2✅
      Claudeshort turn resumeWebSocket decoded—10.6 KiB—12.7 KiB✅
      Claudeshort turn resumeWebSocket messages—2—2✅
      Claudelong turn running, cold openHTTP decoded—283.3 KiB—302.7 KiB✅
      Claudelong turn running, cold openrows—75—75✅
      Claudelong turn running, history pageHTTP decoded—93.4 KiB—107.4 KiB✅
      Claudelong turn running, history pagerows—75—75✅
      Claudelong turn finished, cold openHTTP decoded—384.2 KiB—410.2 KiB✅
      Claudelong turn finished, cold openrows—151—151✅
      Claudelong turn finished, socket cold openWebSocket decoded—384.3 KiB—410.2 KiB✅
      Claudelong turn finished, socket cold openWebSocket messages—2—2✅
      Claudelong turn finished, socket cold openrows—151—151✅
      Claudelong turn finished, work pageHTTP decoded—188.1 KiB—200.2 KiB✅
      Claudelong turn finished, work pagerows—150—150✅
      Claudeidle thread resumeWebSocket decoded—66 B—200 B✅
      Claudeidle thread resumeWebSocket messages—1—1✅
      Claudefleet shell snapshotHTTP decoded—42.2 KiB—53.7 KiB✅
      Claudefleet shell snapshotrows—27—27✅
      Claudefleet shell subscribeWebSocket decoded—66 B—200 B✅
      Claudefleet shell subscribeWebSocket messages—1—1✅
      Claudefleet shell resume checkHTTP decoded—18 B—100 B✅
      Claudefleet shell resume checkrows—0—0✅
      Claudestale shell reloadHTTP decoded—42.2 KiB—53.7 KiB✅
      Claudestale shell reloadrows—27—27✅
      Claudestale shell resumeWebSocket decoded—140 B—400 B✅
      Claudestale shell resumeWebSocket messages—2—2✅
      Claudestale todo list cold openHTTP decoded—73.4 KiB—83.0 KiB✅
      Claudestale todo list cold openrows—75—75✅
      Claudestale todo list cold opennodes—2—4✅
      Claudestale todo list cold opensubagents—2—4✅
      Claudestale todo list cold openplans—1—2✅
      Claudestale todo list cold openproviderTurns—1—2✅
      Claudestale todo list cold opencheckpoints—1—2✅

      Baseline: unavailable · PR result: 3b19aca · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 108.5 KiB
      • Claude decoded thread snapshot: 108.8 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

    4. Note

      Generated by GPT 6.1 Sol

      Completed authenticated local smoke testing on macOS arm64 at 3b19aca with isolated T3 state and a copied Antigravity profile. The live installation and profile were unchanged.

      • Created a real conversation on managed ACP 1.4.5, migrated through the production installer to native CLI 1.5.7, and resumed the same session. It recalled the exact token from the legacy turn without signing in again.
      • Repeated installation through Settings. The client showed 1.5.7, the existing Google account, and four models. A subsequent production update check reported installed/latest 1.5.7.
      • Native /goal created a file, read it, verified its contents through shell commands, and returned GOAL_COMPLETE. Permission requests were handled successfully.
      • Verified the same goal through a real T3 thread with Gemini Flash, including streamed tool activity, completion, a successful follow-up, and persisted history after reloading the client. This also exercises the parent native-goal change in #35409.
      • Passed image input, switching to GPT-OSS with a real prompt, switching plan/default modes, and cancelling an active shell tool call.

      No product fixes were needed. This was a macOS arm64 smoke pass; Windows/Linux, other authentication methods, and every available model were not exercised.

Sign in to join this conversation.