From b8c8941dcfca2f293500ae34dee69522d7333d97 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 5b3aaa3..c8644ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -90,6 +90,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ 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/ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh RUN chmod +x /usr/local/bin/docker-entrypoint.sh From 670ead0e714e54bc8bb61d0658f4142d6f97de95 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 c8644ed..3d648e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,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" \ "hax-sdk>=0.2.4" \ "pydantic>=2.0" \ "httpx>=0.27" \ diff --git a/pyproject.toml b/pyproject.toml index 10d02be..c32067c 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", "hax-sdk>=0.2.4", "pydantic>=2.0", "httpx>=0.27",