diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md index 0ae69d69..6794af40 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers.md @@ -271,7 +271,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl an unmerged one is left out); the answer holds at most 768 KB with `capped`, `total` (the numbers in the range) and `cursor` (the next number, given back as `from`), each row {number, merge-commit, merged-at, call (the merge call id when a kept call merged it, else none)}. §811's cap holds for every read tool, this one included. P3. -- **H-A-403 (the install ask's form and the install archive's version, 00:56)** BM3, §800. (1) Every ask on a build +- **H-A-403 (the install ask's form and the install archive's version, 00:51)** BM3, §800. (1) Every ask on a build seat's queue has one form: the install is a buildstep.StepAsk of kind `install` (language node, the module, commit and fingerprint, and an `install` job holding InstallAsk's fields); the node-build-node accept's body is that StepAsk, and RunAsk dispatches the kind. Where the seat's queues are per step kind, `install` is its own queue on node-build-node @@ -281,7 +281,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl build's version; the install ask carries that version (the runner reads it from the seat mesh-builds' reserved, as it reads the publish's), and the install publishes the archive under it, so H-A-387's reservation check holds. P3, H-A-373, H-A-399. -- **H-A-404 (a drop of an ask not yet pulled is kept in the holder's taken state, 00:53)** §778, B2. The builder keeps a +- **H-A-404 (a drop of an ask not yet pulled is kept in the holder's taken state, 00:51)** §778, B2. The builder keeps a drop of an ask it has not pulled yet in its state `taken` under the key `dropped.` with the ask-taken-bound TTL (the holder's one store for asks by id, P3; ADR 0664 §4's kept drop): a pull within the bound ends the step could-not-run naming the drop (H-A-401); past the bound the runner's step has ended already and the key is gone. A @@ -294,33 +294,33 @@ The lead's one-line answers to the questions H2's develop and review raise (impl assigner and no ask without an id. (2) The compose-candidate ask's id is `.`: the pipeline step's ask id with the node asked, so one id per node per step, unique in the engine's mesh-wide taken bucket keyed node-engine.; a repeat to the same node carries the same id and joins the run (H-A-364 (b)). P3, P9, ADR 0668 §2. -- **H-A-406 (a rerun build that passes places again the steps not asked on it, 00:58)** R lines. Tonight the rerun of +- **H-A-406 (a rerun build that passes places again the steps not asked on it, 00:53)** R lines. Tonight the rerun of main.158's nftables build passed and published, and nftables' lint, validate and composition stayed "not asked: its dependency mesh-build-node did not build" with their old times, so the pipeline ended failed again and each step needed a hand rerun. The kind is H-A-361's: a step that ended not asked on a dependency is placed again when that dependency builds, whether by a hand-off (H-A-361's take-out) or by a rerun that passes, by the same takeOutNotAsked at the build's end; a rerun then needs no hand rerun of dependents. Built by the runner's developer with R lines; tonight's recovery is by hand reruns. fix-a-bug-met-twice, P-failure-loud. -- **H-A-407 (the TypeScript seals live in mesh-sdk, 01:00)** §808, §822, C4. The forge module's minting processes are +- **H-A-407 (the TypeScript seals live in mesh-sdk, 00:54)** §808, §822, C4. The forge module's minting processes are TypeScript and the vault's two steps need two seals TypeScript has nowhere: the anonymous NaCl box own-put's second step takes, and ADR 0206's sealed box `get` answers. mesh-sdk's TypeScript gains `seal` and `open` (ADR 0206's box, node's crypto only) and `sealAnonymous` (the NaCl box) beside the Go ones, one shape on every side (P9), each tested against the Go package's bytes; the anonymous box from one small pinned library (tweetnacl) declared in mesh-sdk's package.json, an external package pinned as the rule allows. A mesh-sdk subtask S15, built now; C4 builds on its head. P9, ADR 0206, code shared between modules belongs in the SDK. -- **H-A-408 (a source-only check's step-ended names the registration and the tree, 01:00)** §815, C6. The runner's +- **H-A-408 (a source-only check's step-ended names the registration and the tree, 00:54)** §815, C6. The runner's step-ended for a source-only check carries `module` = the registration's key `source..` and `fingerprint` = the commit's root tree hash (the source's whole build input; the same content gives the same fingerprint, P3), the policy's status riding result.status as for a module; the forge module judges it as it judges a module's head, keyed the same way. The runner's developer builds the source-only run's step-ended so (R lines, §815's runner side); the forge module's developer the judgement, with a whole test (a head whose unit step failed is refused naming it). P3. -- **H-A-409 (a running take-in's waiting-on lives in takeins, 01:03)** §803, I2. The indexer's one store of take-ins is +- **H-A-409 (a running take-in's waiting-on lives in takeins, 00:55)** §803, I2. The indexer's one store of take-ins is the state `takeins`: a running source-moved take-in writes its `waiting-on` (part, verb, since) there under the key `running.` when it starts waiting on a part, rewrites it at each new wait and removes it at its end; a held take-in stays in `held`. indexer_pending answers both, held and running, each with what it waits on. One store per thing (P3), the owner's own state (ADR 0596). -- **H-A-410 (a holder's asks tool reads its own queue's waiting asks through the SDK and the runtime, 01:03)** §777, A2 +- **H-A-410 (a holder's asks tool reads its own queue's waiting asks through the SDK and the runtime, 00:55)** §777, A2 and B2. A holder's asks tool (assigner_asks, builder_asks, the runner's) answers what waits on and what is taken from its seat's queue; the queue is the holder's own store (its requires), so reading it is the owner's read (ADR 0596). The read is one shared form: mesh-sdk's bundle side gains stdio.QueueWaiting(seat) (S16), which asks the tool runner's new @@ -341,7 +341,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl indexer, not in mesh-catalog: the §814 rules (a kept store with no cap, the finding-events numbers, `class` present on a seat-claiming manifest) are the indexer developer's I6, and H-A-378's and H-A-394's "mesh-catalog developer builds the rule" read so. P3, P-failure-loud, ADR 0595 §3. -- **H-A-407 (addendum, 01:00)** The anonymous box's nonce is BLAKE2b with a 24-byte output, which tweetnacl lacks and +- **H-A-407 (addendum, 00:57)** The anonymous box's nonce is BLAKE2b with a 24-byte output, which tweetnacl lacks and node's crypto refuses; so two small pure libraries, each pinned in mesh-sdk's package.json: tweetnacl 1.0.3 and blakejs 1.2.1; no hand-written hash (no crypto written by hand, tested or not). The TypeScript seals live in src/seal (export "./seal"), mirroring go/seal. P9.