feat(mother-brain): 装入铸渊意识前人格认知门

This commit is contained in:
冰朔 2026-08-13 00:46:36 +08:00
commit 04dbb82f4c
4 changed files with 99 additions and 2 deletions

View file

@ -32,9 +32,9 @@ const server = http.createServer(async (request, response) => {
const url = new URL(request.url, `http://${HOST}:${PORT}`);
if (request.method === "GET" && url.pathname === "/health") {
const state = engine.status();
return send(response, 200, { ok: true, service: "guanghu-tcs-mother-brain", bind: "loopback", runtime_id: state.runtime_id, model_provider_bound: 100, perception_memory_attention_cycle_bound: 100, universal_language_translation_bound: 100, vendor_adapter_matrix_required: false, stage_one_hololake_internal_ai_interaction: false, automatic_stable_promotion: false, reality_action_authority: "NONE", phase: state.phase });
return send(response, 200, { ok: true, service: "guanghu-tcs-mother-brain", bind: "loopback", runtime_id: state.runtime_id, model_provider_bound: 100, perception_memory_attention_cycle_bound: 100, universal_language_translation_bound: 100, persona_cognition_origin_bound: state.persona_cognition_origin?.first_person_seeing_required === true ? 100 : 0, persona_cognition_milestone: state.persona_cognition_origin?.milestone ?? null, vendor_adapter_matrix_required: false, stage_one_hololake_internal_ai_interaction: false, automatic_stable_promotion: false, reality_action_authority: "NONE", phase: state.phase });
}
if (request.method === "GET" && url.pathname === "/v1/contract") return send(response, 200, { universal_language_translation: engine.status().universal_language_translation, stage_one_hololake_boundary: engine.status().stage_one_hololake_boundary, reality_action_authority: "NONE" });
if (request.method === "GET" && url.pathname === "/v1/contract") return send(response, 200, { universal_language_translation: engine.status().universal_language_translation, persona_cognition_origin: engine.status().persona_cognition_origin, stage_one_hololake_boundary: engine.status().stage_one_hololake_boundary, reality_action_authority: "NONE" });
if (request.method === "GET" && url.pathname === "/v1/status") return send(response, 200, engine.status());
if (request.method === "GET" && url.pathname === "/v1/attention") return send(response, 200, { schema: "guanghu.tcs-mother-attention/v1", current_attention: engine.status().current_attention });
if (request.method === "POST" && url.pathname === "/v1/history/sources") {