From e5797bff8f632130b32f72c89ac8d43a131cee01 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Tue, 30 Dec 2025 19:56:31 +0800 Subject: [PATCH] feat(docs): add guidelines for Git operations to ensure parallel task safety --- .codex/AGENTS.md | 6 ++++++ 1 file changed, 6 insertions(+) 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