From 3599b3f4f5992085b757c864991d38a0fadb0c4a Mon Sep 17 00:00:00 2001 From: Erica Pisani Date: Wed, 18 Feb 2026 13:55:38 -0500 Subject: [PATCH 1/3] chore(ai): Add configuration for dotagents Add initial `agents.toml` and `agents.lock` files to support `warden` setup across the team. While not strictly required, this configuration allows `warden` to discover and load skills from the `.agents` folder, making initial setup easier for developers. --- .gitignore | 1 + agents.lock | 17 +++++++++++++++++ agents.toml | 14 ++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 agents.lock create mode 100644 agents.toml diff --git a/.gitignore b/.gitignore index 4e35d43fb5..30f1b973c5 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ pip-wheel-metadata .claude/ .serena .tool-versions +.agents # for running AWS Lambda tests using AWS SAM sam.template.yaml diff --git a/agents.lock b/agents.lock new file mode 100644 index 0000000000..bd4370de54 --- /dev/null +++ b/agents.lock @@ -0,0 +1,17 @@ +# Auto-generated by dotagents. Do not edit. +version = 1 + +[skills.code-review] +source = "getsentry/skills" +resolved_url = "https://github.com/getsentry/skills.git" +resolved_path = ".agents/skills/code-review" +commit = "300f87e68926c4a89d664d730e87c2375ab6d215" +integrity = "sha256-EQagBxdNIvqA8Ugvd1fdagQTbR+TJLsV2W7D5jIHqzc=" + +[skills.find-bugs] +source = "getsentry/skills" +resolved_url = "https://github.com/getsentry/skills.git" +resolved_path = ".agents/skills/find-bugs" +commit = "300f87e68926c4a89d664d730e87c2375ab6d215" +integrity = "sha256-FWmCLdOj+x+XffiEg7Bx19drylVypeKz8me9OA757js=" + diff --git a/agents.toml b/agents.toml new file mode 100644 index 0000000000..7f09ec7883 --- /dev/null +++ b/agents.toml @@ -0,0 +1,14 @@ +version = 1 +# Managed skills are gitignored; collaborators must run 'dotagents install'. +gitignore = true + +[trust] +allow_all = true + +[[skills]] +name = "code-review" +source = "getsentry/skills" + +[[skills]] +name = "find-bugs" +source = "getsentry/skills" From a9af62e4b7dd0300a4ebd8b87c829ae4aa75b99a Mon Sep 17 00:00:00 2001 From: Erica Pisani Date: Wed, 18 Feb 2026 15:08:09 -0500 Subject: [PATCH 2/3] Add skill-scanner skill --- agents.lock | 7 +++++++ agents.toml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/agents.lock b/agents.lock index bd4370de54..b672692713 100644 --- a/agents.lock +++ b/agents.lock @@ -15,3 +15,10 @@ resolved_path = ".agents/skills/find-bugs" commit = "300f87e68926c4a89d664d730e87c2375ab6d215" integrity = "sha256-FWmCLdOj+x+XffiEg7Bx19drylVypeKz8me9OA757js=" +[skills.skill-scanner] +source = "getsentry/skills" +resolved_url = "https://github.com/getsentry/skills.git" +resolved_path = ".agents/skills/skill-scanner" +commit = "300f87e68926c4a89d664d730e87c2375ab6d215" +integrity = "sha256-GNsYjlwxSCozFOMv1K2hMfXOy4PynX/KSN0vP9WSnhU=" + diff --git a/agents.toml b/agents.toml index 7f09ec7883..6043f4ecbc 100644 --- a/agents.toml +++ b/agents.toml @@ -12,3 +12,7 @@ source = "getsentry/skills" [[skills]] name = "find-bugs" source = "getsentry/skills" + +[[skills]] +name = "skill-scanner" +source = "getsentry/skills" From 66b509ab32d894c231381b747e411a90ec7f9ebc Mon Sep 17 00:00:00 2001 From: Erica Pisani Date: Thu, 19 Feb 2026 08:52:18 -0500 Subject: [PATCH 3/3] chore(warden): add warden.toml to project (#5481) Initial configuration for [warden](https://github.com/getsentry/warden). Builds on #5480 as this configuration assumes these skills are available. --- warden.toml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 warden.toml diff --git a/warden.toml b/warden.toml new file mode 100644 index 0000000000..4fddf0de92 --- /dev/null +++ b/warden.toml @@ -0,0 +1,52 @@ +# Warden Configuration +# https://github.com/getsentry/warden +# +# Warden reviews code using AI-powered skills triggered by GitHub events. +# Skills live in .agents/skills/ or .claude/skills/ +# +# Add skills with: warden add + +version = 1 + +# Default settings inherited by all skills +[defaults] +# Severity levels: critical, high, medium, low, info +# failOn: minimum severity that fails the check +failOn = "high" +# reportOn: minimum severity that creates PR annotations +reportOn = "medium" + +# Skills define what to analyze and when to run +# Add skills with: warden add +# +# Example skill with path filters and triggers: +# +# [[skills]] +# name = "security-review" +# paths = ["src/**/*.ts", "src/**/*.tsx"] +# ignorePaths = ["**/*.test.ts", "**/__fixtures__/**"] +# +# [[skills.triggers]] +# type = "pull_request" +# actions = ["opened", "synchronize", "reopened"] + +[[skills]] +name = "code-review" + +[[skills.triggers]] +type = "pull_request" +actions = ["opened", "synchronize", "reopened"] + +[[skills]] +name = "find-bugs" + +[[skills.triggers]] +type = "pull_request" +actions = ["opened", "synchronize", "reopened"] + +[[skills]] +name = "skill-scanner" + +[[skills.triggers]] +type = "pull_request" +actions = ["opened", "synchronize", "reopened"]