Skip to content

docs(agents): record what 0.4.70 actually ships - #398

Merged
Sunrisepeak merged 1 commit into
release/0.4.70from
docs/0470-delivered-scope
Jul 26, 2026
Merged

Sunrisepeak merged 1 commit into
release/0.4.70from
docs/0470-delivered-scope

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

记录实施中的再范围决策:P2(group 归一化)与 P3.1/3.2/3.4 推迟到 0.4.71。

决策

P2 是纯重构 —— 收益是"删掉三分之一的不变量表面",不在任何用户可见修复的关键路径上。P3.3 的整组切换用现有 resolver 即可。把它留在发布路径上,等于让最大的重构风险和 137 条测试的迁移成本挡在用户可见修复前面。

批次 计划 实际
P-1 CI 前置 计划外 ✅ 0.4.70
P0 回归修复 0.4.70 ✅ 0.4.70
P1 崩溃/并发底座 0.4.70 ✅ 0.4.70(P1.3 部分)
P2 group 归一化 0.4.70 ⏭ 0.4.71
P3.1/3.2 ledger + reconciler 0.4.70 ⏭ 0.4.71
P3.3 use 整组切换 0.4.70 ✅ 0.4.70(headline)
P3.4 profile generations 0.4.70 ⏭ 0.4.71
P4 生态验证 0.4.70 ✅ 0.4.70

代价(如实计入)

root-manifest 格式会正式发布,因此设计 §2.4 的三种兼容读成为现实,需要真实的弃用窗口。集成分支"过渡代码不进 main"的收益在这一项上没有兑现。这是用发布节奏换重构风险的自觉交易,不是遗漏。

连带修正

P1.3b 为什么没做

计划要求停止序列化 bindingIntegrityIssues。实现后失败了 #384 的 7 条测试,而它们是对的:一条 bindingGroup 没解析成功的记录,内存里不持有那个 group,不写回 marker 就等于保存时把畸形值整个丢掉 —— 损坏条目被静默洗白成健康的无组条目。

真正的缺陷是"重写未解析的记录必然丢信息",正确修法是保留原始 JSON 使 round-trip 无损。独立改动,留给 0.4.71。

The plan put P0-P4 in one release. Re-evaluating after P1, P2 and most
of P3 move to 0.4.71.

P2 is a pure refactor -- normalizing groups into a top-level table buys
a smaller invariant surface and nothing a user can see. Nothing on the
critical path needs it: whole-release switching works through the
existing resolver. Keeping it in the release path would have put the
largest refactor risk and a 137-test migration in front of the fixes
users are waiting for.

The cost is real and recorded: the root-manifest format now ships, so
the three-way compatibility read becomes an actual deprecation window
rather than something the integration branch could delete before main
ever saw it. That benefit is forfeited for this one item.

Also corrects R.1 and the acceptance matrix, which assumed P3's
reconciler would land. It does not, so the includedir path stays -- it
is what cmd_use switches headers through today, and removing it would
reproduce the regression P0.1 just fixed. A9 is downgraded to partially
met: incoherent state is recoverable, corrupt metadata still is not, and
the CHANGELOG has to say so rather than claim recoverability.
@Sunrisepeak
Sunrisepeak merged commit b773b12 into release/0.4.70 Jul 26, 2026
0 of 6 checks passed
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