pub fn write_codex_live_atomic( auth: &Value, config_text_opt: Option<&str>, ) -> Result<(), AppError>
原子写 Codex 的 auth.json 与 config.toml,在第二步失败时回滚第一步
auth.json
config.toml