Check a file right before editing it
check_file_before_editVerify a file's freshness before editing: checks for recent teammate commits and anchor-verified notes, catching mid-session drift that could cause conflicts.
Instructions
Fast, single-file freshness check - call this immediately before editing any file that's part of a shared interface or that you haven't touched yet this session, ESPECIALLY in a long-running session. Returns anchor-verified notes on the file plus real commits from anyone else touching it in the last 15 minutes. This is cheaper than get_handoff_brief and catches drift a session-start snapshot misses (a teammate can commit to this exact file while you're mid-session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes |