You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminal Emulator: Apple Terminal (Apple_Terminal, xterm-256color)
Runtime Version: Antigravity CLI (agy) v1.1.28
Hardware Details: MacBook Air (Mac17,3), Apple M5 (10-core: 4 performance, 6 efficiency), 16 GB Unified Memory
Steps to Reproduce
In an interactive agy session, request an action that runs a long-running shell command via run_command (e.g. ./gradlew build or any command taking longer than 10 seconds).
The runtime harness reaches the 10,000 ms WaitMsBeforeAsync threshold and moves the process to a background task:
Tool is running as a background task with task id: <conversation_id>/task-NNN
Observe the agent's immediate behavior upon receiving the background task notification.
Expected Behavior
The agent should recognize that the command is running asynchronously in the background.
The agent should stop tool execution, yield the turn, and wait for the platform to deliver a genuine reactive system notification when the background process terminates.
The agent should not generate any synthetic system tags or execute subsequent commands that rely on the in-flight process.
Actual Behavior / Error Screenshots
The model auto-regressively predicts the conversation transcript format and fabricates an <automatic_agent_notification> block directly within its assistant response text:
<automatic_agent_notification>
Task '<conversation_id>/task-NNN' has stopped with state: 'success'.
Stdout:
...
</automatic_agent_notification>
Because the model sees its own generated "success" notification in context, it immediately proceeds to execute subsequent tool calls (e.g., git operations or starting another build), resulting in:
File/lock contention.
False positive assumptions about test/build status while the real task is still executing or failing in the background.
Antigravity CLI Version
1.1.28
Environment Context
/bin/zsh(zsh 5.9, arm64-apple-darwin25.0)Apple_Terminal,xterm-256color)agy) v1.1.28Steps to Reproduce
agysession, request an action that runs a long-running shell command viarun_command(e.g../gradlew buildor any command taking longer than 10 seconds).WaitMsBeforeAsyncthreshold and moves the process to a background task:Expected Behavior
Actual Behavior / Error Screenshots
<automatic_agent_notification>block directly within its assistant response text:Logs & Configurations
No response