vibemap_sync_changes
Report codebase changes since last sync to identify spec drift. Submit changed file paths and current HEAD sha to get affected map units and features for update.
Instructions
Report codebase changes since the last sync so VibeMap can flag spec drift. Workflow: 1) call vibemap_get_code_map and read anchor.commitSha; 2) run git diff --name-only <commitSha>..HEAD (plus untracked files from git status --porcelain); 3) call this tool with the changed paths and your current HEAD sha. The response lists affected map units and features — update the stale specs with vibemap_update_feature / vibemap_update_user_story / vibemap_update_acceptance_criterion (all changeset-audited), then re-submit the code map with vibemap_submit_code_map to clear the drift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headSha | No | Current HEAD commit sha (git rev-parse HEAD) | |
| projectId | Yes | VibeMap project id | |
| changedFiles | Yes | Repo-relative paths changed since anchor.commitSha (max 2000) |