Record integration commit
record_commitRecord the integration commit where an accepted ChangeSet landed after a merge, marking it COMMITTED. Use after accepting and merging to link the verified work to its final Git history.
Instructions
Record where accepted work finally landed, after it has been merged through ordinary Git or a pull request. Use it last, after accept_changeset and the merge. The commit must contain the accepted commit in its history, otherwise the call fails with TARGET_DIVERGED. On success it stores integration_commit, moves the ChangeSet to COMMITTED, and returns the updated ChangeSet. accepted_commit is kept unchanged, so the record shows both what was verified and where it landed. Foremerge does not merge or push anything itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git_ref | Yes | The landed commit, as a SHA or ref such as main, resolved in the ChangeSet's worktree. | |
| changeset_id | Yes | An ACCEPTED ChangeSet (chg_...). |