Purpose
-------
Tests for branch naming enforcement and auto-profile selection
(Phase 4E — G-E3, G-E4, G-E10).
Responsibilities
----------------
- Validate ``validate_branch_name`` against default and custom patterns.
- Validate ``_resolve_auto_profile`` branch-to-profile mapping.
- Validate ``resolve_effective_profile`` with ``"auto"`` config value.
Diagnostics
-----------
Domain: GIT-TESTS
Levels:
L2 — test lifecycle
L3 — test details
L4 — deep tracing
Contracts
---------
- All tests are pure unit tests (no git repo needed).