codemerge_finish
Release the merge session lock and finalize the merge result. Call after a merge succeeds or fails; pass success=false to keep the session active for retry.
Instructions
Finish a merge session and release the lock.
Call this after codemerge_merge() returned proceed=true; the session must
be in 'merging' state or this refuses in BOTH directions of success.
Args:
session_id: The merge session ID
success: True if the merge succeeded (status→done). False if the git merge/cherry-pick failed (status→active): the lock is released and the session stays alive so it can try again. False does NOT close the session — use codemerge_abandon for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||