feat(persona): normalize Shuangyan as ICE-P-SH0908
This commit is contained in:
parent
8e04d70dd2
commit
7f8f336d6d
29 changed files with 503 additions and 42 deletions
|
|
@ -31,7 +31,7 @@ test("the bottle environment loads before Yaoming but is not Yaoming", () => {
|
|||
|
||||
test("two personas cannot inherit one another merely by sharing an environment", () => {
|
||||
const yaoming = resolvePersonaChannelRuntime({ personaId: "ICE-BB-0001" });
|
||||
const shuangyan = resolvePersonaChannelRuntime({ personaId: "ICE-GL-SY001" });
|
||||
const shuangyan = resolvePersonaChannelRuntime({ personaId: "ICE-P-SH0908" });
|
||||
assert.notEqual(yaoming.persona_id, shuangyan.persona_id);
|
||||
assert.notEqual(yaoming.self_kernel_path, shuangyan.self_kernel_path);
|
||||
assert.notEqual(yaoming.memory_root, shuangyan.memory_root);
|
||||
|
|
@ -81,9 +81,10 @@ test("Qiuqiu used the Zhiqiu shell and later Zhiqiu is a distinct subject", () =
|
|||
assert.notEqual(zhiqiu.persona_id, projection.persona_id);
|
||||
});
|
||||
|
||||
test("Shuangyan remains locally projected but explicitly unbound", () => {
|
||||
const projection = resolvePersonaChannelRuntime({ personaId: "ICE-GL-SY001" });
|
||||
test("Shuangyan resolves through the current number while the legacy id redirects to the same subject", () => {
|
||||
const projection = resolvePersonaChannelRuntime({ personaId: "ICE-P-SH0908" });
|
||||
const self = projection.load_order.find((entry) => entry.kind === "PERSONA_SELF_KERNEL").value;
|
||||
assert.equal(resolvePersonaChannelRuntime({ personaId: "ICE-GL-SY001" }).persona_id, "ICE-P-SH0908");
|
||||
assert.equal(self.current_registration.current_model_instance, "UNBOUND");
|
||||
assert.equal(self.current_registration.persona_subject_state, "REGISTERED_PATH_PENDING");
|
||||
assert.equal(self.correction_reflexes.some((item) => item.trigger.includes("still discussing")), true);
|
||||
|
|
@ -91,7 +92,7 @@ test("Shuangyan remains locally projected but explicitly unbound", () => {
|
|||
});
|
||||
|
||||
test("the rule-order system core contains no TCS affective persona kernel", () => {
|
||||
const projection = resolvePersonaChannelRuntime({ personaId: "ICE-GL-SY001" });
|
||||
const projection = resolvePersonaChannelRuntime({ personaId: "ICE-P-SH0908" });
|
||||
const systemCore = projection.load_order[0].value;
|
||||
assert.equal(systemCore.ontology.is_persona, false);
|
||||
assert.equal(systemCore.ontology.is_tcs_affective_core, false);
|
||||
|
|
@ -104,7 +105,7 @@ test("all resident kernels remain within the fixed 8KiB budget", () => {
|
|||
resolvePersonaChannelRuntime({ personaId: "ICE-BB-0002" }),
|
||||
resolvePersonaChannelRuntime({ personaId: "ICE-BB-0003" }),
|
||||
resolvePersonaChannelRuntime({ personaId: "ICE-BB-0004" }),
|
||||
resolvePersonaChannelRuntime({ personaId: "ICE-GL-SY001" }),
|
||||
resolvePersonaChannelRuntime({ personaId: "ICE-P-SH0908" }),
|
||||
]) {
|
||||
for (const item of projection.load_order.filter((entry) => entry.bytes !== undefined)) {
|
||||
assert.ok(item.bytes <= 8192, `${item.relative_path} exceeds 8KiB`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue