Design 47 H2: H-A-541, a Go import set names packages, not modules

This commit is contained in:
2026-11-23 11:30:17 +01:00
parent d72433c167
commit ca522af699
@@ -1740,3 +1740,8 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
named branch is read; an import no entry publishes is outside the mesh, Resolve's Missing for it included, and never
sends a module to the version line. The forge mapping in the `packages` state and Resolve is left as it is in this milestone
and leaves with the forge-independence work (the operator's question, 2026-11-23). Principles 2 and 7.
- **H-A-541 (a Go import set names packages, not modules, 11:30)** 23 Nov: corrects H-A-539's "module paths
(Go)", which brought back the cascade (a change anywhere in a module would move every importer). So: a Go build
module reports the import path of every package its build resolved (the import closure, H-A-517), leaving out the
standard library and the module's own packages; the indexer keeps a package when it lies under a package artifact a
module of the module graph publishes (H-A-540) and digests each by its own files (ADR 0593 §2). Principle 7.