feat(runtime): bind continuation to accepted Gitoxide workspace heads - #42
Draft
zhiiw wants to merge 2 commits into
Draft
feat(runtime): bind continuation to accepted Gitoxide workspace heads#42zhiiw wants to merge 2 commits into
zhiiw wants to merge 2 commits into
Conversation
This was referenced Aug 30, 2026
This was referenced Aug 30, 2026
zhiiw
force-pushed
the
codex/managed-session-product-stack-v1
branch
from
August 30, 2026 14:12
847c449 to
11ec993
Compare
zhiiw
force-pushed
the
codex/workspace-continuation-stack-v1
branch
from
August 30, 2026 14:12
fc4a261 to
3475205
Compare
zhiiw
force-pushed
the
codex/managed-session-product-stack-v1
branch
from
August 30, 2026 14:15
11ec993 to
2821eed
Compare
zhiiw
force-pushed
the
codex/workspace-continuation-stack-v1
branch
from
August 30, 2026 14:15
3475205 to
e8865db
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
Bind safe-boundary continuation to the exact accepted Gitoxide workspace head and prove that Host death does not replay an accepted Write/Edit or provider call.
This combines the old continuation extraction slice #39 into the final layer above #40 and #41.
Primary invariant
A continuation may start only when immutable Runtime history and immutable workspace history identify the same causal boundary: source run high-water, workspace epoch, execution profile, and accepted Git head.
Scope
Verification
git diff --checkpasses.Stack: #40 -> #41 -> this PR.
中文说明
摘要
本 PR 将 safe-boundary continuation 绑定到精确的 accepted Gitoxide workspace head,并证明 Host 崩溃后不会重放已经接受的 Write/Edit 或 provider 调用。它把旧 #39 合并为 #40、#41 之上的最终一层。
主要不变量
只有 immutable Runtime history 与 immutable workspace history 指向同一个 causal boundary 时,continuation 才能启动:source run high-water、workspace epoch、execution profile 与 accepted Git head 必须全部一致。
本地四个 workspace 构建通过,Runtime continuation 测试 16 项通过。六个真实 Gitoxide helper/Host 用例因本机缺少可执行 helper 而明确 skip,没有冒充通过;本机 Rust 构建被缺失的 MSVC linker 阻塞。
git diff --check通过。栈顺序:#40 → #41 → 本 PR。