Step 2 of #13750, after the supervisor issue: each cell writes {bodyId, pid, port, supervisor socket, startedAt} under its child directory; makeRegistry in src/spawn/cell.ts reads them at boot, probes the port, and adopts a live one into held (a stale one is cleared). stopCellChildren stops only for sleep/floor/retire, not on a release drain. Test: a registry built over a live fake cell adopts it and get answers; a dead record is dropped.
Step 2 of #13750, after the supervisor issue: each cell writes
{bodyId, pid, port, supervisor socket, startedAt}under its child directory;makeRegistryin src/spawn/cell.ts reads them at boot, probes the port, and adopts a live one intoheld(a stale one is cleared).stopCellChildrenstops only for sleep/floor/retire, not on a release drain. Test: a registry built over a live fake cell adopts it andgetanswers; a dead record is dropped.Files: src/spawn/cell.ts, src/spawn/host.ts, src/main.ts