From 875d6a26913663b185cede33bd2ebc05ffaafd04 Mon Sep 17 00:00:00 2001 From: pap Date: Tue, 29 Jul 2025 22:02:52 +0100 Subject: [PATCH] agents.md are actually found recursively --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 4b5e6faf74..cfb378179c 100644 --- a/README.md +++ b/README.md @@ -253,11 +253,7 @@ Key flags: `--model/-m`, `--ask-for-approval/-a`. ## Memory & project docs -You can give Codex extra instructions and guidance using `AGENTS.md` files. Codex looks for `AGENTS.md` files in the following order and uses the first one: - -1. `AGENTS.md` in the current working directory -2. `AGENTS.md` at repo root - +You can provide Codex with additional instructions by adding an `AGENTS.md` file. Codex first checks your current working directory, and if no file is found, it searches upward through parent directories until it reaches the root of your Git repository. ---