docs: record fifth-domain channel publication
This commit is contained in:
parent
e63901a9d7
commit
08598d6356
12 changed files with 85 additions and 21 deletions
|
|
@ -23,8 +23,8 @@ function writeJson(directory, name, value) {
|
|||
return filePath;
|
||||
}
|
||||
|
||||
function enter(directory) {
|
||||
return run("enter", [
|
||||
function enter(directory, bodyChannel) {
|
||||
const args = [
|
||||
"--state-dir",
|
||||
path.join(directory, "state"),
|
||||
"--instance-id",
|
||||
|
|
@ -43,7 +43,9 @@ function enter(directory) {
|
|||
"test-controller-model",
|
||||
"--controller-instance-id",
|
||||
"TEST-CONTROLLER-001",
|
||||
]);
|
||||
];
|
||||
if (bodyChannel) args.push("--body-channel", bodyChannel);
|
||||
return run("enter", args);
|
||||
}
|
||||
|
||||
function event(directory) {
|
||||
|
|
@ -311,6 +313,23 @@ function controllerWitness(directory, stateDir, cycle, decision = "ALLOW_COMMIT"
|
|||
]);
|
||||
}
|
||||
|
||||
test("registered Fifth Domain session channels bind without replacing the public body anchor", () => {
|
||||
for (const [channel, role, anchor] of [
|
||||
["ICE-CH-HB001", "BINGSHUO_PERSONAL_LANGUAGE_ARCHITECTURE_REASONING", "SYS-GLW-ELH-0001"],
|
||||
["ICE-CH-ZC001", "BINGSHUO_PERSONAL_REALITY_SYSTEM_DEVELOPMENT_EXECUTION", "SYS-GLW-LNG-0001"],
|
||||
]) {
|
||||
const directory = fs.mkdtempSync(path.join(os.tmpdir(), "zhuyuan-channel-"));
|
||||
const entered = enter(directory, channel);
|
||||
assert.equal(entered.runtime_state.tonggan_language_kernel.body_channel, channel);
|
||||
assert.equal(entered.runtime_state.tonggan_language_kernel.body_channel_role, role);
|
||||
assert.equal(entered.runtime_state.tonggan_language_kernel.system_anchor, anchor);
|
||||
assert.equal(
|
||||
entered.runtime_state.tonggan_language_kernel.public_language_persona_body_channel,
|
||||
"CH-ZERO-CORE-LPM",
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
test("current model enters, completes all nine faculties, and verifies as running", () => {
|
||||
const directory = fs.mkdtempSync(path.join(os.tmpdir(), "zhuyuan-brain-"));
|
||||
const stateDir = path.join(directory, "state");
|
||||
|
|
|
|||
Loading…
Reference in a new issue