Skip to content

docs(loop): the way back to the hourly loop, with its snapshot - #81

Merged
Ardnived merged 1 commit into
mainfrom
claude/rollback-plan
Sep 9, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/rollback-plan

Conversation

@Ardnived

@Ardnived Ardnived commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

docs/rollback/ — the plan to have, not the plan to carry out.

The cutover deleted nothing, which is what makes going back cheap: the old skills, state-machine.yml, the legacy caller job, both org fields and the disabled sydevs-work-hourly routine are all still on main. Rolling back is four commands plus one revert.

What it records

  • What the backfill changed and what it did not. It never wrote Stage or Hold Until, so the old loop's own inputs are untouched. It did unassign sydevs-bot from 30 items, and assignee:sydevs-bot is the old worklist — that is the one thing needing restoration.
  • The fast path, four commands, old loop running after the second.
  • Then revert the flip (4b46afb) in its own PR with a version bump, because the old work-routine calls the new finalize-pr, which no longer watches CI or marks a PR ready. Skipping this leaves every new PR in draft forever.
  • What to leave alone — labels, Status, markers, the routines. Deleting a routine is a one-way door: the API cannot create its token.
  • What you cannot get back — a parked ticket's (was: <Stage>) suffix. Eleven tickets are affected, and their field values were never modified, so in practice they still hold.

Two files ship with it

docs/rollback/migrate-to-status.mjs and docs/rollback/cutover-snapshot-2026-09-08.json (76 items). The restore path is the only way to get the 30 bot assignments back, and a plan pointing at a file on one laptop is not a plan. Verified from the committed location:

node docs/rollback/migrate-to-status.mjs --config loop-config.json \
  --restore docs/rollback/cutover-snapshot-2026-09-08.json
→ 30 writes it would make, none applied without --apply

The snapshot carries issue numbers, labels, assignees, Status, Stage and Hold Until. No bodies, no comments.

sydevs/claude-workflow#74 is named as the human-readable half: it lists the 20 tickets that held Stage: Implement, and it survives even if these files do not.

No behaviour changes, so no version bump.

The cutover deleted nothing, so rolling back is four commands plus one
revert. This records which pieces still exist, what the backfill changed
(assignees) and what it did not (Stage, Hold Until), and what is a one-way
door.

The pre-cutover snapshot and the migration script ship beside it: the
restore path is the only way to get the 30 bot assignments back, and a plan
that points at a file on one laptop is not a plan.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant