Codex adapter: remove stale temp files before secure recreation

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
2026-08-24 20:44:36 -04:00
co-authored by Claude Fable 5
parent 51ba414009
commit 3760ac46e2
+1
View File
@@ -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 '