From 3760ac46e2b3adc1b6dd7af14cd2972f76488a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 24 Aug 2026 20:44:36 -0400 Subject: [PATCH] Codex adapter: remove stale temp files before secure recreation Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp --- cn/lib/ai.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cn/lib/ai.sh b/cn/lib/ai.sh index 3aa62e28..12928488 100644 --- a/cn/lib/ai.sh +++ b/cn/lib/ai.sh @@ -108,6 +108,7 @@ cn_ai_render_codex_config() { touch "$cfg" # Strip our old blocks first, then check for an unmanaged provider table + rm -f "$cfg.omarchycn-tmp" "$cfg.omarchycn-new" ( umask 077 awk '