Conversation
This was referenced Aug 23, 2026
zhiiw
force-pushed
the
codex/gitoxide-short-lived-helper
branch
from
August 23, 2026 16:28
339afac to
b48b53d
Compare
zhiiw
force-pushed
the
codex/gitoxide-helper-artifact-authority
branch
from
August 23, 2026 16:29
0b49d95 to
4d8b111
Compare
zhiiw
force-pushed
the
codex/gitoxide-short-lived-helper
branch
from
August 23, 2026 16:32
b48b53d to
98d5106
Compare
zhiiw
force-pushed
the
codex/gitoxide-helper-artifact-authority
branch
from
August 23, 2026 16:32
4d8b111 to
b787ffd
Compare
zhiiw
force-pushed
the
codex/gitoxide-short-lived-helper
branch
from
August 24, 2026 04:04
98d5106 to
3453011
Compare
zhiiw
force-pushed
the
codex/gitoxide-helper-artifact-authority
branch
from
August 24, 2026 04:04
b787ffd to
f37f761
Compare
zhiiw
force-pushed
the
codex/gitoxide-short-lived-helper
branch
from
August 24, 2026 09:09
3453011 to
28a6b22
Compare
Owner
Author
|
Superseded by apache#3561. Its implementation and tests were rebuilt from the latest upstream main and included there as part of the consolidated Gitoxide repository admission/import invariant. This extraction PR remains available as design and review history. 中文说明本 PR 已由 apache#3561 取代。对应实现和测试已从最新 upstream main 重建,并作为完整的 Gitoxide repository admission/import 不变量合入该 Draft。这里继续保留为设计和评审历史。 |
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
This stacked Draft establishes one narrow invariant above the short-lived Gitoxide helper in apache#3561:
The artifact is reverified before the capability is resolved for its designated invocation owner. Symlink/junction traversal, forged claims, wrong-owner use, and post-admission byte changes fail closed.
Boundary
This is deliberately still a Draft. It does not establish a platform signing trust root, protected installation root, helper spawn identity, repository observation admission, or a Desktop/CLI consumer. The internal release-claim issuer is only the seam for a future packaged-release owner; an adjacent manifest or caller-provided digest is not treated as authority.
Verification
git diff --checkStacked base:
codex/gitoxide-short-lived-helper/ apache#3561.中文说明
这个 stacked Draft 只证明一个边界:普通调用方不能通过自报 helper 路径或 SHA-256 获得执行资格。只有内部 release owner 签发、与 owner token 绑定的 artifact claim,在平台、架构、协议、大小、路径和 digest 全部严格校验后,才能变成指定 invocation owner 可消费的 opaque capability。
每次解析 capability 前都会重新校验制品;伪造 claim、错误 owner、symlink/junction 路径和 admission 后字节变化都会 fail closed。
当前仍没有正式的平台签名信任根、受保护安装目录、helper spawn、repository admission 或 Desktop/CLI 消费者,所以必须保持 Draft。内部 issuer 只是未来 packaged-release owner 的接缝,不能把相邻 manifest 或调用者提供的 digest 当成信任根。
验证结果:Runtime Host 编译通过;artifact authority 4/4;前置 Gitoxide helper 协议 4/4;Biome 与 diff check 通过。