sequencer: support amending commits