Design 47 H2b: H-A-870, the grants part grants every program what its hub uses

This commit is contained in:
2026-11-27 03:09:09 +01:00
parent 6a18bff2fd
commit 71803fa73b
@@ -289,3 +289,12 @@ The preparer's rows of step 0b item 3 (2026-11-27, hq `.work/47-H2b/milestone.md
naming what it holds as the seat's other verbs do; and `NewBranches` (H-A-861) registers the shared
`catalog-revision` event once, before `Start`, with a handler that hands each revision to the branches followed by
then, so a branch followed later hears it through that one registration. Principles 8 and 3.
- **H-A-870 (the grants part grants every program what its hub uses, 03:09)** 27 Nov, dev-delivery-c at T1: mesh-sdk's
hub (S1) asks `$JS.API.STREAM.INFO.EVENTS` and the stream info of each `SEAT_` stream its patterns take, and
subscribes `mesh.seat.mesh-grants.event.durables-composed.<node>.<module>` (§836 2.); no line names the grant, and
the grants part grants neither today (mesh-delivery 2aadb3f0 `modules/mesh-grants/internal`: no grant of
`durables-composed`). The grants part grants every module with a program, on each node it is placed on, publish of
`$JS.API.STREAM.INFO` for EVENTS and for each kept stream its module consumes, and subscribe of its own
`durables-composed.<node>.<module>` subject, beside its other derived grants; built as G4 in the grants part, with a
row of `TestGrants`. Who may is a design line (who-may-is-not-the-operators-question); principle 12 (the grants
part composes every grant) and principle 3 (a hub refused its wake would wait silently).