Gh405 propagate flags from codesync algorithm

needs to be done