Search and contents

Changelog actions

This page lists, in full, what a site that already runs Kindred has to do after a sync. CHANGELOG.md marks an entry "Action needed" and names the part of a deployment it affects. The steps are here so that the changelog stays short.

Each action is under the date of the changelog entry that names it, newest first, and says three things:

  • Who is affected.
  • What happens otherwise, if nothing is done.
  • What to do.

A site that updates across several syncs does every action under the dates it passes. Where two syncs change the same value, such as a Node Type's node_type_version, declare the Node Type's current version (the version in its node_type.json). That is what a configuration is compared with.

2026-11-24

A pipeline that fails a configuration unless the mapping preview exits 0

Who is affected. A site that runs the mapping preview (python3 -m engine.mapping_preview_cli) in a pipeline or a script and treats any exit code but 0 as a failed configuration. A site that runs the preview by hand, or only the offline check, is not affected.

What happens otherwise. The preview now exits 1 for a rule that is never reached: a rule whose when holds every entry of an earlier rule's when, so that every record it would match has already matched the earlier one. A configuration that previewed clean can now fail that pipeline. The Node's behaviour is unchanged, because such a rule has never run; only the preview's verdict is. A rule set with no catch-all prints a note and still exits 0.

What to do.

  1. Run the preview over each configuration the pipeline checks. The report names each rule that is never reached by its position, counted from 0 (rule 1 is never reached: rule 0 matches every record it would).
  2. For each, move the more specific rule above the broader one, or delete the rule, and run the preview again. See the mapping preview.

2026-11-21

An MES configuration, now version 0.7.0, and the checks that can read a record

Who is affected. Every site that runs an MES Node.

What happens otherwise.

  • The version. The MES Node Type is version 0.7.0. Its deviation_flagging, costing_variance, material_consumption and instruction_bindings sections can read a field of each record beside an mqtt or database_log source, and no longer require the opcua section. A configuration is compared with the Node Type's version exactly, so an MES configuration that still declares 0.6.0 is refused when it loads, and by the offline check, as a stale file.
  • Nothing else changes for a configuration that reads an OPC UA server: it keeps the keys it has and behaves as before.

What to do.

  1. Set node_type_version to 0.7.0 in each MES configuration, and run the offline check on it (see offline-check.md).
  2. To use the new forms, see instruction bindings and the MES runtime wiring.

2026-11-12

An MES configuration, now version 0.6.0, and the revisions that arrive with no effective range

Who is affected. Every site that runs an MES Node.

What happens otherwise.

  • The version. The MES Node Type is version 0.6.0. A document type that keeps each revision gained the optional require_effective_range setting. A configuration is compared with the Node Type's version exactly, so an MES configuration that still names 0.5.0 is refused when it loads, and by the offline check, as a stale file. Nothing else changes in a configuration that does not set require_effective_range.
  • A behavior change for a document type that keeps each revision:
    • A newer revision that arrives with no unit, date or Mfg Order range used to apply at every date, so a question about an earlier date could be answered from the wrong revision.
    • It is now stored with the day it arrived as its start. The intake result and the Activity Log entry carry a warning that names the document and the revision. Storing the same revision again keeps that first assumed start.
    • A type that sets require_effective_range to true refuses such a revision instead, and names the document and the revision.
    • A type that replaces its revisions, and the first revision of a document, are unchanged.
  • A startup warning. A Node whose embedding section names a model other than the one the retrieval bars were measured on, or the same model at another width, logs a warning when it starts, and still starts. deployment/doctor.sh prints the same warning for the staged configuration (retrieval-bars). See the retrieval quality gate.

What to do.

  1. Set node_type_version to 0.6.0 in each MES configuration, and run the offline check on it (see offline-check.md).
  2. For a document type that keeps its revisions, decide whether a revision with no effective range should be refused (require_effective_range: true) or stored with a warning (the default). See the chunking registry.
  3. Before intake, try a document type with the document chunk-preview command, which stores nothing.

2026-11-09

An MES configuration, now version 0.5.0, and the instruction bindings it may hold

Who is affected. Every site that runs an MES Node. A site that adds an instruction_bindings section is also affected by what is checked when the configuration loads, by the tables the Node creates, and by who may acknowledge an alert.

