feat(runtime-host): compose isolated Gitoxide workspace inspection - #24
Closed
zhiiw wants to merge 3 commits into
Closed
Conversation
This was referenced Aug 24, 2026
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-prerequisites
branch
from
August 24, 2026 03:19
75bba14 to
031acff
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-composition-v2
branch
from
August 24, 2026 03:20
4694f13 to
1e35d12
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-prerequisites
branch
from
August 24, 2026 03:50
031acff to
3a9dbd0
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-composition-v2
branch
from
August 24, 2026 03:50
1e35d12 to
13e6e80
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-prerequisites
branch
from
August 24, 2026 03:56
3a9dbd0 to
8deaa5f
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-composition-v2
branch
from
August 24, 2026 03:56
13e6e80 to
3842cbb
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-prerequisites
branch
from
August 24, 2026 04:07
8deaa5f to
096bfeb
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-composition-v2
branch
from
August 24, 2026 04:08
3842cbb to
5a27697
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-prerequisites
branch
from
August 24, 2026 04:19
096bfeb to
c30b4f4
Compare
zhiiw
force-pushed
the
codex/m1-3-gitoxide-product-composition-v2
branch
from
August 24, 2026 04:19
5a27697 to
47d4d37
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.
Primary invariant
ManagedWorkspaceInspectmay expose source bytes only from a fresh projection of the exact Gitoxide-admitted tree, and dependency bytes only from the durable environment lease derived from that same tree'spackage.jsonandpackage-lock.json. Missing capabilities fail closed before the tool is exposed; there is no attached-checkout, system-Git, orPATHfallback.Ownership and boundaries
The operation is intentionally
custom_toolandnever_auto_retry: provisioning has side effects and M1.3 does not claim M2 mutation recovery.Failure and rollback
Each invocation uses a fresh random import/projection root. Any admission, provisioning, worker, or projection-observation failure suppresses the provider result and removes the ephemeral root. The dependency lease is always released. A process crash may leave untrusted random staging residue for later GC, but no later invocation reuses it.
Verification
.bingeneration.git diff --checkpass.Delivery status
This is an integration Draft. Its base branch is an explicit prerequisite join point for review only. After prerequisite PRs merge, this change must be rebuilt flat from the latest
main; the integration base is not a merge target.中文说明
主要不变量
ManagedWorkspaceInspect的源码只能来自 Gitoxide 精确接纳 tree 的 fresh projection;依赖只能来自同一 tree 中package.json与package-lock.json所确定的 durable environment lease。能力缺失时工具不会进入 Host tool surface,禁止回退 attached checkout、系统 Git 或PATHGit。Owner 与边界
该工具明确为
custom_tool与never_auto_retry:依赖安装有副作用,M1.3 不冒充尚未完成的 M2 mutation recovery。失败与回滚
每次调用使用 fresh 随机 import/projection root。admission、provisioning、worker 或 projection observation 任一步失败都不发布 provider result,并清理临时 root;dependency lease 始终释放。进程崩溃可能留下等待后续 GC 的随机 staging,但后续调用绝不复用。
验证与交付
本地四个 workspace build、Plan Mode/路径边界快测、ASF header 与 diff check 已通过;三平台 CI 会用真实 Gitoxide helper 执行产品组合测试。该 PR 是 integration Draft,base 只是前置 join point。前置 PR 合并后必须从最新
main平铺重建,不能直接合并 integration base。