Builds the cluster-color resolution layer in isolation. loadClusterColors() reads cluster-colors.json via direct Vite import (single source of truth). resolveClusterColor() returns the cluster's absolute hex or null. Four Playwright unit tests verify the resolver before any render depends on it.
v103.0.12026-06-02
·loadClusterColors() imports docs/_meta/cluster-colors.json via Vite's native JSON transform — fs.allow:[".."] already enables direct docs/ imports; no file forking, single source of truth
·resolveClusterColor(cluster, mode, palette): semantic mode = direct color-name lookup (azure→#3D8BD8, gold→#FFB347, etc.); returns null for unknown/undefined; mono-shades/custom deferred to .0.5