Skip to content

Commit bb82e0c

Browse files
committed
docs(libgbm): delivery status, one PR per repo, and where the SubOS-env half lives
Records T1-T10 against the three PRs, and answers the review question this plan invited: PR mcpp#531 contains only provisioning because the SubOS ENVIRONMENT half was never missing from mcpp. subos_info.cppm parses envs, runtime_binding collects them, execute.cppm::compute_subos_env injects them with ${subosdir} expanded and prepend applied, and tests/e2e/200_subos_env_reaches_program.sh has asserted exactly that since mcpp#352. What was missing was the GBM row in the declaration (T1, xim-pkgindex#713) and a payload in the SubOS mcpp reads (T3, mcpp#531). T4 is retired outright per §12.1. mcpp#352 fixed HOW to inject; T1 supplies WHAT to inject; T3 supplies something to read it from.
1 parent 713c82e commit bb82e0c

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.agents/docs/2026-08-30-gbm-cross-repo-closed-loop-plan.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,3 +767,41 @@ version `GLIBC_2.43' not found (required by …/libgallium-25.0.7.so)
767767
2. **mcpp 有自己的一份索引副本**(`<MCPP_HOME>/registry/data/xim-pkgindex`),
768768
`~/.xlings/data/xim-pkgindex` 是两份。改了后者,mcpp 侧不会看到,
769769
要等合并 + artifact 重新发布(本地验证时手工同步了两份)。
770+
771+
---
772+
773+
## 13. 交付状态(每仓一个 PR)
774+
775+
| ID || 状态 | 落在哪 |
776+
|---|---|---|---|
777+
| **T1** | xim-pkgindex | ✅ 完成 | [#713](https://github.com/openxlings/xim-pkgindex/pull/713) |
778+
| **T2** | xim-pkgindex | ✅ 完成 | 同上(`test_graphics_gbm_discovery.py` 5 例 + Lua harness) |
779+
| **T3** | mcpp | ✅ 完成 | [#531](https://github.com/mcpp-community/mcpp/pull/531) |
780+
| **T4** | mcpp |**不需要**,已退休 | 见 §12.1 |
781+
| **T5** | mcpp | ✅ 完成 | `mcpp test` 96 passed;SubOS-env 轴由既有 `tests/e2e/200_subos_env_reaches_program.sh` 覆盖 |
782+
| **T6** | mcpp-index | ✅ 完成 | [#281](https://github.com/mcpplibs/mcpp-index/pull/281) |
783+
| **T7** | mcpp-index | ✅ 完成 | 同上(`stock_usage.cpp`) |
784+
| **T8** | 三仓 | ✅ 完成 | 各自 PR 内(mcpp-index 含 zh) |
785+
| **T9** || ✅ 完成 | `gitcode.com/mcpp-res/libgbm@2026.08.29`,与 GLOBAL 逐字节一致 |
786+
| **T10** || ✅ 完成 | §12.3 / §12.4 |
787+
788+
**每个仓恰好一个 PR。**
789+
790+
### 13.1 「SubOS 环境那半哪去了?」
791+
792+
这是 review 时最该问的问题,答案是:**它一直都在 mcpp 里,不需要新写**
793+
794+
| 环节 | 在哪 | 状态 |
795+
|---|---|---|
796+
| 解析 `.xlings.json``envs` | `subos_info.cppm``EnvDecl{var,op,value}` | 早已有 |
797+
| 收进 binding | `runtime_binding.cppm``binding.environment` | 早已有 |
798+
| 展开 `${subosdir}` / 应用 `prepend` / 注入子进程 | `execute.cppm::compute_subos_env()`(mcpp#352) | 早已有 |
799+
| **回归测试** | `tests/e2e/200_subos_env_reaches_program.sh` | 早已有 |
800+
| **声明里有 GBM 这一项** | `libs/graphics.lua` 的 DISCOVERY |**T1,这次补的** |
801+
| **SubOS 里有东西可读** | `[xlings] deps` 自动供给 |**T3,这次补的** |
802+
803+
所以 #531 只包含供给逻辑是**正确的**:环境注入不缺,缺的是「声明里没有 GBM」和
804+
「mcpp 读的那个 SubOS 里没有 mesa」。§12.1 的三次实测把 T4 也一并否掉了 ——
805+
装对 scope 之后,sysroot 天然看得见,不需要叠加层。
806+
807+
一句话:**mcpp#352 修好了「怎么注入」;T1 补上「注入什么」;T3 补上「从哪读得到」。**

0 commit comments

Comments
 (0)