What is the problem?
整理 AI 工具新手用 Codex 和 GitHub 提交代码时常见错误:直接推主分支、混入无关改动、没跑检查、提交敏感文件、PR 描述空泛,以及补救顺序。
Quick solution
Treat this as a Codex troubleshooting issue. First confirm the environment, inputs, permissions, logs, and delivery boundary. Then use the linked deep guide for the full checklist before changing production code or promising a result.
Read the deep guideDetailed steps
- 暂停继续推送、合并或部署。
- 查看 `git status`、`git log -1` 和最近 diff。
- 判断错误是否已经推到远端。
- 区分无关改动、敏感内容、未验证代码和错误提交信息。
- 对敏感内容,先记录范围并通知客户确认轮换。
- 对无关改动,拆出或恢复,重新提交最小范围。
Commands or code
错误类型:
发生位置:
是否推送远端:
影响范围:
已处理:
客户待确认:
下次新增检查项:Risk notes
Confirm the real project environment, account permissions, platform rules, and output quality before delivery. Do not ship AI-generated changes without human review, and do not claim indexing, income, deployment success, or ranking improvements without measured evidence.