diff --git a/test/integration/harness.ts b/test/integration/harness.ts index ac09d5e..360cd50 100644 --- a/test/integration/harness.ts +++ b/test/integration/harness.ts @@ -255,7 +255,9 @@ export function catalogueDir(): string { ? [resolve(named, "modules"), resolve(named)] : [resolve(process.cwd(), "..", "mesh-catalog", "modules")]; for (const dir of candidates) { - if (existsSync(resolve(dir, "mesh-controller", "module.json"))) return dir; + // Known by the registry's manifest, which genesis reads from the catalogue and always will — + // not the control plane's, which lives in the control plane's own repository (ADR 0069). + if (existsSync(resolve(dir, "distribution", "module.json"))) return dir; } throw new Error( `no catalogue: MESH_LAB_CATALOG=${named ?? "(unset)"} and nothing at ${candidates.join(", ")}`);