Skip to content

feat(protection): immutable originals enforced at native commit fence (V1) - #51

Merged
servicememeai merged 3 commits into
devfrom
feat/file-protection-v1
Nov 13, 2026
Merged

servicememeai merged 3 commits into
devfrom
feat/file-protection-v1

Conversation

@servicememeai

@servicememeai servicememeai commented Nov 13, 2026 •

Copy link
Copy Markdown

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.

@servicememeai
servicememeai marked this pull request as ready for review November 13, 2026 07:41
@servicememeai
servicememeai merged commit 5fef361 into dev Nov 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants