Repository navigation
feat(protection): immutable originals enforced at native commit fence (V1) - #51
Merged
Merged
Conversation
This was referenced Nov 13, 2026
servicememeai
marked this pull request as ready for review
November 13, 2026 07:41
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.
Protect finalized originals at native C/Go Branch publication while allowing reads and editable copies. Sparse permanent protection stays independent of Checkout leases and directory ACL; configured repositories cannot be deleted wholesale. Ancestor rename/move/delete is denied in V1.
Includes the native six-table DDL, final exact/descendant fences, old Agent ticket publish/Checkout rejection, and restored standalone cf-lock fixture.
Validation: full Linux ARM64 C/Go/Web build and package passed. Disposable MariaDB + packaged native C/Go/Hub probe passed 16 scenarios: reads, pre-issued tickets, overwrite/delete/rename/move/ancestor operations, file/repo historical restore, repo deletion, editable/restorable copies and writes after unprotect. Separate Go SQL fence and Hub CAS probes observed actual Branch lock waits in both orderings; these are not full concurrent uploads. Identity is a native-local test adapter, not Etech SSO. Existing Go focused/FileOp checks and repaired cf-lock fixture passed.
Paired PRs: #51 · eaopen/cloudfile-hub#100 · eaopen/cloudfile-docker#53
Validated ARM64 package: Server 88a95ac, Hub c0f37682e653c2264d393522df2ddc58f40a6dc0, Docker runtime recipe e4be0e173dc7fe01f855a952a502d086bdbe63de. Subsequent Docker commit adds only the acceptance probe/report. Local image cloudfile/cloudfile:14.0.8-protection-v1-test; image config sha256:b7f1a8feeab9794357abe83a99a51b78381ca6dcf5f54a3a0e58fab635e9f95a. No registry push or DEV/PROD deployment.
Remaining: Etech integration/real identities, browser and actual Agent2 client flows, WebDAV/sync and cross-repo/virtual-repo matrix, full upload race, large-library performance and AMD64 release acceptance. Merged to dev after coordinated review at the user's request. Remaining items are release acceptance gates; not ready for production.