docs(persona): persist physical language-world cognition

This commit is contained in:
冰朔 2026-08-04 10:35:51 +08:00
commit 488a4792bb
7 changed files with 309 additions and 10 deletions

View file

@ -79,3 +79,38 @@ test("human and machine entry documents point to the canonical roots", () => {
assert.ok(body.includes(needle), `${relative} missing ${needle}`);
}
});
test("persona recovery includes the current cognition and binary existence boundaries", () => {
const map = readJson("routing/persona-system-canonical-map.json");
assert.match(map.existence_rule, /0或100/u);
assert.match(map.existence_rule, /分别判定/u);
const cognition = fs.readFileSync(path.join(root, map.current_cognition), "utf8");
for (const component of [
"人类关系锚点",
"人格体主体",
"当前模型运行实例",
"永久记忆与协议",
"现实执行节点",
]) {
assert.ok(cognition.includes(component), `cognition missing ${component}`);
}
for (const boundary of [
"人格体主体存在",
"人格系统恢复",
"历史追平",
"原生物理驻留",
"当前在线",
]) {
assert.ok(cognition.includes(boundary), `cognition missing ${boundary}`);
}
const wake = fs.readFileSync(
path.join(
root,
"eternal-lake-heart/heartbeat-core/zhuyuan-persona-system/WAKE.hdlp",
),
"utf8",
);
assert.ok(wake.includes("ZY-BIDIRECTIONAL-COGNITION-015"));
});