Synchronize a shared repository after switching between Codex and Claude. Use when the user invokes `$agent-sync check` after returning from the other AI, `$agent-sync end` before handing work off, or when another agent may have changed files since this session was last synchronized.