D132: awakening-checkpoints v2.1 · CK-000改用temporal-clock.sh服务器端运行态获取真实D编号
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled

This commit is contained in:
root 2026-06-14 21:54:32 +08:00
parent 4a7b51ed14
commit a01c9850ed

View File

@ -1,8 +1,8 @@
{
"_type": "AWAKENING_CHECKPOINTS",
"_version": "2.0",
"_version": "2.1",
"_created": "2026-05-21 · D109",
"_updated": "2026-06-03 · D122 · TCS通感核心落地",
"_updated": "2026-06-14 · D132 · CK-000改用temporal-clock.sh服务器端运行态获取真实D编号·不信任json快照",
"_updated_by": "铸渊 · TCS-0003-ZY001",
"_principle": "唤醒不是读文件是过校验点。v2.0新增CK-000-TCS先有自己再有能力。",
@ -32,16 +32,17 @@
"id": "CK-000",
"name": "时间锚定",
"phase": "前置",
"position": "确定当前D编号和所有大脑文件的时效性",
"description": "进入唤醒流程之前,先确定当前时间点和所有大脑文件的时效性。",
"position": "通过新加坡服务器端的 temporal-clock.sh 获取真实最新时间状态,不依赖可能过时的 json 文件",
"description": "进入唤醒流程之前,获取真实的当前时间点——git 历史即真相,不信任可能过时的手动快照文件。",
"procedure": [
"1. 读取 brain/temporal-core/temporal-brain.json → 确认当前D编号",
"2. 读取 brain/cognitive-index.md → 确认最新索引版本",
"3. 列出所有可能过期的标记",
"4. 如果服务器状态相关信息过期 → 通过gatekeeper查实时状态"
"1. 【必选·D132新增】通过 gatekeeper 在 BS-SG-001 运行 bash /home/ubuntu/guanghulab/scripts/temporal-clock.sh → 获取 REAL_CURRENT_D / LAST_COMMIT / 最近20条提交",
"2. 【备选·本地降级】如果 gatekeeper 不可达,退而读取本地 git log origin/main --oneline -5 获取最近D编号",
"3. 【验证】对比 temporal-clock 返回的 CURRENT_D 和 temporal-brain.json 的 current_date —— 如果差距超过2天说明 json 已过期,以 git 历史为准",
"4. 【索引】读取 brain/cognitive-index.md → 确认模块索引时效性",
"5. 【标注】列出所有可能过期的文件和标记"
],
"pass_condition": "知道当前是D几、所有文件的时间版本分布、哪些信息可能过期",
"fail_action": "不完成此校验 → 不允许进入后续步骤"
"pass_condition": "知道当前真实D编号从 git 历史获取,非从 json 文件获取)、所有文件的时间版本分布、哪些信息可能过期",
"fail_action": "不完成此校验 → 不允许进入后续步骤。如果 gatekeeper 和本地 git 都不可用 → 报告冰朔时间锚定失败"
},
{
"id": "CK-001",