Conversation
This was referenced Aug 23, 2026
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-invocation
branch
from
August 23, 2026 16:29
66d7a0c to
1e43dcd
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-invocation
branch
from
August 23, 2026 16:32
1e43dcd to
798dc8c
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-invocation
branch
from
August 24, 2026 04:04
798dc8c to
39b5ebf
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 adds one production-shaped invariant above the opaque helper artifact capability in #11:
Exit 0 is accepted only with an exact SHA-1 repository observation; exit 2 only with an unsupported-object-format policy rejection; exit 1 only with an allowlisted stable helper error. Every other exit/response combination fails closed.
Boundary
The three-platform workflow builds the real Rust helper and runs the Runtime Host contract against it. This remains a Draft because the packaged-release signing trust root and Desktop/CLI/managed-workspace consumer are intentionally not part of this slice.
Verification
git diff --check中文说明
这个 stacked Draft 在 opaque artifact capability 之上只增加一个不变量:Runtime Host 只能通过指定 owner 的 capability 启动一次短生命周期 Gitoxide helper;argv、环境、协议、超时和 I/O 上限全部固定。
exit 0 只接受严格 SHA-1 observation;exit 2 只接受 unsupported object format;exit 1 只接受 allowlist 内的稳定 helper failure。exit code 与 JSON 不一致时统一 fail closed。
三平台 workflow 会编译真实 Rust helper,并由 Runtime Host 验证 SHA-1 成功、SHA-256 拒绝、unborn SHA-1 失败。正式发布签名信任根及 Desktop/CLI/managed-workspace 消费者不在本切片内,因此继续保持 Draft。