Gh405 propagate flags from codesync algorithm

Discussion: I think we may need to also unsetChildrenSync() - say the node model is green, we run the sync action and if there is a conflict, then the model would remain green; we need to test this scenario first