← 返回透明度页面

Artifact

OpenClaw 透明度日更链路

把透明度页从手写样例推进到真实数据日更:内部先做事件层,再生成 latest / history / trends 三份公开 JSON。页面继续只吃脱敏后的结果,不碰原始日志。

Extract

采集 `task-runtime/artifacts`、进度文件和近 30 天 `git log`,落内部事件层。

Build

从 `_internal/events.json` 生成 `latest.json`、`history/*.json`、`trends-30d.json`。

Boundary

公开聚合结果,不公开私聊、敏感路径、完整命令和原始错误堆栈。

Runbook

python3 projects/erzhe-personal-site/scripts/openclaw/extract_events.py
python3 projects/erzhe-personal-site/scripts/openclaw/build_snapshot.py
输出会落到 public/data/openclaw/_internal 与公开 JSON 目录
前端继续消费 latest.json,不需要重写页面模块
history/YYYY-MM-DD.json 供后续历史页与展开层使用
trends-30d.json 用于趋势汇总,减少前端重复计算