Gh405 propagate flags from codesync algorithm

Doc: what is the returned boolean?