Bug Description
When attempting to create a new Rule or Workflow through the “Agent Customizations” UI in the IDE, a connection error occurs, blocking the creation. Additionally, the interface fails to detect or list the existing files located in the project’s .agent/rules and .agent/workflows directories.
This behavior occurs both when running the environment directly on the host system (Ubuntu) and when running inside a development container (e.g., Devcontainers / Laravel Sail).
Version Regression Info
-
Last Known Good (Stable) Version:
antigravity/antigravity-debian 1.19.6-1772152296 amd64(The Customizations UI works perfectly here). -
First Bad Version:
antigravity/antigravity-debian 1.20.3-1772763544 amd64(This issue was introduced here, alongside an SSH connection bug that was already fixed in later versions). -
Current Installed Version:
antigravity/antigravity-debian 1.20.5-1772853402 amd64(The Workspace detection issue is still present).
Environment
-
Operating System: Ubuntu (Local Host) and reproducible in Linux containers (Devcontainer/Sail).
-
Project Directory: (e.g.,
/var/www/htmlin the container, or local path in Ubuntu). -
Current Agent Structure: The
.agent/folder exists in the project root containing therulesandworkflowssubdirectories.
Steps to Reproduce
Issue 1: Failure to create from the Customizations UI
-
Open the Agent Customizations panel (Agent Settings).
-
Select either the Rules or Workflows tab.
-
Click on the + Workspace option.
-
Enter a name in the input field (e.g., “hello”) and press
Enter. -
Result: A toast notification error appears in the bottom left corner indicating a failure to create the file.
Issue 2: Existing files are not scanned or listed
-
Manually create the corresponding files in the project directory (e.g.,
.agent/rules/master-skills-routing.mdand a file in.agent/workflows/). -
Navigate back to the Agent Customizations panel.
-
Result: The list under the “Workflows” or “Rules” section appears completely empty, ignoring the files that already exist in the file system.
Actual Behavior
When attempting to perform write operations from the UI, the editor throws the following error messages (toast notifications):
-
Failed to create rule: ConnectError: [unknown] no workspaces f... -
Failed to create workflow: ConnectError: [unknown] no workspaces found
The agent’s graphical interface seems to lose the context of the root directory, making it unable to recognize it as a valid Workspace to read or write Customizations.
Expected Behavior
-
The “+ Workspace” button should successfully create the corresponding
.mdfile in the.agent/rulesor.agent/workflowsfolder of the currently open project. -
The “Agent Customizations” panel should automatically scan and display the list of rules and workflows that physically exist in the active project’s
.agent/folder.

