Skip to main content

Overview

sync_commit notifies the auto-sync watcher that a new commit is available on the workstream branch. Other participants’ enagrams watch processes pick it up and pull. Prefer passing sync_log_id from a passing confirm_ready response — it links the gate receipt to the commit so the watcher only fans out gated changes.

Parameters

ParameterTypeRequiredDescription
commit_shastringYesGit commit sha
sync_log_idstringNoRow id from confirm_ready (preferred)
workstream_slugstringNo*Required when sync_log_id is absent
session_idstringNo*Required when sync_log_id is absent
filesstring[]NoFiles the commit touched
symbols_changedstring[]Nosymbol_graph_nodes.id values touched

Example

{
  "tool": "sync_commit",
  "arguments": {
    "sync_log_id": "sl_7f3a",
    "commit_sha": "9f3c1a2",
    "files": ["src/billing/stripe.ts"]
  }
}