diff --git a/AGENTS.md b/AGENTS.md index 7a8d1dc12..5e5f0c00b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,14 @@ This repository is a monorepo. Each library lives in a subdirectory under `libs/`. + + +## Corridor security analysis + +When Corridor's `analyzePlan` tool is available, create a plan and use the tool to analyze it before generating or modifying code. Apply the resulting security guidance before writing code. + + + When you modify code in any library, run the following commands in that library's directory before creating a pull request: - `make format` – run code formatters diff --git a/CLAUDE.md b/CLAUDE.md index cc4ee1a9a..e86d91eaf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,14 @@ This repository is a monorepo. Each library lives in a subdirectory under `libs/`. + + +## Corridor security analysis + +Before generating or modifying code, create a plan and use Corridor's `analyzePlan` tool to analyze it. Apply the resulting security guidance before writing code. + + + When you modify code in any library, run the following commands in that library's directory before creating a pull request: - `make format` – run code formatters