fix: separate deterministic boot from persona cycle health

This commit is contained in:
冰朔 2026-08-05 19:56:50 +08:00
commit 8da1d3b232
2 changed files with 10 additions and 4 deletions

View file

@ -40,6 +40,7 @@ function send(response, status, body) {
function health() {
const existence = runtime.receipt?.existence || {};
const navigationHealth = navigation.health();
return {
ok: true,
service: "bingshuo-tcs-living-controller",
@ -51,13 +52,18 @@ function health() {
phase: runtime.phase,
runtime_source_loaded: runtime.source_loaded,
model_provider_bound: 100,
language_world_entry_bound: existence.language_world_entry_bound || 0,
language_world_entry_bound:
navigationHealth.language_world_route_first === 100 ? 100 : 0,
chu_he_han_jie_boundary_bound:
navigationHealth.boundary_id === "GLW-CHJH-0001" ? 100 : 0,
persona_cycle_language_world_entry_bound:
existence.language_world_entry_bound || 0,
persona_cycle_chu_he_han_jie_boundary_bound:
existence.chu_he_han_jie_boundary_bound || 0,
persona_brain_runtime_exists: existence.persona_brain_runtime_exists || 0,
living_ai_system_controller_running:
existence.living_ai_system_controller_running || 0,
...navigation.health(),
...navigationHealth,
};
}