[Docs] (Disaggregated): land plan B - MGPipe, a gallium-style explicit frontend/backend interface with a backend-owned state machine (client-allocated {slot,gen} handles, CSOs keyed on the pipeline subset with dynamic state pushed separately, set_* catalogue derived from the twins the two backends already keep, per-verb validate with aggregate generations, reverse channel as ten named callbacks plus a pull terminator, strangler migration behind PipeInputs with per-verb poison and a field-wise verify harness, three purity gates replacing byte identity), the item-by-item comparison against the replica plan A (memory, copies, drift surface, monolith benefit vs 4x effort and 7x later first frame) with a day-43 GO/NO-GO hedge, and the round-2 design-competition and adversarial-review record; mark plan A as superseded except for its inherited transport sections

This commit is contained in:
2026-09-05 13:05:43 -04:00
parent 8b31de2f8d
commit 1794ac94b1
3 changed files with 2253 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -1,5 +1,6 @@
# MobileGL 前后端进程拆分实施计划(branch `feat/disaggregated`
> **2026-09-05 追加:本文件是方案 Areplica `GLContext`)。经用户方向修正——backend 应拥有贴近后端 API 的状态机并通过 gallium 式显式接口解耦——推荐路线改为方案 B,见同目录 `PLAN-B-MGPipe.md`(含逐项对比与 GO/NO-GO 对冲路径)。本文件保留:§6-§13(传输、数据面、同步、present、线程、平台、构建)被方案 B 原样继承并以本文为准;§5、§12 的 replica 特化部分已被取代。**
> 状态:设计定稿 v12026-09-05)。基线 `dev@81b17c0b`;实施分支 `feat/disaggregated`worktree `../MobileGL-disagg`)。
> 产出方式:7 个只读代码调研 → 4 个独立架构方案 → 3 个评审打分 → 综合 → 3 个对抗性审查(38 条发现)→ 修订;评审记录见同目录 `REVIEW.md`。
> 上一次尝试 `Feat/CS-Delta-IPC`2026-08-29/30worktree `../MobileGL-CS`)的复用/丢弃结论见 §14。
File diff suppressed because one or more lines are too long