Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

feat(minikube): drop the registry-distributed MCP servers from the image set

Jose Ramirez9478bcef91eb
diff --git a/control-ui/e2e/registry-airtable-e2e.spec.ts b/control-ui/e2e/registry-airtable-e2e.spec.ts
index abae33bcd..1af32801c 100644
--- a/control-ui/e2e/registry-airtable-e2e.spec.ts
+++ b/control-ui/e2e/registry-airtable-e2e.spec.ts
@@ -15,7 +15,14 @@
*
* Prerequisites:
* - AIRTABLE_API_KEY and AIRTABLE_BASE_ID in .env
- * - clerum/airtable-mcp-server:test image in minikube
+ * - The mcp-airtable catalog entry published to the registry. Step A installs
+ * it, and a registry install copies the entry's imageRef verbatim into
+ * McpServer.spec.image, so THE ENTRY decides the image -- not the local
+ * image set. On minikube that entry is seeded by registry-install.spec.ts
+ * (which the runner executes first) with imageRef clerum/mock-mcp-server:test.
+ * No clerum/airtable-mcp-server image is required or consulted here; the
+ * real connector image is published to ghcr and pulled by the kubelet
+ * wherever the catalog entry points at it.
* - Port-forwards: control-ui :3000, control-api :8090
*/
import { type Page, expect, test } from '@playwright/test'
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 0b9fd11ea..8b05dec72 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.386",
+ "version": "0.1.387",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.386",
+ "version": "0.1.387",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index 484e2610e..e226d3c13 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.386",
+ "version": "0.1.387",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",
diff --git a/deploy/components/ghcr-images/kustomization.yaml b/deploy/components/ghcr-images/kustomization.yaml
index 0436c87ee..4ba6d96a7 100644
--- a/deploy/components/ghcr-images/kustomization.yaml
+++ b/deploy/components/ghcr-images/kustomization.yaml
@@ -86,12 +86,6 @@ images:
- name: clerum/workspace-files-controller
newName: ghcr.io/evenfire-ai/workspace-files-controller
newTag: v0.6.0
- - name: clerum/airtable-mcp-server
- newName: ghcr.io/evenfire-ai/airtable-mcp-server
- newTag: v0.6.0
- - name: clerum/web-search-mcp
- newName: ghcr.io/evenfire-ai/web-search-mcp
- newTag: v0.6.0
- name: clerum/mock-mcp-server
newName: ghcr.io/evenfire-ai/mock-mcp-server
newTag: v0.6.0
diff --git a/deploy/images.json b/deploy/images.json
index 79395a40e..7867ca263 100644
--- a/deploy/images.json
+++ b/deploy/images.json
@@ -210,7 +210,7 @@
"path": "mcp-servers/airtable",
"source_paths": ["mcp-servers/airtable/**"],
"published": true,
- "deployed_to_minikube": true
+ "deployed_to_minikube": false
},
{
"name": "playwright-server",
@@ -226,7 +226,7 @@
"local_tag": "v1",
"source_paths": ["mcp-servers/web-search/**"],
"published": true,
- "deployed_to_minikube": true
+ "deployed_to_minikube": false
},
{
"name": "mock-mcp-server",
@@ -275,7 +275,7 @@
"path": "mcp-servers/doc-generator",
"local_tag": "v1",
"published": false,
- "deployed_to_minikube": true
+ "deployed_to_minikube": false
}
]
}
diff --git a/mcp-servers/doc-generator/README.md b/mcp-servers/doc-generator/README.md
index 3948f1d74..615930c07 100644
--- a/mcp-servers/doc-generator/README.md
+++ b/mcp-servers/doc-generator/README.md
@@ -27,7 +27,9 @@ No API keys or secrets are required.
docker build -t doc-generator-mcp:latest .
```
-Multi-stage `node:24-alpine` build; runs as a non-root `mcp` user (uid 1001) that owns `/output`. `scripts/minikube/build-images.sh` builds it into minikube as `clerum/doc-generator-mcp:v1`. It is not currently in the `.github/workflows/build-publish.yml` publish matrix.
+Multi-stage `node:24-alpine` build; runs as a non-root `mcp` user (uid 1001) that owns `/output`. Minikube setup neither builds nor pulls it: the evenfire registry distributes this connector and installs it on demand, writing the catalog entry's image reference straight into the `McpServer` resource, so no locally loaded `clerum/*` alias is involved. It is `deployed_to_minikube: false` in `deploy/images.json`.
+
+It is also not in the `.github/workflows/build-publish.yml` publish matrix (`published: false`), so nothing pushes it anywhere. That is a known gap, not the intended end state: a registry-distributed connector has to be published somewhere the kubelet can pull it from.
## Deployment
@@ -35,4 +37,4 @@ This directory has no `mcpserver.yaml` or NetworkPolicy — there is no ready-ma
## Status
-Available; built for local minikube use by `scripts/minikube/build-images.sh` and type-checked by `scripts/build-preflight.sh`. No test suite yet (unlike `airtable/` and `mongodb/`) and not yet referenced by user-facing docs.
+Available; type-checked by `scripts/build-preflight.sh`. Minikube setup does not build or pull the image. No test suite yet (unlike `airtable/` and `mongodb/`) and not yet referenced by user-facing docs.
diff --git a/mcp-servers/doc-generator/package-lock.json b/mcp-servers/doc-generator/package-lock.json
index 96f5e608a..1ce69afcb 100644
--- a/mcp-servers/doc-generator/package-lock.json
+++ b/mcp-servers/doc-generator/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@clerum/doc-generator-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@clerum/doc-generator-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"exceljs": "^4.4.0",
diff --git a/mcp-servers/doc-generator/package.json b/mcp-servers/doc-generator/package.json
index 5d087dd7f..3116a65c7 100644
--- a/mcp-servers/doc-generator/package.json
+++ b/mcp-servers/doc-generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@clerum/doc-generator-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"type": "module",
"main": "dist/index.js",
"scripts": {
diff --git a/mcp-servers/web-search/README.md b/mcp-servers/web-search/README.md
index 83169941d..4950eecc1 100644
--- a/mcp-servers/web-search/README.md
+++ b/mcp-servers/web-search/README.md
@@ -29,7 +29,7 @@ docker build -t web-search-mcp:latest .
Multi-stage `node:24-alpine` build: compiles TypeScript, then runs `node dist/index.js`.
-- `scripts/minikube/build-images.sh` builds it into minikube as `clerum/web-search-mcp:v1`.
+- Minikube setup neither builds nor pulls it. The evenfire registry distributes this connector and installs it on demand, writing the catalog entry's image reference straight into the `McpServer` resource, so no locally loaded `clerum/*` alias is involved. It is `deployed_to_minikube: false` in `deploy/images.json`.
- `.github/workflows/build-publish.yml` publishes it to `ghcr.io/evenfire-ai/web-search-mcp` on changes under `mcp-servers/web-search/`.
## Deployment
@@ -40,4 +40,4 @@ This directory has no `mcpserver.yaml` or NetworkPolicy — unlike `airtable/` a
## Status
-Available; buildable and published to the container registry. No test suite yet (unlike `airtable/` and `mongodb/`). Referenced in `docs/deploy/minikube.md` (NetworkPolicy troubleshooting for a coordinator connecting to a `web-search` MCP server) and built by `scripts/minikube/build-images.sh` and `scripts/build-preflight.sh`.
+Available; buildable and published to the container registry. No test suite yet (unlike `airtable/` and `mongodb/`). Referenced in `docs/deploy/minikube.md` (NetworkPolicy troubleshooting for a coordinator connecting to a `web-search` MCP server) and type-checked by `scripts/build-preflight.sh`. Minikube setup does not build or pull the image; the registry installs it on demand.
diff --git a/mcp-servers/web-search/package-lock.json b/mcp-servers/web-search/package-lock.json
index 16e02a0fa..bf892e16b 100644
--- a/mcp-servers/web-search/package-lock.json
+++ b/mcp-servers/web-search/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@clerum/web-search-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@clerum/web-search-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"express": "^4.21.2"
diff --git a/mcp-servers/web-search/package.json b/mcp-servers/web-search/package.json
index e3c96fa14..2ba276891 100644
--- a/mcp-servers/web-search/package.json
+++ b/mcp-servers/web-search/package.json
@@ -1,6 +1,6 @@
{
"name": "@clerum/web-search-mcp",
- "version": "1.0.5",
+ "version": "1.0.6",
"type": "module",
"main": "dist/index.js",
"scripts": {
diff --git a/scripts/minikube/build-images.sh b/scripts/minikube/build-images.sh
index e75b78869..f05e964c6 100755
--- a/scripts/minikube/build-images.sh
+++ b/scripts/minikube/build-images.sh
@@ -42,6 +42,10 @@
# Include clerum/mcp-host-desktop:test in full builds.
# --include-playwright-mcp-image
# Include the heavy playwright MCP image in full builds.
+# --include-airtable-mcp-image
+# Include clerum/airtable-mcp-server:test in full builds. The
+# registry distributes this connector, so no default setup
+# needs it; the SEED_PROFILE=e2e demo McpServer instance does.
#
# Env:
# MINIKUBE_PRELOAD_BASE_IMAGES=false Skip preloading Dockerfile base images
@@ -66,6 +70,19 @@
# MINIKUBE_PLAYWRIGHT_MCP_SOURCE_IMAGE
# Published image to retag locally when
# Playwright MCP is explicitly enabled.
+# MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE=true
+# Include the optional local Airtable MCP
+# image. MCP servers are distributed via
+# the evenfire registry and installed on
+# demand -- a registry install writes a
+# fully-qualified imageRef the kubelet
+# pulls, so nothing on the default path
+# needs a locally loaded clerum/* alias.
+# Only the SEED_PROFILE=e2e demo instance
+# (deploy/overlays/minikube/instances-e2e/
+# airtable-server.yaml) still names the
+# local ref, and full-setup.sh sets this
+# flag for exactly that case.
# ======================================================================
set -euo pipefail
@@ -88,6 +105,7 @@ MINIKUBE_BUILD_DESKTOP_IMAGE="${MINIKUBE_BUILD_DESKTOP_IMAGE:-false}"
MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE="${MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE:-false}"
MINIKUBE_REUSE_PLAYWRIGHT_MCP_IMAGE="${MINIKUBE_REUSE_PLAYWRIGHT_MCP_IMAGE:-true}"
MINIKUBE_PLAYWRIGHT_MCP_SOURCE_IMAGE="${MINIKUBE_PLAYWRIGHT_MCP_SOURCE_IMAGE:-us-central1-docker.pkg.dev/your-gcp-project/clerum/playwright-server:latest}"
+MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE="${MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE:-false}"
SKIP_UIS="${MINIKUBE_SKIP_UIS:-false}"
case "${SKIP_UIS}" in
@@ -171,6 +189,7 @@ for arg in "$@"; do
--include-e2e-fixtures) INCLUDE_E2E_FIXTURES=true ;;
--include-desktop-image) MINIKUBE_BUILD_DESKTOP_IMAGE=true ;;
--include-playwright-mcp-image) MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE=true ;;
+ --include-airtable-mcp-image) MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE=true ;;
esac
done
@@ -183,6 +202,13 @@ if [ -n "$ONLY_SVC" ]; then
if [[ "$ONLY_SVC" == *"playwright"* ]]; then
MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE=true
fi
+ # Same self-enabling rule the two opt-in images above already use: naming an
+ # image in --only IS the opt-in. Without this, `--only=airtable-mcp-server`
+ # would print the "skipping the optional Airtable MCP image" warning and exit
+ # 0 having built nothing -- a silent no-op in the one place that asks for it.
+ if [[ "$ONLY_SVC" == *"airtable"* ]]; then
+ MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE=true
+ fi
fi
if [ "$SKIP_UIS" = true ]; then
@@ -356,9 +382,6 @@ ALL_IMAGES=(
"clerum/stdio-bridge:test"
"clerum/control-ui:test"
"clerum/profile-ui:test"
- "clerum/airtable-mcp-server:test"
- "clerum/web-search-mcp:v1"
- "clerum/doc-generator-mcp:v1"
"clerum/mock-mcp-server:test"
"clerum/mock-stdio-mcp-server:test"
"clerum/workspace-files-controller:test"
@@ -372,6 +395,10 @@ if [ "$MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE" = "true" ]; then
ALL_IMAGES+=("clerum/playwright-mcp-server:test")
fi
+if [ "$MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE" = "true" ]; then
+ ALL_IMAGES+=("clerum/airtable-mcp-server:test")
+fi
+
if [ "$SKIP_UIS" = true ]; then
FILTERED_IMAGES=()
for image in "${ALL_IMAGES[@]}"; do
@@ -390,13 +417,20 @@ fi
# mode: a published+deployed image runs from ghcr in ghcr mode, and the
# unpublished ones are built locally and verified under their clerum/* ref.
#
-# doc-generator-mcp is unpublished but built on BOTH paths (full-setup.sh runs
-# `--only=doc-generator-mcp` before the pull), so it is always verified. The
-# two e2e_only fixtures are NOT: on the ghcr path nothing builds them, so
-# demanding them there fails a healthy default cluster with a remedy that can
-# never supply them (they are published:false, so no pull can fetch them). They
-# come back with --include-e2e-fixtures / MINIKUBE_SEED_PROFILE=e2e, and in
-# local mode, where a full build builds every fixture.
+# The two e2e_only fixtures are NOT verified on the default ghcr path: nothing
+# builds them there, so demanding them fails a healthy default cluster with a
+# remedy that can never supply them (they are published:false, so no pull can
+# fetch them). They come back with --include-e2e-fixtures /
+# MINIKUBE_SEED_PROFILE=e2e, and in local mode, where a full build builds every
+# fixture.
+#
+# The registry-distributed MCP servers (airtable-mcp-server, web-search-mcp,
+# doc-generator-mcp) are absent from this set entirely, because they are
+# deployed_to_minikube:false -- minikube setup neither builds nor pulls them,
+# so demanding them would fail every cluster. airtable-mcp-server is an opt-in
+# local build (MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE) for the SEED_PROFILE=e2e demo
+# instance; like mcp-host-desktop and playwright-server before it, an opt-in
+# image is not part of the verify contract.
if [ "$VERIFY_ONLY" = true ]; then
# What the cluster RUNS decides what gets verified. The env var is only a
# fallback for a cluster nothing has built or pulled into yet.
@@ -725,11 +759,33 @@ fi
# `make minikube-deploy-evenfire-registry` to build + deploy it. This script
# only builds clerum-monorepo services.
+# MCP servers are distributed through the evenfire registry and installed on
+# demand: a registry install copies the catalog entry's fully-qualified
+# imageRef straight into McpServer.spec.image (control-api/src/routes/admin/
+# registry.ts:1088) and the kubelet pulls it. Nothing on that path wants a
+# locally loaded clerum/* alias, so minikube setup neither builds nor pulls
+# these images -- they are deployed_to_minikube:false in deploy/images.json.
+#
+# The two that remain here are opt-in only:
+# playwright-mcp-server -- heavy, never deployed by the minikube overlay.
+# airtable-mcp-server -- named by its LOCAL ref in the SEED_PROFILE=e2e
+# demo instance (deploy/overlays/minikube/
+# instances-e2e/airtable-server.yaml), which is
+# applied with `kubectl apply -f`, outside kustomize,
+# so the ghcr component never rewrites it. HCC forces
+# imagePullPolicy=IfNotPresent on minikube, so that
+# ref must already be in the daemon. full-setup.sh
+# sets MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE for exactly
+# that branch and nothing else.
echo -e "\n${BOLD}=== Building MCP Servers ===${NC}"
-build_image "airtable-mcp" \
- "${PROJECT_DIR}/mcp-servers/airtable" \
- "clerum/airtable-mcp-server:test"
+if [ "$MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE" = "true" ]; then
+ build_image "airtable-mcp" \
+ "${PROJECT_DIR}/mcp-servers/airtable" \
+ "clerum/airtable-mcp-server:test"
+else
+ warn "Skipping the optional Airtable MCP image. The registry installs this connector on demand; set MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE=true (or --include-airtable-mcp-image) for the SEED_PROFILE=e2e demo instance."
+fi
if [ "$MINIKUBE_BUILD_PLAYWRIGHT_MCP_IMAGE" = "true" ]; then
if [ "$MINIKUBE_REUSE_PLAYWRIGHT_MCP_IMAGE" = "true" ]; then
@@ -745,14 +801,6 @@ else
warn "Skipping optional Playwright MCP local image. The default minikube overlay does not deploy clerum/playwright-mcp-server:test; GKE publishes this image as playwright-server:<tag>."
fi
-build_image "web-search-mcp" \
- "${PROJECT_DIR}/mcp-servers/web-search" \
- "clerum/web-search-mcp:v1"
-
-build_image "doc-generator-mcp" \
- "${PROJECT_DIR}/mcp-servers/doc-generator" \
- "clerum/doc-generator-mcp:v1"
-
echo -e "\n${BOLD}=== Building Test Fixtures ===${NC}"
build_image "mock-mcp" \
@@ -810,10 +858,10 @@ echo -e "\n${BOLD}=== Generating Image Manifest ===${NC}"
# the cluster renders, not what just happened here.
#
# A partial run (--only=<svc>, and --public-only, which sets ONLY_SVC) acquires
-# a subset and must not redefine the mode: `make minikube-setup-e2e` builds two
-# fixtures with --only AFTER the ghcr pull, and `make minikube-setup` builds
-# doc-generator-mcp with --only BEFORE it. Carry the recorded value forward
-# instead, and fall back to the env var only when nothing is recorded yet.
+# a subset and must not redefine the mode: `make minikube-setup-e2e` builds the
+# two E2E fixtures and the opt-in airtable-mcp-server image with --only AFTER
+# the ghcr pull. Carry the recorded value forward instead, and fall back to the
+# env var only when nothing is recorded yet.
#
# imageTag rides along for exactly the same reason. A pre-gate shadow build is
# an --only run, so dropping the tag here would make the next pre-gate fall back
diff --git a/scripts/minikube/full-setup.sh b/scripts/minikube/full-setup.sh
index 7a755ae25..9db8b3668 100755
--- a/scripts/minikube/full-setup.sh
+++ b/scripts/minikube/full-setup.sh
@@ -768,13 +768,12 @@ elif [ "$IMAGE_SOURCE" = ghcr ]; then
bash "${SCRIPT_DIR}/build-images.sh" --public-only
ok "Public base images loaded"
- # The three published:false images (workflow-custom-sdk-e2e,
- # workflow-plugin-sdk-e2e, doc-generator-mcp) have no ghcr counterpart.
- # doc-generator-mcp is an ordinary MCP server the default path needs; the two
- # fixtures are E2E-only and are built by `make minikube-setup-e2e` instead.
- log "Building the unpublished image doc-generator-mcp locally..."
- bash "${SCRIPT_DIR}/build-images.sh" --only=doc-generator-mcp
- ok "doc-generator-mcp built"
+ # No local build runs on this path any more. The published:false images
+ # (workflow-custom-sdk-e2e, workflow-plugin-sdk-e2e, doc-generator-mcp) have
+ # no ghcr counterpart, and all three are now built only by the path that
+ # actually needs them: the two fixtures by `make minikube-setup-e2e`, and
+ # doc-generator-mcp by nothing at all -- the registry distributes it and
+ # installs it on demand, so no cluster manifest names its local ref.
log "Pulling published images (${EFFECTIVE_IMAGE_TAG}) into minikube..."
# `${MINIKUBE_MULTI_NODE:-false}`, not `$MINIKUBE_MULTI_NODE`: this script
@@ -942,6 +941,20 @@ ok "CRD instances applied (Host, Context, CommunicationChannel, GFS, policy)"
# instances-e2e/context-mcpservers.yaml must apply AFTER instances/context.yaml
# so its non-empty mcpServers list wins over the empty default.
if [ "$SEED_PROFILE" = "e2e" ]; then
+ # airtable-server.yaml names the LOCAL ref clerum/airtable-mcp-server:test,
+ # and this directory is applied with `kubectl apply -f` -- outside kustomize,
+ # so the ghcr component never rewrites it -- while HCC forces
+ # imagePullPolicy=IfNotPresent on minikube. That ref must therefore already
+ # be in the daemon, and minikube setup no longer acquires it: the registry
+ # distributes MCP servers and installs them on demand, so airtable-mcp-server
+ # is deployed_to_minikube:false and is neither built nor pulled by default.
+ # Build it here, gated on the one branch that consumes it, rather than paying
+ # for it on every setup.
+ log "Building the optional Airtable MCP image for the E2E demo instance..."
+ MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE=true \
+ bash "${SCRIPT_DIR}/build-images.sh" --only=airtable-mcp-server
+ ok "airtable-mcp-server built"
+
log "Applying E2E demo MCP server instances..."
$KC apply -f "${PROJECT_DIR}/deploy/overlays/minikube/instances-e2e/"
ok "E2E instances applied (airtable, mongodb, mongodb-mcp-stack + context1 servers)"
diff --git a/scripts/minikube/pre-gate-incremental.sh b/scripts/minikube/pre-gate-incremental.sh
index ea0e5d49b..ebe810f36 100755
--- a/scripts/minikube/pre-gate-incremental.sh
+++ b/scripts/minikube/pre-gate-incremental.sh
@@ -304,9 +304,10 @@ incremental_shadow_selector() {
while IFS="$(printf '\t')" read -r name local_ref shadow_ref; do
[[ -n "${name}" ]] || continue
if [[ "${shadow_ref}" == "-" ]]; then
- # published:false images (the two E2E fixtures, doc-generator-mcp) run
- # under their clerum/* ref in BOTH modes, so the local build is already
- # the running image and there is nothing to shadow.
+ # published:false images (the two E2E fixtures; doc-generator-mcp, which
+ # nothing acquires any more) run under their clerum/* ref in BOTH modes,
+ # so the local build is already the running image and there is nothing to
+ # shadow.
log " ${local_ref} has no published counterpart; the local build is what runs"
continue
fi
diff --git a/scripts/minikube/pull-images.sh b/scripts/minikube/pull-images.sh
index afcb13b3c..010394888 100755
--- a/scripts/minikube/pull-images.sh
+++ b/scripts/minikube/pull-images.sh
@@ -38,16 +38,24 @@
# that local build survive across setups indefinitely and invisibly, and a
# gate would keep testing code that was never deployed.
#
-# 2. It ALIASES each ghcr ref to clerum/<local_name>:<local_tag>. Six
+# 2. It ALIASES each ghcr ref to clerum/<local_name>:<local_tag>. Four
# pull_in_ghcr_mode images have no row in the minikube overlay and are
# never rewritten by the ghcr component -- mcp-host-slim, mcp-host-full,
-# airtable-mcp-server, web-search-mcp, mock-mcp-server,
-# mock-stdio-mcp-server. They are consumed under their LOCAL names by
-# McpServer CRD instances applied outside the overlay
-# (deploy/overlays/minikube/instances-e2e/airtable-server.yaml) and by the
-# E2E scripts under scripts/e2e/. A `docker tag` is a pointer; dropping it
-# breaks those paths in ghcr mode only, which is the worst place to find
-# out.
+# mock-mcp-server, mock-stdio-mcp-server. They are consumed under their
+# LOCAL names by McpServer CRD instances applied outside the overlay and
+# by the E2E scripts under scripts/e2e/ (the minikube registry catalog
+# seed publishes mcp-airtable with imageRef clerum/mock-mcp-server:test,
+# so that alias is load-bearing for the registry install specs). A
+# `docker tag` is a pointer; dropping it breaks those paths in ghcr mode
+# only, which is the worst place to find out.
+#
+# airtable-mcp-server and web-search-mcp used to be in that list. They are
+# deployed_to_minikube:false now: the evenfire registry distributes MCP
+# servers and installs them on demand, writing the catalog entry's
+# fully-qualified imageRef into McpServer.spec.image, so no local alias is
+# involved. The one manifest still naming a local MCP-server ref
+# (instances-e2e/airtable-server.yaml, SEED_PROFILE=e2e only) is served by
+# an opt-in local build instead -- see MINIKUBE_BUILD_AIRTABLE_MCP_IMAGE.
# ======================================================================
set -euo pipefail
diff --git a/scripts/tests/test-images-manifest.sh b/scripts/tests/test-images-manifest.sh
index 5e49b18dd..749b243d4 100755
--- a/scripts/tests/test-images-manifest.sh
+++ b/scripts/tests/test-images-manifest.sh
@@ -550,8 +550,8 @@ assert_all_three_image_lists_agree() {
# have no ghcr counterpart at all, so whenever they are verified they are
# verified under their local clerum/* ref, IMAGE_SOURCE notwithstanding.
# (WHETHER each one is verified in ghcr mode is a separate question, settled by
-# e2e_only in the cases below: doc-generator-mcp is built on both paths, the two
-# sdk-e2e fixtures only by `make minikube-setup-e2e`.)
+# e2e_only in the cases below: the two sdk-e2e fixtures are acquired only by
+# `make minikube-setup-e2e`.)
assert_the_verify_set_splits_on_published_not_on_mode() {
local output rc
output="$(node -e '
@@ -580,11 +580,15 @@ assert_the_verify_set_splits_on_published_not_on_mode() {
fi
}
-# `make minikube-setup` (default ghcr, SEED_PROFILE=minimal) builds exactly one
-# unpublished image, doc-generator-mcp. The two sdk-e2e fixtures are built by
-# `make minikube-setup-e2e` alone and no pull can supply them (published:false),
-# so demanding them on the default path fails a healthy cluster with a remedy
-# that can never work.
+# `make minikube-setup` (default ghcr, SEED_PROFILE=minimal) builds nothing at
+# all now. The two sdk-e2e fixtures are built by `make minikube-setup-e2e` alone
+# and no pull can supply them (published:false), so demanding them on the
+# default path fails a healthy cluster with a remedy that can never work.
+#
+# doc-generator-mcp used to be the one exception -- unpublished but built on
+# both paths. It is deployed_to_minikube:false now (the registry distributes it
+# and installs it on demand), so it is not in the verify set at all rather than
+# being in it under a local ref.
#
# The expected refs are spelled out rather than re-derived from the manifest:
# a test that recomputes minikubeVerifyRefs()'s own rule proves nothing.
@@ -598,9 +602,6 @@ assert_the_default_ghcr_verify_set_omits_only_the_e2e_fixtures() {
for (const gone of ["workflow-custom-sdk-e2e", "workflow-plugin-sdk-e2e"]) {
if (refs.some(r => r.includes(gone))) problems.push(`${gone} is still demanded in ghcr mode`)
}
- if (!refs.includes("clerum/doc-generator-mcp:v1")) {
- problems.push("doc-generator-mcp dropped; it IS built on the default ghcr path")
- }
if (!refs.includes("ghcr.io/evenfire-ai/control-api:vTEST")) {
problems.push("a published image is not verified at its ghcr ref")
}
@@ -622,6 +623,110 @@ assert_the_default_ghcr_verify_set_omits_only_the_e2e_fixtures() {
fi
}
+# THE REGRESSION GUARD for this change. MCP servers are distributed through the
+# evenfire registry and installed on demand: a registry install copies the
+# catalog entry's fully-qualified imageRef straight into McpServer.spec.image
+# (control-api/src/routes/admin/registry.ts:1088) and the kubelet pulls it, so
+# no locally loaded clerum/* alias is involved and minikube setup must neither
+# build nor pull these images.
+#
+# Named explicitly, and asserted at every derived consumer at once, because the
+# single manifest flag fans out to four different answers. Re-deriving any of
+# them from deployed_to_minikube would make this pass no matter what the flag
+# says.
+#
+# `published` is deliberately NOT asserted false: the registry serves these
+# images from ghcr, so publishing must continue. That is exactly the pair this
+# case exists to hold apart -- published:true, deployed_to_minikube:false.
+assert_registry_distributed_mcp_servers_are_out_of_the_minikube_set() {
+ local output rc
+ output="$(node -e '
+ import("'"$REPO_ROOT"'/scripts/release/images-manifest.mjs").then(m => {
+ const registryServed = ["airtable-mcp-server", "web-search-mcp", "doc-generator-mcp"]
+ const problems = []
+ const byName = new Map(m.IMAGES.map(i => [i.name, i]))
+ const ghcrNames = new Set(m.pullInGhcrMode().map(i => i.name))
+ const ghcrRefs = m.minikubeVerifyRefs({ mode: "ghcr", tag: "vTEST" })
+ const localRefs = m.minikubeVerifyRefs({ mode: "local" })
+ const e2eRefs = m.minikubeVerifyRefs({ mode: "ghcr", tag: "vTEST", includeE2eFixtures: true })
+ for (const name of registryServed) {
+ const image = byName.get(name)
+ if (!image) {
+ problems.push(`${name} has no manifest row at all`)
+ continue
+ }
+ if (image.deployed_to_minikube) problems.push(`${name} is still deployed_to_minikube`)
+ // The pull half: pullInGhcrMode() is what pull-images.sh iterates.
+ if (ghcrNames.has(name)) problems.push(`${name} is still pulled in ghcr mode`)
+ // The verify half, in all three modes -- a ref demanded here would fail
+ // a healthy cluster that correctly never acquired the image.
+ for (const [label, refs] of [["ghcr", ghcrRefs], ["local", localRefs], ["ghcr+e2e", e2eRefs]]) {
+ if (refs.some(r => r.includes(name))) problems.push(`${name} is still verified in ${label} mode`)
+ }
+ }
+ console.log(problems.join("; "))
+ }).catch(err => {
+ console.log(`PARSE_ERROR: ${err.message}`)
+ process.exit(1)
+ })' 2>&1)"
+ rc=$?
+ if [ "$rc" -ne 0 ]; then
+ fail "registry-distributed derivation failed: $output"
+ elif [ -z "$output" ]; then
+ pass "the registry-distributed MCP servers are neither deployed, pulled, nor verified"
+ else
+ fail "$output"
+ fi
+}
+
+# The other half of the pair above, and the reason it cannot simply assert
+# "these three are absent from deploy/images.json". Dropping the rows would stop
+# publishing them, and the registry serves these images from ghcr -- so the rows
+# must stay, with published untouched.
+#
+# doc-generator-mcp is published:false today. That is a known, separate gap
+# (the registry cannot serve an image that is never pushed) and is pinned here
+# as the current state rather than silently fixed by this case.
+assert_registry_distributed_mcp_servers_keep_their_published_flag() {
+ local output rc
+ output="$(node -e '
+ import("'"$REPO_ROOT"'/scripts/release/images-manifest.mjs").then(m => {
+ const expected = new Map([
+ ["airtable-mcp-server", true],
+ ["web-search-mcp", true],
+ ["doc-generator-mcp", false],
+ ])
+ const problems = []
+ const byName = new Map(m.IMAGES.map(i => [i.name, i]))
+ const publishedNames = new Set(m.publishedImages().map(i => i.name))
+ for (const [name, want] of expected) {
+ const image = byName.get(name)
+ if (!image) {
+ problems.push(`${name} has no manifest row at all`)
+ continue
+ }
+ if (image.published !== want) {
+ problems.push(`${name}.published is ${image.published}, expected ${want}`)
+ }
+ if (publishedNames.has(name) !== want) {
+ problems.push(`${name} publishedImages() membership is ${publishedNames.has(name)}, expected ${want}`)
+ }
+ }
+ console.log(problems.join("; "))
+ }).catch(err => {
+ console.log(`PARSE_ERROR: ${err.message}`)
+ process.exit(1)
+ })' 2>&1)"
+ rc=$?
+ if [ "$rc" -ne 0 ]; then
+ fail "published-flag derivation failed: $output"
+ elif [ -z "$output" ]; then
+ pass "the registry-distributed MCP servers keep publishing (doc-generator-mcp still the known false)"
+ else
+ fail "$output"
+ fi
+}
+
# The exclusion is an opt-out, not a deletion. `make minikube-setup-e2e` builds
# both fixtures, and a full LOCAL build builds every fixture unconditionally --
# origin/dev verified them, and dropping them there would lose real coverage.
@@ -750,6 +855,8 @@ assert_source_paths_match_filters
assert_all_three_image_lists_agree
assert_the_verify_set_splits_on_published_not_on_mode
assert_the_default_ghcr_verify_set_omits_only_the_e2e_fixtures
+assert_registry_distributed_mcp_servers_are_out_of_the_minikube_set
+assert_registry_distributed_mcp_servers_keep_their_published_flag
assert_the_e2e_opt_in_and_local_mode_both_keep_the_fixtures
assert_verify_refs_refuses_a_mode_or_tag_it_cannot_serve
assert_e2e_only_images_are_unpublished_minikube_fixtures
diff --git a/scripts/tests/test-minikube-pull-images.sh b/scripts/tests/test-minikube-pull-images.sh
index 3699fbe1f..34aaa915c 100755
--- a/scripts/tests/test-minikube-pull-images.sh
+++ b/scripts/tests/test-minikube-pull-images.sh
@@ -83,6 +83,15 @@ run_puller() {
mkdir -p "$d/repo"
cp -R "$REPO_ROOT/deploy" "$d/repo/deploy"
cp -R "$REPO_ROOT/scripts" "$d/repo/scripts"
+ run_puller_prepared "$d" "$@"
+}
+
+# The second half of run_puller, for cases that must patch the throwaway tree
+# (deploy/images.json) between the copy and the run. Splitting it is what keeps
+# the stub/env wiring in ONE place: a copy-pasted invocation would drift from
+# run_puller's the first time a variable is added here.
+run_puller_prepared() {
+ local d=$1; shift
PATH="$d/bin:$PATH" \
TEST_LOG_FILE="$d/ops.log" \
TEST_MISSING_TAGS="${TEST_MISSING_TAGS:-}" \
@@ -145,15 +154,17 @@ assert_it_repulls_a_tag_already_present_in_the_daemon() {
rm -rf "$d"
}
-# Six pull_in_ghcr_mode images have no overlay row and are consumed under their
-# local clerum/ names by McpServer CRD instances and E2E scripts.
+# Four pull_in_ghcr_mode images have no overlay row and are consumed under their
+# local clerum/ names by McpServer CRD instances and E2E scripts. mock-mcp-server
+# is the load-bearing one: the minikube registry catalog seed publishes the
+# mcp-airtable entry with imageRef clerum/mock-mcp-server:test, so the registry
+# install specs resolve to that alias.
assert_it_aliases_each_image_to_its_local_ref() {
local d out missing
d="$(mktemp -d)"
out="$(run_puller "$d")"
missing=""
- for ref in clerum/airtable-mcp-server:test clerum/web-search-mcp:v1 \
- clerum/mock-mcp-server:test clerum/mock-stdio-mcp-server:test \
+ for ref in clerum/mock-mcp-server:test clerum/mock-stdio-mcp-server:test \
clerum/mcp-host-slim:test clerum/mcp-host-full:test \
clerum/control-api:test; do
grep -q "^tag ghcr\.io/evenfire-ai/[a-z0-9.:-]* ${ref}\$" "$d/ops.log" || missing+=" $ref"
@@ -166,16 +177,76 @@ assert_it_aliases_each_image_to_its_local_ref() {
rm -rf "$d"
}
-# web-search-mcp uses local_tag v1, not test. Hardcoding :test here would break
-# every McpServer instance that names it.
+# The alias must come from localRef(), which honours local_name and local_tag,
+# not from a hardcoded `clerum/<name>:test`. Getting this wrong breaks every
+# McpServer instance that names the image.
+#
+# This used to ride on web-search-mcp (local_tag v1). No pull_in_ghcr_mode image
+# carries a local_name/local_tag override any more -- the two that did are
+# registry-distributed and deployed_to_minikube:false now, and playwright-server
+# (local_name) never was in the minikube set. Rather than delete the only
+# coverage localRef() has on this path, the row is INJECTED into the throwaway
+# manifest: the assertion still runs the real script through the real reader,
+# and it now fails for a name override as well as a tag override, which the
+# web-search-mcp version never checked.
assert_the_alias_honours_local_tag_and_local_name() {
local d out
d="$(mktemp -d)"
- out="$(run_puller "$d" --only=web-search-mcp)"
- if grep -q '^tag ghcr\.io/evenfire-ai/web-search-mcp:[^ ]* clerum/web-search-mcp:v1$' "$d/ops.log"; then
- pass "the alias uses localRef(), honouring local_tag"
+ make_stubs "$d"
+ mkdir -p "$d/repo"
+ cp -R "$REPO_ROOT/deploy" "$d/repo/deploy"
+ cp -R "$REPO_ROOT/scripts" "$d/repo/scripts"
+
+ # Append a published+deployed row whose local ref differs from its name in
+ # BOTH dimensions. node, not sed: the manifest is JSON and a text patch would
+ # silently produce something the reader rejects.
+ if ! node -e '
+ const fs = require("node:fs")
+ const p = process.argv[1]
+ const m = JSON.parse(fs.readFileSync(p, "utf8"))
+ m.images.push({
+ name: "alias-probe",
+ path: "alias-probe",
+ source_paths: ["alias-probe/**"],
+ local_name: "renamed-alias-probe",
+ local_tag: "v9",
+ published: true,
+ deployed_to_minikube: true,
+ })
+ fs.writeFileSync(p, JSON.stringify(m, null, 2))
+ ' "$d/repo/deploy/images.json"; then
+ fail "could not inject the alias-probe row into the throwaway manifest"
+ rm -rf "$d"
+ return
+ fi
+
+ out="$(run_puller_prepared "$d" --only=alias-probe)"
+ if grep -q '^tag ghcr\.io/evenfire-ai/alias-probe:[^ ]* clerum/renamed-alias-probe:v9$' "$d/ops.log"; then
+ pass "the alias uses localRef(), honouring local_name and local_tag"
+ else
+ fail "alias-probe was not aliased to clerum/renamed-alias-probe:v9: $out"
+ fi
+ rm -rf "$d"
+}
+
+# The regression this whole change is about: minikube setup must neither build
+# nor PULL the registry-distributed MCP servers. This is the pull half.
+#
+# Spelled out by name rather than re-derived from pullInGhcrMode(): a test that
+# recomputes the production rule passes no matter what the rule says.
+assert_it_never_pulls_a_registry_distributed_mcp_server() {
+ local d out bad aliased
+ d="$(mktemp -d)"
+ out="$(run_puller "$d")"
+ bad="$(grep -E '^pull ghcr\.io/evenfire-ai/(airtable-mcp-server|web-search-mcp|doc-generator-mcp):' "$d/ops.log" || true)"
+ # The alias is the other half: a `docker tag` onto clerum/airtable-mcp-server
+ # would put the image in the daemon under the exact name the old McpServer
+ # instance expects, hiding the removal from every consumer.
+ aliased="$(grep -E '^tag [^ ]+ clerum/(airtable-mcp-server|web-search-mcp|doc-generator-mcp):' "$d/ops.log" || true)"
+ if [ -z "$bad" ] && [ -z "$aliased" ]; then
+ pass "no registry-distributed MCP server was pulled or aliased"
else
- fail "web-search-mcp was not aliased to clerum/web-search-mcp:v1: $out"
+ fail "registry-distributed MCP server acquired: ${bad}${aliased}"
fi
rm -rf "$d"
}
@@ -398,6 +469,7 @@ assert_every_defined_case_is_invoked() {
assert_it_pulls_every_pull_in_ghcr_mode_image
assert_it_never_pulls_an_unpublished_image
+assert_it_never_pulls_a_registry_distributed_mcp_server
assert_it_repulls_a_tag_already_present_in_the_daemon
assert_it_aliases_each_image_to_its_local_ref
assert_the_alias_honours_local_tag_and_local_name
diff --git a/scripts/tests/test-minikube-verify-images.sh b/scripts/tests/test-minikube-verify-images.sh
index 34c5c9e3f..6e1482ea4 100755
--- a/scripts/tests/test-minikube-verify-images.sh
+++ b/scripts/tests/test-minikube-verify-images.sh
@@ -152,14 +152,14 @@ assert_a_recorded_local_build_is_verified_locally_despite_the_ghcr_default() {
}
# The other direction, so the fix cannot be "always verify local refs": the
-# daemon holds the ghcr refs (plus doc-generator-mcp, which is built locally on
-# both paths) and IMAGE_SOURCE=local is explicitly in the environment.
+# daemon holds exactly the ghcr refs and IMAGE_SOURCE=local is explicitly in
+# the environment.
assert_a_recorded_ghcr_pull_is_verified_against_ghcr_despite_a_local_env() {
local d out rc present
d="$(mktemp -d)"
prepare_repo "$d"
write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
- present="$(all_ghcr_refs)"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs)"
out="$(IMAGE_SOURCE=local run_verify "$d" "$present")"; rc=$?
if [ "$rc" -eq 0 ] \
&& grep -q "ghcr\.io/evenfire-ai/control-api:${PIN_TAG}" <<< "$out" \
@@ -237,7 +237,7 @@ assert_a_pulled_cluster_is_told_to_pull_at_the_named_tag() {
d="$(mktemp -d)"
prepare_repo "$d"
write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
- present="$(all_ghcr_refs | grep -v "^ghcr.io/evenfire-ai/control-api:${PIN_TAG}\$")"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs | grep -v "^ghcr.io/evenfire-ai/control-api:${PIN_TAG}\$")"
out="$(run_verify "$d" "$present")"; rc=$?
if [ "$rc" -ne 0 ] \
&& grep -q "MISSING: ghcr\.io/evenfire-ai/control-api:${PIN_TAG}" <<< "$out" \
@@ -267,7 +267,7 @@ assert_the_puller_records_ghcr_and_the_verifier_reads_it_back() {
if [ "$pull_rc" -ne 0 ]; then
fail "the stubbed pull run failed: $(cat "$d/pull.out")"; rm -rf "$d"; return 0
fi
- present="$(all_ghcr_refs)"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs)"
out="$(IMAGE_SOURCE=local run_verify "$d" "$present")"; rc=$?
if [ "$rc" -eq 0 ] && grep -q "ghcr\.io/evenfire-ai/control-api:${PIN_TAG}" <<< "$out"; then
pass "pull-images.sh records ghcr and --verify-only verifies ghcr refs off it"
@@ -340,27 +340,70 @@ assert_an_only_build_carries_the_recorded_mode_forward() {
# ---------------------------------------------------------------------------
# The exact reported reproduction: default ghcr setup, SEED_PROFILE=minimal, so
-# the daemon has every pulled image plus doc-generator-mcp and NEITHER fixture.
-# No pod references either fixture, and no pull could supply them
-# (published:false), so demanding them is a lying diagnostic.
+# the daemon has exactly what the puller put there and NEITHER fixture. No pod
+# references either fixture, and no pull could supply them (published:false),
+# so demanding them is a lying diagnostic.
+#
+# The daemon fixture is now `all_ghcr_refs` alone. It used to carry
+# clerum/doc-generator-mcp:v1 as well, because full-setup.sh built that one
+# unpublished image before the pull; nothing builds it on this path any more.
assert_the_default_ghcr_verify_passes_without_the_e2e_fixtures() {
local d out rc present
d="$(mktemp -d)"
prepare_repo "$d"
write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
- present="$(all_ghcr_refs)"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs)"
out="$(run_verify "$d" "$present")"; rc=$?
if [ "$rc" -eq 0 ] \
&& ! grep -q 'workflow-custom-sdk-e2e' <<< "$out" \
- && ! grep -q 'workflow-plugin-sdk-e2e' <<< "$out" \
- && grep -q 'clerum/doc-generator-mcp:v1' <<< "$out"; then
- pass "the default ghcr verify set omits the E2E fixtures and still checks doc-generator-mcp"
+ && ! grep -q 'workflow-plugin-sdk-e2e' <<< "$out"; then
+ pass "the default ghcr verify set omits the E2E fixtures and passes on exactly what the puller supplied"
else
- fail "expected a clean ghcr verify with no fixture refs but with doc-generator-mcp; got rc=$rc: $out"
+ fail "expected a clean ghcr verify with no fixture refs; got rc=$rc: $out"
fi
rm -rf "$d"
}
+# The end-to-end half of the manifest guard, through the REAL script: a cluster
+# that correctly never acquired the registry-distributed MCP servers must
+# verify CLEAN. If any of the three were still demanded, the daemon fixture
+# above (which does not contain them) would make this rc!=0 -- so the run has to
+# be green AND silent about all three, in every mode the verifier supports.
+#
+# rc is checked before the greps: "no mention of airtable" is also true of a
+# crashed run that printed nothing.
+assert_the_verify_set_never_demands_a_registry_distributed_mcp_server() {
+ local d out rc present named mode
+ for mode in default e2e local; do
+ d="$(mktemp -d)"
+ prepare_repo "$d"
+ case "$mode" in
+ local)
+ write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"local","images":{}}'
+ present="$(all_local_refs)"
+ out="$(run_verify "$d" "$present")"; rc=$?
+ ;;
+ e2e)
+ write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
+ present="$(all_ghcr_refs)"$'\n'"clerum/workflow-custom-sdk-e2e:test"$'\n'"clerum/workflow-plugin-sdk-e2e:test"
+ out="$(MINIKUBE_SEED_PROFILE=e2e run_verify "$d" "$present")"; rc=$?
+ ;;
+ *)
+ write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
+ present="$(all_ghcr_refs)"
+ out="$(run_verify "$d" "$present")"; rc=$?
+ ;;
+ esac
+ named="$(grep -E 'airtable-mcp-server|web-search-mcp|doc-generator-mcp' <<< "$out" || true)"
+ if [ "$rc" -eq 0 ] && [ -z "$named" ]; then
+ pass "the ${mode} verify set demands no registry-distributed MCP server"
+ else
+ fail "expected a clean ${mode} verify with no MCP-server refs; got rc=$rc named='$named': $out"
+ fi
+ rm -rf "$d"
+ done
+}
+
# The exclusion is an opt-out, not a deletion: after `make minikube-setup-e2e`
# (SEED_PROFILE=e2e) the fixtures ARE part of what the cluster runs, and a
# missing one must still be reported.
@@ -369,7 +412,7 @@ assert_the_e2e_seed_profile_puts_the_fixtures_back() {
d="$(mktemp -d)"
prepare_repo "$d"
write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
- present="$(all_ghcr_refs)"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs)"
out="$(MINIKUBE_SEED_PROFILE=e2e run_verify "$d" "$present")"; rc=$?
if [ "$rc" -ne 0 ] \
&& grep -q 'MISSING: clerum/workflow-custom-sdk-e2e:test' <<< "$out" \
@@ -386,7 +429,7 @@ assert_the_include_flag_puts_the_fixtures_back() {
d="$(mktemp -d)"
prepare_repo "$d"
write_recorded_manifest "$d" '{"generated":"x","profile":"clerum-test","imageSource":"ghcr","images":{}}'
- present="$(all_ghcr_refs)"$'\n'"clerum/doc-generator-mcp:v1"
+ present="$(all_ghcr_refs)"
out="$(run_verify "$d" "$present" --include-e2e-fixtures)"; rc=$?
if [ "$rc" -ne 0 ] && grep -q 'MISSING: clerum/workflow-custom-sdk-e2e:test' <<< "$out"; then
pass "--include-e2e-fixtures restores the fixtures to the ghcr verify set"
@@ -486,6 +529,7 @@ assert_the_puller_records_ghcr_and_the_verifier_reads_it_back
assert_a_full_build_records_local_and_the_verifier_reads_it_back
assert_an_only_build_carries_the_recorded_mode_forward
assert_the_default_ghcr_verify_passes_without_the_e2e_fixtures
+assert_the_verify_set_never_demands_a_registry_distributed_mcp_server
assert_the_e2e_seed_profile_puts_the_fixtures_back
assert_the_include_flag_puts_the_fixtures_back
assert_local_mode_still_demands_the_e2e_fixtures