> For the complete documentation index, see [llms.txt](https://docs.appmixer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmixer.com/changelog/version-6/6/6.5/6.5.6.md).

# 6.5.6

2026-09-25

## New Features

#### Audit Log <a href="#audit-log" id="audit-log"></a>

* **The integrator's own user can be recorded on an audit entry** — An integrator can run a whole organization through a single Appmixer user, so every audit record named that same user and nothing tied a change to the person who actually made it. An audit entry now carries an optional `externalUserId`, claimed through the `X-Appmixer-Audit-External-User-Id` request header and filterable on `GET /system/audits`. In the SDK it is set once with `appmixer.set('externalUserId', id)` or as a constructor option, read on every request — so it follows a change of person without re-authenticating the Appmixer user — and sent only to the Appmixer origin, never to another host. Nothing is sent while it is unset. Copilot forwards the value from the chat request onto every flow write the turn makes, and the Backoffice shows and filters by it alongside the Copilot source and conversation recorded in 6.5.5.
* **`GET /system/audits` reports which filters it applied** — The response now carries `appliedFilters`, so a caller can tell a filter that genuinely matched nothing from one an older node never understood and silently ignored. `auditLogs` is also reported on `/system/stats`.

#### AI Copilot <a href="#ai-copilot" id="ai-copilot"></a>

* **Two messages per turn instead of a running commentary** — Since the default model moved to Sonnet 5 in 6.5.5, Copilot posted its working notes into the chat as it built — *"Now let me get parameters/ports/outputs for the chosen components."* — often before any message saying what it was going to build. A turn now shows one sentence before the work starts and a short summary after it, with "Things to check" below. Both the prompt and the stream itself enforce this, so narration is held back rather than merely discouraged.
* **Copilot declines requests that have nothing to do with automations** — Copilot had no scope rule at all: any refusals were one model's inference from its role line, and nothing tested them. Customers found it answering general programming and business questions on their bill. A request outside flows and what can be automated is now declined in a sentence or two, with no tool call at all, so a decline costs nothing. A request to build is in scope however technical its subject.
* **Copilot fills in the defaults a component declares** — When the model left out an inspector field that has a default in the component's manifest, the field was stored unset, so a Copilot-built toggle showed **Undetermined** in the Designer rather than **On** or **Off**. Such defaults are now written in.
* **Copilot looks up the receiving input port instead of assuming it** — Almost every example path in the prompt names the input port `in`, so the model generalized that and wired `source.in.…` without checking, even in a turn where it had just read the correct ports. Well over a hundred connector actions declare no `in` port at all — Slack's `SendChannelMessage` receives on `message` — so those flows persisted unwired.
* **Faster saves on large flows** — Copilot can now send only the components and paths it is changing, merged onto the flow as already stored, instead of re-emitting the whole descriptor on every round. A fix to how it reads items from the `Each` control also removes what was the single largest source of invalid variable errors in measured tenant traffic.

## Bug Fixes

* **Fixed connector updates continuing to report the old version** — Uploading a new version of a connector reported success while the Backoffice went on showing the previous version. The bundle listing returned superseded copies of `bundle.json` alongside the active one, so an obsolete copy could overwrite the current version in the response, and every re-upload re-stamped the superseded files, restarting the grace period before they are cleaned up so they never aged out. Two further readers were reading those same stale copies: plugin loading started a database plugin once per superseded copy at node startup, and the connector download produced a zip holding several entries for the same path.
* **Fixed Publish Changes failing on a draft with validation errors** — In a draft over an active flow, **Publish Changes** stayed enabled while the draft had blocking errors and then always failed with a generic "Publishing changes failed." alert, because the server validates a publish into a running flow with the same validator Activate uses. The button now behaves as Activate and Test already do: where the publish would be validated and the draft has errors, it takes the user to the validation instead of failing. Publishing into a flow that is not running is unchanged, since the server does not validate it there and publishing is the only way out of a draft.
* **Fixed a toggle showing Undetermined when the flow held no value for it** — A toggle whose component declares a boolean default read **Undetermined** and was drawn switched off whenever the descriptor carried no value — which happens for flows built through the REST API, imported, or built by Copilot before this release. That misrepresented how the flow runs: the engine applies the schema default for an absent value, so a field shown as off could be running as on. An unset toggle now shows the declared default, or says it is not set where there is none.
* **Fixed a variable being inserted at the start of a modifier parameter** — Picking a variable for a modifier parameter that held plain text put it at the beginning of the field rather than at the cursor: typing `foo` and picking a variable gave `"Start time"foo`. The caret is now carried over from the text field. Present in every release since 6.2.0.
* **Fixed Spanish copy falling back to English in the Wizard and dashboard** — A second round of Spanish reports, with three distinct causes. The Wizard was passed a small dictionary of its own, which *replaces* rather than extends the one set globally, so everything outside those eleven keys rendered the English defaults — including the account button, which reads correctly in Spanish in the Designer. Separately, two dashboard headings looked up keys the Spanish catalog did not define under those names, and a number of strings the code asks for had no key in either catalog. Several mistranslations were corrected along with them.
* **Fixed `GET /system/audits` filtering on a date it could not read** — A `dateFrom` or `dateTo` the server could not parse — epoch milliseconds, for instance — was silently filtered on the epoch instead of being refused, and an empty `username` returned an empty list rather than being treated as no filter. `dateTo` also ended in the server's own time zone, and nine seconds short of the end of the day.

{% hint style="warning" %}
Two requests that `GET /system/audits` used to answer with a misleading result are now refused with a `400`: a `size` above the maximum of 100 (previously clamped, so a script paging with `size=500` would read part of the trail and report it as all of it), and a `dateFrom`, `dateTo` or `ts` value that cannot be read as a date. `page=0` still returns the unpaginated result, which the Backoffice CSV export relies on.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmixer.com/changelog/version-6/6/6.5/6.5.6.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
