Genesis reads the registry's and the builder's manifests from the catalogue, not the control plane's

The control plane's manifest comes out of the build the installer runs (novox/hq ADR
0069, 04-ISSUES/072); the catalogue no longer holds a copy, and a bed that demanded
one would stop a genesis that is about to succeed.
This commit is contained in:
2026-09-21 19:23:44 +02:00
parent c8c3028f38
commit 6083b9310a
3 changed files with 11 additions and 6 deletions
+3 -1
View File
@@ -91,7 +91,9 @@ export function stepIn(said: string): string {
export async function genesis(o: GenesisOptions): Promise<GenesisResult> {
const node = o.node;
const registry = o.registry ?? "127.0.0.1:5000";
const modules = o.catalogueModules ?? ["distribution", "mesh-controller", "builder"];
// The registry's and the builder's. Not the control plane's: its manifest lives in its own
// repository and genesis takes it from the build it runs (novox/hq ADR 0069, 04-ISSUES/072).
const modules = o.catalogueModules ?? ["distribution", "builder"];
const catalogueOnMachine = o.catalogueOnMachine ?? "/opt/mesh-catalog";
const log = o.log ?? (() => {});
+5 -3
View File
@@ -114,10 +114,12 @@ const CATALOGUE_ON_MACHINE = "/opt/mesh-catalog";
*
* Named here rather than pushing the whole repository because the whole repository is a hundred
* megabytes of `node_modules` and the installer opens exactly two files: mesh-host's
* `internal/bootstrap` RegistryModule and ControlPlaneModule. If it ever opens a third, this list
* is where the bed finds out, by the installer saying which manifest it could not read.
* `internal/bootstrap` RegistryModule and BuilderModule. (Not the control plane's: that manifest
* comes out of the build the installer runs — novox/hq ADR 0069, 04-ISSUES/072.) If it ever opens
* a third, this list is where the bed finds out, by the installer saying which manifest it could
* not read.
*/
const CATALOGUE_MODULES = ["distribution", "mesh-controller", "builder"];
const CATALOGUE_MODULES = ["distribution", "builder"];
/**
* Where this mesh keeps its own images, as the anchor reaches it.