WIP: Conditional retained FAT catalog permissions #29

Draft
erikinkinen wants to merge 21 commits from feature/fat-catalog-permissions into feature/fat-retained-file-control
Owner

Conditional retained FAT catalog permissions.

Depends on #28 (feature/fat-retained-file-control).

  • Separate this feature from the preceding changes.
  • Link matching provider PRs and complete integrated acceptance.

Cross-repository API dependencies are still being mapped to their feature PRs.

Conditional retained FAT catalog permissions. Depends on #28 (`feature/fat-retained-file-control`). - [x] Separate this feature from the preceding changes. - [ ] Link matching provider PRs and complete integrated acceptance. Cross-repository API dependencies are still being mapped to their feature PRs.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:19:26 +01:00
feat: Conditional retained FAT catalog permissions
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 4s
CI / test (push) Failing after 49s
f417592ef9
Conditional retained FAT catalog permissions. Keep the associated implementation, fixtures and component contract together so the change can be reviewed independently of later behavior.
ci: Select the original public provider APIs
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
d99f9c4445
Keep this feature branch on its original provider interfaces using an explicit retained public source graph and repository catalog. Cargo declarations keep main dependencies; strict build, test, documentation and source-custody checks remain in place.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / test (push) Failing after 39s
86f6c2792c
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / test (push) Failing after 1m5s
48bca8f8f5
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Repair the selected native permission feature without changing its preflight or authority rules. Use the actual invalid-argument result before effects and resolve the existing metadata helper within its original store/media family.
fixup! feat: Conditional retained FAT catalog permissions
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Failing after 37s
251086c2c0
Keep the four existing regular-file creation controls on the actual closed creation-intent interface. Preserve precisely their ReadWrite access and original metadata, condition, lifetime and cleanup assertions; do not grant socket or additional content authority.
Observe persisted local FAT coordinates separately from unavailable UTC. Keep changed-cluster retries and retired-acquisition refusals before explicitly reacquiring through the original live root, then verify fresh same-cluster sizes. Construct native ancestry through an actual mount anchor rather than an ordinary pathname handle.
Retain concise original device-event and poison-state diagnostics when an injected write-loss assertion fails.
Preserve permanent publication uncertainty when admitting an ordinary open. Translate only an absent mount into the existing invalid-argument disposition, and exercise valid and foreign mount selectors after actual uncertain storage writes without further media access.
Provision enough physical FAT12 root slots for the complete 255-unit names exercised by retained create, rename and touch controls. Preserve the small-root fixture and production capacity limits.
Admit complete catalog allocation ownership before opening a writable mount transaction. Share the original geometry checks without performing repairs, then retain the original transactional filesystem validation and detached recovery. Rejected cross-links leave clean journal sequence and durable bytes unchanged.
Preserve the native custody refusal when exact-entry metadata is requested after root retirement. Do not translate denied authority into missing storage or contact media before admission.
Keep the extracted catalog-geometry re-export in canonical rustfmt order.
Observe the original per-extent FAT mirror consensus through a read-only catalog recipient before mount effects. Reuse the same consensus and divergent-mirror checks as transactional repair; retain active-FAT semantics and reject writes, flushes and foreign selectors. Exercise genuine three-FAT repair, unresolved mirrors and effect-free refusal.
Assert that rejected detached/live allocation cross-links cause no backend write or durability calls, in addition to preserving both visible and stable original bytes.
Check every original mirrored FAT extent before catalog admission, including empty catalogs whose ownership walk never reads a FAT entry. Keep ambiguous mirrors and inconsistent divergence from opening a writable journal transaction.
Document effect-free original catalog admission, shared mirror interpretation and the separate native recovery acceptance boundary. Describe each retained observer field and its authority lifetime.
Keep decoded record cells heapless and bound their inline size to one original wire cell at compile time. Document the intentional large-variant Clippy expectation instead of introducing allocator authority or disguising the same storage behind another type.
fixup! feat: Conditional retained FAT catalog permissions
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Failing after 31s
96296a06b3
Borrow operation-owned administrative paths through synchronous catalog capture instead of copying them into selectors and intents. Keep the sole creation or rename basename once in the operation plan, while record targets retain only original geometry. Preserve operation arity, native component bytes, refusal precedence and original transaction ownership. Simplify the existing original-serial mismatch predicate without changing its result.
Author
Owner

Fixed fail-stop error propagation after uncertain publication and preserved exact-entry custody refusals. Catalog admission now checks allocation against the existing mirror consensus before journal effects, retaining valid mirror repair. Transaction planning now borrows paths and stores one destination name, reducing its size from 4,800 to 2,512 bytes.

All 320 tests and the original host/freestanding gates pass at 96296a06, including the optimized native build. Matching-provider image and guest acceptance remain pending.

Fixed fail-stop error propagation after uncertain publication and preserved exact-entry custody refusals. Catalog admission now checks allocation against the existing mirror consensus before journal effects, retaining valid mirror repair. Transaction planning now borrows paths and stores one destination name, reducing its size from 4,800 to 2,512 bytes. All 320 tests and the original host/freestanding gates pass at `96296a06`, including the optimized native build. Matching-provider image and guest acceptance remain pending.
fixup! ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Failing after 2m23s
a7ba200eb3
fixup! ci: Use shared development dependency profiles
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 1m55s
f6e6f52409
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 1m55s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • ARCHITECTURE.md
  • README.md
  • ROADMAP.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/fat-catalog-permissions:feature/fat-catalog-permissions'
git switch 'feature/fat-catalog-permissions'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/fat-retained-file-control'
git merge --no-ff 'feature/fat-catalog-permissions'
git switch 'feature/fat-catalog-permissions'
git rebase 'feature/fat-retained-file-control'
git switch 'feature/fat-retained-file-control'
git merge --ff-only 'feature/fat-catalog-permissions'
git switch 'feature/fat-catalog-permissions'
git rebase 'feature/fat-retained-file-control'
git switch 'feature/fat-retained-file-control'
git merge --no-ff 'feature/fat-catalog-permissions'
git switch 'feature/fat-retained-file-control'
git merge --squash 'feature/fat-catalog-permissions'
git switch 'feature/fat-retained-file-control'
git merge --ff-only 'feature/fat-catalog-permissions'
git switch 'feature/fat-retained-file-control'
git merge 'feature/fat-catalog-permissions'
git push origin 'feature/fat-retained-file-control'
Sign in to join this conversation.
No description provided.