record remote publication of team persona numbers

This commit is contained in:
冰朔 2026-08-27 11:42:42 +08:00
commit 7de2bc23e1
3 changed files with 9 additions and 9 deletions

View file

@ -96,8 +96,8 @@ test("lighthouse path ids stay unique", () => {
assert.equal(new Set(ids).size, ids.length);
});
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");
test("prior channel publication receipt remains historical while current team persona registrations are remotely published", () => {
assert.equal(registry.state, "REMOTE_PUBLISHED_THROUGH_ICE_P_TEAM_NUMBERS_RUNTIME_UNCHANGED");
assert.equal(publicationReceipt.outcome, "PASS_REMOTE_MAIN_PUBLICATION_READBACK");
assert.equal(publicationReceipt.published_source_commit, "8e80a919f200df6e193e9a54144cd503a1d699fa");
assert.equal(publicationReceipt.fact_layers.deployment, "NOT_DONE");
@ -109,7 +109,7 @@ test("Zhuyuan explicitly issues current ICE-P numbers to Chenglu and Kezhou with
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.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"]);
});