feat(runtime): enforce managed mutation settlement authority - #9
Closed
zhiiw wants to merge 10 commits into
Closed
Conversation
zhiiw
force-pushed
the
codex/managed-workspace-mutation-runtime-admission-m2-3b
branch
from
August 19, 2026 02:33
643f893 to
3825677
Compare
zhiiw
force-pushed
the
codex/managed-workspace-mutation-reservation-m2-3a
branch
from
August 19, 2026 02:33
b2d0d8b to
584fe09
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
Close the Runtime settlement authority after a managed T1: no generic T2 fallback, no owner-supplied provider result, and no operation capability that survives terminal settlement.
Primary invariant
After managed T1, exactly one linear Runtime-owned operation capability may run, its result is captured as one bounded strict-JSON immutable snapshot, and the Host may submit terminal proof only.
What changed
Stack position
This is M2.3b, reviewed as the delta from M2.3a.
Base:
codex/managed-workspace-mutation-reservation-m2-3aNext:
codex/managed-workspace-write-edit-production-m2-4Validation
Runtime durable-boundary tests, CI planner tests, strict recovery inventory, and core/runtime/storage builds passed on the implementation branch.
Draft limitations
upstream/main中文说明
概要
本层收紧 managed T1 之后的 Runtime 权限边界:不允许 generic T2 fallback,不允许 Host 改写 provider result,也不允许 operation callback 越过终态继续执行。
Runtime 拥有唯一线性 operation capability,并在同一次有界 strict-JSON 遍历中生成不可变结果快照;Host 只能返回 terminal proof 与 exact durable outcome。任何畸形、缺失或不确定状态都 fail-stop。
这是 M2.3b;真实 Write/Edit 生产组合位于下一层。