Gh405 propagate flags from codesync algorithm

sync and childrenSync are boolean flags