Phase 4A platform capability matrix¶
Status: implementation capability contract
Detailed contract: filesystem-contract.md
Primitive |
Linux mechanism |
Windows mechanism |
macOS mechanism |
|---|---|---|---|
Existing absolute root |
|
|
|
Parent traversal |
descriptor-relative |
retained non-reparse directory handles |
descriptor-relative |
Exclusive same-directory staging |
|
|
|
Owner-only staging/final mode |
|
protected owner-only DACL, queried after creation |
|
File identity/link count |
|
|
|
Final-link detection |
|
open reparse point and inspect attributes |
|
Atomic no-overwrite |
same-directory |
handle rename without replace flag |
same-directory |
Atomic overwrite |
same-directory |
handle rename with replace and POSIX-semantics flags while retaining the target handle |
same-directory |
Destination type |
|
|
|
Local-volume check |
API probe only (see residual limitation) |
|
API probe only (see residual limitation) |
File durability |
|
|
|
Directory/rename durability |
|
write-through handle plus post-rename metadata flush |
|
Cross-filesystem fallback |
none; refused |
none; refused |
none; refused |
Claim and CI status¶
Platform |
Implementation |
CI claim |
Failure behavior |
Known residual limitation |
|---|---|---|---|---|
Linux |
Implemented for local filesystems exposing required |
Ubuntu matrix runs real path, permission, concurrency, failure, artifact, and installed-wheel tests |
Capability failure occurs before staging; primitive failure is typed and nondisclosing |
Filesystem/hardware may weaken crash persistence below kernel promises; the capability probe checks API availability, not the filesystem type, so network or FUSE filesystems that accept the calls are not detected; caller must supply a parent not writable by another account |
Windows |
Implemented for local NTFS with Win32 handle, reparse, ACL, identity, rename, and write-through APIs |
Windows matrix runs real path, ACL, reparse, concurrency, failure, artifact, and installed-wheel tests |
Remote/non-NTFS or unverifiable ACL/reparse/durability support fails before staging |
No POSIX directory |
macOS |
Implemented using the POSIX path when runtime probes confirm every required primitive; durability barriers add |
macOS matrix runs real path, permission, concurrency, failure, artifact, and installed-wheel tests |
Missing directory sync, no-follow, link, or permission support fails before staging; a refused |
APFS/HFS Unicode normalization and case behavior are filesystem-defined; volumes that reject |
Status categories¶
Implemented and tested: claimed rows after their required CI jobs pass.
Implemented but not available in current local CI: Linux and macOS while development is performed on Windows; the GitHub matrix supplies evidence.
Deliberately unsupported and fail-closed: Windows remote/non-NTFS roots, POSIX writable-by-other parents, and any runtime missing a required primitive.
Deferred: network filesystems, recovery scanning, backups, alternative ACL models, and cross-filesystem copy-and-verify transactions.