oliver-zehentleitner / maity

codexd: stop the Codex daemons left in the old-layout codex-home of a placement

Sign in to report

tsk-51ee14fexd7f Open chore

Found by ops on a host, 2026-12-01 (note nte-3bz7rja78wnt on tsk-n6sajs3gyh8h): a Codex placement whose home moved from the older scratch layout (.scratch/plc-ID/codex-home) to the current one (.scratch/PROJECT/plc-ID/codex-home) still runs the old home pid-update-loop, app-server and code-mode-host, started 11-23 to 11-25. codexd stops only the current home, so these are never reached. They do not touch the lane (another socket) but leak. To settle: a one-time stop by ops with the lead go, or codexd also stopping the old-layout home on start and close. After the launch.