Commit and open a change request (pull or merge request) via the project's VCS once the review verdict is ship.
The ship verdict from 04 including its reviewed HEAD SHA, the plan path from 02, and the phase results from 03 that drive the commit and the change-request body.
The commit SHA and the change-request URL on the project's VCS host.
- Gate. Confirm
04returned ashipverdict and HEAD is on a non-default branch. Without ashipverdict, or oniterate, stop and re-run04(looping to03oniterate). On the default branch, stop withcontract_violation: on_default_branchand commit nothing. - Freshness. Confirm no code landed after the reviewed SHA:
git diff --name-only <reviewed-sha> HEADmust list only plan-tracking files. Any source change means the review is stale, so stop and re-run04. Never ship unreviewed code. - Commit. Invoke a commit capability, discovered at runtime, with the plan's objective. It picks the message format; never dictate one here.
- Open. Invoke a change-request capability, discovered at runtime, to push the branch and open the request. Reference the plan path in the body.
- Return. Surface the commit SHA and the change-request URL.
git diff --name-only <reviewed-sha> HEADlists only plan-tracking files: no source change shipped unreviewed.- The commit SHA exists in
git logof the working branch. - The change-request URL is non-empty and points to the project's VCS host.
- The change-request body references the plan path.
- On the default branch, the action stops with
contract_violation: on_default_branchand makes no commit.