Design 47 H2: H-A-546, an npm package by its content

This commit is contained in:
2026-11-23 11:57:27 +01:00
parent b67f22332f
commit e997ffe773
@@ -1774,3 +1774,11 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
hand chown, so any module moved to `runs-as` keeps reading what it wrote; built in the node-engine's repository (`mesh-host`) in the same fix, as one
group with mesh-catalog. Principle 2. (3) The check reads a module as keeping an own secret when its `invokes` names
`seat:mesh-vault.own-put`; a get alone is not refused. Principle 7.
- **H-A-546 (an npm package by its content, 11:57)** 23 Nov, issue 721 I11a/I11b: (1) an npm package's digest is
its files under the path of the artifact that publishes it, leaving out `node_modules` and the files the Node build
module's unit step takes as tests (one rule, read from that module, never a second list); its `packages` value's
Requires is the digest of its `package.json` and lock file, as H-A-525 has it for `go.mod` and `go.sum`. (2) The
take-in reaches an npm name through the module graph entry whose artifact publishes that package name (its repository
and the artifact's path), never a scope or the forge's prefix (H-A-539). (3) An npm import of another repository
enters the entry's packages as a Go one does, so the builder waits for that version to be published (kind 1); the
Node build module still places the latest (DMC-3). Principle 7: one form for both languages.