From 7c4e694171b21dd84c654d9f04c53c058747493a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 02:25:54 +0000 Subject: [PATCH] Update pinned Codex and Claude Code runtimes --- Dockerfile.toolchain | 4 ++-- ctf_agent/providers/claude_runtime.py | 2 +- ctf_agent/solver_worker.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.toolchain b/Dockerfile.toolchain index 98ef96e..f2a5d64 100644 --- a/Dockerfile.toolchain +++ b/Dockerfile.toolchain @@ -167,8 +167,8 @@ ENV NPM_CONFIG_PREFIX=/usr/local # Keep model CLIs last: changing them must not invalidate the large system, # Ghidra/JDK/JADX or Python dependency layers. -ARG CODEX_VERSION=0.172.0 -ARG CLAUDE_VERSION=2.1.332 +ARG CODEX_VERSION=0.173.0 +ARG CLAUDE_VERSION=2.1.335 RUN npm install --global --no-audit --no-fund \ "@openai/codex@${CODEX_VERSION}" "@anthropic-ai/claude-code@${CLAUDE_VERSION}" \ && native_host='' \ diff --git a/ctf_agent/providers/claude_runtime.py b/ctf_agent/providers/claude_runtime.py index 559f643..543213b 100644 --- a/ctf_agent/providers/claude_runtime.py +++ b/ctf_agent/providers/claude_runtime.py @@ -187,7 +187,7 @@ async def _rollback(self, after_switch): command = self.version_command(previous) if previous else [shutil.which("claude")] if not command or not command[0]: raise ProviderError("이전 Claude Code 실행 파일을 찾지 못했습니다.", "unavailable") - self._verifying_version = previous or os.environ.get("CTF_IMAGE_CLAUDE_VERSION", "2.1.332") + self._verifying_version = previous or os.environ.get("CTF_IMAGE_CLAUDE_VERSION", "2.1.335") await self.verify(command) try: self.save({"selected": previous, "previous": current["selected"], "updated_at": time.time()}) diff --git a/ctf_agent/solver_worker.py b/ctf_agent/solver_worker.py index 7dcc3b9..2db24c5 100644 --- a/ctf_agent/solver_worker.py +++ b/ctf_agent/solver_worker.py @@ -87,10 +87,10 @@ EXCHANGE_PROTOCOL = 1 MAX_SOLVER_NOTES_BYTES = 1_000_000 WORKER_ATTACHMENT_ACTIVITY_SOURCE = "worker_attachment" -REQUIRED_CODEX_VERSION = os.environ.get("CTF_IMAGE_CODEX_VERSION", "0.172.0") +REQUIRED_CODEX_VERSION = os.environ.get("CTF_IMAGE_CODEX_VERSION", "0.173.0") if not re.fullmatch(r"[0-9]{1,5}\.[0-9]{1,5}\.[0-9]{1,5}", REQUIRED_CODEX_VERSION): raise RuntimeError("CTF_IMAGE_CODEX_VERSION must be an exact semantic version") -REQUIRED_CLAUDE_VERSION = os.environ.get("CTF_IMAGE_CLAUDE_VERSION", "2.1.332") +REQUIRED_CLAUDE_VERSION = os.environ.get("CTF_IMAGE_CLAUDE_VERSION", "2.1.335") if not re.fullmatch(r"[0-9]{1,5}\.[0-9]{1,5}\.[0-9]{1,5}", REQUIRED_CLAUDE_VERSION): raise RuntimeError("CTF_IMAGE_CLAUDE_VERSION must be an exact semantic version") def _nonnegative_int_setting(name: str, default: int) -> int: