crosscue

ADR-0001 — Cell-progress autosave is delete-then-insert

Status: Accepted · Date: 2026 (Sprint 1)

Context

Autosaving per-cell progress with row updates left stale cell_progress rows behind when a user backtracked or reset a cell, producing phantom letters on resume.

Decision

saveCellProgress deletes the session’s progress rows and re-inserts the current state inside one transaction, rather than diffing/updating.

Consequences