The running pre-G indexer publishes a repository's packages only when every package directory it published last is
still in the tree; G moved contracts/go and sdk to modules/, so mesh-delivery's packages, G's renamed paths among them,
are never published and nothing importing them builds (2026-11-13, indexer journal 'its packages are not published').
These are the trees of e70754ef, unchanged, without sdk/module.json (no second module). Nothing imports them; they go
once G's indexer runs and publishes without them.
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
16 lines
920 B
Go
16 lines
920 B
Go
package buildstep
|
|
|
|
// ModuleTree is what a merge holds of one module directory, as a build module's preview answers it (novox/hq ADR 0484
|
|
// clause 3, as ADR 0593 §2 changes it): its git tree id, the sha256 of its module.json, the sha256 of each lock file it
|
|
// has (go.sum, package-lock.json), and, of a module whose every artifact names its paths, each named path's git object
|
|
// id at the commit. The indexer alone computes from them (the named tree, the fingerprint); the build module's runner
|
|
// (mesh-build-go's buildstep.ModuleTrees) fills them.
|
|
type ModuleTree struct {
|
|
Tree string `json:"tree"`
|
|
Manifest string `json:"manifest"`
|
|
Locks map[string]string `json:"locks,omitempty"`
|
|
Paths map[string]string `json:"paths,omitempty"`
|
|
// Packages are no longer filled (ADR 0593 §2): kept so a preview written before still decodes.
|
|
Packages []string `json:"packages,omitempty"`
|
|
}
|