fix(sync): 允许 Codex 活跃尾部安全追加 - #96
Merged
Merged
Conversation
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.
Mainline Intent
Intent:
int_1d2b578aStatus:
proposedTitle: 允许活跃 Codex 尾部安全同步
What changed
Codex 同步改为在同一文件句柄上按起始边界有界读取并记录读取证明;可证明的纯追加提交起始快照并标记 soft stale,无法证明的新活跃文件延后且不阻断稳定 source,截断、前缀重写和 source 替换仍拒绝。同步更新 CLI JSON 合同、用户文案、发布 skill 与 0.3.18 版本。
Why
当前 Codex 对话在正常使用中会持续增长,纯尾部追加不应让全量或 scoped sync 整体失败;同时 coverage 只能描述确实读取并验证的边界,不能用宽松忽略掩盖已读区间被破坏。
Decisions
Subsystems: README.md, docs, package-lock.json, package.json, skill-packages, src