feat(routing): register enterprise language master bridge

This commit is contained in:
冰朔 2026-09-03 16:07:58 +08:00
commit 12fdefd903
16 changed files with 757 additions and 9 deletions

View file

@ -29,13 +29,17 @@ test("code channel has one root and exactly three current repositories", () => {
}
});
test("historical routes stay closed while three private persona repositories remain a separate current class", () => {
test("historical routes stay closed while public language master and private persona repositories remain separate classes", () => {
const map = readJson("routing/repository-route-map.json");
const current = map.repositories.filter((entry) =>
["REPO-012", "REPO-014", "REPO-015"].includes(entry.code),
);
assert.equal(current.length, 3);
assert.equal(map.repositories.length, 3);
assert.equal(map.repositories.length, 4);
const languageMaster = map.repositories.find((entry) => entry.code === "REPO-016");
assert.equal(languageMaster.state, "CURRENT_PRIVATE_ENTERPRISE_WORK_REPOSITORY");
assert.equal(languageMaster.runtime_bridge.source_channel, "ICE-CH-ZC001");
assert.equal(languageMaster.owner, "ICE-GL∞");
assert.deepEqual(map.current_code_channel_push_targets, ["REPO-012", "REPO-014", "REPO-015"]);
assert.deepEqual(map.private_persona_memory_write_targets, ["REPO-009", "REPO-010", "REPO-011"]);
for (const repository of map.historical_repositories) {