From b877072300fee51d74fcb0ded2baf163207cd810 Mon Sep 17 00:00:00 2001 From: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> Date: Sun, 23 Aug 2026 21:23:14 -0700 Subject: [PATCH] docs: add Corridor agent instructions (#39839) Add a repository-wide `` block to `AGENTS.md` requiring agents to plan first and run Corridor `analyzePlan` before generating or modifying code. This mirrors langchain-ai/deepagents#5740. The tags are explicit and balanced so Corridor-specific guidance remains scoped. --- Validation: `git diff --check` and a tag-balance assertion. --------- Co-authored-by: langsmith-fleet[bot] --- AGENTS.md | 8 ++++++++ CLAUDE.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index a7078ddc55..588d5c5917 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,14 @@ This document provides context to understand the LangChain Python project and assist with development. + + +## 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. + + + ## Project architecture and context ### Monorepo structure diff --git a/CLAUDE.md b/CLAUDE.md index a7078ddc55..588d5c5917 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,14 @@ This document provides context to understand the LangChain Python project and assist with development. + + +## 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. + + + ## Project architecture and context ### Monorepo structure