Design 47 H2b: H-A-877, Start's nil says the hub started, never that anything is heard
This commit is contained in:
@@ -336,3 +336,12 @@ The preparer's rows of step 0b item 3 (2026-11-27, hq `.work/47-H2b/milestone.md
|
||||
other behaviour of §836 1. to 4. unchanged; the keeper registers its one handler for each of its module's consumes
|
||||
on such a hub and starts it, and `kept.go`'s copy goes. Built in mesh-sdk (S5) and the bus module (N1 again), with
|
||||
N1's rows kept. This amends §836 5. The mesh's instruction; principles 9 and 8.
|
||||
- **H-A-877 (`Start`'s nil says the hub started, never that anything is heard, 03:50)** 27 Nov, the review's parts 1 and 3
|
||||
(one finding of five callers, the second of its kind in the round): mesh-sdk's `EventHub.Start` answers nil once
|
||||
the hub is started, whatever it could bind; that a stream is heard is told only through `OnAllHeard` and
|
||||
`OnUnheard` (§836 1., 4.), and `Start`'s comment says so. Every caller that takes `Start`'s nil as heard or live
|
||||
moves that to the hooks: the grants part's `EventsLive` to `OnAllHeard`; the builder's, the indexer's and the
|
||||
watchman's EVENTS-heard mark to `OnUnheard` (heard when its list names no EVENTS entry, else not heard with the
|
||||
hub's reason); the assigner's Heard and live to `OnAllHeard`. Also: a `wanted` with no `want-revision` leaves the
|
||||
held revision unchanged in the indexer (`named.go`) as in the gate (H-A-865). Principle 3 (nothing says heard that
|
||||
is not).
|
||||
|
||||
Reference in New Issue
Block a user