What happens otherwise.

  • The version. The MES Node Type is version 0.5.0: it gained the instruction_bindings section. A configuration is compared with the Node Type's version exactly, so an MES configuration that still names 0.4.0 is refused when it loads, and by the offline check, as a stale file. Nothing else changes in a configuration that has no instruction_bindings section.
  • What is checked. A configuration that adds instruction_bindings is checked when it loads, and by the offline check. A configuration that breaks any of these rules stops the Node at start, and the message names the binding and the key.
    • Each binding needs claim_id, node_id, unit, condition (with node_id and equals), product and operation, and takes no other key.
    • min_interval_seconds is from 60 (3600 by default, at most 604800), so a value below a minute is refused.
    • poll_interval_seconds is 1 to 3600 (10 by default).
    • persistence is exactly one of readings (1 to 10000) or seconds (above 0, at most 86400).
    • mode is disabled (the default), observe or alert.
    • At most 50 bindings may be enabled.
    • No key names an endpoint. A node id is one concrete id, with a namespace index of at most 65535 and a numeric id of at most 4294967295.
    • product, operation and unit hold no control characters, and a numeric equals is finite.
  • New tables. A Node whose configuration has an instruction_bindings section, even one with every binding disabled, creates three tables when it starts: instruction_alerts, instruction_alert_acknowledgements and instruction_run_summaries. Its database role therefore needs the right to create a table. The Node then announces the number of alerts nobody has acknowledged in its pending counts, where it announced null before. A Node whose configuration has no such section creates nothing and still announces null.
  • New in this release. Four management routes behind a new alerts scope: GET /v1/alerts, GET /v1/alerts/count, GET /v1/alerts/{alert_id} and POST /v1/alerts/{alert_id}/acknowledge. A token that carries alerts is held by a person and always carries an expiry: mint refuses it with --no-expiry. The review page has an Alerts tab that uses them.

What to do.

  1. Set node_type_version to 0.5.0 in each MES configuration, and run the offline check on it (see offline-check.md).
  2. To use bindings, read instruction-conformance.md and instruction-bindings.md. Start each binding in observe. Use python3 -m engine.instruction_binding_tools to check it, and to preview it on a sample before turning on alert.
  3. Make sure the database role of a Node that has the section can create tables.
  4. Mint one token with the alerts scope for each person who acknowledges alerts, with --expires-in 90d or --expires-at. For example: deployment/mint_management_token.sh --id NAME --scope alerts --expires-in 90d.

See public-api-changes.md and management-api.md.

The licensed shift-handoff prompt asset must be updated with the engine

Who is affected. A site that holds the licensed shift-handoff prompt asset.

What happens otherwise. The engine now requires version 0.7.0 of that asset. A Node holding an older one stops at start with a prompt-asset version error. It does not fall back to Unlicensed Mode, which is only for an asset that is absent.

What to do. Install version 0.7.0 of the asset when the engine is updated, not after.

See shift-handoff-live-license-gating.md and prompt-provenance-and-stated-counts.md.

2026-11-07

Nodes no longer pull each other's revoked token ids

Who is affected.

  • A site that set MANAGEMENT_PEERS, MANAGEMENT_PEERS_TOKEN_FILE or MANAGEMENT_PEERS_INTERVAL_SECONDS on any node.
  • A site that minted a token with the revocations scope.
  • A mint script that passes --allow-unreachable.
  • A monitor that reads peer_revocations from GET /v1/status or calls GET /v1/revocations.

What happens otherwise. A revoke now reaches another node only when an administrator sends it there.

  • Settings. The service starts and ignores the three settings, and logs a warning at start that names each one still set. It makes no call to a peer for revocations, so a token revoked on one node is no longer removed on the others by a pull.
  • Token files. A token file that holds the revocations scope loads. The service drops the scope, logs one line naming the tokens it dropped it from, and skips a token left with no scope.
  • API. GET /v1/revocations answers 404, and peer_revocations is no longer in GET /v1/status. POST /v1/tokens/rotate is open to every token, and its scope rule in the API description is any_token, where it was not_revocations.
  • Mint. mint refuses --scope revocations and the usage error for --allow-unreachable, and makes no network call.
  • Doctor. doctor.sh warns for each setting and each token above. It fails when a running service still answers GET /v1/revocations, which means it was not restarted onto this release.

What to do.

  1. Remove the three MANAGEMENT_PEERS settings from .env, the environment and any unit that sets them.
  2. Revoke the tokens the nodes pulled each other with: deployment/management_tokens.sh revoke --id NAME on the node that issued each one.
  3. Revoke a leaving person's token on every node with the cascade tool, deployment/management_tokens.sh revoke --id NAME --nodes nodes.txt. Keep its record of nodes it missed, so that revoke --retry can reach them.
  4. Remove --allow-unreachable and --scope revocations from any mint script, and stop reading the route and the field.
  5. Restart the management service and run deployment/doctor.sh.

See the Revocations across nodes section of management-api.md and management-token-lifecycle.md.

Three rules that were looser are now strict, and the MES configuration is version 0.4.0

Who is affected.

  • A script that runs mint --no-expiry for a token with the correlation scope.
  • A client that calls POST /v1/tokens/rotate again within a minute of the last rotation of the same token, or retries a lost answer at once.
  • A database_log section whose poll_interval_seconds is below 1, or whose mapping reads a name that is not one of its declared columns.
  • Every MES configuration.

