From b8a8ea9660e43f6b31fa8a0bf332af37a75959cc Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Mon, 2 Nov 2026 10:12:51 -0500 Subject: [PATCH 1/2] build: pin the AForge harness in the image with AFORGE_BIN agentfield 0.1.143+ runs CodeAF for unpinned `aforge` requests. Setting AFORGE_BIN keeps this image on the aforge binary it ships, on purpose, until this product's own CodeAF migration. Older SDKs already honour AFORGE_BIN, so this changes nothing on its own. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 799c573..2efcf64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,6 +91,8 @@ RUN mkdir -p /home/cloudsecurity/.config/opencode && \ COPY --from=builder /install /usr/local COPY --from=aforge /out/aforge /usr/local/bin/aforge +# Stay on aforge on purpose until this product's separate CodeAF migration. +ENV AFORGE_BIN=/usr/local/bin/aforge COPY src/ /app/src/ USER cloudsecurity From 3d4febbbce33692cf640eadf648a88dbe4a5791c Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Mon, 2 Nov 2026 10:12:51 -0500 Subject: [PATCH 2/2] deps: raise the agentfield floor to 0.1.145 Docker layer caching keys on the requirement text, so `agentfield>=0.1.130` kept restoring a layer built with an old SDK. Raising the floor invalidates that layer and picks up the current stable release. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2efcf64..44269ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ COPY pyproject.toml README.md ./ COPY src/ src/ RUN pip install --no-cache-dir --prefix=/install \ - "agentfield>=0.1.130" \ + "agentfield>=0.1.145" \ "pydantic>=2.0" \ "httpx>=0.27" \ "python-dotenv>=1.0" \ diff --git a/pyproject.toml b/pyproject.toml index b413296..0cc364d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" requires-python = ">=3.11" authors = [{ name = "AgentField", email = "hello@agentfield.dev" }] dependencies = [ - "agentfield>=0.1.130", + "agentfield>=0.1.145", "pydantic>=2.0", "httpx>=0.27", "pyhcl2>=2.0",