[llvm] [llvm][nfc] Ignore OpenAI Codex artifacts (PR #162481)

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 06:22:11 PDT 2025


https://github.com/c-rhodes created https://github.com/llvm/llvm-project/pull/162481

Follow-up to #153853 to also ignore Codex artifacts [1]. AGENTS.md may be at the root or in sub-directories, so unlike other Markdown config files I've not prefixed it with '/'.

[1] https://github.com/openai/codex/blob/main/docs/getting-started.md#memory-with-agentsmd

>From 8478116992e06e31a39f8b9053586951c693ca52 Mon Sep 17 00:00:00 2001
From: Cullen Rhodes <cullen.rhodes at arm.com>
Date: Wed, 8 Oct 2025 13:13:28 +0000
Subject: [PATCH] [llvm][nfc] Ignore OpenAI Codex artifacts

Follow-up to #153853 to also ignore Codex artifacts [1]. AGENTS.md may
be at the root or in sub-directories, so unlike other Markdown config
files I've not prefixed it with '/' to support this.

[1] https://github.com/openai/codex/blob/main/docs/getting-started.md#memory-with-agentsmd
---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 860b8ea12abd4..b0a167345fb9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,6 +57,8 @@ autoconf/autom4te.cache
 /.claude/
 /GEMINI.md
 /.gemini/
+AGENTS.md
+/.codex/
 
 #==============================================================================#
 # Directories to ignore (do not add trailing '/'s, they skip symlinks).



More information about the llvm-commits mailing list