mesh-watcher: read who holds the controller and the bus from the placement seat's state, not the controller's seats (issue 1955, ADR 0571 clause 4)

This commit is contained in:
2026-10-29 23:46:55 +01:00
parent 2802fdf783
commit 3d3524dd69
6 changed files with 52 additions and 62 deletions
+6 -4
View File
@@ -7,11 +7,11 @@
"mesh-self-check.checked"
],
"reads": [
"mesh-conditions.takeover"
"mesh-conditions.takeover",
"mesh-delivery-assigner.seat-holders"
],
"invokes": [
"mesh-watcher.watcher_ping",
"seat:mesh-controller.seats"
"mesh-watcher.watcher_ping"
],
"own-secrets": {
"telegram-token": "${dir:state}/telegram-token"
@@ -43,7 +43,9 @@
"type": "file",
"path": "${dir:state}/settings.json",
"mode": "0600",
"takes-config": ["telegram-chat-id"],
"takes-config": [
"telegram-chat-id"
],
"merge": "json",
"template": "files/settings.json"
}