The end-to-end workflow article left one thread hanging: one person can walk the seven steps, but projects eventually belong to more people. This article covers the foundation of that collaboration — version control for configuration assets.

First, the boundary with the operations SOP article: that one covered the discipline after go-live — windows, fallback plans, export before touching anything. This article steps one level earlier, to the objects those disciplines apply to: decoder scripts, trigger rules, thing models, and forwarder configurations — the things that actually change every week. Where do they live, how should they change, how are they verified, how are they handed over? The SOP is the policy; this article is the asset repository. Without one, the policy lives in memory.

1. In LoRaWAN projects, the thing that needs version control is not the code

Software teams agree on version control without discussion: code goes into a repository, changes go through review. But LoRaWAN projects are different — little code, lots of configuration. What changes daily is this:

Asset Typical change What breaking it does
Decoder scripts New device models, payload format corrections Wrong or missing data, usually silently
Thing models New attributes, changed units or precision Broken dashboards, drifting history semantics
Trigger rules Threshold tuning, debouncing, notifications False alarms, missed alarms, or alarm storms
Forwarder configs New topics, changed filters Business system starves — with no error
Alarm parameters Offline detection, channels, on-call targets The alarm that should fire doesn't

These assets share three properties: they live inside the platform, not in anyone's repository; they are edited in a few clicks; and breaking them often produces no error at all — one wrong coefficient in a decoder, and the data stays wrong until someone notices the curve looks odd. The classic incident pattern: adjusting a shared decoder for device model A quietly breaks model B; three months later, nobody remembers why a rule looks the way it does.

That is why configuration assets need version control more than code does: higher change frequency, more silent failures, and no undo button in the platform.

2. The source of truth lives outside the platform: export is a commit

The first habit to build: the platform's current configuration is a workspace, not a version history. ThinkLink does not embed Git — by design, not by omission: the platform runs the system, the repository keeps the memory. Building the source of truth is simpler than it sounds: after every change, export the modified configuration and commit it to a Git repository.

Decoder scripts and trigger rules are text — they diff naturally; forwarder configs and thing models export to text as well. With that one habit, the undo the platform cannot give you, the repository provides: the SOP's "export before change is your rollback" becomes, for a team, "every export is a commit point."

Three repository conventions are enough:

  • One repository per project, directories per environment (production, test), never mixed with application code;
  • File names carry object and date: a name like decoder_th_ks52_20261127.js means archaeology in six months does not require opening the file;
  • Commit messages carry five fields: what changed, why, who, which baseline it relates to, and which version to roll back to.

That looks bureaucratic until you notice it is the operations change log, field by field — the change log needs no separate maintenance; git log is the change log.

3. Review and permissions: the author never approves, write access is minimal

The first line of defense for a team is not process, it is permissions:

  • Minimize production write access. Read access is enough for most daily work; production decoder and rule edits converge onto one or two named people. This is not distrust — it makes "who changed this" always have a deterministic answer.
  • The author never approves. Double review does not exist to catch typos — a script that fails in the sandbox catches those. It exists to catch wrong judgments about blast radius: changing a precision coefficient in a shared decoder silently changes every device model that shares it, and only a second pair of eyes sees that radius.
  • Test objects first, production last. Even one test device and one test rule are worth having. Changes are verified on test objects before being promoted — the smallest possible implementation of canary deployment, and the same discipline the firmware SOP already applies to upgrades.

4. Regression: golden samples instead of memory

The end-to-end article's baseline artifacts become golden samples here: for every device model, two or three real raw payloads, stored in the repository together with their expected decoded output.

From then on, verifying a decoder change is no longer "the data looks right": feed each golden sample through the changed script and compare output against the expected values, field by field. Trigger rules work the same way — run a known over-limit payload through and compare the alarm record, including deduplication behavior. Golden samples are unit tests for configuration assets: they turn "it used to be fine" from a memory into a repeatable check.

Where do golden samples come from? Directly from the end-to-end verification in the workflow article: the raw payloads and decoded results captured there go straight into the repository. From then on, every newly integrated device model adds its own set, and within six months the project has a full regression suite.

5. Handover and audit: the repository history is the answer

The other end of collaboration is handover. A new engineer joining a project that has run for half a year fears not writing decoders, but not knowing "why this rule debounces at 500 ms and that threshold is 45 instead of 50." With a repository, the answers live in commit messages and history — archaeology drops from "find whoever was there" to "read git log."

Audit works the same way. When a customer asks why the alarm threshold changed last month, five minutes of commit history produces an answer with the reason attached; without a repository, that question becomes an all-hands memory session.

The handover checklist shrinks accordingly: platform accounts and permissions, repository location and branch conventions, golden-sample location, the workflow article's four baseline artifacts, and the SOP's four tables. Five items, and the new owner can safely make their first change the next day.

6. The checklist

Item Convention Done means
Asset inventory Five asset classes registered You know what can change in this project
Repository Export and commit after every change Configs have diffs, history, and rollback
Five-field commits What/why/who/baseline/rollback point git log is the change log
Permissions Production write access named; author never approves Every change has a deterministic owner
Golden samples 2–3 raw payloads with expected output per model Script changes are machine-verifiable
Regression Field-by-field comparison after changes "It used to be fine" is reproducible

With configuration assets under control, the rest of team collaboration — task breakdown, progress sync — is ordinary engineering. The next article switches direction: people keep asking whether open-source LoRaWAN gateways belong in production. That deserves a direct, evidence-based answer, pulling together the threads from across this series.


Note: platform behaviors described here (vm2 sandbox, trigger rules and deduplication, forwarder semantics, configuration export) follow the current ThinkLink documentation; exports work via the management UI or the REST API.