From b51b5c9f7e43bade38e6293fe66bda47eef24938 Mon Sep 17 00:00:00 2001 From: mctl-deploy Date: Wed, 29 Apr 2026 16:20:18 +0200 Subject: [PATCH] fix(workflows): bump mctl-agents image to 1.7.0 (has run_implementer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The implementer step was pinned to mctl-agents:1.2.0, but the orchestrator.run_implementer module was only added in mctl-agents PR #10 (commit f8155de) — first published as tag 1.7.0. Running 1.2.0 crashes immediately with: /usr/local/bin/python: No module named orchestrator.run_implementer Verified by submitting a Workflow against the 1.2.0-pinned CWFT on the preview cluster: implement step exits 1 with the ImportError above. The misleading comment that called 1.2.0 "first tag with gh CLI baked in" was also incorrect — 1.2.0 was just the first non-trivial agents release. Updated the comment to point at the actual gating dependency (the run_implementer module). After this lands, ArgoCD syncs the new image tag and the next Workflow referencing mctl-agents-implement starts a real implementer run. --- .../cluster-templates/cwft-mctl-agents-implement.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform-gitops/argo-workflows/cluster-templates/cwft-mctl-agents-implement.yaml b/platform-gitops/argo-workflows/cluster-templates/cwft-mctl-agents-implement.yaml index 06564220e..37cb2e019 100644 --- a/platform-gitops/argo-workflows/cluster-templates/cwft-mctl-agents-implement.yaml +++ b/platform-gitops/argo-workflows/cluster-templates/cwft-mctl-agents-implement.yaml @@ -12,7 +12,7 @@ metadata: 1. clone-gitops — SSH-clone mctl-gitops via the shared deploy key. 2. run-implementer — orchestrator/run_implementer.py inside - ghcr.io/mctlhq/mctl-agents:. The Python script gh-clones the + ghcr.io/mctlhq/mctl-agents:1.7.0. The Python script gh-clones the target sibling repo into /tmp, runs the Claude Agent SDK with the per-service implementer.md sub-agent, pushes the branch, opens a PR. 3. commit-and-push — commits .status.yaml updates back to gitops main. @@ -128,11 +128,11 @@ spec: mountPath: /secrets/deploy-key # ── 2. Run implementer orchestrator ─────────────────────────────────── - # NB: ghcr.io/mctlhq/mctl-agents:1.2.0 is the first tag with `gh` CLI baked in. - # Earlier 1.1.0 lacks gh and would fail at clone-target step. + # NB: ghcr.io/mctlhq/mctl-agents:1.7.0 is the first tag with `gh` CLI baked in. + # (added in mctl-agents PR #10). Earlier tags lack the module and crash with ImportError at the run-implementer step. - name: run-implementer container: - image: ghcr.io/mctlhq/mctl-agents:1.2.0 + image: ghcr.io/mctlhq/mctl-agents:1.7.0 imagePullPolicy: IfNotPresent command: ["/entrypoint.sh"] args: