Skip to main content

Overview

Retract a commit you had previously announced with sync_commit. Watchers on other machines see the retraction and revert locally. Use when a just-pushed commit turns out to be broken in a way the gate didn’t catch.

Parameters

ParameterTypeRequiredDescription
sync_log_idstringYesRow id of the commit receipt to retract
retracted_by_log_idstringNoThe newer receipt that supersedes it (optional)

Example

{
  "tool": "sync_retract",
  "arguments": { "sync_log_id": "sl_7f3a" }
}