Declare the controller's grants bucket, written by the controller alone and readable through mesh-controller.grants, so the assigner can read its sixth rule's key (issue 1394, subtask C9a; ADR 0528 clause 2); the SDK pin moves to the layouts' commit, captured beside

This commit is contained in:
2026-10-23 15:39:40 +02:00
parent 791786d5b8
commit 548681cc4e
11 changed files with 92 additions and 9 deletions
+3 -2
View File
@@ -17,9 +17,10 @@ import (
const StatesAnnouncedBucket = announce.KeptBucket
// controllerReadable are the controller's states others may read: the record mirrors (the packages each node declares
// among them, which the pacman module reads, ADR 0507 §5), the chain's buckets, the checks running and the plans building.
// among them, which the pacman module reads, ADR 0507 §5), the chain's buckets, the checks running, the plans building and
// the grants issued, which the assigner reads (ADR 0528 clause 2).
var controllerReadable = []string{MirrorAssignments, MirrorDeclaredConfig, MirrorPredefined, ChainBuilds, ChainRollouts,
ChecksRunning, PlansBuilding, MirrorDeclaredPackages}
ChecksRunning, PlansBuilding, MirrorDeclaredPackages, ControllerGrants}
// ControllerAnnouncement is what the controller announces it keeps (ADR 0495 clause 2): every bucket of its own by its local
// name, the ones others may read marked readable. It announces itself, as any module does from its code.