diff --git a/.codex/AGENTS.md b/.codex/AGENTS.md index 93114f6d..7b0b2149 100644 --- a/.codex/AGENTS.md +++ b/.codex/AGENTS.md @@ -46,6 +46,12 @@ - Maintain established patterns - Test integration between subtasks +**Git Operations** (Parallel Task Safety): +- Only stage/commit files directly produced by current task +- Never touch unrelated changes or other task outputs +- Use `git add ` instead of `git add .` +- Verify staged files before commit to avoid cross-task conflicts + ## System Optimization