Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
chore: fix stale references, CRD descriptions and dead config keys
Jose Gabriel Ramirez Encinas5aabd270e9f8
diff --git a/CLA.md b/CLA.mdindex f991ee256..82831205a 100644--- a/CLA.md+++ b/CLA.md@@ -4,7 +4,7 @@## evenfire — Combined Individual and Entity CLA (maintainer: Keyper Labs)-By contributing to evenfire (the "Project") and accepting via the CLA-assistant bot on a PR (recorded in `signatures/cla.json`) or signing below, You agree for Your past, present, and future Contributions. Individuals accept for themselves; an entity's authorized rep accepts for the entity + its designated contributors.+By contributing to evenfire (the "Project") and signing this CLA as described in Section 10, You agree for Your past, present, and future Contributions. Individuals accept for themselves; an entity's authorized rep accepts for the entity + its designated contributors.1. Definitions: "You"=accepting individual/entity (incl. common control); "Contribution"=original work intentionally submitted to Keyper Labs for the Project (excl. anything marked "Not a Contribution"); "Work"=Project materials.2. Copyright License: perpetual, worldwide, non-exclusive, royalty-free, transferable, sublicensable, irrevocable; You allow relicensing under ANY terms incl. proprietary/commercial and inclusion in commercial/hosted/managed/enterprise editions, no accounting/attribution/compensation owed; You retain ownership (license, not assignment).@@ -15,6 +15,6 @@ By contributing to evenfire (the "Project") and accepting via the CLA-assistant7. DCO: You certify the Developer Certificate of Origin 1.1 (https://developercertificate.org/); a `Signed-off-by` line counts.8. Scope & Term: covers Contributions submitted before and after acceptance; grants irrevocable and survive withdrawal.9. Miscellaneous: assignment to successors; entire agreement on IP licensing; severability; `[jurisdiction]` law; no waiver.-10. How to Accept: via the CLA-assistant bot, or manually via the Individual/Entity signature block (the Entity block includes a designated-contributors schedule) to Keyper Labs at `[contact email]`.+10. How to Accept: sign the Individual/Entity signature block (the Entity block includes a designated-contributors schedule) and send it to Keyper Labs at `[contact email]`. There is no automated CLA bot; ask a maintainer if You need the signature block.evenfire is a trademark of Keyper Labs; no trademark rights are granted beyond customary use describing the origin of the Work.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0bb795b1f..e49c7ef5e 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -56,8 +56,8 @@ validators run in CI and will catch what the hook would have.## CLA-This project requires a signed Contributor License Agreement. The CLA-assistant-bot will prompt you on your first PR. Contributions may be used in the project's-commercial / managed editions.+This project requires a signed Contributor License Agreement. There is no+automated CLA bot; contact a maintainer to sign it before your first PR is+merged. Contributions may be used in the project's commercial / managed editions.See [CLA.md](CLA.md) for the full agreement (draft, pending legal review).diff --git a/charts/clerum-crds/crds/globalfilesystem.yaml b/charts/clerum-crds/crds/globalfilesystem.yamlindex 23ba9cabc..b78a9fed2 100644--- a/charts/clerum-crds/crds/globalfilesystem.yaml+++ b/charts/clerum-crds/crds/globalfilesystem.yaml@@ -105,8 +105,9 @@ spec:security:type: objectdescription: >-- POSIX identity applied by the reconciler to the gfsc pods- and the init Job so they can read/write the mounted drive.+ POSIX identity applied by the reconciler to the gfsc pods;+ the writer's root init container chowns the mounted drive to+ it so the pods can read/write it.properties:runAsUser:type: integerdiff --git a/charts/clerum-crds/crds/host.yaml b/charts/clerum-crds/crds/host.yamlindex d7afe053f..b79d263ff 100644--- a/charts/clerum-crds/crds/host.yaml+++ b/charts/clerum-crds/crds/host.yaml@@ -108,8 +108,9 @@ spec:maxLength: 63pattern: '^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$'description: >-- Named Codex subscription key this Host is assigned to.- Absent or empty Codex Hosts persist unassigned and must+ Named oauth-broker subscription connection key (Codex or+ Grok) this Host is assigned to. Absent or empty broker+ Hosts persist unassigned and mustnot spend a grant. Do not invent deployment-default.ROLLOUT ORDER — CRD FIRST: apiextensions/v1 prunes unknownfields, so this property must be applied before control-api@@ -399,7 +400,7 @@ spec:# being pruned.type: objectdescription: >-- Guardrail policy for this Host: ordered tool-lane rules,+ Guardrail policy for this Host: tool-lane rules,installed LlmHook references grouped by lifecycle phase,first-party built-ins, and the capability/trust ceilings thatbound the installed hooks.@@ -407,7 +408,9 @@ spec:rules:type: arraydescription: >-- Ordered tool-lane allow/ask/deny rules, evaluated top-down.+ Tool-lane allow/ask/deny rules. Every matching rule+ contributes and the engine aggregates them (strictest+ wins); array order is not precedence.Each entry: { id, action: allow|ask|deny, reasonCode,match{ tool, arguments[] } } — shape validated bymcp-host/control-api (§6.1).diff --git a/charts/clerum-crds/crds/llmhook.yaml b/charts/clerum-crds/crds/llmhook.yamlindex 13f2fedb0..20ad3aba1 100644--- a/charts/clerum-crds/crds/llmhook.yaml+++ b/charts/clerum-crds/crds/llmhook.yaml@@ -102,9 +102,11 @@ spec:egressBindings:type: arraydescription: >-- External egress this hook pod is permitted. NOTE: this is- looser than McpServer.egressBindings (no SSRF/private-range- CEL hardening yet) — tracked as a follow-up (§8.2/§8.4).+ External egress this hook pod is permitted. Not CEL-validated+ at admission; host-context-controller validates each binding+ at reconcile (private, metadata, link-local and reserved+ CIDRs/hostnames are rejected) and fails the hook closed with+ Ready=False reason InvalidEgress.items:type: objectproperties:diff --git a/charts/clerum-crds/examples/sharedfilesystem-team-mission.yaml b/charts/clerum-crds/examples/sharedfilesystem-team-mission.yamlindex 6c00ca319..b65554146 100644--- a/charts/clerum-crds/examples/sharedfilesystem-team-mission.yaml+++ b/charts/clerum-crds/examples/sharedfilesystem-team-mission.yaml@@ -18,9 +18,8 @@ spec:size: 5GiaccessModes:# Minikube's default `standard` StorageClass is RWO-only. The wfc- # reconciler detects RWO and forces replicas:1 automatically (what GKE- # callers will do is set ReadWriteMany backed by the GCS FUSE- # StorageClass — see deploy/scripts/gcp-enable-gcsfuse.sh).+ # Deployment always runs a single replica regardless of access mode;+ # ReadWriteMany requires a StorageClass that supports it.- ReadWriteOncedirectories:- docsdiff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex 86e53095b..092d6afee 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.737",+ "version": "0.1.738","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.737",+ "version": "0.1.738","dependencies": {"@clerum/display-field": "file:../packages/display-field","@clerum/grok-provider-attempt-contract": "file:../packages/grok-provider-attempt-contract",diff --git a/control-api/package.json b/control-api/package.jsonindex d584b970e..2b01bf382 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.737",+ "version": "0.1.738","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/src/config.ts b/control-api/src/config.tsindex f3af91b86..4da20b4c5 100644--- a/control-api/src/config.ts+++ b/control-api/src/config.ts@@ -92,8 +92,8 @@ type Config = {// Publisher UI surface (Sidebar entry + /publisher route) toggle, surfaced// to control-ui on the publish-scope response. Static config value — not// part of resolvePublishScope()'s cached registry-derived fields. Default- // OFF for self-hosted deploys, ON for managed; CONTROL_API_PUBLISHER_UI_ENABLED- // overrides the default either way.+ // ON for every deploy (managed and self-hosted);+ // CONTROL_API_PUBLISHER_UI_ENABLED='false' disables it.publisherUiEnabled: booleanadminAuthMaxFailures: numberadminAuthLockMinutes: number@@ -698,9 +698,8 @@ if (memberRegistrationMode === 'hosted') {}}-// Computed once so registryConnectionMode and publisherUiEnabled's mode-based-// default read the exact same resolved value below (rather than re-parsing-// REGISTRY_CONNECTION_MODE a second time).+// Computed once so every consumer below reads the exact same resolved value+// (rather than re-parsing REGISTRY_CONNECTION_MODE a second time).const registryConnectionMode: 'managed' | 'self-hosted' = parseRegistryConnectionMode()// Computed as locals because the two values are coupled: image-input evidencediff --git a/deploy/base/cluster-wide/workflowrecipe-admission.yaml b/deploy/base/cluster-wide/workflowrecipe-admission.yamlindex f4aa04279..46f6efccd 100644--- a/deploy/base/cluster-wide/workflowrecipe-admission.yaml+++ b/deploy/base/cluster-wide/workflowrecipe-admission.yaml@@ -43,10 +43,10 @@ spec:- Deny---# WorkflowRecipePolicy CRDs gate what recipes can declare (allowContextRef,-# minIsolationLevel, …). Policies must co-locate with the recipes they-# govern, otherwise the reconciler's namespace-scoped lookup in-# workflow-recipes/src/reconciler/workflowRecipeReconciler.ts (line 297)-# would miss them. Canonical storage is `sandbox-recipes`; `mcp-server` is+# governance.requiredSecurityLevel, …). Policies must co-locate with the+# recipes they govern, otherwise the reconciler's namespace-scoped lookup+# (listWorkflowRecipePolicies in+# workflow-recipes/src/reconciler/workflowRecipeReconciler.ts) would miss them. Canonical storage is `sandbox-recipes`; `mcp-server` is# reserved for rendered McpServer transport children.apiVersion: admissionregistration.k8s.io/v1kind: ValidatingAdmissionPolicydiff --git a/deploy/base/control-plane/host-context-controller.yaml b/deploy/base/control-plane/host-context-controller.yamlindex ec7a3d9f7..e9c8121c8 100644--- a/deploy/base/control-plane/host-context-controller.yaml+++ b/deploy/base/control-plane/host-context-controller.yaml@@ -101,8 +101,6 @@ spec:# validated against the configured part/global concurrency budgets instead.- name: CONTEXT_MAPPER_GFSC_LIMIT_MEMORYvalue: 512Mi- - name: STDIO_BRIDGE_IMAGE- value: clerum/stdio-bridge:0.9.5- name: CONTEXT_MAPPER_RUNTIME_NAMESPACESvalue: mcp-server,sandbox-recipes,rpc-proxy,sandbox-ui# sandbox-ui pods are React HTTP servers — they don't talk to the K8sdiff --git a/deploy/base/ingress/cloudflared.yaml b/deploy/base/ingress/cloudflared.yamlindex de1ac707d..7445fd09f 100644--- a/deploy/base/ingress/cloudflared.yaml+++ b/deploy/base/ingress/cloudflared.yaml@@ -6,10 +6,10 @@ metadata:labels:app.kubernetes.io/component: ingress----# Sentinel Secret. Real credentials are written out-of-band by-# deploy/scripts/apply-cloudflared-credentials.sh (kubectl patch outside the-# last-applied envelope), so `kubectl apply -k` sees stringData: {} as desired-# state and never clobbers the applied value.+# Sentinel Secret. Real credentials must be written out-of-band by your+# production deployment tooling (e.g. a kubectl patch outside the last-applied+# envelope), so `kubectl apply -k` sees stringData: {} as desired state and+# never clobbers the applied value. See docs/deploy/production.md.apiVersion: v1kind: Secretmetadata:diff --git a/deploy/base/kustomization.yaml b/deploy/base/kustomization.yamlindex cee1360ed..7f869c621 100644--- a/deploy/base/kustomization.yaml+++ b/deploy/base/kustomization.yaml@@ -16,8 +16,9 @@ resources:- webhook-ingress- gfs# deploy/base/ingress/ is intentionally NOT listed here — the Cloudflare Tunnel- # stack is opt-in per GKE overlay (gcp-prod/gcp-dev add `- ../../base/ingress`),- # so the minikube overlay never inherits an unconfigurable cloudflared pod.+ # stack is opt-in: your production overlay adds `- ../../base/ingress` (see+ # docs/deploy/production.md), so the minikube overlay never inherits an+ # unconfigurable cloudflared pod.replacements:- source:diff --git a/deploy/base/sandbox-recipes/workflow-output-pvc.yaml b/deploy/base/sandbox-recipes/workflow-output-pvc.yamlindex 69396e269..bad2ae8a2 100644--- a/deploy/base/sandbox-recipes/workflow-output-pvc.yaml+++ b/deploy/base/sandbox-recipes/workflow-output-pvc.yaml@@ -18,8 +18,8 @@## storageClassName intentionally unset in base — each overlay patches it:# - minikube: standard (hostpath-provisioner supports RWX in recent versions)-# - gcp: DEFERRED — see deploy/overlays/gcp/kustomization.yaml TODO (requires-# Filestore CSI or NFS CSI; decision pending).+# - production: your production overlay sets an RWX-capable StorageClass+# (e.g. Filestore CSI or NFS CSI); see docs/deploy/production.md.apiVersion: v1kind: PersistentVolumeClaimmetadata:diff --git a/deploy/overlays/minikube/configmaps/mcp-host-config.yaml b/deploy/overlays/minikube/configmaps/mcp-host-config.yamlindex 3ba801023..46a0782cb 100644--- a/deploy/overlays/minikube/configmaps/mcp-host-config.yaml+++ b/deploy/overlays/minikube/configmaps/mcp-host-config.yaml@@ -34,8 +34,6 @@ data:CLERUM_BUDGETS_ENABLED: 'true'TRACING_APPROVAL_PROMPT_HISTORY_ENABLED: 'false'TRACING_APPROVAL_PROMPT_HISTORY_MAX_BYTES: '16384'- TRACING_APPROVAL_PROMPT_HISTORY_RETENTION_DAYS: '30'- TRACING_APPROVAL_PROMPT_HISTORY_KEY_VERSION: 'v1'CLERUM_APPROVAL_CONFIG: '{"defaultPolicy":"channel_users","channels":{"telegram":{"enabled":true}}}'CLERUM_APPROVAL_TIMEOUT: '0'CLERUM_MEMORY_ENABLED: 'true'diff --git a/deploy/overlays/minikube/kustomization.yaml b/deploy/overlays/minikube/kustomization.yamlindex 912e2dee3..90e77ec38 100644--- a/deploy/overlays/minikube/kustomization.yaml+++ b/deploy/overlays/minikube/kustomization.yaml@@ -5,8 +5,8 @@ resources:# These configmaps are only in the minikube overlay (no base equivalent)- configmaps/mcp-host-config.yaml# rpc-proxy-config is referenced by base/rpc-proxy/rpc-proxy.yaml via envFrom- # but NOT defined in base — each overlay must provide its own. GCP has its- # own at deploy/overlays/gcp/configmaps/rpc-proxy-config.yaml. Without this+ # but NOT defined in base — each overlay must provide its own (your+ # production overlay included; see docs/deploy/production.md). Without this# file, rpc-proxy Pod fails with `configmap "rpc-proxy-config" not found`# → CreateContainerConfigError on every fresh minikube install.- configmaps/rpc-proxy-config.yamldiff --git a/deploy/overlays/minikube/patches/dynamic-images.yaml b/deploy/overlays/minikube/patches/dynamic-images.yamlindex 4c2b4d6d3..0d9935fb2 100644--- a/deploy/overlays/minikube/patches/dynamic-images.yaml+++ b/deploy/overlays/minikube/patches/dynamic-images.yaml@@ -1,4 +1,4 @@-# NOTE on env-var image refs (CONTEXT_MAPPER_HOST_IMAGE, STDIO_BRIDGE_IMAGE,+# NOTE on env-var image refs (CONTEXT_MAPPER_HOST_IMAGE,# CONTEXT_MAPPER_STDIO_BRIDGE_IMAGE, CLERUM_COORDINATOR_IMAGE, CLERUM_MCP_HOST_IMAGE):# we DELIBERATELY do NOT override their values here. The base values (:0.9.5)# are rewritten at render time by kustomize's image transformer, which has beendiff --git a/deploy/scripts/np-enforce-preflight.sh b/deploy/scripts/np-enforce-preflight.shindex 55f273db2..e374d9680 100755--- a/deploy/scripts/np-enforce-preflight.sh+++ b/deploy/scripts/np-enforce-preflight.sh@@ -4,7 +4,8 @@## Read-only. Run this and get a clean exit BEFORE flipping enforcement — the# 2026-05-15 attempt was rolled back because allow-k8s-api-egress-* targeted-# the wrong IP. See docs/deploy/gcp.md §7 for the full runbook.+# the wrong IP. See docs/deploy/production.md (Recommended rollout order /+# Security non-negotiables) for the surrounding production guidance.## Checks (blockers fail the run; the label audit is a WARN):# 0. Current NetworkPolicy enforcement state (informational)diff --git a/docs/crds/globalfilesystem.md b/docs/crds/globalfilesystem.mdindex 4a210f683..98beb2981 100644--- a/docs/crds/globalfilesystem.md+++ b/docs/crds/globalfilesystem.md@@ -29,7 +29,7 @@ records it to a hash-chained audit log.`gfs://<drive>/<resourceId>` URI (`gfs-controller/src/api/read.ts`), stableacross renames/moves — usable for deep links and for sharing one resourcewith someone who has no access to its parent folder.-- **Grant vs. share.** A **grant** authorizes a *folder* (and everything+- **Grant vs. share.** A **grant** authorizes a _folder_ (and everythingunder it); a **share** authorizes a single resource by its reference, forsomeone without folder access. Both are rows in the permission store, notfilesystem ACLs (`gfs-controller/src/authz/`).@@ -41,16 +41,16 @@ records it to a hash-chained audit log.## Spec fields-| Field | Type | Required | Default | Description |-| --------------------------------- | -------- | -------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `spec.storage.size` | string | yes | -- | PVC requested storage for the drive's flat blob layout (e.g. `"500Gi"`). |-| `spec.storage.storageClassName` | string | no | `standard-rwo` | StorageClass for the drive PVC. RWX (`clerum-gcsfuse`) is a deferred escalation — set explicitly only when such a class exists. |-| `spec.storage.accessModes` | string[] | no | `[ReadWriteOnce]` | The single-replica writer and co-located readers work on RWO-only StorageClasses; `ReadWriteMany` requires an RWX-capable class. |-| `spec.layout.rootDirectories` | string[] | no | `[]` | Absolute seed paths (e.g. `/org`), max 64. Materialized as governed resources in the permission store by control-api once the writer reports `Ready` — not written directly by the reconciler. |-| `spec.security.runAsUser` | integer | no | -- | POSIX UID applied to the gfsc pods and the init Job. |-| `spec.security.fsGroup` | integer | no | -- | Supplemental group applied so gfsc can read/write the mounted drive. |-| `spec.readerReplicas` | integer | no | `2` | Number of read-only gfsc reader replicas. The writer is always exactly 1 — GFS is a single-writer drive; only readers scale. |-| `spec.retainOnDelete` | boolean | no | `true` | When `false`, deleting the CRD tears down the Deployments, Service, NetworkPolicies, and PVC (PVC last). |+| Field | Type | Required | Default | Description |+| ------------------------------- | -------- | -------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `spec.storage.size` | string | yes | -- | PVC requested storage for the drive's flat blob layout (e.g. `"500Gi"`). |+| `spec.storage.storageClassName` | string | no | `standard-rwo` | StorageClass for the drive PVC. RWX (`clerum-gcsfuse`) is a deferred escalation — set explicitly only when such a class exists. |+| `spec.storage.accessModes` | string[] | no | `[ReadWriteOnce]` | The single-replica writer and co-located readers work on RWO-only StorageClasses; `ReadWriteMany` requires an RWX-capable class. |+| `spec.layout.rootDirectories` | string[] | no | `[]` | Absolute seed paths (e.g. `/org`), max 64. Materialized as governed resources in the permission store by control-api once the writer reports `Ready` — not written directly by the reconciler. |+| `spec.security.runAsUser` | integer | no | -- | POSIX UID applied to the gfsc pods (the writer init container chowns the drive to it). |+| `spec.security.fsGroup` | integer | no | -- | Supplemental group applied so gfsc can read/write the mounted drive. |+| `spec.readerReplicas` | integer | no | `2` | Number of read-only gfsc reader replicas. The writer is always exactly 1 — GFS is a single-writer drive; only readers scale. |+| `spec.retainOnDelete` | boolean | no | `true` | When `false`, deleting the CRD tears down the Deployments, Service, NetworkPolicies, and PVC (PVC last). |Full OpenAPI schema: `charts/clerum-crds/crds/globalfilesystem.yaml`. Thereconciler owns pod-level detail the CRD doesn't expose — securityContext@@ -59,13 +59,13 @@ anything other than `readerReplicas`.## Status-| Field | Type | Description |-| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------- |-| `status.phase` | string | `Provisioning \| Initializing \| Ready \| Degraded \| Failed`. |-| `status.pvcName` | string | The provisioned PVC name. |-| `status.serviceName` | string | ClusterIP Service serving gfsc **reads** through the writer + readers. |-| `status.serviceUrl` | string | In-cluster base URL of the read Service (e.g. `http://gfsc.gfs.svc.cluster.local:8087`). Mutations go through a separate writer-only Service, not this URL. |-| `status.conditions[]` | object[] | Standard `{type, status, reason, message, lastTransitionTime}` condition list. |+| Field | Type | Description |+| --------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `status.phase` | string | `Provisioning \| Initializing \| Ready \| Degraded \| Failed`. |+| `status.pvcName` | string | The provisioned PVC name. |+| `status.serviceName` | string | ClusterIP Service serving gfsc **reads** through the writer + readers. |+| `status.serviceUrl` | string | In-cluster base URL of the read Service (e.g. `http://gfsc.gfs.svc.cluster.local:8087`). Mutations go through a separate writer-only Service, not this URL. |+| `status.conditions[]` | object[] | Standard `{type, status, reason, message, lastTransitionTime}` condition list. |## Additional Printer Columnsdiff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.jsonindex 35ab630fe..dabaeca28 100644--- a/host-context-controller/package-lock.json+++ b/host-context-controller/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-host-context-controller",- "version": "0.1.381",+ "version": "0.1.382","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-host-context-controller",- "version": "0.1.381",+ "version": "0.1.382","license": "SEE LICENSE IN LICENSE","dependencies": {"@clerum/codex-catalog-projection": "file:../packages/codex-catalog-projection",diff --git a/host-context-controller/package.json b/host-context-controller/package.jsonindex 6a9df9017..4f0e9abfe 100644--- a/host-context-controller/package.json+++ b/host-context-controller/package.json@@ -1,6 +1,6 @@{"name": "clerum-host-context-controller",- "version": "0.1.381",+ "version": "0.1.382","description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API","main": "dist/main.js","engines": {diff --git a/host-context-controller/src/config.ts b/host-context-controller/src/config.tsindex fd7697a4b..4f5e28fef 100644--- a/host-context-controller/src/config.ts+++ b/host-context-controller/src/config.ts@@ -93,11 +93,11 @@ export interface Config {hostImage: stringhostImagePullPolicy: 'Always' | 'IfNotPresent' | 'Never'// Pull policy override for STATELESS host pods (Stage 6, W5). Empty =- // inherit hostImagePullPolicy. IfNotPresent is honored only for immutable- // image references (@sha256: digest or a sha-<gitsha> tag); a mutable- // reference is refused loudly (error log + StatelessPullPolicyRejected- // condition) and the pod keeps Always — see hostReconciler's- // resolveStatelessImagePullPolicy.+ // inherit hostImagePullPolicy. The configured policy is always applied;+ // IfNotPresent with a mutable image reference (no @sha256: digest, tag not+ // sha-<gitsha>) is advisory only — a once-per-(host,image) warning plus a+ // StatelessPullPolicyRejected=True condition — never overridden to Always.+ // See statelessDeployment's resolveStatelessImagePullPolicy.statelessImagePullPolicy: '' | 'Always' | 'IfNotPresent' | 'Never'mcpServerImagePullPolicy: 'Always' | 'IfNotPresent' | 'Never'hostImagePullSecretName: stringdiff --git a/host-context-controller/src/metrics.ts b/host-context-controller/src/metrics.tsindex 4be4dfa82..ebbba2560 100644--- a/host-context-controller/src/metrics.ts+++ b/host-context-controller/src/metrics.ts@@ -338,7 +338,8 @@ for (const kind of CREATE_KINDS) {}// #493: successful replace() only, inside replaceWithConflictRetry. Kind is-// next.kind ?? 'unknown'. Direct Role PUTs stay invisible until G5.+// next.kind ?? 'unknown'. Host Role PUTs go through the helper and are+// counted; replace() calls made outside the helper are not.export const writesTotal = counter({name: 'clerum_hcc_writes_total',help: 'Successful Kubernetes replace() calls issued through replaceWithConflictRetry, by object kind.',diff --git a/host-context-controller/src/statelessDeployment.ts b/host-context-controller/src/statelessDeployment.tsindex a21f3c573..481902c64 100644--- a/host-context-controller/src/statelessDeployment.ts+++ b/host-context-controller/src/statelessDeployment.ts@@ -240,7 +240,7 @@ export function resolveStatelessImagePullPolicy(image: string): StatelessPullPol/*** Durable condition for the stateless pull-policy guard (Stage 6, W5): True- * (MutableImageReference) while IfNotPresent is refused for a mutable image,+ * (MutableImageReference) while IfNotPresent is used with a mutable image,* False (StatelessPullPolicyAccepted) otherwise. The message states the* enforced outcome so the operator sees what the pod actually runs with.*/diff --git a/host-context-controller/src/types.ts b/host-context-controller/src/types.tsindex 1886a2c15..41d37fc5d 100644--- a/host-context-controller/src/types.ts+++ b/host-context-controller/src/types.ts@@ -556,7 +556,9 @@ export interface HostLifecycleStatus {state: HostLifecycleState/*** Highest observed Host generation whose wake trigger has been handled.- * Written by the mcp-host runtime; HCC only preserves it across writes.+ * Written by HCC itself when it handles a wake (statelessLifecycleExecutor:+ * the wake fast-path and the pre-scale-down wake guard); other lifecycle+ * writes preserve it.*/wakeHandledGeneration: number/** Human-readable rejection or temporary suspension-block reason. */diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.jsonindex d589c42bd..1928bc87d 100644--- a/mcp-host/package-lock.json+++ b/mcp-host/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-mcp-host",- "version": "0.1.556",+ "version": "0.1.557","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-mcp-host",- "version": "0.1.556",+ "version": "0.1.557","license": "SEE LICENSE IN LICENSE","dependencies": {"@anthropic-ai/sdk": "^0.32.0",diff --git a/mcp-host/package.json b/mcp-host/package.jsonindex 4ea1e8ea3..2e9f5111a 100644--- a/mcp-host/package.json+++ b/mcp-host/package.json@@ -1,6 +1,6 @@{"name": "clerum-mcp-host",- "version": "0.1.556",+ "version": "0.1.557","description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude","main": "dist/main.js","engines": {diff --git a/mcp-host/src/config.ts b/mcp-host/src/config.tsindex 0cffedd47..e0bfda86b 100644--- a/mcp-host/src/config.ts+++ b/mcp-host/src/config.ts@@ -691,7 +691,8 @@ function getDevHostConfig(): HostSpec | undefined {/*** Parse CLERUM_MCP_SERVERS JSON for dev mode.- * Format: [{"name": "...", "spec": {"contextRef": "...", "transport": {...}}}]+ * Format: a flat McpServerInfo[] — [{"name": "...", "contextRef": "...", "transport": {...}}]+ * (no `spec` wrapper; the parsed JSON is used as-is, without shape validation).*/function parseDevMcpServers(): McpServerInfo[] | undefined {const serversJson = process.env.CLERUM_MCP_SERVERSdiff --git a/scripts/minikube/full-setup.sh b/scripts/minikube/full-setup.shindex 001707faf..393152e29 100755--- a/scripts/minikube/full-setup.sh+++ b/scripts/minikube/full-setup.sh@@ -889,7 +889,8 @@ step_header 3 $TOTAL_STEPS "Namespaces + CRDs"log "Creating namespaces..."$KC apply -f "${PROJECT_DIR}/deploy/base/namespaces.yaml"-ok "7 namespaces created/verified"+ns_count=$(grep -c '^kind: Namespace' "${PROJECT_DIR}/deploy/base/namespaces.yaml" || true)+ok "${ns_count} namespaces created/verified"log "Installing CRDs..."$KC apply -f "${PROJECT_DIR}/charts/clerum-crds/crds/"diff --git a/scripts/minikube/setup.sh b/scripts/minikube/setup.shindex 208f33982..df18aec80 100755--- a/scripts/minikube/setup.sh+++ b/scripts/minikube/setup.sh@@ -86,7 +86,8 @@ ok "Cluster '${PROFILE}' reachable"# ---- Step 2: Create namespaces --------------------------------------echo -e "\n${BOLD}=== Step 2/12: Create Namespaces ===${NC}"$KC apply -f "${DEPLOY_DIR}/namespaces.yaml"-ok "7 namespaces created"+ns_count=$(grep -c '^kind: Namespace' "${DEPLOY_DIR}/namespaces.yaml" || true)+ok "${ns_count} namespaces created"# ---- Step 3: Install CRDs -------------------------------------------echo -e "\n${BOLD}=== Step 3/12: Install CRDs ===${NC}"