You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the native Node-API adapter that opens each authority-relevant path component with CreateFileW (FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_BACKUP_SEMANTICS), inspects attributes and reparse tags, and records stable volume/file identity.
Acceptance:
Rejects disallowed symlinks, junctions, mount points, and unknown reparse tags.
Supports NTFS and explicitly fails closed on unsupported filesystems.
Volume identity is canonical 16-hex; file identity is canonical lowercase hex of FILE_ID_INFO.
Requested-path mismatches and malformed observations return native_contract_mismatch.
Closing as implemented: native/windows/src/filesystem.cc (openComponent, openFile, identity) opens every path component with CreateFileW (FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS), rejects reparse points, restricts admission to local NTFS/ReFS volumes with FILE_PERSISTENT_ACLS, and records canonical 16-hex volumeSerial and 32-hex lowercase FILE_ID_INFOfileId. src/windows/WindowsNativeLoader.ts (windowsFileIdentitySchema and loadWindowsNativeAuthority) enforces these invariants at the inspection boundary (failureStage: "inspection").
Activity
morluto commentedon Nov 24, 2026
Closing as implemented:
native/windows/src/filesystem.cc(openComponent,openFile,identity) opens every path component withCreateFileW(FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS), rejects reparse points, restricts admission to local NTFS/ReFS volumes withFILE_PERSISTENT_ACLS, and records canonical 16-hexvolumeSerialand 32-hex lowercaseFILE_ID_INFOfileId.src/windows/WindowsNativeLoader.ts(windowsFileIdentitySchemaandloadWindowsNativeAuthority) enforces these invariants at the inspection boundary (failureStage: "inspection").