Skip to content

fix(antigravity): send one fixed client identity on every agy connection - #50108

Merged
AmoabaKelvin merged 1 commit into
mainfrom
fix/antigravity-zed-client-name
Nov 26, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
fix/antigravity-zed-client-name

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

When Orca connects to Antigravity's agy over ACP, the first message carries a client identity. Orca now sends one fixed identity on every connection instead of switching on agy's version.

Files Added Deleted Net
Test 0 0 0 0
Prod 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​41 $\color{#cf222e}{\Huge{\mathbf{−}}}$​42 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1

What Changed

  • Every ACP initialize Orca sends to agy now carries the same clientInfo, the fallback identity agy connections already used. Before, the identity depended on the agy version.
  • That covers chats on agy's own home and on Orca-owned homes, model-listing sessions, text tasks (chat naming), conversation copy, and two paths that sent no clientInfo at all before: at-rest slash-command discovery and the host readiness initialize probe (antigravity-host-acp.ts).
  • The version switch (agyClientInfo) is gone. AcpLaunchSpec.clientInfo is now a plain Implementation rather than a function of the agy version, and acpClientInfo(spec, fallback?) drops its version argument.
  • At-rest command discovery now passes acpClientInfo(spec) like the other listing paths, so other ACP agents get Orca's identity there too, the same one their chats and model listings already send.

Why

One constant is simpler than a version switch, keeps every agy connection consistent, and closes the two paths that sent no identity at all.

Linked Issue

None.

Visual Proof

N/A. Nothing in the UI changes. Only the identity in the ACP handshake to agy is different.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

pnpm check:changed passes (typecheck, lint, the tests that import these files). Review used a wire-level script that ran acpClientInfo for all three agy homes (agy's own, the Orca chat home and the legacy Orca home), the naming fallback and the readiness probe constant. All of them resolved to the fixed identity, and the other 18 ACP agents kept their Orca and naming identities. No test pinned the old version switch, and none was added: the change is a constant, and the AGENTS.md test rules don't call for pinning one. Tested on macOS only, without launching agy.

Performance

None, because this only changes a constant in a handshake message that was already being sent.

Risk

The risky part is agy treating clients differently by identity. Before 1.5.1 that decided which models agy offered; since 1.5.1 every client gets every model. If a future agy build gated something on a client name, chats could be affected. Other agents only change during at-rest command discovery, where they now send Orca's identity instead of none, the same one their chats already send. Remote hosts pick this up when their orcad updates, and older paired phones are unaffected because the handshake runs on the host. Back out with a plain revert.

Level: Low

Review

One round: Codex review and a Claude reviewer. Neither found a P0, P1 or P2. Both checked that every agy initialize path now sends the same identity. One P3 comment wording fix was applied.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Security: no new inputs. Cross-platform: platform-neutral. Remote SSH: the change runs wherever orcad runs. Mobile: no phone change. Backwards compatibility: no saved data or wire contract between Orca processes changes.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

ACP launch specifications now store client information as a value rather than a version-dependent function. ACP connection setup uses that value through the updated helper and connection options. The Antigravity launch specification now uses a fixed client identity, which its runtime probe also supplies when creating a connection.

Merge Risk: Minimal · up to cc0a4

Orca now sends one fixed client identity to Antigravity on every connection instead of choosing by version. No concrete defect or performance regression was found, so merge risk is minimal. Behavior against a live agy was not tested.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description follows the template sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist).… Confirm the linked issue. The template says outside contributors must link an actual issue, and the description says 'None'. Fill in the AI Disclosure section, or state that the author is a StablyAI team member. Clarify whether the unchecke…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names the main change: Orca now sends one fixed client identity on every agy (Antigravity) connection. The summary and objectives confirm that the change removes the version-based identity s…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: Orca now sends one fixed client identity on every agy (Antigravity) connection. The summary and objectives confirm that the change removes the version-based identity switch and applies a fixed identity across agy paths. The title is specific, short, and in the expected conventional-commit form.

Full details: Description check

Explanation

The description follows the template sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist). It explains the before and after, the mechanism, the rationale, and the risk with a revert path. Visual Proof is marked N/A with a reason. The Linked Issue section says 'None', which the template says must be an actual issue for outside contributors, so this needs confirmation. The Risk level is set. The Performance line is complete. The AI Disclosure section is blank, and the template says to fill it in unless the author is a StablyAI team member. The 'Every added test fails without this change' box is unchecked with no test added, and the description explains why, but the template asks for tests or an explanation below. The Testing section also says the change was tested on macOS only and without launching agy.

Resolution

Confirm the linked issue. The template says outside contributors must link an actual issue, and the description says 'None'. Fill in the AI Disclosure section, or state that the author is a StablyAI team member. Clarify whether the unchecked 'Every added test fails without this change' item applies, since no test was added. The explanation given in the Testing section may cover this, but state it directly. Also consider stating whether the wire-level verification script or its results should be linked or attached for reviewers.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8bc28e8f-27a8-416d-9f44-e19db049a16a
Commits

Reviewing files that changed from the base of the PR and between 47d964c and cc0a4c6.

Files selected for processing: 2

  • src/main/acp/launch/acp-launch-contract.ts
  • src/main/antigravity/antigravity-acp-runtime-probe.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@AmoabaKelvin AmoabaKelvin changed the title fix(antigravity): identify to agy as Zed on every connection fix(antigravity): send one fixed client identity on every agy connection Nov 26, 2026
Chats, model and command listings, text tasks, conversation copy and the
host readiness check now all send the same ACP client identity to agy,
instead of switching identity by agy version.
@AmoabaKelvin
AmoabaKelvin force-pushed the fix/antigravity-zed-client-name branch from 47d964c to cc0a4c6 Compare November 26, 2026 21:20
@AmoabaKelvin
AmoabaKelvin merged commit fa46d92 into main Nov 26, 2026
55 checks passed
pythonberg1997 added a commit to pythonberg1997/orca that referenced this pull request Nov 28, 2026
Reconcile the non-linear upstream v1.4.280 release tree directly from v1.4.280 so release-branch-only commits from v1.4.278/v1.4.279 do not carry over.

Resolve conflicts in antigravity-dialect.ts (combine antigravityNotification with stablyai#50190 quota notices), acp-structured-lane.ts (keep AcpLaneTurnWatchers with observer under max-lines), acp-structured-acquire.ts (pass acquire: run to initializeAndObserveAcpSession), antigravity-acp-launch-spec.ts (keep stablyai#50108 fixed clientInfo and stablyai#50262 listsCommandsInChatFolder), and foreign-sqlite-reader-client.ts (keep 30s binder idle teardown alongside antigravitySummaries).

Wrap top-level Zod schemas in antigravity-background-tasks.ts and antigravity-subagents.ts with lazyZodSchema for upstream's new zod-prefer-lazy-ratchet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant