Atomic claim, terminal transitions and recover() that requeues at the old place. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Open, create, migrate or reject a file by user_version; reject newer files before switching to WAL. transaction() gives one BEGIN IMMEDIATE per operation. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>