--repo <owner/name>.
The command sends only the session id, the repository and the pull request number. Declaring the same pull request twice is a no-op.
Open the pull request too
outerlayer work open-pr --title <text> --body-file <path> opens the pull request and declares it in one step. If a pull request is already open on the branch, it edits that one instead. Run it again after you change the title or description.
- In a host build, the gateway opens it as the factory’s GitHub App.
- In your own session, it runs
ghunder your login and then declares the result.
work open-pr.
When it refuses
Name the session yourself
When the CLI cannot detect the session, for example from another shell, pass its id. For Claude Code, it is the idclaude --resume takes. The session must still be on a work item.