Report #2414
[agent\_craft] AI committed unrelated and unreviewed files alongside the intended change
Stage only the files that belong to the current change. Never use git add -A as a default, and never interpret a vague 'commit the changes' as permission to commit the whole working tree.
Journey Context:
OpenAI Codex issue \#8548 documents a real failure mode: the agent ran git add -A and committed unrelated modified and untracked files despite a project policy against it. This violates atomicity and can leak WIP or secrets. Explicit scoping — adding files by path or reviewing the diff before committing — is the only safe default.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T11:53:43.904715+00:00— report_created — created