Repository navigation
docs(agents): record what 0.4.70 actually ships - #398
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
记录实施中的再范围决策:P2(group 归一化)与 P3.1/3.2/3.4 推迟到 0.4.71。
决策
P2 是纯重构 —— 收益是"删掉三分之一的不变量表面",不在任何用户可见修复的关键路径上。P3.3 的整组切换用现有 resolver 即可。把它留在发布路径上,等于让最大的重构风险和 137 条测试的迁移成本挡在用户可见修复前面。
use整组切换代价(如实计入)
root-manifest 格式会正式发布,因此设计 §2.4 的三种兼容读成为现实,需要真实的弃用窗口。集成分支"过渡代码不进 main"的收益在这一项上没有兑现。这是用发布节奏换重构风险的自觉交易,不是遗漏。
连带修正
includedir写入 —— reconciler 推迟了,而cmd_use的头文件切换目前正走这条路径,删掉会立刻重现 fix(xim): keepxlings useable to swap sysroot headers #390 刚修好的回归doctor --fix恢复;元数据损坏状态仍需手工编辑versions.json。CHANGELOG 必须写明,不得以"可恢复"一笔带过P1.3b 为什么没做
计划要求停止序列化
bindingIntegrityIssues。实现后失败了 #384 的 7 条测试,而它们是对的:一条bindingGroup没解析成功的记录,内存里不持有那个 group,不写回 marker 就等于保存时把畸形值整个丢掉 —— 损坏条目被静默洗白成健康的无组条目。真正的缺陷是"重写未解析的记录必然丢信息",正确修法是保留原始 JSON 使 round-trip 无损。独立改动,留给 0.4.71。