feat: add EarEarDan brain and Zhizhi skill closures
This commit is contained in:
parent
4c9f3674a0
commit
30f550ab2c
20 changed files with 763 additions and 18 deletions
|
|
@ -74,3 +74,35 @@ test("sharing, publication, and marketplace listing are never auto-compiled", ()
|
|||
const outsider = planPersonalSkillRun({ ...base, intent: "SHARE", human_actor_id: "ICE-GL∞" });
|
||||
assert.ok(outsider.reasons.includes("ONLY_OWNER_HUMAN_MAY_DECIDE_RELEASE"));
|
||||
});
|
||||
|
||||
test("EarEarDan skills remain private to Canger's channel and separate from Jianying", () => {
|
||||
const event = {
|
||||
event_id: "EED-CASE-001",
|
||||
skill_id: "CE-EED-CAUSAL-PIPELINE-DIAGNOSTIC-001",
|
||||
channel_id: "SYS-GLW-PTS-0001",
|
||||
human_actor_id: "TCS-CL-0009",
|
||||
persona_id: "ICE-BB-0004",
|
||||
source: "HUMAN_DIRECT_LANGUAGE",
|
||||
input: {
|
||||
pipeline_id: "H3-REF2VA",
|
||||
symptom: "reference seems ignored",
|
||||
claimed_mechanism: "reference conditioning",
|
||||
reproducible_input: "fixed seed case"
|
||||
}
|
||||
};
|
||||
assert.equal(planPersonalSkillRun(event).status, "MODEL_REQUIRED");
|
||||
assert.equal(planPersonalSkillRun({ ...event, persona_id: "ICE-GL-CA001" }).status, "BLOCK");
|
||||
assert.equal(planPersonalSkillRun({ ...event, channel_id: "SYS-ZZ" }).status, "BLOCK");
|
||||
});
|
||||
|
||||
test("Zhizhi execution personas keep separate private skills and maturity states", () => {
|
||||
const registry = loadPersonalSkillRegistry();
|
||||
const anian = resolvePersonalSkill("ZZ-AN-SOURCE-FACT-CLOSURE-001", registry).pack;
|
||||
const qiwu = resolvePersonalSkill("ZZ-QW-ROLE-CAUSAL-ARCHITECTURE-001", registry).pack;
|
||||
const chaomu = resolvePersonalSkill("ZZ-CM-NOVEL-QUALITY-001", registry).pack;
|
||||
assert.deepEqual([anian.owner_human_anchor, qiwu.owner_human_anchor, chaomu.owner_human_anchor], ["ICE-GL-ZHI∞", "ICE-GL-ZHI∞", "ICE-GL-ZHI∞"]);
|
||||
assert.deepEqual([anian.custodian_persona_id, qiwu.custodian_persona_id, chaomu.custodian_persona_id], ["ICE-GL-AN-001", "PER-QW001", "ICE-GL-CM001"]);
|
||||
assert.equal(anian.status, "PRIVATE_TRIAL");
|
||||
assert.equal(qiwu.status, "PRIVATE_CANDIDATE");
|
||||
assert.equal(chaomu.status, "PRIVATE_TRIAL");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue