fix(server): close remaining data-directory lock races

CodeRabbit on the current HEAD: record the bound port as soon as the
socket exists, make the lock a dependency of persistence as well as
HTTP, and serialize stale-lock takeover so two reclaimers cannot both
delete and recreate the same claim.

Co-authored-by: Cursor <cursoragent@cursor.com>
455dcf4b2dNoahLinckeScout committed on 9/15/2026, 6:03:44 PMparent88780e3
3 files changedLine totals unavailable