Design 47 H2: H-A-539, a mesh package is one the module graph publishes, never a forge prefix

This commit is contained in:
2026-11-23 11:24:14 +01:00
parent 82b3a56b38
commit a5d37df7fa
@@ -1725,3 +1725,11 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
contract cannot carry (seatgen writes an optional array `omitempty`). So: the entry's existing `import-form` says it:
set to the import form when the module's set is reported (H-A-536, H-A-537), an absent `imports` then read as the
empty set; absent when the module is on the version line. No field is added and seatgen is not changed. Principle 7.
- **H-A-539 (a mesh package is one the module graph publishes, never a forge prefix, 11:24)** 23 Nov: withdraws
H-A-534's per-language form check and H-A-535's settings `import-prefix` and `import-scope`. The operator: mesh Go
modules are imported from the seat `go-package-registry`, not from the forge, so no forge host or owner tells a mesh
package apart. So: a build module reports the module paths (Go) or package names (npm) its build resolved, every one
but the language's standard library, with no prefix or scope filter (mesh-build-go's `ModuleImports` and
`trunk.PackageRepository` filter go); the step runner checks only that the set is sorted and unique; the indexer
keeps of it the packages a module of the module graph publishes (I9's reading), and an import nothing publishes is
outside the mesh. `ForgeModulePrefix` and the `"novox/"` mapping leave this path. Principles 9 and 7.