What happens otherwise.

  • mint --no-expiry for a correlation token is refused with a usage error and nothing is written (documents is unchanged).
  • Rotation. The rotation route answers 429 with Retry-After, writes no Activity Log entry and leaves the token file as it was. The secret sent still works.
  • database_log. A section with an interval below 1 second fails the configuration check. A Node whose mapping reads an undeclared column stops at start with a message that names the column (the offline check already reported it).
  • Token listings. Listings by an admin token are now recorded in the Activity Log, and answer 503 with nothing when the entry cannot be written.
  • The version. The MES Node Type is version 0.4.0: its database_log section gains max_consecutive_rejections and a poll_interval_seconds of at least 1. A configuration that names 0.3.0 is refused as stale. Version 0.5.0 followed on 2026-11-09, which is the version to declare; see that date.

What to do.

  1. Give a correlation token --expires-in 90d or --expires-at, or run deployment/management_tokens.sh set-expiry on an existing one that doctor.sh warns about.
  2. Make a client wait the seconds in Retry-After before it rotates again.
  3. Set poll_interval_seconds to 1 or more, and add to columns every name the mapping reads. Or run the offline check on the config first.
  4. Set node_type_version in each MES configuration to the Node Type's current version, and run the offline check on it.

See public-api-changes.md, public-api-stability.md and management-token-lifecycle.md.

2026-10-27

A broker set up before the identity and pending-count messages

Who is affected. A site that ran deployment/configure_mosquitto.sh before this release.

What happens otherwise. Every Node now publishes two retained messages on its own broker:

  • who it is (kindred/node_identity);
  • how many sign-off records and identity matches are waiting for a person (kindred/pending_summary).

The access list that earlier versions wrote does not let a Node publish either, and Mosquitto drops a publish it does not allow without telling the client. On a broker that was not set up again, the Node starts, runs normally, logs no error and publishes nothing. A broker set up after the identity topic existed but before the pending-count topic lets the Node announce itself and drops its counts, so the roster shows the Node with no counts.

What to do. Run deployment/configure_mosquitto.sh again, as mqtt-broker.md describes under "Running it". The run adds the two topics to the socket access list (and to the network one where the appliance has a network listener), turns on message persistence and restarts the broker once. A second run changes nothing.

--autosave-interval SECONDS (default 60) sets how often the broker saves its retained messages. When this action was written, the script kept no memory of earlier options, so it said to give the same value on every run. Since 2026-11-04 a run without the option keeps the installed value (see mqtt-broker.md). Where the broker saves is the distribution's own persistence_location, and the script warns when it finds none.

See mqtt-broker.md for what each topic holds and what survives a restart.

ACTIVITY_LOG_POSTGRES_DB is no longer read

Who is affected. A site whose .env sets ACTIVITY_LOG_POSTGRES_DB. A site that never set it needs to do nothing.

What happens otherwise. A Node now keeps its Activity Log and identity records in POSTGRES_DB, the one database it already used for everything else.

  • The engine ignores the old variable without a message, so a Node that still has it starts on an empty Activity Log.
  • History already written to the database the variable named stays there and is not moved.
  • deployment/doctor.sh fails its env-file check while the variable names another database.

What to do. Remove the line from .env. The management API, seed_review_records and engine.document_tools read the same database, so nothing else changes. If the earlier history is needed, it is still in the database the variable named.

See database-reference.md, which also gives each Node of a two-Node development layout a database of its own.

2026-10-22

An MES configuration must declare node_type_version 0.3.0

Who is affected. Every deployed MES configuration.

What happens otherwise. The MES Node Type moved from 0.2.0 to 0.3.0 for the new optional settings document_intake, document_types and shift_handoff.exclude_document_ingestion. A configuration loads only when its node_type_version equals the Node Type's version exactly, so a configuration that still says 0.2.0 will not start.

What to do. Change that one value to 0.3.0. Nothing else in the configuration needs to change.

The licensed shift-handoff prompt asset must be updated with the engine

Who is affected. A site that holds the licensed shift-handoff prompt asset.

What happens otherwise. The engine now requires version 0.6.0 of that asset. A Node holding an older one stops at start with a prompt-asset version error. It does not fall back to Unlicensed Mode, which is only for an asset that is absent.

What to do. Install version 0.6.0 of the asset when the engine is updated, not after.

See shift-handoff-live-license-gating.md.

2026-10-15

An MES or Production Scheduling configuration must declare node_type_version 0.2.0

Who is affected. Every deployed MES and Production Scheduling configuration.

What happens otherwise. Both Node Types moved from 0.1.0 to 0.2.0 for new optional settings. A configuration loads only when its node_type_version equals the Node Type's version exactly, so a configuration that still says 0.1.0 will not start.

What to do. Change that one value to 0.2.0. Nothing else in the configuration needs to change. An MES configuration updated across this sync and the 2026-10-22 one declares 0.3.0 directly, not 0.2.0.

Release: v0.11.0