Local complement and pivot just apply additional Local Cliffords on the neighboring nodes, so the measurement_action seems a redundant way. We can rewrite them by just applying apply_local_clifford with an appropriate operator. It might make the codebase clearer.