PR Readiness
Use this page after implementation and local verification, before opening a PR.
Expected Path
Section titled “Expected Path”- Confirm the branch follows Branching And Initiative Work.
- Confirm the branch is based on
devunless the task explicitly targeted another base. - Run
git status --shortand account for every changed or untracked file. - Run
git log --oneline dev..HEADandgit diff --name-status dev...HEAD. - Run
git diff --checkand fix whitespace or conflict-marker issues. - Rerun the most relevant app-local verification after hooks or formatters modify files.
- Draft the PR body from
.github/pull_request_template.md.
Post-PR Codex Review
Section titled “Post-PR Codex Review”After opening the PR, request Codex review with @codex review unless automatic Codex review is enabled for the repo.
Use focused prompts for high-risk areas when the branch touches security, privacy, auth, customer-cluster deployment, data persistence, shared contracts, or behavior that could lose data. Example:
@codex review for security regressions, missing tests, customer-cluster boundary issues, and risky behavior changes.Treat Codex comments as required review feedback:
- Fix valid findings.
- If a finding is not applicable, reply with concrete technical reasoning and evidence.
- Do not leave Codex comments unresolved, hidden, collapsed, or silently ignored.
- Do not merge while any P0/P1 Codex issue remains unaddressed.
If Codex suggests a fix, a human may use @codex fix .... Any resulting changes still require normal local verification and this PR readiness check again.
The final PR handoff should say whether Codex review was run, automatic, blocked, or still pending.
What To Call Out
Section titled “What To Call Out”- Docs-only branches can skip
bun run test:localwhen the app-local type/build checks passed and no runtime behavior changed. - Connector lifecycle, auth, CMS boundary, customer-cluster, chat orchestration, eval, or model-policy changes need explicit verification notes.
- Visual/browser checks should be mentioned when UI behavior changed; if they were not run, say which flow remains unchecked and why.
Canonical Sources
Section titled “Canonical Sources”.github/pull_request_template.mdapps/support-dev/src/content/docs/workflows/branching-and-initiative-work.md.agents/skills/pre-pr-readiness/SKILL.md.agents/skills/verification-before-completion/SKILL.md