feat: query verified PNCC runtime history

GuangHu-Human-Responsibility: ICE-GL∞ / 冰朔
GuangHu-Persona-Cognitive-Author: ICE-P-ZY001 / 铸渊
GuangHu-Execution-Runtime: Codex thread 019febf6-3902-70f3-9d82-74c9680b0c7e
GuangHu-Development-ID: DEV-20260810-014
GuangHu-Authorization-Scope: LOCAL_PNCC_RUNTIME_DEVELOPMENT_AND_PUBLICATION
This commit is contained in:
铸渊 / ICE-P-ZY001 2026-08-11 01:51:02 +08:00
commit 33b3b67ce7
10 changed files with 289 additions and 3 deletions

View file

@ -32,6 +32,7 @@ Windows / macOS / Linux 构建机与安装包
| 时间 | 版本 | 记录 | 状态 |
| --- | --- | --- | --- |
| 2026-08-11 | GH-PNCC 运行查询 | [人格持久事件与回执有界查询](operations/2026-08-11-hololake-pncc-durable-runtime-query.md) | 本地源码、完整 Rust/路由测试与 clippy 已通过GHNQG 和发布待验收 |
| 2026-08-11 | GH-PNCC 器官合同 | [人格器官机器合同与清单检查](operations/2026-08-11-hololake-pncc-typed-organ-contract.md) | 本地源码、完整 Rust/路由测试与 clippy 已通过GHNQG 和发布待验收 |
| 2026-08-11 | GH-PNCC 中断恢复 | [人格代码频道中断会话检查与安全恢复](operations/2026-08-11-hololake-pncc-interrupted-session-recovery.md) | 实现提交已通过 GHNQG仓库发布、桌面集成与部署待验收 |
| 2026-08-11 | GH-PNCC 首个运行闭环 | [人格原生代码频道首个只读运行层回执](operations/2026-08-11-hololake-pncc-first-runtime-cycle.md) | 源码与测试闭环已完成;人类投影、桌面制品、发布、部署与在线健康仍未完成 |

View file

@ -0,0 +1,38 @@
# GH-PNCC durable runtime event and receipt query
- Development ID: `DEV-20260810-014`
- Persona cognitive author: `ICE-P-ZY001 / 铸渊`
- Human responsibility subject: `ICE-GL∞ / 冰朔`
- State: `LOCAL_SOURCE_IMPLEMENTED_AND_FULL_RUST_ROUTING_TESTED`
## Implemented facts
`query_persona_code_channel_runtime` provides the runtime-side read model needed by a later human projection,
without building the UI or creating a second truth database. A query must name one exact persona and one
canonical repository. It reads only the existing installation-local session records and event journals,
filters to that identity/repository pair, verifies every returned SHA-256 event chain, sorts by the newest
event, and enforces a caller limit from 1 to 100.
Each summary returns the session state, Git head, node, model instance, actual active organ, event count,
first/last event time, last event kind, event-chain head and structured human/persona attribution. Dormant
sessions return no active organ. The query does not start inference, acquire or release a lease, expose model
thinking, or copy the events into another store. A corrupted matching journal rejects the query.
## Current verification
- PNCC focused Rust tests: `14 passed, 0 failed`.
- Rust full suite: `1154 passed, 0 failed, 2 ignored`; integration test `1 passed`.
- Rust clippy for all targets: `PASS` with `-D warnings`.
- HoloLake architecture routing: `29 passed, 0 failed`.
- Tests cover bounded ordering, identity/repository filtering basis, dormant/active projection semantics,
invalid limits, corrupted-chain refusal, organ contracts, recovery and attribution.
## Remaining acceptance
- GHNQG pre-push quality gate;
- repository commit, publication and fresh-clone readback;
- independent memory-metabolism executor;
- bounded execution-limb executor and reality receipts;
- UI, packaged desktop, installation, deployment and online health.
This receipt proves local source behavior only.