feat(runtime-host): add managed Node workspace transform kernel - #83
Draft
zhiiw wants to merge 1 commit into
Draft
feat(runtime-host): add managed Node workspace transform kernel#83zhiiw wants to merge 1 commit into
zhiiw wants to merge 1 commit into
Conversation
zhiiw
force-pushed
the
codex/m5-managed-node-transform-v1
branch
from
August 31, 2026 06:02
4a4d840 to
343beb7
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
Adds the owner-controlled M5 workspace-transform kernel on top of the managed Node command product profile.
Main invariant
A
ManagedNodeTransformmay only compute one bounded UTF-8 output from an immutable accepted Git tree. It cannot mutate the managed worktree or user checkout directly. Gitoxide freezes the exact output as a candidate, and SQLite is the only authority that accepts the successor and releases the durable mutation reservation.Ownership and atomic boundary
managed_mutation_v2andmanaged_mutation_v3are payload shapes for Write/Edit and Node transform, respectively; both bind the same canonical mutation execution-profile v2 digest.Failure and convergence
Scope
This is enabling infrastructure. It intentionally does not advertise a packaged Desktop/Runtime Host profile yet. Packaged profile v4, pre-Session negotiation, and a real Host kill/reopen test belong to the next composition slice.
Verification
git diff --check中文说明
摘要
本 PR 在 managed Node command 产品 profile 之上加入 M5 workspace-transform kernel。
主要不变量
ManagedNodeTransform只能从 immutable accepted Git tree 计算一个有界 UTF-8 输出,不能直接改 managed worktree 或用户 checkout。Gitoxide 把 exact output 固化为 candidate;只有 SQLite workspace-successor transaction 可以接受新版本并释放 durable mutation reservation。Owner 与原子边界
managed_mutation_v2与managed_mutation_v3只区分 Write/Edit 和 Node transform 的 payload 字段,二者统一绑定 canonical mutation execution profile v2 digest;失败与收敛
范围
这是 enabling infrastructure,暂不让 packaged Desktop/Runtime Host 宣告该 profile。下一切片再加入 packaged profile v4、Session 前 negotiation 和真实 Host kill/reopen 测试。
验证
git diff --check通过。