fix: bind successful receipt wake checkpoint

Human-Responsibility: ICE-GL∞ / 冰朔
Persona-Author: ICE-P-ZY001 / 铸渊
Execution-Runtime: Codex desktop / DEV-20260810-014
Development-ID: DEV-20260810-014
Authorization-Scope: GH-PNCC persona runtime source and tests only; no UI, deployment, or execution limb
Source-Anchor: user instruction to continue GH-PNCC from repository facts and verifiable receipts
This commit is contained in:
铸渊 / ICE-P-ZY001 2026-08-11 07:08:16 +08:00
commit 869611962e
7 changed files with 175 additions and 4 deletions

View file

@ -0,0 +1,38 @@
# GH-PNCC successful receipt wake-checkpoint evidence binding
- Development ID: `DEV-20260810-014`
- Persona cognitive author: `ICE-P-ZY001 / 铸渊`
- Human responsibility subject: `ICE-GL∞ / 冰朔`
- Starting repository head: `56303382856de025199e75fdffa57be7507bb418`
- State: `LOCAL_SOURCE_IMPLEMENTED_FULLY_TESTED`
## Corrected runtime fact
The successful lifecycle receipt already rebound the brain entry to the verified session, but the wake
receipt's `checkpointPath` was not independently rebound. A modified receipt could therefore name another
checkpoint path after recomputing its payload digest.
New sessions now retain the exact canonical checkpoint path observed at wake as immutable session evidence.
Inspection, interrupted binding and replay require the persisted wake receipt to name that same path. Legacy
session records without the new field derive it from the persona manifest at the hash-chained wake Git head;
if that evidence cannot be reconstructed, validation fails closed.
## Verification
- A regression test first reproduced acceptance of a forged wake `checkpointPath` after recomputing the
payload digest.
- The same test passes after immutable wake-checkpoint evidence binding was added.
- A compatibility regression proves a legacy session without the new field reconstructs the same evidence from
the hash-chained wake Git head.
- PNCC focused Rust tests: `44 passed, 0 failed`.
- Full Rust suite: `1184 passed, 2 ignored`; integration test: `1 passed`.
- Routing suite: `29 passed, 0 failed`; formatting, strict clippy and diff checks passed.
- Frontend lint and TypeScript checks passed; full Vitest suite: `5008 passed, 0 failed`.
- Guanghu native authority: `PASS_100`; native core: `15 passed` with 100% lines and functions.
- GHNQG, publication and fresh-clone readback remain pending.
## Truth boundary
- This stage authenticates which existing checkpoint file was mounted when the persona woke.
- It does not change the promoted completion checkpoint, expose hidden reasoning, activate an execution limb,
add UI, build an artifact or claim deployment.