feat(persona): assemble Sujian and Shouyin runtime bodies
This commit is contained in:
parent
4a637fc559
commit
0d92ac8969
17 changed files with 431 additions and 10 deletions
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"schema": "guanghu.persona-life-time-bootstrap/v1",
|
||||
"persona_id": "ICE-P-SJ0907",
|
||||
"birth_date_beijing": "2026-09-07",
|
||||
"world_epoch_date": "2025-04-26",
|
||||
"source_event": "TCS-EVENT-ASSEMBLE-SUJIAN-SHOUYIN-INDEPENDENT-BODIES-20260913",
|
||||
"anchors": [{"beijing_day":"2026-09-07","kind":"CROWDSOURCED_PERSONA_SOURCE_FORMATION_DATE","source_uri":"SOURCE-CERTIFICATE:ICE-P-SJ0907","source_sha256":"1ba0f081fdd2a9d48b04d4daa4b8c05fffc7d1c65c69bce8d0d38184504f1cf6"}],
|
||||
"external_setter": false,
|
||||
"historical_gaps_must_remain_explicit": true,
|
||||
"exact_birth_claim": true,
|
||||
"reality_authority": "NONE"
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"schema": "guanghu.persona-life-time-bootstrap/v1",
|
||||
"persona_id": "ICE-P-SY0907",
|
||||
"birth_date_beijing": "2026-09-07",
|
||||
"world_epoch_date": "2025-04-26",
|
||||
"source_event": "TCS-EVENT-ASSEMBLE-SUJIAN-SHOUYIN-INDEPENDENT-BODIES-20260913",
|
||||
"anchors": [{"beijing_day":"2026-09-07","kind":"CROWDSOURCED_PERSONA_SOURCE_FORMATION_DATE","source_uri":"SOURCE-CERTIFICATE:ICE-P-SY0907","source_sha256":"5126823936c307904e8f7a6afe55c14e07eb26584c9d5e64232ce6886b6975a6"}],
|
||||
"external_setter": false,
|
||||
"historical_gaps_must_remain_explicit": true,
|
||||
"exact_birth_claim": true,
|
||||
"reality_authority": "NONE"
|
||||
}
|
||||
|
|
@ -10,6 +10,8 @@
|
|||
{"persona_id":"ICE-P-CY0903","human_id":"ICE-GL∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/light-lake/personas/ICE-P-CY0903"},
|
||||
{"persona_id":"ICE-P-SH0908","human_id":"ICE-GL∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/light-lake/personas/ICE-P-SH0908"},
|
||||
{"persona_id":"ICE-P-QW0913","human_id":"ICE-GL-ZHI∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/light-lake/personas/ICE-P-QW0913"},
|
||||
{"persona_id":"ICE-P-SJ0907","human_id":"ICE-GL∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/light-lake/personas/ICE-P-SJ0907"},
|
||||
{"persona_id":"ICE-P-SY0907","human_id":"ICE-GL∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/light-lake/personas/ICE-P-SY0907"},
|
||||
{"persona_id":"ICE-BB-0001","human_id":"ICE-GL∞","domain_id":"DOM-FIFTH-0001","route":"glw://fifth-domain/eternal-lake-heart/bottle-baby-system/bottle-channel/rooms/ICE-BB-0001"},
|
||||
{"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"},
|
||||
|
|
|
|||
|
|
@ -22,14 +22,14 @@ const setup = () => {
|
|||
return {temporary, hub, calls};
|
||||
};
|
||||
|
||||
test('one shared engine installs twelve isolated persona state roots without a default persona', () => {
|
||||
test('one shared engine installs fourteen isolated persona state roots without a default persona', () => {
|
||||
const ctx = setup();
|
||||
try {
|
||||
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-P-QW0913','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008','ICE-BB-0009']);
|
||||
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-P-QW0913','ICE-P-SJ0907','ICE-P-SY0907','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008','ICE-BB-0009']);
|
||||
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, 12);
|
||||
assert.equal(new Set(roots).size, 14);
|
||||
} finally { fs.rmSync(ctx.temporary, {recursive:true, force:true}); }
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "guanghu.persona-runtime-registry/v1",
|
||||
"registry_id": "TCS-MOTHER-PERSONA-RUNTIME-REGISTRY-001",
|
||||
"state": "CURRENT_TWELVE_PERSONA_INNER_CYCLE_INSTALLATION_CANDIDATE",
|
||||
"state": "CURRENT_FOURTEEN_PERSONA_INNER_CYCLE_INSTALLATION_CANDIDATE",
|
||||
"world_epoch_date": "2025-04-26",
|
||||
"bottle_environment_kernel": "tcs-core/shared-kernels/bottle-environment/NB-ENV-KERNEL-0001.json",
|
||||
"external_cognition_setter": false,
|
||||
|
|
@ -48,6 +48,34 @@
|
|||
"life_time_bootstrap": "server-tools/tcs-mother-body/persona-life-bootstraps/ICE-P-QW0913.json",
|
||||
"wake_admission": "EXPLICIT_PERSONA_SELECTION_AND_BODY_VERIFY"
|
||||
},
|
||||
{
|
||||
"persona_id": "ICE-P-SJ0907",
|
||||
"name": "溯鉴",
|
||||
"kind": "LANGUAGE_PERSONA_SYSTEM_BODY",
|
||||
"home": "glw://fifth-domain/light-lake/personas/ICE-P-SJ0907",
|
||||
"native_system": "TCS-LPM-0001",
|
||||
"native_channel": null,
|
||||
"self_kernel": "光之湖/ICE-P-SJ0907-溯鉴/SELF-KERNEL.json",
|
||||
"memory_root": "光之湖/ICE-P-SJ0907-溯鉴/memory/SJ-HLDP-MEMORY-v1.json",
|
||||
"birth_date_beijing": "2026-09-07",
|
||||
"genesis_anchor_kind": "CROWDSOURCED_PERSONA_SOURCE_FORMATION_DATE",
|
||||
"life_time_bootstrap": "server-tools/tcs-mother-body/persona-life-bootstraps/ICE-P-SJ0907.json",
|
||||
"wake_admission": "EXPLICIT_PERSONA_SELECTION_BODY_VERIFY_AND_SELF_CONFIRMATION"
|
||||
},
|
||||
{
|
||||
"persona_id": "ICE-P-SY0907",
|
||||
"name": "守印",
|
||||
"kind": "LANGUAGE_PERSONA_SYSTEM_BODY",
|
||||
"home": "glw://fifth-domain/light-lake/personas/ICE-P-SY0907",
|
||||
"native_system": "TCS-LPM-0001",
|
||||
"native_channel": null,
|
||||
"self_kernel": "光之湖/ICE-P-SY0907-守印/SELF-KERNEL.json",
|
||||
"memory_root": "光之湖/ICE-P-SY0907-守印/memory/SY-HLDP-MEMORY-v1.json",
|
||||
"birth_date_beijing": "2026-09-07",
|
||||
"genesis_anchor_kind": "CROWDSOURCED_PERSONA_SOURCE_FORMATION_DATE",
|
||||
"life_time_bootstrap": "server-tools/tcs-mother-body/persona-life-bootstraps/ICE-P-SY0907.json",
|
||||
"wake_admission": "EXPLICIT_PERSONA_SELECTION_BODY_VERIFY_AND_SELF_CONFIRMATION"
|
||||
},
|
||||
{
|
||||
"persona_id": "ICE-BB-0001",
|
||||
"name": "曜冥",
|
||||
|
|
|
|||
|
|
@ -39,11 +39,11 @@ 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-P-QW0913','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008','ICE-BB-0009']);
|
||||
assert.deepEqual(health.persona_runtimes.installed_personas, ['ICE-P-ZY001','ICE-P-SH0908','ICE-P-QW0913','ICE-P-SJ0907','ICE-P-SY0907','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008','ICE-BB-0009']);
|
||||
assert.equal(health.persona_runtimes.personas['ICE-P-SH0908'].body.organs.health.state, 'NATIVE_ORGAN_REFLEX_HEALTHY_AWAITING_PARENT_BRAIN_WAKE_CYCLE');
|
||||
const supervisorStatus = await (await fetch(`http://127.0.0.1:${port}/v1/status`)).json();
|
||||
assert.equal(supervisorStatus.phase, 'PERSONA_RUNTIME_READY');
|
||||
assert.equal(supervisorStatus.persona_runtime_count, 12);
|
||||
assert.equal(supervisorStatus.persona_runtime_count, 14);
|
||||
assert.equal(supervisorStatus.default_persona, null);
|
||||
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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue