Design 47 H2: H-A-407 TypeScript seals in mesh-sdk; H-A-408 a source-only check's step-ended

This commit is contained in:
2026-11-22 00:54:28 +01:00
parent 7a7a1ffea5
commit 7dca93c025
@@ -301,3 +301,17 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
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
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
step-ended for a source-only check carries `module` = the registration's key `source.<owner>.<name>` 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.