Skip to content

Add fail-closed AFS data-plane support - #1433

Open
karlg100 wants to merge 13 commits into
prasathmani:masterfrom
karlg100:kag/afs-rebase-upstream-20260817
Open

Add fail-closed AFS data-plane support#1433
karlg100 wants to merge 13 commits into
prasathmani:masterfrom
karlg100:kag/afs-rebase-upstream-20260817

Conversation

@karlg100

@karlg100 karlg100 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • Rebase the AFS integration onto current upstream Tiny File Manager.
  • Route AFS reads, writes, metadata, ACLs, search, download, and mutation operations through a provider contract.
  • Add fail-closed production-profile, local-asset, CSP, URL-upload, archive, direct-link, and readiness gates.
  • Add route-by-route audits, regression coverage, readiness checks, and a separate live AFS validation plan.

Relationship to other PRs

Depends on #1432 for the first proxy-support commit. Once #1432 merges, GitHub should reduce this diff to the AFS-specific commits.

This provider-based integration and the root-confinement pilot are alternate implementations at several filesystem-wrapper seams. They must be reconciled before both can merge.

Validation

  • git diff --check
  • PHP 7.4 syntax check for every PHP file
  • AFS I/O audit: 165 assertions, 0 failures
  • Readiness: 306 passed, 0 failed
  • Regression: 137 passed
  • Static contract: 564 passed, 0 failed

Draft boundary

Offline source and contract checks pass. Tested on private cell.

Dispatch symlinks before directory handling, reject direct copy_dirs symlink and special-file inputs, and fail closed on AuriStor Volume access list blocks instead of merging them into editable object ACLs.
Convert copy, move, and duplicate completion from GET links to a token-verified POST form. This closes a pre-existing canonical-upstream route and is not an AFS rebase regression.
@karlg100
karlg100 marked this pull request as ready for review August 26, 2026 15:56
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.

1 participant