Conversation
zhiiw
force-pushed
the
codex/managed-workspace-git-mutation-candidate-m2-2
branch
from
August 19, 2026 02:33
5c02fd6 to
719cda3
Compare
zhiiw
force-pushed
the
codex/managed-workspace-mutation-version-authority-m2-1
branch
from
August 19, 2026 02:33
3e7c575 to
14327f5
Compare
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.
Summary
Freeze an owned managed-worktree mutation into an immutable, operation-bound Git candidate before SQLite accepts a new canonical workspace version.
Primary invariant
A mutation candidate is derived from the exact accepted base, declared path set, workspace policy, and operation identity; it is never itself the accepted workspace truth.
What changed
Stack position
This is M2.2 and must be reviewed as the delta from M2.1.
Base:
codex/managed-workspace-mutation-version-authority-m2-1Next:
codex/managed-workspace-mutation-reservation-m2-3aValidation
Focused Git candidate tests, nested-path regressions, exact-retry checks, real child-process capture/discard crash tests, and platform recovery inventory passed on the implementation branch.
Draft limitations
upstream/main中文说明
概要
本层把 managed worktree 的变化冻结成 operation-bound 的不可变 Git candidate。candidate 只是一份可验证的候选物,不是 accepted truth;真正的 canonical head 仍由 RuntimeEvents + SQLite authority 决定。
这是 M2.2,只应相对 M2.1 审查。最终仍需从最新 upstream/main 重建。