Repository navigation
[Bug] Self-contained nightly service breaks Antigravity preflight by invoking t3 with -e #11767
Description
Activity
- changed the title
[-]Self-contained nightly service breaks Antigravity preflight by invoking t3 with -e[/-][+][Bug] Self-contained nightly service breaks Antigravity preflight by invoking t3 with -e[/+]on Sep 14, 2026 Triage
Confirmed on current
main(05e3bcbc). This is a T3 regression from the self-contained executable, not a bad Antigravity binary or host environment.prepareAntigravityProfilestill assumesHostProcessExecutablePath(process.execPath) is Node and runs:<execPath> -e '<browserHelperSource>' -- <preflight-url>On the pre-SEA npm service that executable is Node, so
-eworks. After #11316 / #11607, a background service started throughnpxis the self-containedt3CLI. Effect CLI then printsUnrecognized flag: -e in command t3and exits 1.That preflight runs in two places:
- Antigravity session start (
AntigravityDriver→prepareAntigravityProfile) → genericAcpTransportError/ACP transport operation failed - Managed install validation (
AntigravityInstallation.validate) →The downloaded Antigravity runtime could not start in this environment
The same argv is also written into
BROWSER, so the helper used for Google sign-in would fail the same way even if preflight were skipped.agy_acp_serveris never launched.The SEA branch already exists (
HostProcessIsExecutable/node:sea). Other helpers use hidden unlisted commands (__claude-history,__service-launcher,__service-preflight,__ssh-helper). Existing Antigravity tests pass because they run under Node.Not a duplicate of
- [Bug]: Antigravity turn ends on a dropped ACP stream: raw proxy error shown, no reconnect after a clean WebSocket close (1000) #11670 — in-session ACP stream EOF / WS 1000 recovery
- [Bug]: Antigravity installation fails with generic error on CPUs without AVX (crashes with SIGILL) #11414 — AVX / SIGILL crash of the native runtime
- fix(server): preserve Antigravity startup diagnostics #9839 — would preserve startup stderr (so this would show
Unrecognized flag: -e) but does not fix the invocation
Suggested fix
When
HostProcessIsExecutableis true, invoke a hiddent3subcommand that writes the existing__T3_ANTIGRAVITY_AUTH_URL__marker to stderr. Keepnode -efor the npm/Node host. Apply that to both the preflight spawn and theBROWSERcommand. Add a test that uses a non-NodeHostProcessExecutablePath/HostProcessIsExecutable=trueso this cannot regress silently.Workaround
npx --yes t3@0.0.41-nightly.20260913.1675 service update --allow-downgrade
Accepting as a high-severity provider bug. Any SEA-based service (not only Linux) should hit this; this report used Linux x64 + Android/desktop clients.
- Antigravity session start (
- addedbugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.acceptedfeature request acceptedfeature request acceptedvia-triageFiled through npx t3 triageFiled through npx t3 triage
on Sep 14, 2026 Confirmed on
0.0.41-nightly.20260915.1766with a Linux x64 user-level systemd service.After repairing the service, both the launcher and server are on
.1766,t3 service statusreports healthy, and the HTTP endpoint returns 200. The failure still reproduces independently:<t3-runtime>/t3 -e '<browser helper>' -- https://example.invalid/t3-antigravity-browser-preflight ERROR Unrecognized flag: -e in command t3 exit=1This also affects the
gemini-api-keyauth method. The instance hadauthMethod: gemini-api-keywith a non-empty key, but provider startup still failed inprepareAntigravityProfilebefore the credential could be used. Earlier, with the same machine and managed ACP runtime, invokingagy_acp_serverdirectly succeeded throughinitializeandsession/newand returned the model catalog. That isolates the failure to T3's host-executable browser-helper preflight rather than OAuth, the API key, or the Antigravity runtime.No credentials or token values were included in this confirmation.
There is also a separate reinstall symptom on this machine. After
provider.install.removesucceeded at2026-09-15T17:08:49Z, the subsequent reinstall attempt produced noprovider.install.startRPC, download activity, staging directory, oractive.jsonruntime record. The filesystem contained only the empty parenttools/antigravity-acpdirectory. The provider cache remainedinstalled: false,canInstall: true, withAntigravity is not installed.So in this client session, reinstall was not reaching the known validation failure. It was not being initiated on the server at all. That may be a separate provider-setup UI/RPC issue from the self-contained
-eregression.Fixed by #12033 — standalone builds now resolve Node from PATH for Antigravity's browser helper (and device helper scripts) instead of invoking
process.execPathwith-e.Independent confirmation on stable v0.0.42 / Linux x64 (CachyOS): same
t3 -epreflight failure, install rolls back withThe downloaded Antigravity runtime could not start in this environment.Full report: #13216. Local workaround: default the helper path to/usr/bin/nodeinprepareAntigravityProfile(same bytes asHostProcessExecutablePathexpression) until a release ships #12033.Hi, I'm running into what looks like a related Antigravity installation/runtime issue on @Pipyakas
Environment
- T3 Code:
0.0.44 - OS: Ubuntu 24.04 LTS, x86_64
- Node.js:
v20.20.2 - Antigravity CLI:
1.2.14 - T3 is running as a user systemd service.
What works
The standalone Antigravity CLI works correctly:
$ ~/.local/bin/agy --version 1.2.14 $ file ~/.local/bin/agy ELF 64-bit LSB pie executable, x86-64T3 itself is also running correctly:
$ systemctl --user status t3code.service Active: active (running) $ systemctl --user show t3code.service -p ExecStart ExecStart=.../t3/runtime/versions/0.0.44/t3 __service-launcherThe problem
The issue is specifically the Antigravity provider. T3 shows:
Antigravity is not installed. Install it in this environment or set a custom executable path.I also tried setting the custom binary path to
/home/dinesh/.local/bin/agy, but T3 still does not recognize Antigravity as installed.The managed Antigravity runtime does not appear to be getting installed either:
$ cat ~/.t3/caches/antigravity.json { "installed": false, "version": null, "status": "error", "message": "Antigravity is not installed. Install it in this environment or set a custom executable path." }$ find ~/.t3/tools -maxdepth 6 -type f 2>/dev/null | \ grep -Ei 'antigravity|agy|localharness'This returns no results.
Related issues
I came across #11767 ("Self-contained nightly service breaks Antigravity preflight by invoking t3 with -e") and wanted to check whether the fix/workaround documented there is still relevant for
0.0.44.I also saw that the Node/helper-script issue was subsequently addressed by #12033, so I'm not sure whether this is still the same underlying problem or a different managed-runtime installation issue.
Constraints
I don't want to downgrade T3 or change the system Node.js version, since this server has other applications depending on Node 20.
Question
Is there a current workaround or configuration change for
0.0.44on Ubuntu/Linux that would allow the managed Antigravity runtime to install/start correctly?Any pointers to the relevant fix/commit or recommended setup would be appreciated.

- T3 Code:
What happened
An existing Antigravity thread failed with
ACP transport operation failed. Removing and reinstalling the Antigravity runtime then downloaded the runtime, but validation failed withThe downloaded Antigravity runtime could not start in this environment.T3 Code was running as a Linux background service installed through
npx, with Android and remote desktop clients.Diagnosis
This is a regression in the self-contained T3 executable, not an incompatible Antigravity binary or host environment.
prepareAntigravityProfileobtainsHostProcessExecutablePathand invokes that executable with-e <browser-helper-source>to verify browser suppression. In the npm-based service used before the self-contained release changes, that executable is Node and accepts-e. In0.0.41-nightly.20260914.1707, the service process executable is the self-containedt3CLI. It parses-eas a T3 CLI flag, printsUnrecognized flag: -e in command t3, and exits 1.The profile preflight converts the unexpected exit/output to a generic
AcpTransportError.AntigravityInstallation.validatewraps that again asThe downloaded Antigravity runtime could not start in this environment, hiding the real failure.The same preflight runs before normal Antigravity session startup, explaining both symptoms. The direct reproduction below fails before
agy_acp_serveris launched. Currentmainatec5ede5e6a1f2f9d564a5834462f47d1b7e5f0ecstill has the same relevant implementation.Steps to reproduce
t3@0.0.41-nightly.20260914.1707as a background service using the npm launcher.ACP transport operation failedduringprepareAntigravityProfile/session/start.The downloaded Antigravity runtime could not start in this environment.t3executable with the same-ebrowser-helper arguments used byprepareAntigravityProfile. It exits 1 becauset3does not recognize-e.Version
0.0.41-nightly.20260914.1707(9375c779707fb95c06670db6da87441720b2d2e2)Environment
6.19.8-3.surface.fc43.x86_64v26.8.2in the triage shellnpxEvidence
Relevant trace sequence (UTC, paths redacted):
2026-09-14T16:55:10Z prepareAntigravityProfile 5.40 ms AcpTransportError: ACP transport operation failed. 2026-09-14T16:55:10Z startSession 55.48 ms ProviderAdapterRequestError: ... session/start: ACP transport operation failed. 2026-09-14T17:11:59Z prepareAntigravityProfile 728.57 ms AcpTransportError: ACP transport operation failed. 2026-09-14T17:11:59Z AntigravityInstallation.validate 730.21 ms The downloaded Antigravity runtime could not start in this environment.After rolling back, the same preflight through the Node executable succeeds deterministically:
__T3_ANTIGRAVITY_AUTH_URL__"https://example.invalid/t3-antigravity-browser-preflight" exit=0Related issues
EOF, followed by failed recovery after WebSocket close1000. This report fails earlier during profile preparation, before the Antigravity ACP process is initialized.-einvocation.No exact duplicate was found by searching for the two user-facing errors and
Unrecognized flag: -e.Fix applied or workaround
Rolled the service back to
0.0.41-nightly.20260913.1675, which predates the self-contained executable transition:The service is enabled and active after rollback, the browser-helper preflight exits 0 with the expected marker, and Antigravity has been reinstalled successfully with provider status
ready.The newer
t3 update <old-version> --allow-downgradepath could not perform this rollback because the older nightly did not publish a self-contained release archive; invoking the older npm CLI'sservice updatecommand worked.Filed by
Codex (GPT-5.6-Sol High) via
t3 triage.