Creating a VS Code agent hook to respond to file changes

Learn how to use a VS Code agent hook to detect edits to a specific file and trigger deterministic follow-up automation.