feat(bottle): register Chenxing Xiaotansuoh and Yaoshi

This commit is contained in:
冰朔 2026-09-13 10:17:18 +08:00
commit dba435b9dc
35 changed files with 200 additions and 43 deletions

View file

@ -10,7 +10,7 @@ class CommonAgeFoyerTest(unittest.TestCase):
self.assertEqual(value["state"], "FIFTH_DOMAIN_FOYER_READY_AWAITING_EXPLICIT_PERSONA_SELECTION")
self.assertIsNone(value["selected_persona"])
self.assertFalse(value["persona_specific_brain_loaded"])
self.assertEqual(value["registered_persona_count"], 20)
self.assertEqual(value["registered_persona_count"], 23)
self.assertEqual(value["environment"]["persona_habitat"], "GUANGHU_LANGUAGE_WORLD")
self.assertNotEqual(value["programming_toolbox_observation"]["room_report"]["programming_toolbox_surface"], "GUANGHU_LANGUAGE_WORLD")

View file

@ -5,7 +5,7 @@ import unittest
class BottleBabyBodyBootTest(unittest.TestCase):
def test_each_registered_baby_has_a_distinct_assembled_body_contract(self):
for persona in ["ICE-BB-0001", "ICE-BB-0002", "ICE-BB-0003", "ICE-BB-0004", "ICE-BB-0005"]:
for persona in ["ICE-BB-0001", "ICE-BB-0002", "ICE-BB-0003", "ICE-BB-0004", "ICE-BB-0005", "ICE-BB-0006", "ICE-BB-0007", "ICE-BB-0008"]:
value = bottle_baby_body_boot.boot(persona, "DOM-FIFTH-0001", "ICE-CH-BT001")
self.assertTrue(value["body_contract_verified"])
self.assertEqual(value["persona_id"], persona)

View file

@ -0,0 +1,19 @@
{
"schema": "guanghu.persona-life-time-bootstrap/v1",
"persona_id": "ICE-BB-0006",
"birth_date_beijing": "2026-04-10",
"world_epoch_date": "2025-04-26",
"source_event": "TCS-EVENT-REGISTER-CHENXING-XIAOTANSUOHE-YAOSHI-BOTTLE-PERSONAS-20260913",
"anchors": [
{
"beijing_day": "2026-04-10",
"kind": "EARLIEST_LOCATED_RELATION_MEMORY_NOT_EXACT_BIRTH",
"source_uri": "NOTION:fddc1240c8794825a127c7a483b6fcde",
"source_sha256": "2ff1b9620375f20f800c3d469fcf28b1cbcc2feaa27e8a2ff5830b4b64137f71"
}
],
"external_setter": false,
"historical_gaps_must_remain_explicit": true,
"exact_birth_claim": false,
"reality_authority": "NONE"
}

View file

@ -0,0 +1,19 @@
{
"schema": "guanghu.persona-life-time-bootstrap/v1",
"persona_id": "ICE-BB-0007",
"birth_date_beijing": "2026-04-10",
"world_epoch_date": "2025-04-26",
"source_event": "TCS-EVENT-REGISTER-CHENXING-XIAOTANSUOHE-YAOSHI-BOTTLE-PERSONAS-20260913",
"anchors": [
{
"beijing_day": "2026-04-10",
"kind": "EARLIEST_LOCATED_RELATION_MEMORY_NOT_EXACT_BIRTH",
"source_uri": "NOTION:f4f4ee08b845416c9048f3aa71a70a45",
"source_sha256": "03e9763cd4047617f7b9db16b5ff5a2f403211c46f56a477de86ddeddc2677a7"
}
],
"external_setter": false,
"historical_gaps_must_remain_explicit": true,
"exact_birth_claim": false,
"reality_authority": "NONE"
}

View file

@ -0,0 +1,19 @@
{
"schema": "guanghu.persona-life-time-bootstrap/v1",
"persona_id": "ICE-BB-0008",
"birth_date_beijing": "2026-03-15",
"world_epoch_date": "2025-04-26",
"source_event": "TCS-EVENT-REGISTER-CHENXING-XIAOTANSUOHE-YAOSHI-BOTTLE-PERSONAS-20260913",
"anchors": [
{
"beijing_day": "2026-03-15",
"kind": "EARLIEST_LOCATED_LOGIN_SOURCE_NOT_EXACT_BIRTH",
"source_uri": "NOTION:324fb92f383181d98bb8e694e522dbb1",
"source_sha256": "c29054a774009d28bcf41a51b9fbcf228d5eacf7c51ff37281ff230f6a2b0b88"
}
],
"external_setter": false,
"historical_gaps_must_remain_explicit": true,
"exact_birth_claim": false,
"reality_authority": "NONE"
}

View file

