Conversation
zhiiw
force-pushed
the
codex/gitoxide-repository-admission-capability
branch
from
August 23, 2026 16:29
bab0dce to
e040631
Compare
zhiiw
force-pushed
the
codex/gitoxide-source-import-data-plane
branch
from
August 23, 2026 16:29
c4867f2 to
8882bc0
Compare
zhiiw
force-pushed
the
codex/gitoxide-repository-admission-capability
branch
from
August 23, 2026 16:32
e040631 to
1842cd5
Compare
zhiiw
force-pushed
the
codex/gitoxide-source-import-data-plane
branch
from
August 23, 2026 16:32
8882bc0 to
f038fff
Compare
zhiiw
force-pushed
the
codex/gitoxide-repository-admission-capability
branch
from
August 24, 2026 04:04
1842cd5 to
728a950
Compare
zhiiw
force-pushed
the
codex/gitoxide-source-import-data-plane
branch
from
August 24, 2026 04:04
c030104 to
dd5430f
Compare
zhiiw
force-pushed
the
codex/gitoxide-repository-admission-capability
branch
from
August 24, 2026 04:18
728a950 to
72cf422
Compare
zhiiw
force-pushed
the
codex/gitoxide-source-import-data-plane
branch
from
August 24, 2026 04:18
dd5430f to
980fe9f
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
Primary invariant
Only the owner of an opaque repository-admission capability can import the exact SHA-1 HEAD captured by that capability. The helper copies only reachable tree/blob objects into a fresh destination and publishes a deterministic zero-parent baseline under
refs/maka/*.Atomicity and recovery
The fresh destination is the artifact boundary. Before the baseline ref is published, copied objects are unreachable implementation residue. Until a complete success response is returned, the caller must treat the entire destination as untrusted and discard it. No system Git fallback is permitted.
Scope
API-only stacked Draft. No T1/T2, Desktop/CLI consumer, projection, candidate, or successor CAS is added here.
Verification
中文说明
本切片只增加 Gitoxide 的 source import 数据面:只有 repository admission authority 签发的 opaque capability 才能决定 source path、HEAD commit 与 tree。helper 只把该 exact HEAD 的 reachable tree/blob 复制到全新的 Maka-owned SHA-1 bare repository,并发布确定性的零父 baseline ref。
fresh destination 是失败与回滚边界;完整成功响应返回前,上层必须把整个目录视为不可信并整体丢弃。不会 fallback 到系统 Git,也不在本 PR 接入 T1/T2、Desktop/CLI、projection 或 successor CAS。