sync_file_changes
Associate recent file changes with AI memory to track what changed and why. Pass changed file paths after commits to record modifications and retrieve relevant lessons.
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) |