fix: match cell name against cluster URLs before jurisdiction fallback
main·
Commit

When a placement-derived group lacks a cluster slug, try matching the group's cell name against cluster ApiUrl/PublicUrl hosts (e.g. cell "aws-eu-central-1" matches "https://aws-eu-central-1.api.entire.io") before falling back to the jurisdiction-level default cluster.
This prevents binding a mirror group to the wrong cell's baseURL when a jurisdiction contains multiple cells — the cell-URL match is precise while the jurisdiction fallback is ambiguous.
Resolution order:
- Cluster slug join (exact, for home placements)
- Cell name in cluster URL host (precise, for mirror placements)
- Default cluster in jurisdiction (fallback)
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com Entire-Checkpoint: 01KWZZ4E8MK7FMHS55VH48Q6XX
Checkpoints
Checkpoint 1