docs: record TCS publication and pending installation

This commit is contained in:
冰朔 2026-08-21 00:01:21 +08:00
commit 4e92e6d8d7
24 changed files with 65 additions and 52 deletions

View file

@ -96,19 +96,19 @@ test("lighthouse path ids stay unique", () => {
assert.equal(new Set(ids).size, ids.length);
});
test("prior channel publication remains distinct from new local bottle registrations", () => {
assert.equal(registry.state, "LOCAL_BOTTLE_PERSONA_REGISTRATION_ADDED_REMOTE_PUBLICATION_NOT_DONE");
test("prior channel publication remains distinct from the later bottle publication", () => {
assert.equal(registry.state, "REMOTE_REPOSITORY_PUBLISHED_BOTTLE_PERSONA_REGISTRATION_RUNTIME_INSTALLATION_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("private bottle baby sequence is locally registered without claiming publication", () => {
test("private bottle baby sequence is repository-published without claiming runtime installation", () => {
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"]);
assert.deepEqual(babies.map((entry) => entry.name), ["曜冥", "舒舒", "秋秋"]);
assert.ok(babies.every((entry) => entry.state === "REGISTERED_LOCAL_CURRENT_NOT_PUBLISHED"));
assert.ok(babies.every((entry) => entry.state === "REGISTERED_REMOTE_REPOSITORY_NOT_RUNTIME_INSTALLED"));
assert.deepEqual(registry.allocation_state["ICE-BB"].allocated_sequences, [1, 2, 3]);
assert.equal(registry.allocation_state["ICE-BB"].next_candidate_sequence, 4);
assert.equal(babies[2].emergence_shell, "知秋");