Add a shared macOS Command Line Tools git usability check in hermes_platform.resolver.git so fresh macOS machines without Xcode CLT never spawn Apple's /usr/bin/git stub (which otherwise triggers Apple's modal install dialog on boot, first chat turn, sidebar probes, and hermes doctor).
- Resolve git from the caller's effective PATH; return immediately for non-macOS hosts and non-/usr/bin/git executables (Homebrew, Nix, PM, custom git) even when CLT is absent.
- Only when sys.platform == 'darwin' and the resolved realpath is /usr/bin/git: verify executable <dev_dir>/usr/bin/git via DEVELOPER_DIR when set, else bounded /usr/bin/xcode-select -p (stdin=DEVNULL, 2s timeout).
- Cache positive results in-process and negative results for a short TTL (5s) with cached=False for hermes doctor.
- Route boot, chat, sidebar, completion, context-reference, checkpoint, web/fs, update-check, and doctor git callers through the shared guard, preserving exact ordered safe.directory replay (including interior empty reset markers) when git is usable.
- Report an honest optional warning with xcode-select --install / brew install git hints in hermes doctor when only the uninstalled macOS stub is present.