Skip to content

0006: Open a pull request only after PR Prep ​

Status: accepted

Date: 2026-12-04

PR: #2

Context ​

Claude Code can open a pull request at any time. A pull request opened before PR Prep can hold commits that are not atomic or that do not say why. Claude Code also adds its own attribution to commits and pull requests.

Options considered ​

  • Nobody weighed another option when the repository made this rule.

Decision ​

A hook in .claude/settings.json blocks pull request creation until PR Prep marks the branch as prepared. The commit and pull request attribution of Claude Code is empty. The PR summary workflow writes each description from the commit messages, so nothing else adds to a commit message or a description.

Consequences ​

No pull request opens until its commits are atomic and say why. Commit messages and descriptions hold only what PR Prep and the workflow write.

Code ​