> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enagrams.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sync_commit

> Record that you pushed a commit to the workstream branch

## 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`](/mcp/confirm-ready) response — it links the gate receipt to the commit so the watcher only fans out gated changes.

## Parameters

| Parameter         | Type      | Required | Description                             |
| ----------------- | --------- | -------- | --------------------------------------- |
| `commit_sha`      | string    | Yes      | Git commit sha                          |
| `sync_log_id`     | string    | No       | Row id from `confirm_ready` (preferred) |
| `workstream_slug` | string    | No\*     | Required when `sync_log_id` is absent   |
| `session_id`      | string    | No\*     | Required when `sync_log_id` is absent   |
| `files`           | string\[] | No       | Files the commit touched                |
| `symbols_changed` | string\[] | No       | `symbol_graph_nodes.id` values touched  |

## Example

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