catalogue-mqtt: mosquitto seeded by a run-once step (ADR 0052 proof, green) #7

Merged
jschoubben merged 1 commits from feat/catalogue-mqtt into main 2026-09-05 23:06:11 +00:00
Owner

The lab proof ADR 0052 owed: mosquitto's run-once bootstrap seeds dynsec before the broker, the broker comes up, and a consumer's scoped MQTT client provisions. SUITE_EXIT=0. Adds scenarios/catalogue-mqtt.yml, test/integration/assigned-catalogue-mqtt.test.ts, and a mosquitto arm (with mosquitto_ctrl) to build-module-runtime.sh. Fourth green regression bed.

https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF

The lab proof ADR 0052 owed: mosquitto's run-once bootstrap seeds dynsec before the broker, the broker comes up, and a consumer's scoped MQTT client provisions. **SUITE_EXIT=0.** Adds `scenarios/catalogue-mqtt.yml`, `test/integration/assigned-catalogue-mqtt.test.ts`, and a `mosquitto` arm (with `mosquitto_ctrl`) to `build-module-runtime.sh`. Fourth green regression bed. https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
jschoubben added 1 commit 2026-09-05 23:03:30 +00:00
A bed that assigns mosquitto and asserts the run-once step seeded dynsec
before the broker: the bootstrap ran to completion (not left running), the
seed is on disk owned by the broker's uid, the broker is up and stable
(it crash-loops against an unseeded store, so a stable broker is the proof),
and the node reached current. On top, the seeded admin authenticates over
MQTT and the provisioner grants a scoped client a consumer connects with.

build-module-runtime.sh gains a mosquitto arm (install mosquitto_ctrl from
the mosquitto package — it is not in mosquitto-clients on bookworm, and a
musl binary from eclipse-mosquitto would not load) and compiles the module's
bootstrap/index.ts entrypoint.

Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
jschoubben merged commit 132b9e3a7b into main 2026-09-05 23:06:11 +00:00
jschoubben deleted branch feat/catalogue-mqtt 2026-09-05 23:06:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-lab#7