Skip to content

Commit ccd0064

Browse files
committed
feat(startup): close phase1 warm snapshot persistence loop
1 parent b213f98 commit ccd0064

3 files changed

Lines changed: 410 additions & 1 deletion

File tree

docs/diataxis/en/explanation/startup-node-update-acceleration-plan.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,20 @@ npm run perf:startup:matrix -- --root tmp/startup-logs --single-platform-label w
196196
- Phase 4 (verification and rollout gate):
197197
- Added `perf:startup:cohorts:verify` for three-cohort (`small/medium/large`) automatic gates.
198198
- Supports session-floor gate (`--min-sessions-per-platform`) and strict CI exit (`--strict`).
199+
200+
## 14) Plan B Progress Confirmation (March 31, 2026)
201+
202+
- Phase 0 (telemetry): completed
203+
- Startup checkpoints `T0..T5` are wired and parsed by automation scripts.
204+
- Phase 1 (Warm Start): v1 loop completed
205+
- Graph fingerprint + persisted layout snapshot are now implemented (IndexedDB with localStorage fallback).
206+
- Snapshot hit can restore startup layout and sync Worker for low-alpha stabilization.
207+
- Snapshot persistence is triggered at `T5 stable_layout`, on page hidden, and before unload.
208+
- Phase 2 (delta protocol): completed
209+
- Worker supports `full|delta` tick modes, epsilon-based change filtering, and periodic full-sync fallback.
210+
- Low-alpha adaptive tick throttling is enabled.
211+
- Phase 3 (staged rendering): completed
212+
- Startup renders key-edge TopK first, then restores full edges after startup window.
213+
- Phase 4 (verification and rollout gate): automation completed
214+
- `compare / matrix / cohorts` gate scripts are available and validated.
215+
- Release-grade cross-platform signoff still requires real macOS/Android/iOS datasets.

docs/diataxis/zh/explanation/startup-node-update-acceleration-plan.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,20 @@ npm run perf:startup:matrix -- --root tmp/startup-logs --single-platform-label w
196196
- Phase 4(验证与灰度):
197197
- 新增 `perf:startup:cohorts:verify`,支持 `small/medium/large` 三规模回归门禁。
198198
- 支持样本量门禁(`--min-sessions-per-platform`)与 `--strict` 失败即退出。
199+
200+
## 14) 方案 B 执行进度确认(2026-03-31)
201+
202+
- Phase 0(埋点):已完成
203+
- `T0..T5` 启动时序埋点已接入并可被自动化脚本解析。
204+
- Phase 1(Warm Start):已完成 v1 闭环
205+
- 已实现 `graph fingerprint` 计算与持久化布局快照(IndexedDB,含 localStorage 兜底)。
206+
- 启动命中快照后可自动恢复布局,并同步 Worker 进入低 alpha 微调。
207+
-`T5 stable_layout`、页面隐藏与退出前触发快照持久化。
208+
- Phase 2(增量协议):已完成
209+
- Worker 支持 `full|delta` 双模式、epsilon 变化阈值与周期性全量同步兜底。
210+
- 低 alpha 阶段自动降频,降低稳定阶段传输与绘制压力。
211+
- Phase 3(分层渲染):已完成
212+
- 启动阶段优先渲染 key-edge TopK,窗口结束后补齐全边。
213+
- Phase 4(验证灰度):已完成自动化链路
214+
- 已有 `compare / matrix / cohorts` 三类门禁脚本。
215+
- 当前仍需补齐真实多端样本(macOS/Android/iOS)以完成发布级跨端验收。

0 commit comments

Comments
 (0)