Brings in #5362's code-review and simplify fixes. Link and unlink now
both return the updated user and clear the progression; the library and
progression writes share one locked "still linked" check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NH5s4hBCkRF6nyKoFy6MXw