Codex macOS app runs git add on entire home directory, 100% CPU

Open 💬 2 comments Opened Apr 28, 2026 by iamtoruk

Codex.app (macOS) spawns git add processes that attempt to index the entire home directory, including .claude/, Chrome cache files, and other unrelated data. The git process consistently hits 98-100% CPU and respawns after being killed.

Process trace:

Parent: /Applications/Codex.app/Contents/MacOS/Codex (PID 64263)
Child:  git add -- .claude/skills/ .chrome_profile_instance_1/Default/Cache/ ...
CPU:    98.7%

Expected: Codex should only track files within the active project directory.
Actual: Codex runs git add across ~/, indexing Chrome cache, Claude config, telemetry files, and other unrelated directories.

macOS, April 2026.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