Skip to content

Commit b877072

Browse files
docs: add Corridor agent instructions (#39839)
Add a repository-wide `<corridor>` 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] <langsmith-fleet[bot]@users.noreply.github.com>
1 parent 0884d2c commit b877072

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This document provides context to understand the LangChain Python project and assist with development.
44

5+
<corridor>
6+
7+
## Corridor security analysis
8+
9+
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.
10+
11+
</corridor>
12+
513
## Project architecture and context
614

715
### Monorepo structure

‎CLAUDE.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This document provides context to understand the LangChain Python project and assist with development.
44

5+
<corridor>
6+
7+
## Corridor security analysis
8+
9+
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.
10+
11+
</corridor>
12+
513
## Project architecture and context
614

715
### Monorepo structure

0 commit comments

Comments
 (0)