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.
- 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). - 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. Itsdeviation_flagging,costing_variance,material_consumptionandinstruction_bindingssections can read a field of each record beside anmqttordatabase_logsource, and no longer require theopcuasection. A configuration is compared with the Node Type's version exactly, so an MES configuration that still declares0.6.0is 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.
- Set
node_type_versionto0.7.0in each MES configuration, and run the offline check on it (seeoffline-check.md). - 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 optionalrequire_effective_rangesetting. A configuration is compared with the Node Type's version exactly, so an MES configuration that still names0.5.0is refused when it loads, and by the offline check, as a stale file. Nothing else changes in a configuration that does not setrequire_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_rangetotruerefuses 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.shprints the same warning for the staged configuration (retrieval-bars). See the retrieval quality gate.
What to do.
- Set
node_type_versionto0.6.0in each MES configuration, and run the offline check on it (seeoffline-check.md). - 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. - 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 theinstruction_bindingssection. A configuration is compared with the Node Type's version exactly, so an MES configuration that still names0.4.0is refused when it loads, and by the offline check, as a stale file. Nothing else changes in a configuration that has noinstruction_bindingssection. - What is checked. A configuration that adds
instruction_bindingsis 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(withnode_idandequals),productandoperation, and takes no other key. min_interval_secondsis from 60 (3600 by default, at most 604800), so a value below a minute is refused.poll_interval_secondsis 1 to 3600 (10 by default).persistenceis exactly one ofreadings(1 to 10000) orseconds(above 0, at most 86400).modeisdisabled(the default),observeoralert.- 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,operationandunithold no control characters, and a numericequalsis finite.
- Each binding needs
- New tables. A Node whose configuration has an
instruction_bindingssection, even one with every bindingdisabled, creates three tables when it starts:instruction_alerts,instruction_alert_acknowledgementsandinstruction_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 announcednullbefore. A Node whose configuration has no such section creates nothing and still announcesnull. - New in this release. Four management routes behind a new
alertsscope:GET /v1/alerts,GET /v1/alerts/count,GET /v1/alerts/{alert_id}andPOST /v1/alerts/{alert_id}/acknowledge. A token that carriesalertsis held by a person and always carries an expiry:mintrefuses it with--no-expiry. The review page has an Alerts tab that uses them.
What to do.
- Set
node_type_versionto0.5.0in each MES configuration, and run the offline check on it (seeoffline-check.md). - To use bindings, read
instruction-conformance.mdandinstruction-bindings.md. Start each binding inobserve. Usepython3 -m engine.instruction_binding_toolstocheckit, and topreviewit on a sample before turning onalert. - Make sure the database role of a Node that has the section can create tables.
- Mint one token with the
alertsscope for each person who acknowledges alerts, with--expires-in 90dor--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_FILEorMANAGEMENT_PEERS_INTERVAL_SECONDSon any node. - A site that minted a token with the
revocationsscope. - A mint script that passes
--allow-unreachable. - A monitor that reads
peer_revocationsfromGET /v1/statusor callsGET /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
revocationsscope 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/revocationsanswers404, andpeer_revocationsis no longer inGET /v1/status.POST /v1/tokens/rotateis open to every token, and its scope rule in the API description isany_token, where it wasnot_revocations. - Mint.
mintrefuses--scope revocationsand the usage error for--allow-unreachable, and makes no network call. - Doctor.
doctor.shwarns for each setting and each token above. It fails when a running service still answersGET /v1/revocations, which means it was not restarted onto this release.
What to do.
- Remove the three
MANAGEMENT_PEERSsettings from.env, the environment and any unit that sets them. - Revoke the tokens the nodes pulled each other with:
deployment/management_tokens.sh revoke --id NAMEon the node that issued each one. - 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 thatrevoke --retrycan reach them. - Remove
--allow-unreachableand--scope revocationsfrom any mint script, and stop reading the route and the field. - 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-expiryfor a token with thecorrelationscope. - A client that calls
POST /v1/tokens/rotateagain within a minute of the last rotation of the same token, or retries a lost answer at once. - A
database_logsection whosepoll_interval_secondsis below 1, or whose mapping reads a name that is not one of its declaredcolumns. - Every MES configuration.
What happens otherwise.
mint --no-expiryfor acorrelationtoken is refused with a usage error and nothing is written (documentsis unchanged).- Rotation. The rotation route answers
429withRetry-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
admintoken are now recorded in the Activity Log, and answer503with nothing when the entry cannot be written. - The version. The MES Node Type is version
0.4.0: itsdatabase_logsection gainsmax_consecutive_rejectionsand apoll_interval_secondsof at least 1. A configuration that names0.3.0is refused as stale. Version0.5.0followed on 2026-11-09, which is the version to declare; see that date.
What to do.
- Give a
correlationtoken--expires-in 90dor--expires-at, or rundeployment/management_tokens.sh set-expiryon an existing one thatdoctor.shwarns about. - Make a client wait the seconds in
Retry-Afterbefore it rotates again. - Set
poll_interval_secondsto 1 or more, and add tocolumnsevery name the mapping reads. Or run the offline check on the config first. - Set
node_type_versionin 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.shfails itsenv-filecheck 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