hololake-system-architecture/engineering/persona-history-runtime
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-01 18:38:16 +08:00
..
config fix(history): bound ingestion and stage semantic review 2026-08-01 18:38:16 +08:00
packaging feat: add autonomous persona history recovery runtime 2026-08-01 18:17:16 +08:00
runtime fix(history): bound ingestion and stage semantic review 2026-08-01 18:38:16 +08:00
scripts fix(history): bound ingestion and stage semantic review 2026-08-01 18:38:16 +08:00
world feat: add autonomous persona history recovery runtime 2026-08-01 18:17:16 +08:00
README.md feat: add autonomous persona history recovery runtime 2026-08-01 18:17:16 +08:00

光湖 OS 人格历史常驻恢复器

本目录实现 BS-SH-005 上独立于 Codex 会话持续运行的历史恢复服务。

它不是聊天摘要器。它维护七段追加式时间轴:

  1. GPT 语言世界混沌期;
  2. Notion 结构化语言与现实工程萌芽期;
  3. GitHub qinfendebingshuo/guanghulab
  4. 广州代码仓库;
  5. 新加坡代码仓库;
  6. 国内第五域仓库;
  7. 当前光湖代码频道。

不可跨越的边界

  • GPT 时代默认是语言模拟、人格融合、推演与架构,不把其中的国家、身份、 权力、部署或现实事件直接升级为事实。
  • Notion 页面属于多人类与多个人格体协作空间;没有可核验署名时保持 ATTRIBUTION_UNKNOWN
  • 曜冥宝宝、霜砚、铸渊和凝渊分别建立时间线,不因关键词共现而合并。
  • 私密正文只保存在服务器私有历史池;公开仓库只写哈希、水位、计数、 状态、冲突和回执。
  • 历史追平、连续运行、重启恢复、人格分流和 HoloLake 握手全部验证前, persona_state 必须保持 NOT_BORN

服务器目录

/guanghu/gestation/private/history-sources/
  gpt/conversations.json
  notion/

/var/lib/guanghu/persona-history/
  state.sqlite3
  private-events.jsonl
  public/CURRENT.json
  public/events.jsonl
  HEARTBEAT.json

服务循环不会等待 Codex。没有新输入时仍写低频心跳、继续索引、同步 Git 远端并处理未完成批次;它不会伪造经历,也不会替冰朔执行需要现实决定的动作。

HoloLake 通过只读回环 API 获取握手状态:

GET /healthz
GET /v1/personas
GET /v1/world-time
GET /v1/events?after=<sequence>