Skip to content

Make review the canonical PR command surface#333

Merged
barrettruth merged 2 commits intomainfrom
feat/review-command-surface
Apr 19, 2026
Merged

Make review the canonical PR command surface#333
barrettruth merged 2 commits intomainfrom
feat/review-command-surface

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

Forge's PR Ex surface repeated the same intent through multiple concrete verbs. :Forge pr checkout, :Forge pr worktree, and :Forge pr browse all exposed adapter mechanics directly, even though the plugin's user-facing concept is reviewing a PR.

Solution

Introduce a review adapter layer and make :Forge review {num} the canonical PR command entrypoint. This keeps checkout, worktree, and browser behavior behind adapter dispatch, removes the redundant PR Ex verbs and wrapper ops, updates picker/config/API surfaces to match, and refreshes the specs and vimdoc around the new model. Verification ran with nix develop .#ci --command busted and nix develop .#ci --command vimdoc-language-server check doc/.

Unify PR entrypoints around adapter-backed review so checkout, worktree, and browse stop duplicating the Ex command surface.

This keeps integrations behind the review abstraction while preserving picker behavior, adapter extensibility, and the existing verification coverage.
@barrettruth barrettruth merged commit 24fe8e2 into main Apr 19, 2026
1 check passed
@barrettruth barrettruth deleted the feat/review-command-surface branch April 19, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant