plannotator review followed by the same URL. GitHub Enterprise hosts and GitLab instances on custom domains are supported when their URLs follow the provider’s standard pull-request or merge-request path.
Install and authenticate the provider CLI
Plannotator uses the provider’s command-line tool for authentication, metadata, and diff retrieval.
The authenticated account must be able to read the repository. Private repositories work when the corresponding CLI account has access.
Local checkout is the default
Plannotator first loads the provider diff so the browser can open promptly. In the background, it prepares a temporary local checkout for the pull request or merge request. If the current repository matches the URL’s host, owner, and repository, Plannotator fetches the review head into a detached Git worktree. For another repository, it creates a shallow temporary clone with the provider CLI. The temporary checkout is removed when the review session ends. The checkout enables features that need repository files:- Ask AI
- Background agent reviews, Code Tours, and Guided Reviews
- Code navigation and semantic diff
- Full-stack comparison for a stacked pull request or merge request
--no-local when you intentionally want a diff-only review:
--no-local skips the temporary checkout. You can still inspect and annotate the provider diff, but file-aware AI, agent reviews, code navigation, semantic diff, and full-stack comparison are unavailable. --local states the default behavior explicitly.
Choose where the review goes
The review destination appears in the browser. Choose one of these destinations before submitting:- Agent produces structured feedback for the coding-agent session that opened Plannotator. A direct terminal launch prints the same result. It does not post to GitHub or GitLab.
- GitHub or GitLab posts review comments or approval through the authenticated provider CLI. Plannotator reports the completed submission to the invoking agent or terminal.
GitHub and GitLab differences
Both providers support URL review, local checkout, annotations, review submission, and approval. Their platform APIs differ:- GitHub can synchronize each file’s viewed state with the pull request. GitLab viewed state stays local to Plannotator.
- GitHub supports listing and switching pull requests from the review UI. GitLab does not currently provide the equivalent in-session merge-request switcher.
- GitHub can show a pull-request stack tree. GitLab can identify a stacked merge request and offer Layer or Full stack when a local checkout is available, but it does not show the GitHub-style stack tree.
