Skip to content

docs(agents): xvm group transaction review, design and plan - #385

Merged
Sunrisepeak merged 3 commits into
release/0.4.70from
docs/xvm-group-transaction
Jul 26, 2026
Merged

Sunrisepeak merged 3 commits into
release/0.4.70from
docs/xvm-group-transaction

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Summary

0.4.70 集成分支的第一个 PR:落地本轮 XVM 工作的评审、目标架构与实施计划。

  • 2026-07-26-xvm-pr384-review.md — 对 feat(xvm): add provider-scoped binding group registration #384 的评审。逐条对照 origin/main 验证五条根因成立;记录两个静默回归(includedir 不再写入导致 xlings use 头文件切换失效、headers 从不携带 group 导致合法 recipe 硬失败)、删除回退的 group 一致性缺口,以及修复前/只落地 feat(xvm): add provider-scoped binding group registration #384/全部完成三态的使用体验对照。
  • 2026-07-26-xvm-group-transaction-design.md — 目标架构。三层状态模型(Catalog / Selection / Materialization)、group 提升为顶层表、commit-then-reconcile 让文件系统不再参与事务、doctor 即 reconciler。附 7 条决策记录。
  • 2026-07-26-xvm-group-transaction-plan.md — 实施计划。单一 release/0.4.70 集成分支模型、P0–P4 + R 集成阶段、18 条场景级验收断言、以及无感升级契约 U1–U7(含降级安全)。

交付模型

origin/main ─────────────────────────────────────► (R.4) merge ──► v0.4.70
                                                        ▲
  release/0.4.70 ── docs ─ #384 ─ P0 ─ P1 ─ P2 ─ P3 ─ P4 ─ R
                    └────── 多 PR 汇入,main 不可见 ──────┘
  • 所有 PR base 一律 release/0.4.70,不 target main
  • PR 用 squash merge(一任务一提交),集成分支合入 main 用 merge commit
  • 各 PR 不动版本号,core/config.cppm 在 R.2 一次性置 0.4.70
  • 对外只有一个版本

本 PR 范围

纯文档,无代码改动。

Note

本 PR 同时用作集成分支的 CI 基线验证 —— #384 当前六平台 CI 均因 fetch '[email protected]' failed 失败且重跑不恢复,需要判定是基础设施问题还是 #384 引入。本 PR 不含任何代码改动,其 CI 结果可作为对照。

Add the PR #384 review, the target architecture, and the staged
implementation plan for the 0.4.70 release train.

- review: verify the five root causes against origin/main, record two
  silent regressions (includedir no longer written, headers never
  carry a group), the removal-fallback coherence gap, and the
  before/after user-experience comparison
- design: three-layer state model (Catalog / Selection / Materialization),
  group promoted to a top-level table, commit-then-reconcile so the
  filesystem stops participating in the transaction, doctor as the
  reconciler
- plan: single release/0.4.70 integration branch, P0-P4 plus an R
  integration stage, 18 scenario-level acceptance assertions, and a
  seamless-upgrade contract (U1-U7) including downgrade safety
The plan assumed a PR landing on the integration branch would be gated
by CI. It was not: all six workflows only triggered on main/master, so a
PR based on release/0.4.70 got no checks at all. A second, pre-existing
problem surfaced next -- every workflow restored an ~800 MB mcpp cache
and then deleted the payload directory it had just restored.

Add P-1 covering both (fixed in #386) plus the unresolved upstream fetch
instability, and note that it gates R.3's three-platform-green
requirement without changing that requirement.
CI cannot go green while P-1.3 lasts, and review of intermediate PRs is
delegated. Both facts need a written boundary so 'upstream is broken'
does not become a general waiver.

Allow a PR to land on the integration branch only when the local build
and test suite are green AND the CI failure carries the known upstream
fetch signature, before any of this repo's code is compiled. Any other
failure signature still blocks. R.3 is unchanged: the branch has to be
re-run green on all three platforms before it is proposed to main, so
this defers verification rather than skipping it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant