Repository navigation
fix(antigravity): keep navigation Escape from marking work interrupted - #21636
Conversation
|
Independent verification update:
Scoped verdict: Approve after CI for preventing Antigravity navigation Escape from being treated as interruption. The PR’s hidden agy |
|
Independent verification (2026-09-20):
Verdict: approve after CI for the navigation Escape policy. Authenticated working-turn status and live Linux/SSH/Windows execution remain separate gaps. No merge performed. |
|
Fresh live TUI probe with installed agy (macOS, API-key process environment):
This directly verifies the behavior behind #20828/#21636 on the installed CLI. It is still local macOS PTY evidence, not a Linux or Windows Orca-rendered run. |
|
Fresh CI rerun: green. ELI5: pressing Escape to navigate no longer tells Orca that agy work was interrupted. Tests and CI are green; merge verdict: approve. |
|

ELI5
Closing Antigravity's usage panel does not mean its work stopped. Orca was treating the Escape key as a cancellation and briefly showing “Interrupted by user.” It now waits for stronger evidence instead of guessing from that key.
What Changed
Antigravity joins the existing shared policy for agents whose Escape key also closes dialogs. The renderer skips the interruption request, and the execution host rejects direct or delayed Escape requests too. Ctrl+C and provider completion events retain their existing behavior. This covers local and remote status processing without a wire change or another status store.
Why
The installed agy 1.2.7 TUI labels Escape as “Close” in
/usage; pressing it returns to the composer. The key alone cannot distinguish navigation from cancellation. Reusing the existing policy avoids fragile screen-text matching and keeps the host authoritative.Linked Issue
Addresses #20828. Stacked on #21635; only the Escape policy and regressions are new here. Kept draft pending a real authenticated working-turn check.
Visual Proof
Installed agy in a hidden Orca terminal, before and after pressing Escape:
These screenshots verify agy's navigation behavior, not the corrected sidebar during a successful running turn. That turn is blocked by generation HTTP 401
ACCESS_TOKEN_TYPE_UNSUPPORTED. The CLI remained usable for/usage; no authentication changes were made. A separate raw 127×40 PTY capture also records/usage,esc Close, and return to the composer.Testing
macOS: four new regressions fail before the policy change; all 63 renderer/host tests pass afterward. Coverage includes single/repeated Escape, a later Stop event, Ctrl+C, and retaining a pending Ctrl+C when Escape follows it. Host tests inject Antigravity hook events, including through the remote-ingestion path; they do not claim a live remote agent run.
Full
pnpm tc, changed-code quality, and pre-commit checks pass. Full app build, real Linux/SSH/Windows execution, and a rendered working-turn before/after remain pending.Review
A genuine cancellation using Escape now relies on provider completion/status evidence rather than the key alone; if the provider misses that evidence, the row can remain working until another authoritative update. This is the same tradeoff used for the other agents with ambiguous Escape navigation. No permissions, shortcut bindings, layouts, or wire fields change.
Agent skill upstream boundary
Checklist