pr create now refuses (exit 2) to open a pull from the branch it targets unless --fork publishes to another repo, and base refs are named in full (refs/remotes/<remote>/<branch>) so a local branch or tag called origin/main can no longer stand in for the remote's. A config lock keyed by target repo, source repo and branch serializes concurrent creates, so two runs from one branch can no longer open two pulls.
Rerunning pr create after an interrupted attempt now resumes the versionless ticket properly: the new body, labels and assignees are edited onto it, the images are uploaded and reported, the command says it is resuming, and the dry run says "would resume #N". Commit-body trailer stripping removes only the lines git interpret-trailers --parse reports, keeping prose and closing references such as Fixes: #12 in the pull description.
Five new integration tests and one unit test cover each finding. cargo test --no-fail-fast passes 1462 tests (4 ignored), and clippy and prek are clean.
🤖 Generated with Claude Code