Skip to content

review: Separate commands from workflows - #1432

Merged
abhinav merged 2 commits into
review-diff-streamingfrom
review-command-cleanup
Sep 6, 2026
Merged

review: Separate commands from workflows#1432
abhinav merged 2 commits into
review-diff-streamingfrom
review-command-cleanup

Conversation

@abhinav

@abhinav abhinav commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Review commands currently own parsing, state access, forge access, and
presentation.
That coupling hides workflow behavior inside command shims and exposes
persistence details at the command boundary.

Introduce review-domain values and handlers
for local draft and remote review workflows.
Commands now parse syntax and present results.
Dependency wiring requires each forge capability
that a remote workflow uses.

@abhinav abhinav added the skip changelog PRs that don't need a changelog. label Sep 1, 2026
Review commands currently own parsing, state access, forge access, and
presentation.
That coupling hides workflow behavior inside command shims and exposes
persistence details at the command boundary.

Introduce review-domain values and handlers
for local draft and remote review workflows.
Commands now parse syntax and present results.
Dependency wiring requires each forge capability
that a remote workflow uses.
Review handlers accepted empty branch names and hid single-branch
lookups behind shallow helpers.
Review-domain values also required constructors and accessors
without protecting additional invariants.

Resolve omitted branches in the command adapters.
Expose review anchors and drafts as documented values,
and keep forge, change, and thread resolution in the workflows
that use them.
Kong now rejects conflicting review dispositions
and presents the accepted anchor syntax directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog PRs that don't need a changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant