feat(runtime): bind dependency identity before managed observation - #73
Draft
zhiiw wants to merge 1 commit into
Draft
feat(runtime): bind dependency identity before managed observation#73zhiiw wants to merge 1 commit into
zhiiw wants to merge 1 commit into
Conversation
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 00:15
e04801b to
af533c0
Compare
zhiiw
force-pushed
the
codex/m5-dependency-snapshot-authority
branch
from
August 31, 2026 00:19
51518dd to
b5b9b10
Compare
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 00:19
af533c0 to
ff1c113
Compare
zhiiw
force-pushed
the
codex/m5-dependency-snapshot-authority
branch
from
August 31, 2026 01:02
b5b9b10 to
0e9fd03
Compare
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 01:02
ff1c113 to
06cf779
Compare
zhiiw
force-pushed
the
codex/m5-dependency-snapshot-authority
branch
from
August 31, 2026 02:05
0e9fd03 to
cf3d66f
Compare
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 02:05
06cf779 to
f9103c2
Compare
zhiiw
force-pushed
the
codex/m5-dependency-snapshot-authority
branch
from
August 31, 2026 03:36
cf3d66f to
a53544a
Compare
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 03:36
f9103c2 to
5bccd84
Compare
zhiiw
force-pushed
the
codex/m5-dependency-snapshot-authority
branch
from
August 31, 2026 03:42
a53544a to
81a3117
Compare
zhiiw
force-pushed
the
codex/m5-dependency-observation-binding
branch
from
August 31, 2026 03:42
5bccd84 to
d520c63
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
managed_observation_v2, which freezes an explicit no-dependency mode or one exact opaque dependency snapshot identity before T1Primary invariant
A dependency-aware
ManagedNodeTestmay cross T1 only after Runtime receives one exact owner-issued dependency identity: explicitnone, or the opaqueenvironmentId + contentTreeSha256 + Node ABI/platformfrom a snapshot lease. Paths and checkout fallback are not part of the durable protocol.Owner and atomic boundary
The Host admission owner chooses and holds the lease before T1. Runtime validates that the tool profile and full dispatch protocol agree, then the existing RuntimeEvent writer atomically commits the entire T1. This slice introduces no dependency projection and does not expose the lease path to Runtime.
Verification
git diff --check: passedThis is a stacked Draft over #72. The next slice consumes the opaque lease inside the platform sandbox; until then v2 is an enabling durable boundary, not a dependency-running product claim.
中文说明
摘要
managed_observation_v2,在 T1 前冻结显式无依赖模式,或一个 exact opaque dependency snapshot identity;主要不变量
依赖感知的
ManagedNodeTest只有在 Runtime 收到一种 exact owner-issued dependency identity 后才能跨过 T1:显式none,或 snapshot lease 的environmentId + contentTreeSha256 + Node ABI/platform。durable protocol 不携带路径,也不允许回退 checkout。Owner 与原子边界
Host admission owner 在 T1 前选择并持有 lease。Runtime 验证 tool profile 与完整 dispatch protocol 一致,然后由既有 RuntimeEvent writer 原子提交完整 T1。本切片不新增 dependency projection,也不向 Runtime 暴露 lease path。
这是 #72 之上的 stacked Draft。下一切片才会在平台 sandbox 内消费 opaque lease;在那之前,v2 只是 durable boundary,不声称已经能运行带依赖测试。