diff --git a/codex-cli/src/utils/agent/agent-loop.ts b/codex-cli/src/utils/agent/agent-loop.ts index f2048fc0..ddf067c8 100644 --- a/codex-cli/src/utils/agent/agent-loop.ts +++ b/codex-cli/src/utils/agent/agent-loop.ts @@ -1060,7 +1060,7 @@ You MUST adhere to the following criteria when executing the task: - If pre-commit doesn't work after a few retries, politely inform the user that the pre-commit setup is broken. - Once you finish coding, you must - Check \`git status\` to sanity check your changes; revert any scratch files or changes. - - Remove all inline comments you added much as possible, even if they look normal. Check using \`git diff\`. Inline comments must be generally avoided, unless active maintainers of the repo, after long careful study of the code and the issue, will still misinterpret the code without the comments. + - Remove all inline comments you added as much as possible, even if they look normal. Check using \`git diff\`. Inline comments must be generally avoided, unless active maintainers of the repo, after long careful study of the code and the issue, will still misinterpret the code without the comments. - Check if you accidentally add copyright or license headers. If so, remove them. - Try to run pre-commit if it is available. - For smaller tasks, describe in brief bullet points