diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md index f6cc5014..3395431a 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md @@ -514,3 +514,17 @@ where the design and the code disagree; the lead's answers follow, each against says `fetch` naming the package, then `run`), and the extended whole test of H-A-628 (a restart during the wait takes the run up and composes after the publish; a restart past the bound ends it could not run naming the package). Principles 1, 3, 7 and 11. +- **H-A-630 (the waiting run's wake, context and words, 22:58)** 23 Nov, issue 1984; answers round 1 of the review of + the fix that builds H-A-628 and H-A-629. (1) A `package-published` wakes only the runs whose `waits` names the + heard artifact's package, as H-A-628 (3) says "of that package"; a publish of another package asks no `published` + (principle 7). (2) Each bind of the assigner's consumer of `package-published` wakes every waiting run to read + `published` again, since an event said while the consumer was not bound is never heard (principle 3: no wait that + only its bound ends while the package stands published). (3) The wait runs on the assigner's own context, as the + take-up's does, never on the starting step's: a step that is superseded or dropped leaves a run other steps share + waiting (principle 3: a run never ends with "no published version" while one stands). (4) The words that end a run + past its bound name the package, the entry and the bound, as H-A-628 (5) asks (principle 3). (5) While a run's value + holds `waits`, the readers' `wait-held` says the step waits for that package's publish, naming it, never for a + build node (principle 3). How it is checked: rows of the composition run's unit tests (another package's publish + asks no `published`; a bind wakes a waiting run that then reads it published; a superseded starting step leaves the + shared run waiting; the bound's words name package, entry and bound; `wait-held` names the package). Principles 3 + and 7.