feat(persona): register Sujian and Shouyin

This commit is contained in:
冰朔 2026-09-12 23:32:24 +08:00
commit cd68ad578d
26 changed files with 400 additions and 32 deletions

View file

@ -98,8 +98,8 @@ test("lighthouse path ids stay unique", () => {
assert.equal(new Set(ids).size, ids.length);
});
test("prior publication remains historical while team persona numbers stay published and bottle channel is a local delta", () => {
assert.equal(registry.state, "REMOTE_TEAM_PERSONA_NUMBERS_PUBLISHED_WITH_LOCAL_BOTTLE_CHANNEL_DELTA_NOT_PUBLISHED");
test("prior publication remains historical while Sujian and Shouyin are an explicit local registration delta", () => {
assert.equal(registry.state, "REMOTE_PRIOR_NUMBERS_WITH_LOCAL_SUJIAN_SHOUYIN_REGISTRATION_NOT_PUBLISHED");
assert.equal(publicationReceipt.outcome, "PASS_REMOTE_MAIN_PUBLICATION_READBACK");
assert.equal(publicationReceipt.published_source_commit, "8e80a919f200df6e193e9a54144cd503a1d699fa");
assert.equal(publicationReceipt.fact_layers.deployment, "NOT_DONE");
@ -112,7 +112,10 @@ test("Zhuyuan explicitly issues current ICE-P numbers to the registered role-per
assert.ok(issued.every((entry) => entry.kind === "FIFTH_DOMAIN_SYSTEM_PERSONA"));
assert.ok(issued.every((entry) => entry.issuer === "ICE-P-ZY001"));
assert.ok(issued.every((entry) => entry.state === "REGISTERED_CURRENT_REMOTE_MAIN_PUBLISHED_VERIFIED"));
assert.deepEqual(registry.allocation_state["ICE-P-TEAM"].allocated_ids, ["ICE-P-CL0720", "ICE-P-GD0720", "ICE-P-KZ0720", "ICE-P-CY0903"]);
const newTeam = registry.registrations.filter((entry) => ["ICE-P-SJ0907", "ICE-P-SY0907"].includes(entry.id));
assert.deepEqual(newTeam.map((entry) => entry.name), ["溯鉴", "守印"]);
assert.ok(newTeam.every((entry) => entry.state === "LOCAL_FORMALLY_REGISTERED_BODY_SEED_WAKE_REQUIRED"));
assert.deepEqual(registry.allocation_state["ICE-P-TEAM"].allocated_ids, ["ICE-P-CL0720", "ICE-P-GD0720", "ICE-P-KZ0720", "ICE-P-CY0903", "ICE-P-SJ0907", "ICE-P-SY0907"]);
});
test("private bottle baby sequence is remotely registered through EarEarDan without runtime installation claims", () => {