[CE] Add history utility scripts (flush/resync) GitOrigin-RevId: 3f46609c279bef70f1ee6e63f74648f1c2b99a97