fix(forge): pr create allows edits from maintainers, as Longshot's did #2

Open
HumanBean wants to merge 1 commit from HumanBean/Tooling:fix/maintainer-edits into main
Owner

Longshot#905 (pr create lets maintainers push fixes to the branch) merged into Longshot's forge.py while Tooling#1 was moving it here, so Tooling's copy doesn't have it yet, and Longshot#915 replaces Longshot's copy with a forwarder to this one.

What changed

pr create always edits the new PR once with allow_maintainer_edit (with the filled-in description when it changed), as Longshot's does on main: the same two lines.

Testing

Ported line for line from Longshot main (237a94b8); tests/test_forge_pr.py already expects the edit after create. No tests run on this PC.

🤖 Generated with Claude Code

[Longshot#905](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/905) (pr create lets maintainers push fixes to the branch) merged into Longshot's `forge.py` while [Tooling#1](https://git.magicbean.dev/MagicBeanDev/Tooling/pulls/1) was moving it here, so Tooling's copy doesn't have it yet, and [Longshot#915](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/915) replaces Longshot's copy with a forwarder to this one. ## What changed `pr create` always edits the new PR once with `allow_maintainer_edit` (with the filled-in description when it changed), as Longshot's does on main: the same two lines. ## Testing Ported line for line from Longshot main (237a94b8); `tests/test_forge_pr.py` already expects the edit after create. No tests run on this PC. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Longshot#905 merged into Longshot's forge.py after the move; this is
the same change in Tooling's copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/maintainer-edits:HumanBean-fix/maintainer-edits'
git switch 'HumanBean-fix/maintainer-edits'
Sign in to join this conversation.
No reviewers
No labels
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Tooling!2
No description provided.