From 62453330f56dbfb65711692097189e13c528d522 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Wed, 11 Feb 2026 08:44:34 -0800 Subject: [PATCH] build: add workspace rule for antigravity Antigravity does not support AGENTS.md, instead it has "workspace rules" (antigravity.google/docs/rules-workflows). This commit adds a symlink for the workspace rule. --- .agent/rules/agents.md | 1 + .prettierignore | 5 ++++- AGENTS.md | 7 +++++-- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 120000 .agent/rules/agents.md diff --git a/.agent/rules/agents.md b/.agent/rules/agents.md new file mode 120000 index 00000000000..b7e6491d3a0 --- /dev/null +++ b/.agent/rules/agents.md @@ -0,0 +1 @@ +../../AGENTS.md \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 59c299e93e7..707f4803686 100644 --- a/.prettierignore +++ b/.prettierignore @@ -35,5 +35,8 @@ adev/src/content/aria/**/*.json adev/src/content/cli/**/*.json adev/src/content/cdk/**/*.json +# Antigravity rules +.agent/rules/agents.md + CHANGELOG.md -CHANGELOG_ARCHIVE.md \ No newline at end of file +CHANGELOG_ARCHIVE.md diff --git a/AGENTS.md b/AGENTS.md index e765ffac175..bec26bc0cdb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,9 +1,13 @@ +--- +trigger: always_on +--- + This is the source code for the Angular framework. This guide outlines standard practices for AI agents working in this repository. ## Environment - Use `pnpm` for package management. -- Use `pnpm bazel test //target` to run tests. Do not use `ng test`, or just `bazel` +- Use `pnpm bazel test //target` to run tests. ## Key Documentation @@ -14,4 +18,3 @@ This is the source code for the Angular framework. This guide outlines standard ## Pull Requests - Use the `gh` CLI (GitHub CLI) for creating and managing pull requests. -- Avoid using browser tools for PR operations when possible to maintain workflow efficiency.