Skip to content

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

Description

@jan21deepak

Problem: named agy sub-agents (harness antigravity-native) dispatched headlessly by a parent orchestrator agent hang waiting on agy's own native request-review permission prompt for every tool call. Neither a human nor the parent orchestrator LLM can reliably resolve it in-band in an unattended run.

Root cause: _derive_terminal_launch_args_from_spec (omnigent/server/routes/_sessions/helpers.py) derives an auto-approve launch flag per harness from the agent spec for claude-native (--permission-mode auto), codex-native, and cursor-native (--yolo) — but falls through to None for antigravity-native, so headless agy workers always launch in agy's default prompt-every-tool mode. agy does support a real bypass flag, --dangerously-skip-permissions, it's just never derived/passed for this harness.

Fix: omnigent-ai#4482


Imported from the parent repository for autonomous engineering evaluation.

Source issue: omnigent-ai#4484

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions