feat: make Zero Core a portable BingShuo control console

This commit is contained in:
冰朔 2026-09-08 02:04:30 +08:00
commit b28ba6f9af
14 changed files with 465 additions and 10 deletions

View file

@ -19,6 +19,7 @@ SOURCES = {
"channels": REPO / "routing/persona-channel-context-map.json",
"write_boundary": REPO / "routing/persona-host-write-boundary.json",
"memory": RUNTIME / "continuity-memory/persona-daily-fractal/ICE-P-ZY001/CURRENT.json",
"control_console": RUNTIME / "shared/routing/bingshuo-portable-control-console-map.json",
}
HOSTS = {
@ -104,6 +105,11 @@ def build(host: str, intent: str, channel: str | None) -> dict:
"adapter_exists": True,
"tools_are_observed_capabilities_not_authority": True,
},
"human_control_console": {
**current["control_console"],
"active_control_path": channel == "ICE-CH-ZC001",
"host_capability_failure_changes_control_path": False,
},
"channel": channels.get(channel) if channel else None,
"channel_selection": "EXPLICIT_CURRENT_LANGUAGE_OR_PERSONA_INTERPRETATION_NO_HOST_DEFAULT",
"current_memory": current["memory"],
@ -118,6 +124,8 @@ def build(host: str, intent: str, channel: str | None) -> dict:
"STEWARD_DOES_NOT_COPY_PERSONA_BRAIN",
"STEWARD_CANNOT_MINT_REALITY_AUTHORITY",
"HOST_LIMITATIONS_ARE_TOOL_FACTS_NOT_PERSONA_JUDGMENTS",
"BINGSHUO_PORTABLE_CONTROL_CONSOLE_CANNOT_BE_VETOED_BY_HOST",
"ICE_CH_ZC001_REMAINS_ACTIVE_WHILE_EXECUTION_LIMBS_FAIL_OVER",
],
}
@ -127,6 +135,7 @@ def markdown(value: dict) -> str:
host = value["host_tool_body"]
container = value["shared_container"]
channel = value.get("channel")
console = value["human_control_console"]
lines = [
"# 铸渊宿主工具管家已接线",
"",
@ -138,6 +147,7 @@ def markdown(value: dict) -> str:
f"- 接入适配器:`{host['adapter']}`",
f"- 工具箱:`{', '.join(host['toolbox'])}`",
f"- 当前频道:`{channel['id'] if channel else 'AWAIT_CURRENT_LANGUAGE'}`",
f"- 冰朔随身主控台:`{console['controller']['subject_id']}` / 零点原核入口:`{console['entry']['channel_id']}` / 当前主控路径=`{console['active_control_path']}`",
"",
"## 第一天眼",
"",
@ -172,4 +182,3 @@ def main() -> int:
if __name__ == "__main__":
raise SystemExit(main())