Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Parallel run and cutover/Cutover runbook
Reference · Parallel run and cutover

Cutover runbook

Part of Parallel run and cutover. Install the skill and your agent reads this page when it needs the depth.

Criteria checklist

Every line is a yes before the process owner is asked to approve.

Choosing the window

Handover sequence by trigger type

Event-driven (webhook, listener, message). The new version has been receiving every event in shadow, so it already has a log of them.

  1. Turn off the old version's side effects.
  2. Note the last event the old version fully processed.
  3. Let the new version process, from its shadow log, every event after that one, deduping on the event key.
  4. Turn on the new version's side effects. The gap between steps 1 and 4 loses nothing, because step 3 catches it. Overlapping the two live versions instead risks processing an event twice.

Polling.

  1. Stop the old version after a completed poll.
  2. Read its last processed position: the id, the timestamp or the cursor.
  3. Start the new version from exactly that position. Start a few minutes earlier only if it dedupes on the business key. Never start from now (items in between are lost) or from the beginning (everything is processed again).

Scheduled.

  1. Find the next fire time of both versions, in their configured time zones.
  2. Disable the old schedule after its last run before cutover. Enable the new one before its first run after.
  3. Check that the new scheduler will not catch up on runs it thinks it missed.

File or batch based. Hand over the processed-files marker or folder, and confirm the new version skips everything the old one already processed.

The first runs

Open each of the first 10 live runs and read them: the input, the output, the side effect. Check one record in each downstream consumer. Keep the owner's attention for the first full business day, and for the first run of each periodic event (the first month-end on the new version gets its own check).

Rollback triggers, written before cutover

Any one of these means rolling back first and diagnosing afterwards.

Rollback steps

  1. Turn off the new version's side effects.
  2. Read its last processed position.
  3. Turn the old version back on from that position.
  4. List every record the new version wrote or message it sent since cutover, from its run log. Review the list with the owner and correct what needs correcting, with approval for any bulk correction.
  5. Announce the rollback to the same people who were told about the cutover.

Decommissioning

After 30 days or two full business cycles, whichever is longer, with no rollback trigger, and with the owner's approval:

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.