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 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.
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/metricsnow needs theeddi-adminoreddi-metricsrealm role (eddi.metrics.roles-allowed); in 6.5 any token was enough, so a scrape whose service account holds neither now gets 403. Create aneddi-metricsrealm role and give it to the scraper's service account (Monitoring). As a stopgap,EDDI_METRICS_HTTP_POLICY=authenticatedrestores the 6.5 behaviour.API docs.
/openapiand the Swagger UI need an EDDI role./v1(OpenAI-compatible API). Inauthenticatedmode it needseddi-admin,eddi-editororeddi-user.Other role-gated endpoints.
/a2a/agentsand the per-conversation/conversationstoreoperations need an EDDI role.Descriptor listing. A
typethat is not a configuration type now gets 400.Triggers. Changing a trigger needs EDIT access; a
PUTwhose 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 needseddi-admin(eddi.caller-identity.author-roles); an editor gets 403. Stored configs keep working. See Who may write${caller:token}.
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 unlesseddi.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 ineddi.security.ssrf-protection.allowed-hosts. Production also logs a[SECURITY]WARN at startup while protection is off. See SSRF protection.
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).
What an existing MCP client loses, by role:
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-adminandeddi-editorno longer neededdi-viewerfor the conversation, group discussion and memory-read tools. Exceptions:read_audit_trailand conversation-scopedread_agent_logsadmiteddi-adminandeddi-vieweronly (the REST audit and log endpoints are admin-only), so an editor that uses them keepseddi-viewer.eddi-editorcan deploy, undeploy and author agents, resources, triggers and channels, as over REST.eddi-admincan configure groups, which was editor-only.eddi-usercan 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.
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-shotmongodb-app-userservice runs beforeeddion everyup, creates the user or resets its password, and exits.Helm and
k8s/overlays/mongodb: anensure-mongodb-userinit 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(andMONGO_APP_USERNAME, defaulteddi_app) are new. Left unset, the password falls back toMONGO_INITDB_ROOT_PASSWORD, so an existing.envkeeps working. Set a distinct one, or EDDI's credential is still the root password under another name. It goes intoMONGODB_CONNECTIONSTRINGunencoded, so use URL-safe characters (openssl rand -hex 24). Changing it later is a rotation: the nextupapplies it.Compose healthcheck:
pingneeds no authentication, so themongodbhealthcheck no longer carries the root credentials.Helm:
mongodb.appUsername(defaulteddi_app) andmongodb.appPasswordare new. Left empty, the password is derived frommongodb.rootPasswordwith SHA-256: stable across renders, but not the root password itself. Withmongodb.existingSecretnothing changes: youreddi.existingSecretstill carries EDDI's connection string, and choosing its user is up to you.Kustomize
overlays/mongodb: themongodb-secretsSecret you created by hand has noMONGO_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:Your own MongoDB (an external connection string): nothing changes automatically. If EDDI connects as a root or
readWriteAnyDatabaseuser, create one like the above and switch to it:and connect with
authSource=eddi. If you changedmongodb.database, use that name instead ofeddithroughout.
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.
Newly reserved names
CONTINUE_CONVERSATIONis a reserved action (self-continuation). A behaviour rule that already emits an action with this exact name keeps working unless the agent also sets the newmaxContinuations; until then the action is ignored with a WARN andeddi_continuation_refused_total{reason="disabled"}counts it. Rename such actions anyway.selfContinuationis an engine-reserved context key. LikegroupId, 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}/cancelon a conversation that is neither paused nor running answers200instead of409when 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.comonce a day (through the SSRF-safeOutboundHttp) whether a newer EDDI exists and raises one admin notification per release. Seteddi.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-onlylocalStorageflag 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
inputTokensand 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=falserestores the old counting. Prices now come from a managed model-price catalog (/administration/model-prices); the defaultunpricedPolicyisALLOW, 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'steamBudget. Set it tofalseto restore editor edits. New root discussions, follow-ups and continuations are refused with409when the team or tenant is spent or its budget cannot be read (fail closed), and scheduled cadence fires are skipped.HumanInputRequest.contentis optional on the DTO (REST) and gainschoice; MCPsubmit_group_human_inputgainschoice. A missingcontentis still a400for 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-connectand.fail-on-misconfiguration, both defaulttrue). A wrong credential therefore takes every node with it out of rotation instead of running silently unfenced. Both switches can be turned off.tls://andwss://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.keyto sign every RPC, reply and event (Eddi-Sig, HMAC-SHA256);eddi.cluster.signing.required=truerefuses unsigned messages and refuses to start without a key. Without a key only a WARN is logged. During a rolling upgrade keeprequired=falseuntil every node carries the key.Webhook de-duplication fails closed (
503) while NATS is unreachable, undereddi.cluster.degraded.nonces=reject(the default).Duplicate node ids are detected. A twin stops announcing, and the new
cluster-node-identityreadiness check goes DOWN.New NATS objects. A
<prefix>_DEPLOYMENTSKV bucket;<prefix>_ARCHIVESis 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.0or later. The Kustomizenatscomponent now needs anats-authSecret that you create before applying;nats.antiAffinity: requiredneeds at least three nodes; apreStopsleep and a short readiness grace are added for SIGTERM. The chart exposeseddi.cluster.degradedTurns;rejectis recommended for production, though the code default is stilllocal.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.SharedTaskListgainsreviewerEdits: confirm older pods tolerate the unknown field before enablingallowResultEditson 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
betis an optional field ofTaskItem, andlessonConfigis 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'semail_mailbox_state,email_mailbox_notices,email_message_ledgerandemail_suppressions) are created on first use and ignored by older nodes.ratingConfigis an optional agent field. The tenant cost reservation andtoolQuotas"window": "RUN"store nothing new beyond their own counters.Alerts run their maintenance schedule by default.
eddi.alerts.enableddefaults totrue, which creates one background maintenance schedule (retries and digests) at startup; with no alert rules nothing is delivered. Set it tofalseto create nothing. On a mixed-version cluster set it tofalseuntil every pod runs 6.7: a 6.5 or 6.6 scheduler does not recognise thealertTypemarker 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 tofalseafterwards 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 namedalerts-maintenancewhosemetadata.alertTypeisalert_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=trueand restart (or save an alert rule): the log showsCreated 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). 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.
Human tie-breaks and humans as task-force executors
voteConfig.humanTieBreak, tiePolicy: HUMAN_DECIDES
Team lessons — sharing between teams and cost-capped consolidation
lessonConfig on a group
Agent operations tools — team scorecard, budget proposals, follow-ups
team_scorecard, propose_team_budget, schedule_followup in builtInToolsWhitelist; optional agentOps
Hard tenant ceiling (cost reservation)
eddi.tenant.quota.cost-reservation.enabled=true (default false)
Email channel
A channel integration with channelType: "email" (mode: trigger or conversation); eddi.email.allowed-hosts confines servers
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
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 and httpcalls.md.
Last updated
Was this helpful?