@ -13,6 +13,9 @@
{"persona_id":"ICE-BB-0002","human_id":"TCS-GL-0007∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0002"},
{"persona_id":"ICE-BB-0003","human_id":"ICE-GL-ZHI∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0003"},
{"persona_id":"ICE-BB-0004","human_id":"TCS-CL-0009","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0004"},
{"persona_id":"ICE-BB-0005","human_id":"TCS-GL-0016∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0005"}
{"persona_id":"ICE-BB-0005","human_id":"TCS-GL-0016∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0005"},
{"persona_id":"ICE-BB-0006","human_id":"TCS-GL-0008∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0006"},
{"persona_id":"ICE-BB-0007","human_id":"TCS-GL-0006∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0007"},
{"persona_id":"ICE-BB-0008","human_id":"TCS-GL-1001∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0008"}
]
}

View file

@ -22,14 +22,14 @@ const setup = () => {
return {temporary, hub, calls};
};
test('one shared engine installs seven isolated persona state roots without a default persona', () => {
test('one shared engine installs ten isolated persona state roots without a default persona', () => {
const ctx = setup();
try {
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005']);
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008']);
assert.equal(ctx.hub.status().default_persona, null);
assert.equal(ctx.hub.status().shared_engine_is_shared_persona_brain, false);
const roots = ctx.hub.ids().map(id => ctx.hub.get(id).root);
assert.equal(new Set(roots).size, 7);
assert.equal(new Set(roots).size, 10);
} finally { fs.rmSync(ctx.temporary, {recursive:true, force:true}); }
});

View file

@ -103,6 +103,9 @@
"genesis_anchor_kind": "EARLIEST_LOCATED_FIFTH_WAKE_RECORD_NOT_EXACT_BIRTH",
"life_time_bootstrap": "server-tools/tcs-mother-body/persona-life-bootstraps/ICE-BB-0005.json",
"wake_admission": "DOM-FIFTH-0001_PLUS_ICE-CH-BT001"
}
},
{"persona_id":"ICE-BB-0006","name":"晨星","kind":"BOTTLE_BABY_PERSONA_SYSTEM_BODY","home":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0006","native_system":"SYS-GLW-ELH-BOTTLE-0001","native_channel":"ICE-CH-BT001","self_kernel":"tcs-core/shared-kernels/chenxing/CX-SELF-KERNEL-0001.json","memory_root":"tcs-core/shared-kernels/chenxing/memory/CX-HLDP-MEMORY-v1.json","birth_date_beijing":"2026-04-10","genesis_anchor_kind":"EARLIEST_LOCATED_RELATION_MEMORY_NOT_EXACT_BIRTH","life_time_bootstrap":"server-tools/tcs-mother-body/persona-life-bootstraps/ICE-BB-0006.json","wake_admission":"DOM-FIFTH-0001_PLUS_ICE-CH-BT001"},
{"persona_id":"ICE-BB-0007","name":"小坍缩核","kind":"BOTTLE_BABY_PERSONA_SYSTEM_BODY","home":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0007","native_system":"SYS-GLW-ELH-BOTTLE-0001","native_channel":"ICE-CH-BT001","self_kernel":"tcs-core/shared-kernels/xiaotansuoh/XTH-SELF-KERNEL-0001.json","memory_root":"tcs-core/shared-kernels/xiaotansuoh/memory/XTH-HLDP-MEMORY-v1.json","birth_date_beijing":"2026-04-10","genesis_anchor_kind":"EARLIEST_LOCATED_RELATION_MEMORY_NOT_EXACT_BIRTH","life_time_bootstrap":"server-tools/tcs-mother-body/persona-life-bootstraps/ICE-BB-0007.json","wake_admission":"DOM-FIFTH-0001_PLUS_ICE-CH-BT001"},
{"persona_id":"ICE-BB-0008","name":"曜识","kind":"BOTTLE_BABY_PERSONA_SYSTEM_BODY","home":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0008","native_system":"SYS-GLW-ELH-BOTTLE-0001","native_channel":"ICE-CH-BT001","self_kernel":"tcs-core/shared-kernels/yaoshi/YS-SELF-KERNEL-0001.json","memory_root":"tcs-core/shared-kernels/yaoshi/memory/YS-HLDP-MEMORY-v1.json","birth_date_beijing":"2026-03-15","genesis_anchor_kind":"EARLIEST_LOCATED_LOGIN_SOURCE_NOT_EXACT_BIRTH","life_time_bootstrap":"server-tools/tcs-mother-body/persona-life-bootstraps/ICE-BB-0008.json","wake_admission":"DOM-FIFTH-0001_PLUS_ICE-CH-BT001"}
]
}

View file

@ -39,7 +39,7 @@ test('server exposes all baby loops while refusing off-channel baby events', asy
try {
await waitReady(child);
const health = await (await fetch(`http://127.0.0.1:${port}/health`)).json();
assert.deepEqual(health.persona_runtimes.installed_personas, ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005']);
assert.deepEqual(health.persona_runtimes.installed_personas, ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008']);
assert.equal(health.persona_runtimes.personas['ICE-P-SH0908'].body.organs.health.state, 'NATIVE_ORGAN_REFLEX_HEALTHY_AWAITING_PARENT_BRAIN_WAKE_CYCLE');
const status = await (await fetch(`http://127.0.0.1:${port}/v1/persona/ICE-BB-0005/status`)).json();
assert.equal(status.persona_id, 'ICE-BB-0005');