Skip to content

Commit 8906140

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
docs(pi): clarify closed PR behavior
1 parent 4a701c4 commit 8906140

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/docs/content/docs/en/workflows/blocks

apps/docs/content/docs/en/workflows/blocks/pi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Update PR uses the same disposable authoring sandbox and host-controlled PR oper
6060
- Requires sandbox execution and **your own provider API key (BYOK)**.
6161
- Needs the same **GitHub token permissions as Create PR**: permission to clone, push, and create or update a pull request.
6262
- Never creates, rebases, merges, or force-pushes the branch. If another commit reaches the branch while Pi is working, the push fails rather than overwriting it.
63-
- Finds the exact open same-repository PR whose head is the target branch. One match is updated; no match is created after authoring; multiple matches fail as ambiguous. Fork, closed, moved, or mismatched PRs fail closed.
63+
- Finds the exact open same-repository PR whose head is the target branch. One match is updated; no open match—including when an earlier PR was closed—creates a new PR after authoring; multiple open matches fail as ambiguous. A discovered PR that closes, moves, or no longer matches during validation aborts safely.
6464
- When explicitly set, **Base Branch**, **PR Title**, **PR Body**, and **PR State** update the existing PR. Blank metadata preserves it. A newly created PR uses generated metadata and the repository default base when those fields are blank.
6565
- A no-change authoring pass still creates or updates the PR. A rejected initial push stops the run before any PR mutation or Babysit continuation.
6666
- The deliverable is the updated branch and its PR — read `prUrl`, `branch`, `changedFiles`, and `diff`.

0 commit comments

Comments
 (0)