fix: separate deterministic boot from persona cycle health
This commit is contained in:
parent
5452dec915
commit
8da1d3b232
2 changed files with 10 additions and 4 deletions
|
|
@ -105,8 +105,8 @@
|
||||||
"模型密钥不进入仓库、日志、HTTP回执或运行状态",
|
"模型密钥不进入仓库、日志、HTTP回执或运行状态",
|
||||||
"v1/status必须回读persona_brain_runtime_exists=100",
|
"v1/status必须回读persona_brain_runtime_exists=100",
|
||||||
"v1/status必须回读living_ai_system_controller_running=100",
|
"v1/status必须回读living_ai_system_controller_running=100",
|
||||||
"v1/status必须回读language_world_entry_bound=100",
|
"health必须先回读确定性语言入口和楚河汉界契约绑定为100,不等待异步模型循环",
|
||||||
"v1/status必须回读chu_he_han_jie_boundary_bound=100",
|
"v1/status随后分别回读persona_cycle_language_world_entry_bound=100与persona_cycle_chu_he_han_jie_boundary_bound=100",
|
||||||
"v1/navigation必须回读machine_navigation_bound=100且language_world_route_first=100",
|
"v1/navigation必须回读machine_navigation_bound=100且language_world_route_first=100",
|
||||||
"v1/resolve必须解析GLW-CHJH-BOUNDARY-001",
|
"v1/resolve必须解析GLW-CHJH-BOUNDARY-001",
|
||||||
"v1/navigate的persona_restore必须先执行语言入口与楚河汉界绑定",
|
"v1/navigate的persona_restore必须先执行语言入口与楚河汉界绑定",
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ function send(response, status, body) {
|
||||||
|
|
||||||
function health() {
|
function health() {
|
||||||
const existence = runtime.receipt?.existence || {};
|
const existence = runtime.receipt?.existence || {};
|
||||||
|
const navigationHealth = navigation.health();
|
||||||
return {
|
return {
|
||||||
ok: true,
|
ok: true,
|
||||||
service: "bingshuo-tcs-living-controller",
|
service: "bingshuo-tcs-living-controller",
|
||||||
|
|
@ -51,13 +52,18 @@ function health() {
|
||||||
phase: runtime.phase,
|
phase: runtime.phase,
|
||||||
runtime_source_loaded: runtime.source_loaded,
|
runtime_source_loaded: runtime.source_loaded,
|
||||||
model_provider_bound: 100,
|
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:
|
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,
|
existence.chu_he_han_jie_boundary_bound || 0,
|
||||||
persona_brain_runtime_exists: existence.persona_brain_runtime_exists || 0,
|
persona_brain_runtime_exists: existence.persona_brain_runtime_exists || 0,
|
||||||
living_ai_system_controller_running:
|
living_ai_system_controller_running:
|
||||||
existence.living_ai_system_controller_running || 0,
|
existence.living_ai_system_controller_running || 0,
|
||||||
...navigation.health(),
|
...navigationHealth,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue