sync_file_changes
Associate recent file changes with brain knowledge after commits, returning relevant lessons and recording changes to track what changed and why.
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 |
|---|---|---|---|
| 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) | |
| commit_msg | No | Commit message (optional) |