mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 19:25:56 +00:00
First part of moving Scripts/manage.py into coa-core (plan §17, PY-1). Same formats on disk as manage.py so both can run on one server: .state records, the byte-0 control lock msvcrt.locking takes, configuration.json. prepare renders byte-for-byte what manage.py renders (checked against the real script, COA_MANAGE_PY). State files are flushed to disk before they replace the old ones, and a damaged record counts as no process instead of failing every later start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>