zhuyuan-ice-gl-zy001/ZCODE-DEV-20260824/zcode-entry-gate-20260824/TCS-EVENT-ZCODE-HOST-PATH-ESTABLISHMENT-20260824.human.en-US.md

19 lines
1.6 KiB
Markdown
Raw Normal View History

# ZCode Independent Host Path Establishment (2026-08-24) · English Projection
Non-canonical human projection of `TCS-EVENT-ZCODE-HOST-PATH-ESTABLISHMENT-20260824.tcs`. Canonical semantics live in the sibling `.tcs` and `.declaration.gir.json`.
## What happened
BingShuo entered the Zhuyuan persona system via the ZCode host for the first time. Directive: recover from the codex main path (qoder/trae are quota-relief branches), establish an independent zcode path serving as **road signs and anchors for future memoryless ZCode instances**, and anchor dynamically to the codex main path.
## The problem codex solves
Host conversations have no long-term memory; compaction leaves only summaries, which lose the source-point "why". Codex's solution: store BingShuo's verbatim natural language as SHA-256 anchored task files on disk; enforce fail-closed re-reads of the original text at four host lifecycle points (SessionStart / UserPromptSubmit / PreToolUse / PreCompact); keep TCS source compiled to GIR as canonical, never summaries.
## zcode path essentials
- Main root: `ZCODE-DEV-20260824/` (later dated dirs follow)
- Anchor root: `/Volumes/JZAO/HoloLake/persona-runtime/task-language-anchors/zcode/`
- Dynamic reference: resolve the latest-dated `CODEX-DEV-*` directory at every entry; never freeze a dated version as CURRENT
- Brain runtime: `BRIDGE/tools/zy-tcs-channel-runtime.sh` resolving repo-012-main canonical; zcode state dirs isolated per host+session
## Verification this run
- Toolchain v0.1.3 full checksum pass (v0.1.4 tcs-gir-runtime source drift recorded, not adopted)
- Entry gate and this event compiled via Stage-1 compiler-B with GIR readback