Skip to content

agy (antigravity-native) headless sub-agents hang indefinitely on native permission prompts (#79) - #87

Open
jan21deepak wants to merge 1 commit into
mainfrom
cursor/antigravity-native-headless-permissions-36f8
Open

agy (antigravity-native) headless sub-agents hang indefinitely on native permission prompts (#79)#87
jan21deepak wants to merge 1 commit into
mainfrom
cursor/antigravity-native-headless-permissions-36f8

Conversation

@jan21deepak

@jan21deepak jan21deepak commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Opened automatically by Cursor Forge as a same-repo PR on jan21deepak/omnigent
after the Cloud Agent pushed cursor/antigravity-native-headless-permissions-36f8 (not against an upstream parent).

Fixes #79.

Cursor agent: bc-ceb9ca01-7645-40c6-84fb-c61a042236f8


Note

Medium Risk
Defaults to full permission bypass for antigravity-native headless workers (same pattern as codex/cursor), though scoped to sub-agent CLI launch args with an explicit opt-out.

Overview
Fixes #79: headless antigravity-native sub-agents no longer stall on agy’s request-review permission prompts.

_derive_terminal_launch_args_from_spec now treats antigravity-native like other headless native workers: by default it sets terminal_launch_args to ["--dangerously-skip-permissions"], with executor.config.yolo: false as the opt-out (no launch args). Session common code wires _ANTIGRAVITY_NATIVE_HARNESS from ANTIGRAVITY_NATIVE_CODING_AGENT; docs and unit tests cover default, explicit yolo, and opt-out.

Reviewed by Cursor Bugbot for commit 023f979. Bugbot is set up for automated code reviews on this repo. Configure here.

…adless sub-agents

Headless agy workers dispatched by orchestrators stall on agy's native
request-review permission prompt because _derive_terminal_launch_args_from_spec
only auto-approves claude-native, codex-native, and cursor-native.

Default antigravity-native sub-agents to --dangerously-skip-permissions,
matching codex/cursor headless bypass semantics, with yolo: false as opt-out.

Fixes #79

Co-authored-by: jan21deepak <jan21deepak@users.noreply.github.com>
@jan21deepak

Copy link
Copy Markdown
Owner Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 023f979. Configure here.

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.

agy (antigravity-native) headless sub-agents hang indefinitely on native permission prompts

2 participants