Design 47 H2: H-A-547, three more of issue 721's details

This commit is contained in:
2026-11-23 11:58:45 +01:00
parent e997ffe773
commit 46d31fea38
@@ -1782,3 +1782,12 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
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.
- **H-A-547 (three more of issue 721's details, 11:58)** 23 Nov: (1) amends H-A-546 (1), which named a rule the
Node build module does not hold (its unit step runs the package's `test` script): the files that leave an npm
package's digest are `node_modules` and the default test files of `node --test`, which that step runs
(`**/*.test.*`, `**/*-test.*`, `**/*_test.*`, `**/test.*`, everything under a `test` directory). Principle 7.
(2) DMC-1's "no version for a package a mover of the same take-in publishes" holds for import-form modules only
(H-A-530, DMC-8), and is applied in the take-in's module graph revision entries, where the movers are known, never in
a module's kept packages. Principle 7. (3) The builder fills a package's version from the reservation of the module
that publishes it at the source revision of the key's own origin, never the newest heard; when ADR 0684 is built
that origin carries no branch. Principle 2.