feat(runtime-host): attest managed npm runtime - #21
Closed
zhiiw wants to merge 4 commits into
Closed
Conversation
zhiiw
force-pushed
the
codex/m1-3-npm-attestation-rebuild
branch
from
August 23, 2026 16:27
a080809 to
f83bbec
Compare
zhiiw
force-pushed
the
codex/m1-3-managed-npm-producer-rebuild
branch
from
August 23, 2026 16:31
8b1ec34 to
df6b670
Compare
zhiiw
force-pushed
the
codex/m1-3-npm-attestation-rebuild
branch
from
August 23, 2026 16:31
f83bbec to
bb616c5
Compare
zhiiw
force-pushed
the
codex/m1-3-managed-npm-producer-rebuild
branch
from
August 24, 2026 02:28
2b746b3 to
f0253cd
Compare
zhiiw
force-pushed
the
codex/m1-3-npm-attestation-rebuild
branch
from
August 24, 2026 02:35
78095a4 to
d6ca1fe
Compare
zhiiw
force-pushed
the
codex/m1-3-managed-npm-producer-rebuild
branch
from
August 24, 2026 04:05
ebcf598 to
4d2d798
Compare
zhiiw
force-pushed
the
codex/m1-3-npm-attestation-rebuild
branch
from
August 24, 2026 04:06
ce52c3a to
dd18177
Compare
Owner
Author
|
Closed because managed npm provisioning is no longer on the pure Write/Edit critical path. Rebuild this capability from then-current main as an M5 toolchain/external-effects PR when Bash/build/test execution has a production consumer. 中文说明managed npm provisioning 已不再属于纯 Write/Edit 的关键路径,因此关闭当前旧实现。等 M5 的 Bash/构建/测试能力出现真实生产消费者时,再从届时最新 main 重建 toolchain/external-effects PR。 |
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
npm@12.0.2runtime tree for Desktop release resourcesPrimary invariant
Given a resources root already authorized by the packaged-product owner, managed npm provisioning can execute only the exact declared npm tree with the exact current Host Node. A structurally similar caller object or a modified runtime tree cannot acquire execution authority.
The colocated manifest is an integrity declaration, not a standalone cryptographic trust root. The later product composition must supply the packaged-resource authority.
Validation
This remains a stacked Draft on #20. It has no production consumer yet. The final M1.3 composition must consume Gitoxide admission/import/projection capabilities and must not reintroduce the Git CLI owner.
中文说明
摘要
npm@12.0.2runtime tree;主要不变量
在 packaged-product owner 已经证明 resources root 的前提下,managed npm 只能运行发布物中声明的 exact npm tree 与当前 exact Host Node。伪造结构体或修改 runtime tree 都不能获得执行权。
同目录 manifest 只提供完整性声明,不是独立密码学 trust root;后续 product composition 必须提供 packaged-resource authority。
验证
本 PR 继续作为 #20 之上的 stacked Draft;尚无生产消费者。最终 M1.3 composition 只能消费 Gitoxide admission/import/projection capability,不得重新引入 Git CLI owner。