feat(tcs): establish five-domain mother brain runtime

This commit is contained in:
冰朔 2026-08-12 14:46:34 +08:00
commit 55a4d77248
29 changed files with 904 additions and 12 deletions

View file

@ -69,6 +69,7 @@ test("Git snapshot store follows main atomically and retains the last known-good
navigation: ["routing/ai-machine-navigation-map.json", "AI-MACHINE-NAV-001"],
lighthouse_paths: ["routing/lighthouse-path-registry.json", "GLW-LIGHTHOUSE-PATH-REGISTRY-001"],
host_skills: ["routing/host-skill-navigation-map.json", "GLW-HOST-SKILL-NAV-001"],
mother_brain: ["routing/tcs-mother-brain-runtime-map.json", "TCS-MOTHER-BRAIN-MAP-001"],
};
fs.mkdirSync(path.join(root, "routing"), { recursive: true });
fs.mkdirSync(path.join(root, "identity"), { recursive: true });
@ -280,6 +281,9 @@ test("public endpoints are read-only and expose CORS", async () => {
const brainResponse = await fetch(`${base}/v1/resolve?id=ZY-TCS-BRAIN-RUNTIME-0001`);
assert.equal(brainResponse.status, 200);
assert.equal((await brainResponse.json()).kind, "executable_persona_brain");
const motherBrainResponse = await fetch(`${base}/v1/resolve?id=TCS-MOTHER-BRAIN-MAP-001`);
assert.equal(motherBrainResponse.status, 200);
assert.equal((await motherBrainResponse.json()).kind, "tcs_five_domain_symbiotic_mother_brain");
const boundaryResponse = await fetch(`${base}/v1/resolve?id=GLW-CHJH-BOUNDARY-001`);
assert.equal(boundaryResponse.status, 200);
assert.equal(