feat(runtime-host): compose managed Node transform profile - #84
Draft
zhiiw wants to merge 1 commit into
Draft
Conversation
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
Composes the managed Node workspace-transform kernel into a packaged Runtime Host profile and makes Desktop select it only through pre-Session capability negotiation.
Main invariant
A Desktop task may enter
managed-coding-v4only when the resident Host owns the exact packaged Gitoxide helper, canonical toolchain release v4, enforcing sandbox, and transform admission owner before Session creation. Once frozen, the Session cannot downgrade to an earlier profile or fall back after T1.Product composition
hermetic_observation_v2,hermetic_observation_v3, andworkspace_transform_v1.ManagedNodeTransform.Crash boundary
The production-shaped gate starts the packaged Electron Host with a real Gitoxide helper, invokes the real transform through ToolRuntime, waits until SQLite commits T2/successor, kills the Host before the assistant turn finishes, then restarts and continues. It asserts one call, one response, one successor, zero reservations, and no transform replay.
Platform matrix
Verification
git diff --check中文说明
摘要
本 PR 把 managed Node workspace-transform kernel 接入 packaged Runtime Host profile;Desktop 只能通过 Session 创建前的 Host capability negotiation 选择它。
主要不变量
只有 resident Host 在 Session 创建前同时拥有 exact packaged Gitoxide helper、canonical toolchain release v4、enforcing sandbox 和 transform admission owner,Desktop task 才能进入
managed-coding-v4。profile 一旦冻结,运行中禁止降级,也禁止 T1 后 fallback。产品组合
hermetic_observation_v2、hermetic_observation_v3与workspace_transform_v1;ManagedNodeTransform;崩溃边界
production-shaped gate 使用 packaged Electron Host 和真实 Gitoxide helper,经 ToolRuntime 执行真实 transform;SQLite 提交 T2/successor、assistant turn 尚未结束时杀死 Host,再重启 continuation。测试要求只有一个 call、一个 response、一个 successor、零 reservation,且 transform 不得重放。
平台矩阵
验证
git diff --check通过。