sync_file_changes
Associate recent file changes with brain knowledge after commits. Record changes and retrieve relevant lessons using git diff data.
Instructions
Associate recent file changes with brain knowledge. Pass a list of changed file paths (from git diff --stat). Returns lessons relevant to those files, and records the file changes in session history. Call this after commits so the brain tracks what changed and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_msg | No | Commit message (optional) | |
| instance_id | Yes | UUID of the cache instance | |
| changed_files | Yes | List of changed file paths | |
| git_diff_stat | No | Output of `git diff --stat` (optional) |