> For the complete documentation index, see [llms.txt](https://docs.labs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.labs.ai/deployment-and-infrastructure/upgrading-from-6.5.md). Agents can also search and read this documentation through its [MCP server](https://docs.labs.ai/~gitbook/mcp).

# Upgrading from EDDI 6.5

This guide is for an existing **EDDI 6.5.x deployment** moving to 6.6 or 6.7. Everything up to [Changes in 6.7](#changes-in-67) applies from 6.6 on; the last section adds what 6.7 changes on top. It collects the changes that a working 6.5 client notices. It is written as the changes land, so read it again before you upgrade. For an older deployment, start with [Upgrading from 6.4](https://docs.labs.ai/deployment-and-infrastructure/upgrading-from-6.4.md).

***

## Authorization defaults

These apply only with authorization on (`QUARKUS_OIDC_TENANT_ENABLED=true`). A 6.5 client that held a token but no EDDI role, or that relied on an endpoint being open to any token, now gets refused:

* **Metrics.** `/q/metrics` now needs the `eddi-admin` or `eddi-metrics` realm role (`eddi.metrics.roles-allowed`); in 6.5 any token was enough, so a scrape whose service account holds neither now gets **403**. Create an `eddi-metrics` realm role and give it to the scraper's service account ([Monitoring](https://docs.labs.ai/deployment-and-infrastructure/monitoring-guide.md)). As a stopgap, `EDDI_METRICS_HTTP_POLICY=authenticated` restores the 6.5 behaviour.
* **API docs.** `/openapi` and the Swagger UI need an EDDI role.
* **`/v1` (OpenAI-compatible API).** In `authenticated` mode it needs `eddi-admin`, `eddi-editor` or `eddi-user`.
* **Other role-gated endpoints.** `/a2a/agents` and the per-conversation `/conversationstore` operations need an EDDI role.
* **Descriptor listing.** A `type` that is not a configuration type now gets **400**.
* **Triggers.** Changing a trigger needs EDIT access; a `PUT` whose body names a different intent than the path gets **400**.
* **Conversations without an owner** are readable by administrators only.
* **Custom JAX-RS resources** deployed as extensions must carry a security annotation (`@RolesAllowed`, `@PermitAll`, …). Unannotated endpoints are now denied (`quarkus.security.jaxrs.deny-unannotated-endpoints=true`).
* **`${caller:token}` needs an administrator to save it.** Creating, updating, patching, duplicating or importing an httpcalls, mcpcalls or LLM configuration that contains `${caller:token}` now needs `eddi-admin` (`eddi.caller-identity.author-roles`); an editor gets **403**. Stored configs keep working. See [Who may write `${caller:token}`](https://docs.labs.ai/agent-configuration/httpcalls.md#who-may-write-callertoken).

***

## Outbound HTTP calls

* **A templated host is refused while SSRF protection is off.** An httpCall whose scheme, host or port contains a template expression (`https://{properties.apiHost}`) now fails to deploy unless `eddi.security.ssrf-protection.enabled=true`. Write the host literally or as a `${vars:…}` reference, or turn protection on and list the internal hosts you need in `eddi.security.ssrf-protection.allowed-hosts`. Production also logs a `[SECURITY]` WARN at startup while protection is off. See [SSRF protection](https://docs.labs.ai/security-and-compliance/security.md#ssrf-protection--urlvalidationutils).

***

## MCP server

### MCP role tiers

Up to 6.5 the MCP tools checked one role each, and those roles disagreed with REST: an editor could provision agents over MCP that REST setup refuses it, could not deploy although REST lets it, and a viewer could read agent configurations that REST refuses it. An account without `eddi-viewer` was refused all 27 tools gated on it (`list_agents` and the conversation tools among them), whatever else it held. Each tool now belongs to one tier that lists every role it admits ([Role Mapping](https://docs.labs.ai/protocols-and-integration/mcp-server.md#role-mapping)).

What an existing MCP client loses, by role:

| Account holds only | Tools it can no longer call                                                                   | Why                                                                                        |
| ------------------ | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `eddi-viewer`      | `list_agents`, `list_agent_configs`, `get_agent`, `list_team_backlog`, `list_group_templates` | Configuration reads; REST refuses them to a viewer. Use `discover_agents` to find an agent |
| `eddi-editor`      | `setup_agent`, `create_api_agent`                                                             | REST agent setup is admin-only: provisioning writes API keys into the vault                |

What it gains:

* `eddi-admin` and `eddi-editor` no longer need `eddi-viewer` for the conversation, group discussion and memory-read tools. Exceptions: `read_audit_trail` and conversation-scoped `read_agent_logs` admit `eddi-admin` and `eddi-viewer` only (the REST audit and log endpoints are admin-only), so an editor that uses them keeps `eddi-viewer`.
* `eddi-editor` can deploy, undeploy and author agents, resources, triggers and channels, as over REST. `eddi-admin` can configure groups, which was editor-only.
* `eddi-user` can converse, run group discussions and read its own memories, as over REST.

**What to do:** nothing for a client whose account holds `eddi-admin`. Grant `eddi-admin` to an editor account that provisions agents through `setup_agent`/`create_api_agent`, and `eddi-editor` to a viewer account that reads agent configurations.

### Tool failures are `isError: true`

A refused or failed tool call used to come back as an ordinary result whose text was `{"error": "..."}`, and a missing role came back as a JSON-RPC internal error naming `io.quarkus.security.ForbiddenException`. Both are now a tool result with `isError: true` carrying the same JSON body — a missing role with `errorCode: FORBIDDEN`. A client or model that looked for the word `error` in a successful result keeps working; one that treated a JSON-RPC error as "not permitted" should read `isError` and `errorCode` instead. See [Argument contract](https://docs.labs.ai/protocols-and-integration/mcp-server.md#argument-contract).

### Optional arguments are optional

`tools/list` used to mark every argument required in 75 of the 84 tools, so a client that omitted an "optional" argument was refused. Optional arguments are now optional and literal defaults are published as the schema `default`. Clients that sent every argument keep working. Two defaults changed meaning: `get_agent`, `read_workflow`, `read_resource` and `list_agent_resources` without a `version` read the **latest** version (they read version 1), and `create_group` with an unknown `style` is refused instead of becoming `ROUND_TABLE`.

***

## MongoDB least-privilege user

EDDI no longer connects to the bundled MongoDB as its root user. It connects as `eddi_app`, a user defined in the `eddi` database with `readWrite` and `dbAdmin` there and no role on any other database (`dbAdmin` because EDDI uses `collMod` to un-hide an index, which `readWrite` alone does not allow). The root credentials stay with MongoDB and with one helper that creates the user:

* **Docker Compose** (`docker-compose.yml`, `docker-compose.openwebui.yml`, `docker-compose.cluster.yml`): a one-shot `mongodb-app-user` service runs before `eddi` on every `up`, creates the user or resets its password, and exits.
* **Helm and `k8s/overlays/mongodb`**: an `ensure-mongodb-user` init container in the EDDI pod does the same before every start.

A script in `/docker-entrypoint-initdb.d` would run only when MongoDB initialises an **empty** volume, so an existing deployment would have been left connecting as a user that does not exist. Because the helper runs every time, **an existing volume needs no manual step** for Compose or Helm: pull, `up` (or `helm upgrade`), and the user is created against the data you already have.

What to check:

* **Compose:** `MONGO_APP_PASSWORD` (and `MONGO_APP_USERNAME`, default `eddi_app`) are new. Left unset, the password falls back to `MONGO_INITDB_ROOT_PASSWORD`, so an existing `.env` keeps working. Set a distinct one, or EDDI's credential is still the root password under another name. It goes into `MONGODB_CONNECTIONSTRING` unencoded, so use URL-safe characters (`openssl rand -hex 24`). Changing it later is a rotation: the next `up` applies it.
* **Compose healthcheck:** `ping` needs no authentication, so the `mongodb` healthcheck no longer carries the root credentials.
* **Helm:** `mongodb.appUsername` (default `eddi_app`) and `mongodb.appPassword` are new. Left empty, the password is derived from `mongodb.rootPassword` with SHA-256: stable across renders, but not the root password itself. With `mongodb.existingSecret` nothing changes: your `eddi.existingSecret` still carries EDDI's connection string, and choosing its user is up to you.
* **Kustomize `overlays/mongodb`:** the `mongodb-secrets` Secret you created by hand has no `MONGO_APP_*` keys. The init container then does nothing and EDDI keeps connecting as root. Add the keys and the new connection string in one patch, then restart EDDI:

  ```bash
  apppw=$(openssl rand -hex 24)
  kubectl patch secret mongodb-secrets -n eddi --type merge -p "{\"stringData\": {
    \"MONGO_APP_USERNAME\": \"eddi_app\", \"MONGO_APP_PASSWORD\": \"$apppw\",
    \"mongodb-secrets.properties\": \"mongodb.connectionString=mongodb://eddi_app:$apppw@mongodb:27017/eddi?authSource=eddi&retryWrites=true&w=majority&connectTimeoutMS=10000&socketTimeoutMS=30000\"}}"
  kubectl rollout restart deployment/eddi -n eddi
  ```
* **Your own MongoDB** (an external connection string): nothing changes automatically. If EDDI connects as a root or `readWriteAnyDatabase` user, create one like the above and switch to it:

  ```javascript
  db.getSiblingDB("eddi").createUser({ user: "eddi_app", pwd: passwordPrompt(),
    roles: [{ role: "readWrite", db: "eddi" }, { role: "dbAdmin", db: "eddi" }] })
  ```

  and connect with `authSource=eddi`. If you changed `mongodb.database`, use that name instead of `eddi` throughout.

## NATS: cluster mode replaces the build-profile coordinator

Only for a 6.5 deployment that ran `eddi.messaging.type=nats` on an image built with the `nats` Quarkus build profile (the 6.5 NATS coordinator existed only in such a build). 6.6 removes that coordinator; the published image selects cluster mode at runtime. The old `eddi.nats.stream-name`, `eddi.nats.max-retries`, `eddi.nats.ack-wait-seconds` and `eddi.nats.stream-max-*` settings no longer do anything (a WARN names each one that is still set), and the `EDDI_CONVERSATIONS` stream is unused. See [Upgrading from the build-profile NATS coordinator](https://docs.labs.ai/deployment-and-infrastructure/clustering.md#upgrading-from-the-build-profile-nats-coordinator).

## Newly reserved names

* **`CONTINUE_CONVERSATION` is a reserved action** ([self-continuation](https://docs.labs.ai/conversations-and-orchestration/long-jobs.md)). A behaviour rule that already emits an action with this exact name keeps working unless the agent also sets the new `maxContinuations`; until then the action is ignored with a WARN and `eddi_continuation_refused_total{reason="disabled"}` counts it. Rename such actions anyway.
* **`selfContinuation` is an engine-reserved context key.** Like `groupId`, it is dropped from client context, and so is any key that starts with it (`selfContinuationStep`, for example). Rename a client key with that name.
* **`POST /agents/{conversationId}/cancel`** on a conversation that is neither paused nor running answers `200` instead of `409` when it has a pending self-continuation — the cancel withdrew it.

## Keycloak admin password off loopback

`docker-compose.auth.yml` now refuses to start Keycloak when `KEYCLOAK_BIND` is not a loopback address and `KC_BOOTSTRAP_ADMIN_PASSWORD` is unset or `admin`. Its one-shot `keycloak-guard` service exits 1 with the fix in its message. Installs made by `install.sh` / `install.ps1 --with-auth` or the GCP provisioner already have a generated password in `.env` and are unaffected. If your Keycloak volume predates that and you changed the console password by hand, put that password in `.env` as `KC_BOOTSTRAP_ADMIN_PASSWORD`: Keycloak reads it only on first boot, and the guard only needs to see that it is not the default.

A volume that still has the original `admin`/`admin` login is fixed on the next `up`: the one-shot `keycloak-admin-rotate` service logs in with `admin` once Keycloak is healthy and, if that works, sets the account to the configured `KC_BOOTSTRAP_ADMIN_PASSWORD` before EDDI starts.

**If your Keycloak is published off loopback (`KEYCLOAK_BIND` set) on a volume from before this release, start it once on loopback first.** `keycloak-guard` cannot know what an existing volume's admin password is, so it refuses a wider bind until `keycloak-admin-rotate` has checked the login and left a marker (`.eddi-admin-verified`) in the volume. One `up` with `KEYCLOAK_BIND=127.0.0.1` does that; after it, set `KEYCLOAK_BIND` back. A fresh volume is created with your password and needs nothing.

***

## Changes in 6.7

6.7 is mostly hardening and opt-in features. Stored agent, group and workflow configs keep working: every new field is optional and absent on existing documents. What an existing deployment notices:

### Defaults that changed

* **A new-release check is on by default.** The backend asks `api.github.com` once a day (through the SSRF-safe `OutboundHttp`) whether a newer EDDI exists and raises one admin notification per release. Set `eddi.update-check.enabled=false` (or its environment-variable form) to turn it off before first boot; that also locks the switch in the Manager. The old browser-only `localStorage` flag is ignored. In an air-gapped deployment, disable it so the daily call does not fail.
* **Cost figures rise for some workloads.** Usage is normalised the way each provider bills it, so `inputTokens` and spend now include Anthropic/Bedrock prompt-cache reads and writes and Gemini thinking tokens. Dashboards and cost ceilings that were tuned on the old, understated numbers may trigger sooner. `eddi.llm.pricing.provider-normalization=false` restores the old counting. Prices now come from a managed model-price catalog (`/administration/model-prices`); the default `unpricedPolicy` is `ALLOW`, so nothing is refused until you opt in.
* **Team budgets are admin-edit only.** `eddi.groups.team-budget.admin-only-edits=true`: editors can no longer change a group's `teamBudget`. Set it to `false` to restore editor edits. New root discussions, follow-ups and continuations are refused with `409` when the team or tenant is spent or its budget cannot be read (fail closed), and scheduled cadence fires are skipped.
* **`HumanInputRequest.content` is optional on the DTO** (REST) and gains `choice`; MCP `submit_group_human_input` gains `choice`. A missing `content` is still a `400` for every pause kind except a tie-break.
* **The cascade judge sees the request.** With `modelCascade.strategy: judge_model`, the judge now receives the last 8,000 characters of the user message along with the answer, so its scores (and thus escalation rates) can shift.

### Several controls fail closed

The review sweep tightened many paths; callers that relied on the loose behaviour see an error rather than a silent success. Examples: ingestion refuses a source whose ownership it cannot verify; a resumed conversation re-checks USE access; Slack approval cards need a known pause; every bot-token reference is checked against `allowedHosts`; scheme-relative and parser references in configs and exports are vetted; a caller without access to a group gets `403` (not `500`) from the workspace endpoints; the GDPR stop sequence now waits for the member count it read itself. Check your automation and Slack/e-mail integrations after upgrading and read the per-area changelog entries for the exact behaviour.

### Cluster deployments (NATS)

Applies only if you run more than one node.

* **Readiness is loud.** A node that never connected to NATS, or hit an unrecoverable authentication or TLS error, now reports not-ready (`eddi.cluster.readiness.require-first-connect` and `.fail-on-misconfiguration`, both default `true`). A wrong credential therefore takes every node with it out of rotation instead of running silently unfenced. Both switches can be turned off.
* **`tls://` and `wss://` servers are host-name verified** against the configured host names; `opentls://` fails boot. Boot also refuses non-positive durations, two auth methods at once and a malformed inbox prefix.
* **Signing is opt-in.** Set `eddi.cluster.signing.key` to sign every RPC, reply and event (`Eddi-Sig`, HMAC-SHA256); `eddi.cluster.signing.required=true` refuses unsigned messages and refuses to start without a key. Without a key only a WARN is logged. During a rolling upgrade keep `required=false` until every node carries the key.
* **Webhook de-duplication fails closed** (`503`) while NATS is unreachable, under `eddi.cluster.degraded.nonces=reject` (the default).
* **Duplicate node ids are detected.** A twin stops announcing, and the new `cluster-node-identity` readiness check goes DOWN.
* **New NATS objects.** A `<prefix>_DEPLOYMENTS` KV bucket; `<prefix>_ARCHIVES` is capped (`eddi.cluster.archives.max-bytes`, 1 GiB). Account isolation and a custom inbox prefix are opt-in because switching an existing release would strand its dead letters and archives.
* **Helm and Kustomize.** The chart is `2.14.0` or later. The Kustomize `nats` component now needs a `nats-auth` Secret that you create before applying; `nats.antiAffinity: required` needs at least three nodes; a `preStop` sleep and a short readiness grace are added for SIGTERM. The chart exposes `eddi.cluster.degradedTurns`; `reject` is recommended for production, though the code default is still `local`.
* **Rolling upgrades.** Group conversation schema goes to version 5; a pod that predates it refuses to resume a document that holds a human tie-break pause. Finish the rollout before enabling `HUMAN_DECIDES`. `SharedTaskList` gains `reviewerEdits`: confirm older pods tolerate the unknown field before enabling `allowResultEdits` on a mixed-version cluster. New collections and tables (settings, model prices, team budgets, approval analytics) are created on first use and ignored by older nodes.
* **Rolling upgrades — the later 6.7 features.** Everything below is created on first use or is an optional field, and nothing writes it until you configure it, so a mixed-version cluster is safe as long as you finish the rollout before switching the feature on. A backlog task's `bet` is an optional field of `TaskItem`, and `lessonConfig` is an optional field of a group: stored documents are read leniently, so an older pod ignores them, but an older pod that saves the same document silently drops the field. Do not set either until every pod is upgraded. New collections and tables (`group_outcomes`, `group_lesson_history`, `conversation_ratings`, `alert_rules`, `alert_events`, `alert_windows`, and the email channel's `email_mailbox_state`, `email_mailbox_notices`, `email_message_ledger` and `email_suppressions`) are created on first use and ignored by older nodes. `ratingConfig` is an optional agent field. The tenant cost reservation and `toolQuotas` `"window": "RUN"` store nothing new beyond their own counters.
* **Alerts run their maintenance schedule by default.** `eddi.alerts.enabled` defaults to `true`, which creates one background maintenance schedule (retries and digests) at startup; with no alert rules nothing is delivered. Set it to `false` to create nothing. **On a mixed-version cluster set it to `false` until every pod runs 6.7:** a 6.5 or 6.6 scheduler does not recognise the `alertType` marker on that schedule, so it may claim the row and treat it as an ordinary conversation fire, which has no agent target and can fail, retry or dead-letter. Enable it once the rollout is complete. **Setting it to `false` afterwards does not remove a schedule a 6.7 pod already created** (it only stops creating one), and the REST API and the schedule MCP tool refuse to delete or disable it (`409 SYSTEM_SCHEDULE`). Before you roll back to 6.6 or run mixed versions, stop the 6.7 pods, then delete the row directly in the datastore. It is the schedule named `alerts-maintenance` whose `metadata.alertType` is `alert_maintenance`; a same-named row without that marker is an ordinary schedule, so match on the marker:

  * MongoDB, collection `eddi_schedules`: `db.eddi_schedules.deleteMany({ "metadata.alertType": "alert_maintenance" })`
  * PostgreSQL, table `eddi_schedules`: `DELETE FROM eddi_schedules WHERE metadata->>'alertType' = 'alert_maintenance';`

  Alert rules, events and windows are separate collections or tables and are untouched. To confirm that re-enabling recreates the schedule, return to 6.7 with `eddi.alerts.enabled=true` and restart (or save an alert rule): the log shows `Created the alerts-maintenance system schedule`, and the schedule is listed again under Schedules.

### Slack channels still declared on an agent

Applies only if a deployed agent still carries the deprecated `channels` list ([Slack integration](https://docs.labs.ai/protocols-and-integration/slack-integration.md)). The startup migration that turns those connectors into channel integrations runs once more on the first 6.7 start, because the configs it created before were never listed: Slack kept routing through the legacy connector, and the integrations did not appear in the Manager, the REST listing or `list_channel_integrations`. After this start each channel has one integration, owned like the agent it routes to by default (its visibility narrowed to `space` unless the agent is `private`), and Slack routes through it: the default target is the first agent by id (or, if that agent's connector sets a `groupId`, that group), and every other agent sharing the channel is reached through its trigger keyword, the slug of its name. An agent whose name slugs to the reserved `help` gets no trigger; give it another one. The configs the earlier run created stay in the database unreferenced; nothing reads them. A channel that already has an integration is left alone.

If the default agent has no descriptor, the integration is unowned, and under the default `shared` legacy policy other editors can read its configuration (literal Slack credentials are redacted for non-admins). Set `eddi.workspaces.legacy-visibility=admin-only` to restrict it; explicit grants still apply. If a descriptor write or the descriptor listing fails, the migration stays incomplete and startup continues: check the migration log, fix the cause and restart to retry.

### New opt-in features

None of these changes behaviour until configured; each has its own page.

| Feature                                                               | Switch                                                                                                                             | Read                                                                                                                         |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| White-label branding                                                  | Admin → Branding in the Manager                                                                                                    | [white-labeling](https://docs.labs.ai/deployment-and-infrastructure/white-labeling.md)                                       |
| `toolQuotas` — per-subject, per-window tool-call caps                 | `toolQuotas` on the LLM task                                                                                                       | [langchain](https://docs.labs.ai/agent-configuration/langchain.md)                                                           |
| Tool-call guardrails                                                  | `toolCallGuardrails`                                                                                                               | [langchain](https://docs.labs.ai/agent-configuration/langchain.md)                                                           |
| Edit-on-approve and decision audit v2                                 | `hitlConfig.review`                                                                                                                | [hitl](https://docs.labs.ai/conversations-and-orchestration/hitl.md)                                                         |
| Approval analytics, sampled audit, earned autonomy                    | `hitlConfig.oversight`                                                                                                             | [hitl](https://docs.labs.ai/conversations-and-orchestration/hitl.md)                                                         |
| Human tie-breaks and humans as task-force executors                   | `voteConfig.humanTieBreak`, `tiePolicy: HUMAN_DECIDES`                                                                             | [group-conversations](https://docs.labs.ai/conversations-and-orchestration/group-conversations.md)                           |
| Cross-team handoff                                                    | `teamHandoff.targets`, `handoffConfig`                                                                                             | [group-conversations](https://docs.labs.ai/conversations-and-orchestration/group-conversations.md)                           |
| Model-backed convergence judge                                        | `convergence.judge: SERVICE`                                                                                                       | [group-conversations](https://docs.labs.ai/conversations-and-orchestration/group-conversations.md)                           |
| Team budgets                                                          | `teamBudget` on a group                                                                                                            | [group-conversations](https://docs.labs.ai/conversations-and-orchestration/group-conversations.md)                           |
| Bets on backlog tasks                                                 | `bet` on a team backlog task                                                                                                       | [team-learning-loop](https://docs.labs.ai/conversations-and-orchestration/group-conversations/team-learning-loop.md)         |
| Team outcome events                                                   | `outcomeConfig` on a group                                                                                                         | [team-learning-loop](https://docs.labs.ai/conversations-and-orchestration/group-conversations/team-learning-loop.md)         |
| Team lessons — sharing between teams and cost-capped consolidation    | `lessonConfig` on a group                                                                                                          | [team-learning-loop](https://docs.labs.ai/conversations-and-orchestration/group-conversations/team-learning-loop.md#lessons) |
| Agent operations tools — team scorecard, budget proposals, follow-ups | `team_scorecard`, `propose_team_budget`, `schedule_followup` in `builtInToolsWhitelist`; optional `agentOps`                       | [agent-ops-tools](https://docs.labs.ai/security-and-compliance/tenant-quotas/agent-ops-tools.md)                             |
| Hard tenant ceiling (cost reservation)                                | `eddi.tenant.quota.cost-reservation.enabled=true` (default `false`)                                                                | [tenant-quotas](https://docs.labs.ai/security-and-compliance/tenant-quotas.md)                                               |
| Per-run tool caps                                                     | `"window": "RUN"` in `toolQuotas`                                                                                                  | [langchain](https://docs.labs.ai/agent-configuration/langchain.md#per-run-caps-window-run)                                   |
| Email channel                                                         | A channel integration with `channelType: "email"` (`mode: trigger` or `conversation`); `eddi.email.allowed-hosts` confines servers | [email-integration](https://docs.labs.ai/protocols-and-integration/email-integration.md)                                     |
| Conversation ratings                                                  | `ratingConfig` on the agent                                                                                                        | [conversation-ratings](https://docs.labs.ai/conversations-and-orchestration/conversation-ratings.md)                         |
| Alert rules                                                           | Create rules in the Manager's Alerts page; `eddi.alerts.enabled` (default `true`)                                                  | [alerts](https://docs.labs.ai/conversations-and-orchestration/alerts.md)                                                     |

### Dependency advisories

6.7 clears the Guava advisory GHSA-xxph-c9ww-hj94 and overrides `minimatch` to 11.0.4 in the Manager and Chat UI. Nothing to do besides pulling the new image.

## Changes after 6.7.0

### Java4Shell (CVE-2026-114938): the images start the JVM with `-XX:-UseBASE64Intrinsics`

The EDDI image adds the flag to `JDK_JAVA_OPTIONS`, and the Keycloak service in the compose `auth` overlay, Helm (chart 2.14.3) and the kustomize `auth` overlay sets it on `JAVA_OPTS_APPEND`. This is an interim mitigation for a pre-authentication code-execution flaw in the JDK's Base64 decoder, until the base images ship a fixed JDK. They do now: EDDI images built from these pins and the demo image run OpenJDK 25.0.5.1, and the bundled Keycloak moves to 26.8.2, pinned by digest, with OpenJDK 21.0.13.1 (Helm chart 2.14.4). The flag stays as a second line of defence. If you set `JDK_JAVA_OPTIONS` yourself, add the flag to your value. If you run 6.7.0 or earlier and cannot upgrade yet, add it by hand. [Security → Java4Shell](https://docs.labs.ai/security-and-compliance/security.md#jvm-advisory-java4shell-cve-2026-114938) has the details and how to check that the running JVM has it.

### The default `websearch` price now follows the search provider

Cost tracking used to charge every `websearch` call $0.001 whatever the provider. The default now depends on `eddi.tools.websearch.provider`: `brave` and `google` are priced at $0.005 per call (both list $5 per 1,000 requests), `duckduckgo` stays at $0.001. Deployments on `google` therefore see the price of a search rise from $0.001 to $0.005, five times. Agents, conversations and tenants that carry a dollar cost ceiling (`maxBudgetPerConversation`, group and team budgets, the tenant's monthly cost budget) and use web search reach it up to five times sooner for the same number of Google searches. Agents that set `toolPricing.websearch` themselves are unaffected.

To keep the old price, set `eddi.tools.websearch.price-per-call=0.001` (or `EDDI_TOOLS_WEBSEARCH_PRICE_PER_CALL=0.001`); it replaces the provider default for whichever provider is configured, and also lets a plan that differs from list price be recorded as it is. See [Web Search Tool](https://docs.labs.ai/agent-configuration/langchain.md#web-search-tool).

### API-call steps named `ai.labs.apicalls` are now offered to the LLM as tools

`eddi://ai.labs.apicalls` is an alias of `eddi://ai.labs.httpcalls`: both names run the same API-call task in the pipeline. Tool discovery used to match the step type literally, so a workflow whose API-call step was typed `eddi://ai.labs.apicalls` ran that step but never offered its calls to the model as tools. Discovery now treats both names alike. An existing agent in agent mode whose workflow uses the `ai.labs.apicalls` name, with `enableHttpCallTools` left at its default of `true`, therefore exposes those calls to the model as tools from the first turn after the upgrade, and the model may start calling them. To keep the old behaviour, set `enableHttpCallTools: false` in the agent's `langchain.json`, or remove the calls you do not want the model to use from the step's httpcalls configuration. The same alias rule applies to `eddi://ai.labs.langchain` (an alias of `eddi://ai.labs.llm`) wherever the turn budget is checked. See [Custom HTTP Tools](https://docs.labs.ai/agent-configuration/langchain.md#custom-http-tools).

### The tool-history response lost its totals and per-call timing

`GET /llm/tools/history/{conversationId}` now answers `{"toolCalls": [...], "hasErrors": bool}`, each call `{toolName, callId, arguments, result, success, error}`. The fields `totalCost`, `totalExecutionTimeMs`, `cacheHits`, `cacheMisses` and `toolMetrics` are gone from the body, and so are `executionTimeMs`, `cost`, `fromCache` and `timestamp` on each call: the stored trace never recorded them, so they were always zero or empty. A client that reads one of them now gets `undefined` or `null`; remove it. A conversation's tool spend is served by `GET /llm/tools/costs/conversation/{conversationId}`. `success` and `hasErrors` are no longer always `true` and `false`: a failed or refused call now shows with `success: false` and the reason in `error`, and a refused call that never ran appears as a call of its own. The Manager and the Platform Operator do not call this endpoint.

### An httpcall whose literal target is refused now fails at deploy

With `eddi.security.ssrf-protection.enabled=true` (off by default), an httpcall whose `targetServerUrl`, or an absolute `request.path`, names a host the SSRF check refuses (loopback such as `http://127.0.0.1:7070`, a private address, `localhost`, `*.internal`, `*.local`, not on `eddi.security.ssrf-protection.allowed-hosts`) used to save and deploy, and only failed when the first conversation reached the call. It now fails the deployment. Independent of the flag, a target that is a cloud instance-metadata address fails to deploy too (it already failed on every call).

Who is affected: deployments with protection on that have agents calling internal APIs, or EDDI itself (the Platform Operator's tools, for one), without listing the host. What you will see: the deploy request fails (and an auto-deploy at startup logs the failure for that agent) with a message naming the host and the exact `host:port` entry to add. To keep the agent working, add that entry to `eddi.security.ssrf-protection.allowed-hosts`, or point the call at a public address. Templated and `${vars:...}` hosts, and hosts that do not resolve at deploy (logged as a WARN), are still only checked per call. There is no switch to restore the old deploy-then-fail behaviour.

DNS lookups made by this check now give up after `eddi.security.ssrf-protection.dns-timeout` (default `5s`) and count as "does not resolve", so with protection on a call to a host whose name server answers slower than that is refused instead of waiting for the operating system's resolver. Raise the property if your resolver is that slow. See [security.md](https://docs.labs.ai/security-and-compliance/security.md#ssrf-protection--urlvalidationutils) and [httpcalls.md](https://docs.labs.ai/agent-configuration/httpcalls.md).
