diff --git a/.semgrepignore b/.semgrepignore index d49b1f276c34..95b2b680987d 100644 --- a/.semgrepignore +++ b/.semgrepignore @@ -93,3 +93,12 @@ scripts/run-tests* scripts/lib/test-* scripts/lib/extension-test-* scripts/lib/vitest-* + +# ---------------------------------------------------------------------------- +# Sibling symlinks for scoped guides +# ---------------------------------------------------------------------------- +# Every `AGENTS.md` has a sibling `CLAUDE.md` symlink pointing at it (see +# root AGENTS.md: "New AGENTS.md: add sibling CLAUDE.md symlink"). Scanning +# the symlinks is redundant with scanning the underlying AGENTS.md and +# breaks opengrep's PR-diff scan when a new CLAUDE.md symlink is added. +CLAUDE.md diff --git a/src/infra/outbound/CLAUDE.md b/src/infra/outbound/CLAUDE.md new file mode 120000 index 000000000000..47dc3e3d863c --- /dev/null +++ b/src/infra/outbound/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file