package converter

// repositoryRoleForWire preserves the client-visible repository role literal
// while allowing internal code to use the semantic "primary" spelling.
func repositoryRoleForWire(role string) string {
	if role == "primary" {
		return "canonical"
	}
	return role
}
