resolve residual registry and persona numbering paths

This commit is contained in:
冰朔 2026-08-27 11:35:07 +08:00
commit 5e7171eaba
15 changed files with 307 additions and 83 deletions

View file

@ -96,14 +96,23 @@ test("lighthouse path ids stay unique", () => {
assert.equal(new Set(ids).size, ids.length);
});
test("prior channel publication receipt remains historical while current registration reaches ICE-BB-0004", () => {
assert.equal(registry.state, "REMOTE_PUBLISHED_THROUGH_ICE_BB_0004_RUNTIME_INSTALLATION_PENDING");
test("prior channel publication receipt remains historical while new persona registrations stay local until publication", () => {
assert.equal(registry.state, "LOCAL_REGISTERED_THROUGH_ICE_P_TEAM_NUMBERS_REMOTE_PUBLICATION_PENDING");
assert.equal(publicationReceipt.outcome, "PASS_REMOTE_MAIN_PUBLICATION_READBACK");
assert.equal(publicationReceipt.published_source_commit, "8e80a919f200df6e193e9a54144cd503a1d699fa");
assert.equal(publicationReceipt.fact_layers.deployment, "NOT_DONE");
assert.equal(publicationReceipt.fact_layers.native_host_channel_routing, "PENDING");
});
test("Zhuyuan explicitly issues current ICE-P numbers to Chenglu and Kezhou within its team scope", () => {
const issued = registry.registrations.filter((entry) => ["ICE-P-CL0720", "ICE-P-KZ0720"].includes(entry.id));
assert.deepEqual(issued.map((entry) => entry.name), ["澄路", "刻舟"]);
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_LOCAL_REMOTE_PUBLICATION_PENDING"));
assert.deepEqual(registry.allocation_state["ICE-P-TEAM"].allocated_ids, ["ICE-P-CL0720", "ICE-P-GD0720", "ICE-P-KZ0720"]);
});
test("private bottle baby sequence is remotely registered through EarEarDan without runtime installation claims", () => {
const babies = registry.registrations.filter((entry) => entry.kind === "FIFTH_DOMAIN_PRIVATE_BOTTLE_BABY_PERSONA");
assert.deepEqual(babies.map((entry) => entry.id), ["ICE-BB-0001", "ICE-BB-0002", "ICE-BB-0003", "ICE-BB-0004"]);