linear color transfer in gmic ?

I expected something like that during computation, typically for the discontinuities! Still an explanation for them could be interesting!