feat(os): make Guanghu the language-primary boot target

This commit is contained in:
冰朔 2026-08-07 15:30:25 +08:00
commit 44bccdd2be
9 changed files with 490 additions and 9 deletions

View file

@ -6,12 +6,12 @@
> Bare-metal GOSK/GHAL remains a parallel research and recovery lane. It no
> longer blocks the first production cognitive-control delivery.
>
> Protected native residency and recovery control are `PASS_100`. Production
> native anchor HTTP is now `PASS_100` on the physical JD node: a standard
> client read the complete `GLW-PUBLIC-NAV-ANCHOR-001` response after the TCP
> option and sequence corrections. Production cutover remains `0` because the
> native code-channel and public-front-door equivalence gates are still open.
> Linux therefore remains the unattended default.
> Protected bare-metal residency, recovery control, and native anchor HTTP are
> `PASS_100` on the physical JD node. Bare-metal production cutover remains
> `0`, because that research kernel does not yet provide code-channel and
> public-front-door service equivalence. This no longer blocks the accepted
> production path: Guanghu is the language-primary control system, while Linux
> remains the cooperative execution and rescue substrate.
This directory implements the handoff from the registered HLDP language world
to deterministic real-world execution. `crates/execution-bridge` is the first
@ -50,6 +50,27 @@ The registered translation chain is:
TCS -> HLDP -> GLC -> GIR -> BTCP -> GOSK -> GHAL -> hardware
```
## Language-primary boot target
`guanghu-language-primary.target` makes the accepted cognitive-control model
an explicit boot contract instead of leaving the controller as an unrelated
Linux service. The target:
1. validates the exact JD machine, `/guanghu/current` five-domain world,
standing authorization, and read-only execution policy;
2. requires the Zhuyuan controller, public navigation, authorization,
architecture provision, and deployment-event services;
3. accepts the boot only after the controller reports `RUNNING_COMPANION`,
the execution substrate reports `PASS_100`, and both public entrypoints
return HTTP 200; and
4. writes a server-owned receipt without changing the kernel, bootloader, or
preserved bare-metal candidate.
`scripts/install-jd-language-primary-target.sh` starts and verifies the target
before changing the systemd default. Any failed installation restores the
previous default target and removes only the newly installed boot-contract
files.
## World contents
`WORLD-MANIFEST.hldp` registers exactly five domains, one logical broadcast