Complete paired-room SSOT cleanup and logger singleton

This commit is contained in:
ejclaw
2026-04-07 05:12:22 +09:00
parent ae12b157be
commit 10e10b499c
18 changed files with 648 additions and 473 deletions

View File

@@ -138,8 +138,11 @@ function saveCodexState(): void {
resetD7Ats: accounts.map((a) => a.resetD7At ?? null),
};
writeJsonFile(STATE_FILE, state);
} catch {
/* best effort */
} catch (err) {
logger.warn(
{ stateFile: STATE_FILE, err },
'Failed to persist Codex rotation state',
);
}
}