Repository source: docs/plans/read_model_rebuild_checklist.md
Read-model rebuild cycles: checklist
Each section is one Railspike cycle, in order.
Problem: some writes (retraction, profile name, key retirement, and others) do a full read-model rebuild inside the request. While it runs, pages hang for up to 60 s instead of showing a "come back soon" page.
1. rebuild_availability: pages stay up during a rebuild
Plans; Step 1 chose build-and-swap over WAL.
2. retraction_speed: no full rebuild for retractions
Plans; Step 1 found retractions already map to delete-record's placeholder, so they reuse its targeted update.
Profile-name changes moved to cycle 3 (usernames are copied widely and claimed first-come, so an in-place update is risky for a rare action).
3. background_rebuild: full rebuilds leave the request path
Superseded as a single cycle by the rebuild triggers checklist, which lists every remaining trigger so each can be removed in its own cycle. The items below stay as a record of the original plan.